--[[ RXS ANTIFLING – ELITE EDITION 🛡️ KEY SYSTEM: 2 USES PER KEY (SESSION-ONLY) PROTECTION STAYS ACTIVE UNTIL YOU STOP IT ]] -- === Services === local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local HttpService = game:GetService("HttpService") local TextChatService = game:GetService("TextChatService") local parentGui = CoreGui -- ============================================ -- KEY SYSTEM – SESSION-ONLY (no file I/O) -- 200 keys, 2 uses per key, seed 2027 -- ============================================ local KEY_COUNT = 200 local KEY_SEED = 2027 local KEY_GEN_URL = "https://keygenerator88.netlify.app/" local function generateKeys(amount, seed) local result = {} local function nextLetter() seed = (seed * 9301 + 49297) % 233280 return string.char(65 + math.floor((seed / 233280) * 26)) end for i = 1, amount do local a, b, c = "", "", "" for _ = 1, 4 do a = a .. nextLetter() end for _ = 1, 4 do b = b .. nextLetter() end for _ = 1, 4 do c = c .. nextLetter() end result[i] = a .. "-" .. b .. "-" .. c end return result end local keyList = generateKeys(KEY_COUNT, KEY_SEED) local keyUsage = {} local KEY_LOOKUP = {} for _, k in ipairs(keyList) do KEY_LOOKUP[k] = true end local function validateKey(input) if not input or input == "" then return false, "Empty key" end local cleaned = input:gsub("%s+", "") local key = cleaned:match("^([^|]+)") or cleaned if not KEY_LOOKUP[key] then return false, "Invalid key" end local current = (keyUsage[key] or 0) + 1 if current > 2 then return false, "Key used up (2 uses)" end keyUsage[key] = current if current >= 2 then KEY_LOOKUP[key] = nil end return true, "Valid" end -- ============================================ -- KEY ENTRY GUI -- ============================================ local function showKeyEntry(callback) local sg = Instance.new("ScreenGui") sg.Name = "RXS_KEY_ENTRY" sg.ResetOnSpawn = false sg.IgnoreGuiInset = true sg.Parent = parentGui local frame = Instance.new("Frame") frame.Size = UDim2.fromOffset(380, 160) frame.Position = UDim2.new(0.5, -190, 0.4, -80) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 30) frame.BorderSizePixel = 0 frame.Parent = sg Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0.25, 0) title.BackgroundTransparency = 1 title.Text = "RXS ANTIFLING 🔑" title.TextColor3 = Color3.fromRGB(255, 215, 0) title.TextSize = 20 title.Font = Enum.Font.GothamBold title.Parent = frame local input = Instance.new("TextBox") input.Size = UDim2.new(0.8, 0, 0.3, 0) input.Position = UDim2.new(0.1, 0, 0.3, 0) input.BackgroundTransparency = 1 input.TextColor3 = Color3.new(1, 1, 1) input.TextSize = 16 input.Font = Enum.Font.GothamBold input.PlaceholderText = "XXXX-XXXX-XXXX" input.Text = "" input.ClearTextOnFocus = true input.BorderSizePixel = 1 input.BorderColor3 = Color3.fromRGB(60, 60, 80) input.Parent = frame Instance.new("UICorner", input).CornerRadius = UDim.new(0, 8) local errorLabel = Instance.new("TextLabel") errorLabel.Size = UDim2.new(0.8, 0, 0.15, 0) errorLabel.Position = UDim2.new(0.1, 0, 0.65, 0) errorLabel.BackgroundTransparency = 1 errorLabel.Text = "" errorLabel.TextColor3 = Color3.fromRGB(255, 80, 80) errorLabel.TextSize = 13 errorLabel.Font = Enum.Font.Gotham errorLabel.Parent = frame local infoLabel = Instance.new("TextLabel") infoLabel.Size = UDim2.new(0.8, 0, 0.15, 0) infoLabel.Position = UDim2.new(0.1, 0, 0.78, 0) infoLabel.BackgroundTransparency = 1 infoLabel.Text = "Get key at: " .. KEY_GEN_URL infoLabel.TextColor3 = Color3.fromRGB(200, 200, 200) infoLabel.TextSize = 10 infoLabel.Font = Enum.Font.Gotham infoLabel.Parent = frame local verifyBtn = Instance.new("TextButton") verifyBtn.Size = UDim2.new(0.6, 0, 0.2, 0) verifyBtn.Position = UDim2.new(0.35, 0, 0.78, 0) verifyBtn.BackgroundColor3 = Color3.fromRGB(255, 215, 0) verifyBtn.Text = "✅ Verify" verifyBtn.TextColor3 = Color3.new(0, 0, 0) verifyBtn.TextSize = 14 verifyBtn.Font = Enum.Font.GothamBold verifyBtn.Parent = frame Instance.new("UICorner", verifyBtn).CornerRadius = UDim.new(0, 8) local function doVerify() local key = input.Text:gsub("%s+", "") if key == "" then errorLabel.Text = "Please paste a key." errorLabel.TextColor3 = Color3.fromRGB(255, 80, 80) return end local valid, reason = validateKey(key) if valid then errorLabel.Text = "✅ Valid!" errorLabel.TextColor3 = Color3.fromRGB(100, 255, 100) wait(0.5) sg:Destroy() callback() else errorLabel.Text = "❌ " .. reason errorLabel.TextColor3 = Color3.fromRGB(255, 80, 80) end end verifyBtn.MouseButton1Click:Connect(doVerify) input.FocusLost:Connect(function(enter) if enter then doVerify() end end) frame.Size = UDim2.new(0, 0, 0, 0) TweenService:Create(frame, TweenInfo.new(0.4, Enum.EasingStyle.Back), { Size = UDim2.new(0, 380, 0, 160) }):Play() end -- ============================================ -- MAIN ANTIFLING SYSTEM -- ============================================ local function startAntifling() print("✅ RXS Antifling – starting protection...") local Character local Humanoid local HumanoidRootPart local heartbeatConnection local characterConnection local Config = { AntiFlingActive = true, VoidThreshold = -500, MaxSpeedThreshold = 50, MaxFlingSpeedThreshold = 150, MaxTeleportDistance = 100, ChatMessagesEnabled = true, UIName = "RXS_Antifling_UI", UITextColorOn = Color3.fromRGB(0, 255, 100), UITextColorOff = Color3.fromRGB(255, 0, 50), UITextOn = "RXS ANTIFLING: ON 🛡️", UITextOff = "RXS ANTIFLING: OFF ❌", VoidTeleportHeight = 20, } local lastStableCFrame = CFrame.new() local lastPosition = Vector3.zero local function notify(message, isPublic) print("[RXS ANTIFLING] " .. message) if isPublic and Config.ChatMessagesEnabled then pcall(function() local channel = TextChatService:FindFirstChild("TextChannels") and TextChatService.TextChannels:FindFirstChild("RBXGeneral") if channel then channel:SendAsync(message) end end) end end if parentGui:FindFirstChild(Config.UIName) then parentGui[Config.UIName]:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = Config.UIName ScreenGui.ResetOnSpawn = false ScreenGui.Parent = parentGui local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 160, 0, 50) MainFrame.Position = UDim2.new(0.5, -80, 0.9, -25) MainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 12) MainFrame.BorderSizePixel = 2 MainFrame.BorderColor3 = Config.UITextColorOff MainFrame.Active = true MainFrame.Parent = ScreenGui local ToggleButton = Instance.new("TextButton") ToggleButton.Size = UDim2.new(1, 0, 1, 0) ToggleButton.BackgroundTransparency = 1 ToggleButton.Text = Config.AntiFlingActive and Config.UITextOn or Config.UITextOff ToggleButton.TextColor3 = Config.AntiFlingActive and Config.UITextColorOn or Config.UITextColorOff ToggleButton.TextSize = 13 ToggleButton.Font = Enum.Font.GothamBold ToggleButton.Parent = MainFrame ToggleButton.MouseButton1Click:Connect(function() Config.AntiFlingActive = not Config.AntiFlingActive ToggleButton.Text = Config.AntiFlingActive and Config.UITextOn or Config.UITextOff ToggleButton.TextColor3 = Config.AntiFlingActive and Config.UITextColorOn or Config.UITextColorOff MainFrame.BorderColor3 = Config.AntiFlingActive and Config.UITextColorOn or Config.UITextColorOff end) local function bindCharacter(newCharacter) Character = newCharacter Humanoid = Character:WaitForChild("Humanoid") HumanoidRootPart = Character:WaitForChild("HumanoidRootPart") lastStableCFrame = HumanoidRootPart.CFrame lastPosition = HumanoidRootPart.Position print("🔄 Character updated") end bindCharacter(LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()) characterConnection = LocalPlayer.CharacterAdded:Connect(bindCharacter) local function eliteProtection() if not Config.AntiFlingActive or not Character or not Humanoid or not HumanoidRootPart or Humanoid.Health <= 0 then return end for _, part in ipairs(Character:GetDescendants()) do if part:IsA("BasePart") then part.CanTouch = false part.Massless = true end end local currentPosition, vel = HumanoidRootPart.Position, HumanoidRootPart.AssemblyLinearVelocity local speed = vel.Magnitude if speed > Config.MaxSpeedThreshold then HumanoidRootPart.AssemblyLinearVelocity = vel.Unit * Config.MaxSpeedThreshold HumanoidRootPart.AssemblyAngularVelocity = Vector3.new(0, 0, 0) if speed > Config.MaxFlingSpeedThreshold then HumanoidRootPart.CFrame = lastStableCFrame notify("🛡️ Fling detected!", false) end else lastStableCFrame = HumanoidRootPart.CFrame end if (currentPosition - lastPosition).Magnitude > Config.MaxTeleportDistance and speed < 1 then HumanoidRootPart.CFrame = lastStableCFrame notify("🛡️ Teleport detected!", false) end lastPosition = currentPosition Humanoid:ChangeState(Enum.HumanoidStateType.Running) Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false) if Humanoid.Sit then Humanoid.Sit = false end if HumanoidRootPart.Position.Y < Config.VoidThreshold then HumanoidRootPart.CFrame = CFrame.new(HumanoidRootPart.Position.X, Config.VoidTeleportHeight, HumanoidRootPart.Position.Z) notify("🛡️ Void protection!", false) end end heartbeatConnection = RunService.Heartbeat:Connect(eliteProtection) notify("🛡️ RXS ANTIFLING: ELITE EDITION ACTIVE!", true) end -- === ENTRY POINT === showKeyEntry(startAntifling) print("✅ RXS Antifling loaded – session-only keys, seed 2027")