SHOW:
|
|
- or go back to the newest paste.
1 | - | function OnTouched(hit |
1 | + | function OnTouched(hit.Parent:FindFirstChild("Humanoid") then |
2 | - | if hit.Parent:FindFirstChild("Humanoid") then |
2 | + | |
3 | script.Parent.Touched:connect(onTouched) | |
4 | local player = game.Players:FindFirstChild(playername) | |
5 | player:Kick("Banned by the ban hammer") | |
6 | print("The ban hammer has been banned"..player) | |
7 | end | |
8 | end | |
9 | script.Parent.Touched:connect(onTouched) |