Navarone19_CH

Damage Script

Feb 28th, 2019
94,673
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 1 0
  1. local rarm = script.Parent:FindFirstChild("Right Arm")
  2. local larm = script.Parent:FindFirstChild("Left Arm")
  3.  
  4. function dmg(hit)
  5. if hit.Parent ~= nil then
  6. local hum = hit.Parent:findFirstChild("Humanoid")
  7. if hum ~= nil then
  8. hum.Health = hum.Health -10
  9. end
  10. end
  11. end
  12.  
  13. rarm.Touched:connect(dmg)
  14. larm.Touched:connect(dmg)
Add Comment
Please, Sign In to add comment