Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rarm = script.Parent:FindFirstChild("Right Arm")
- local larm = script.Parent:FindFirstChild("Left Arm")
- function dmg(hit)
- if hit.Parent ~= nil then
- local hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil then
- hum.Health = hum.Health -10
- end
- end
- end
- rarm.Touched:connect(dmg)
- larm.Touched:connect(dmg)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement