SHARE
TWEET

Untitled

LavaDev9 Oct 14th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top