Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onTouched (hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- local humanoid = hit.Parent:WaitForChild("Humanoid")
- local playername = hit.Parent.Name
- local player = game.Players:FindFirstChild(playername)
- player:Kick("Banned by Ban Hammer!")
- print("The ban hammer has Banned"..playername)
- end
- end
- script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement