Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid") -- If this does not work check to make sure the part name is right
- if h ~= nil then
- h.Health = 0
- end
- end
- script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement