Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
4,441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. function Kill(part)
  2. local h = part.Parent:findFirstChild("Humanoid")
  3. if h ~= nil then
  4. h.Health = 0
  5. end
  6. end
  7.  
  8. script.Parent.Touched:connect(Kill)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement