Advertisement
Hmm465_Gaming

kick script

May 11th, 2018
4,243
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.87 KB | None | 0 1
  1. --triggers any anti kick, and kicks skids
  2. --by Hmm465#7106
  3.  
  4. local player = "player"
  5.  
  6. print(" " ..player .. " tried")
  7.  
  8. function kick()
  9. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  10. if v.Name == player
  11. then
  12.  
  13. if v.Character ~= nil or v.Character.HumanoidRootPart ~= nil
  14. then
  15.  
  16. local Plat = Instance.new('SkateboardPlatform', v.Character)
  17. Plat.Position = v.Character.HumanoidRootPart.Position
  18. Plat.Name = 'triggered'
  19. Plat.Anchored = true
  20. Plat.Locked = true
  21. repeat
  22. Plat.Locked = true
  23. Plat.Anchored = true
  24. v.Character.HumanoidRootPart.Position = Plat.Position
  25. v.Character.Humanoid.WalkSpeed = "0"
  26. wait()
  27. until v.Character == nil or v.Character.HumanoidRootPart == nil
  28. end
  29. end
  30. end
  31. end
  32. kick()
  33.  
  34. while wait() do
  35. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  36. if v.Name == player
  37. then
  38. print(" " ..player .. " tried")
  39. kick()
  40. end
  41. end
  42. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement