Advertisement
isaiah_yt110

Damage Script

Apr 18th, 2021
4,810
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. function onTouched(hit)
  2. local human = hit.Parent:findFirstChild("Humanoid")
  3. if (human ~= nil) then
  4. human.Health = human.Health - 10 -- Change the amount to change the damage.
  5. end
  6. end
  7. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement