Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onTouched(hit)
- local h = hit.Parent:findFirstChild("Humanoid")
- if (h ~= nil) then
- h.Health = h.Health - h.maxHealth
- end
- end
- script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement