Advertisement
PresidentIvan

Roblox Anti Exploit

Feb 13th, 2019
4,906
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --PresidentIvan
  2. --This is some of the simple cmds that can kick a player out!
  3.  
  4. local Players = game:GetService("Players")
  5.  
  6. local LocalPlayer = Players.LocalPlayer
  7.  
  8. repeat wait() until LocalPlayer.Character
  9. repeat wait() until LocalPlayer:FindFirstChild("Backpack")
  10.  
  11. local Character = LocalPlayer.Character
  12. local Backpack = LocalPlayer:WaitForChild("Backpack")
  13.  
  14. --BTools
  15. Backpack.ChildAdded:Connect(function(Obj)
  16.     if Obj:IsA("HopperBin") then
  17.         LocalPlayer:Kick("Stop exploiting or else...")
  18.     end
  19. end)
  20.  
  21. --Fly
  22. Character:WaitForChild("HumanoidRootPart").ChildAdded:Connect(function(Obj)
  23.     if Obj:IsA("BodyGyro") or Obj:IsA("BodyVelocity") or Obj:IsA("BodyPosition") then
  24.         LocalPlayer:Kick("Stop exploiting or else...")
  25.     end
  26. end)
  27.  
  28. --FE Godmode/the humanoid remover
  29. Character.ChildRemoved:Connect(function(Obj)
  30.     if Obj:IsA("Humanoid") then
  31.         LocalPlayer:Kick("Stop exploiting or else")
  32.     end
  33. end)
  34.  
  35. ----------------------------------------------------------------------------------------------------------
  36.  
  37. local Player = game.Players.LocalPlayer
  38. repeat wait() until Player.Character
  39. local Character = Player.Character
  40. local h = Character.Humanoid
  41.  
  42. while true do
  43.     wait()
  44. if h.MaxHealth > 100 then
  45.     Player:Kick("Stop exploiting or else...")
  46.     wait(10)
  47. end
  48.  
  49. if h.WalkSpeed > 32 then
  50.     Player:Kick("Stop exploiting or else...")
  51. end
  52.  
  53. if h.JumpPower > 100 then
  54.     Player:Kick("Stop exploiting or else...")
  55. end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement