So I'm creating my own anti-exploit, and I've been able to prevent walkspeed changes, flying etc. The only problem I have is with teleporting. When an exploiter teleports to another player, what would I want to use to detect when a player has moved too far in one step?
while true do local Prev; Prev = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position wait(1) if (Prev-game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position).magnitude > 20 then print("Is exploiting?") end end