darkenergyboy

Killing script

May 4th, 2019
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function onTouched(part)
  2. local h = part.Parent:findFirstChild("Humanoid")
  3. if h~=nil then
  4. h.Health = h.Health-100
  5. end
  6. end
  7. script.Parent.Touched:connect(onTouched)
Add Comment
Please, Sign In to add comment