Advertisement
Guest User

[RARE] Ban Hammer Ban Script

a guest
Nov 21st, 2017
7,276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. function onTouched (hit)
  2. if hit.Parent:FindFirstChild("Humanoid") then
  3. local humanoid = hit.Parent:WaitForChild("Humanoid")
  4. local playername = hit.Parent.Name
  5. local player = game.Players:FindFirstChild(playername)
  6. player:Kick("Banned by Ban Hammer!")
  7. print("The ban hammer has Banned"..playername)
  8. end
  9.  
  10. end
  11. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement