ScriptHubRoblox

Mad troll gui

Jun 26th, 2021 (edited)
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. repeat wait() until player.Character
  4.  
  5. local char = player.Character
  6. local hum = char:WaitForChild("Humanoid")
  7.  
  8. local kickmsgslist = {
  9. "Your banned the game a *CHEATING EXPLOITING*",
  10. }
  11.  
  12. local randommsgs = kickmsgslist[math.random(1, #kickmsgslist)]
  13.  
  14. hum.StateChanged:Connect(function(oldstate, newstate)
  15. while true do
  16. wait(1)
  17.  
  18. if hum.WalkSpeed > 0 or hum.JumpPower > 0 or hum.MaxHealth > 100 or newstate == Enum.HumanoidStateType.StrafingNoPhysics or newstate == Enum.HumanoidStateType.Flying then
  19. player:Kick(randommsgs)
  20. end
  21. end
  22. end)
Add Comment
Please, Sign In to add comment