Advertisement
LavaDev9

Untitled

Oct 14th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. --[[ Hi Everybody
  2. dont forget subscribe into the channel :)
  3. ]]--
  4. local player = game.Players.LocalPlayer
  5. local Humanoid = script.Parent:FindFirstChild("Humanoid")
  6. function Kick()
  7. player:Kick("Exploit Detected")
  8. end
  9. TotalWarns = 0
  10. function AntiExploit()
  11. if Humanoid.WalkSpeed > 16 then
  12. Humanoid.WalkSpeed = 16
  13. TotalWarns = TotalWarns + 1
  14. print("You Have "..TotalWarns.."/3 Warns")
  15. end
  16. if Humanoid.JumpPower > 50 then
  17. Humanoid.JumpPower = 50
  18. TotalWarns = TotalWarns + 1
  19. print("You Have "..TotalWarns.."/3 Warns")
  20. end
  21. if TotalWarns > 3 then
  22. Kick()
  23. end
  24. end
  25.  
  26. Humanoid.StateChanged:Connect(AntiExploit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement