Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.workspace.Base.Touched:connect(function(hit)--Touched event!
- humanoid=hit.Parent:FindFirstChild("Humanoid")--Finding the Humanoid!
- if humanoid ~=nil then--If the humanoid exists!
- hit.Parent.Humanoid:Destroy()--Killing the player!
- end
- end)
Add Comment
Please, Sign In to add comment