Advertisement
LavaDev9

Untitled

Oct 15th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local Humanoid = script.Parent:WaitForChild("Humanoid")
  3. local Root = script.Parent:WaitForChild("HumanoidRootPart")
  4. function Kick()
  5. player:Kick("Exploit Detected")
  6. end
  7. function AntiTeleport()
  8. local FirstPos = Root.Position
  9. delay(1 , function()
  10. local SecPos = Root.Position
  11. if (FirstPos - SecPos).magnitude > 140 then
  12. Kick()
  13. end
  14. end)
  15. end
  16.  
  17. while wait() do
  18. AntiTeleport()
  19. end
  20.  
  21. -- and now lets try
  22. -- and then like u see its work :)
  23. -- dont forget Like + Sub <3 Cya !!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement