SHOW:
|
|
- or go back to the newest paste.
| 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) |