--[[ RXS ANTIFLING – ELITE EDITION 🛡️ KEY SYSTEM: 200 KEYS (SEED 2027, MATCHES GENERATOR) KEYS CAN BE USED 2 TIMES PER SESSION ACCEPTS KEYS WITH OR WITHOUT TIMESTAMP PROTECTION STAYS ACTIVE UNTIL YOU STOP IT ]] -- === Services === local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local TextChatService = game:GetService("TextChatService") -- ============================================ -- KEY SYSTEM – 200 KEYS, SEED 2027 (SAME AS GENERATOR) -- ============================================ local KEY_COUNT = 200 local KEY_SEED = 2027 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 -- Shuffle exactly like the generator (using a second PRNG) local s2 = (seed * 9301 + 49297) % 233280 local function nextRand() s2 = (s2 * 9301 + 49297) % 233280 return s2 / 233280 end for i = #result, 2, -1 do local j = math.floor(nextRand() * (i - 1)) + 1 result[i], result[j] = result[j], result[i] end return result end local KEY_LIST = generateKeys(KEY_COUNT, KEY_SEED) -- In-memory usage (resets on script restart) local keyUsage = {} local function validateKey(input) if not input or input == "" then return false, "Empty key" end local cleaned = input:gsub("%s+", "") -- Strip timestamp if present (format: KEY|TIMESTAMP) local key = cleaned:match("^([^|]+)") or cleaned local found = false for _, k in ipairs(KEY_LIST) do if k == key then found = true break end end if not found then return false, "Invalid key" end local count = keyUsage[key] or 0 if count >= 2 then return false, "Key used up (2 uses)" end keyUsage[key] = count + 1 return true, "Valid" end -- ============================================ -- KEY ENTRY GUI (simple, no animations) -- ============================================ local function showKeyEntry(callback) local sg = Instance.new("ScreenGui") sg.Name = "RXS_KEY_ENTRY" sg.ResetOnSpawn = false sg.IgnoreGuiInset = true sg.Parent = PlayerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 350, 0, 140) frame.Position = UDim2.new(0.5, -175, 0.4, -70) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 30) frame.BorderSizePixel = 0 frame.Parent = sg Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundTransparency = 1 title.Text = "RXS ANTIFLING 🔑" title.TextColor3 = Color3.fromRGB(255, 215, 0) title.TextSize = 18 title.Font = Enum.Font.GothamBold title.Parent = frame local input = Instance.new("TextBox") input.Size = UDim2.new(0.8, 0, 0, 30) input.Position = UDim2.new(0.1, 0, 0, 40) input.BackgroundColor3 = Color3.fromRGB(40, 40, 50) input.PlaceholderText = "XXXX-XXXX-XXXX|TIMESTAMP" input.Text = "" input.TextColor3 = Color3.new(1, 1, 1) input.TextSize = 14 input.Font = Enum.Font.Gotham input.ClearTextOnFocus = false input.Parent = frame Instance.new("UICorner", input).CornerRadius = UDim.new(0, 6) local status = Instance.new("TextLabel") status.Size = UDim2.new(0.8, 0, 0, 20) status.Position = UDim2.new(0.1, 0, 0, 75) status.BackgroundTransparency = 1 status.Text = "" status.TextColor3 = Color3.fromRGB(255, 80, 80) status.TextSize = 12 status.Font = Enum.Font.Gotham status.Parent = frame local verify = Instance.new("TextButton") verify.Size = UDim2.new(0.6, 0, 0, 34) verify.Position = UDim2.new(0.2, 0, 0, 100) verify.BackgroundColor3 = Color3.fromRGB(255, 215, 0) verify.Text = "✅ VERIFY" verify.TextColor3 = Color3.new(0, 0, 0) verify.TextSize = 14 verify.Font = Enum.Font.GothamBold verify.Parent = frame Instance.new("UICorner", verify).CornerRadius = UDim.new(0, 6) local function doVerify() local key = input.Text:gsub("%s+", "") if key == "" then status.Text = "Please paste a key." status.TextColor3 = Color3.fromRGB(255, 80, 80) return end local valid, reason = validateKey(key) if valid then status.Text = "✅ Valid!" status.TextColor3 = Color3.fromRGB(100, 255, 100) wait(0.5) sg:Destroy() callback() else status.Text = "❌ " .. reason status.TextColor3 = Color3.fromRGB(255, 80, 80) end end verify.MouseButton1Click:Connect(doVerify) input.FocusLost:Connect(function(enter) if enter then doVerify() end end) 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, VoidTeleportHeight = 20, } local lastStableCFrame = CFrame.new() local lastPosition = Vector3.zero local function notify(message) print("[RXS ANTIFLING] " .. message) pcall(function() local channel = TextChatService:FindFirstChild("TextChannels") and TextChatService.TextChannels:FindFirstChild("RBXGeneral") if channel then channel:SendAsync(message) end end) end -- UI Setup if PlayerGui:FindFirstChild("RXS_Antifling_UI") then PlayerGui:FindFirstChild("RXS_Antifling_UI"):Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "RXS_Antifling_UI" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = PlayerGui local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 180, 0, 40) MainFrame.Position = UDim2.new(0.5, -90, 0.9, -20) MainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 12) MainFrame.BorderSizePixel = 2 MainFrame.BorderColor3 = Color3.fromRGB(0, 255, 100) MainFrame.Parent = ScreenGui local ToggleButton = Instance.new("TextButton") ToggleButton.Size = UDim2.new(1, 0, 1, 0) ToggleButton.BackgroundTransparency = 1 ToggleButton.Text = "RXS ANTIFLING: ON 🛡️" ToggleButton.TextColor3 = Color3.fromRGB(0, 255, 100) 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 "RXS ANTIFLING: ON 🛡️" or "RXS ANTIFLING: OFF ❌" ToggleButton.TextColor3 = Config.AntiFlingActive and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(255, 0, 50) MainFrame.BorderColor3 = Config.AntiFlingActive and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(255, 0, 50) end) local function bindCharacter(newCharacter) Character = newCharacter Humanoid = Character:WaitForChild("Humanoid") HumanoidRootPart = Character:WaitForChild("HumanoidRootPart") lastStableCFrame = HumanoidRootPart.CFrame lastPosition = HumanoidRootPart.Position 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!") end else lastStableCFrame = HumanoidRootPart.CFrame end if (currentPosition - lastPosition).Magnitude > Config.MaxTeleportDistance and speed < 1 then HumanoidRootPart.CFrame = lastStableCFrame notify("🛡️ Teleport detected!") 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!") end end heartbeatConnection = RunService.Heartbeat:Connect(eliteProtection) notify("🛡️ RXS ANTIFLING: ELITE EDITION ACTIVE!") end -- === ENTRY POINT === showKeyEntry(startAntifling) print("✅ RXS Antifling loaded – 200 keys (seed 2027), matches generator")