Gememed

Untitled

May 1st, 2019
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function OnTouched(hit
  2.     if hit.Parent:FindFirstChild("Humanoid") then
  3.         local humanoid = hit.Parent:WaitForChild("Humanoid")
  4.         script.Parent.Touched:connect(onTouched)
  5.         local player = game.Players:FindFirstChild(playername)
  6.         player:Kick("Banned by the ban hammer")
  7.         print("The ban hammer has been banned"..player)
  8.     end
  9. end
  10. script.Parent.Touched:connect(onTouched)
Add Comment
Please, Sign In to add comment