I was trying to make a script where when the zombies killed the arms don't kill you when dead. Heres what I got,
local Zom = script.Parent
local Health = Zom.Humanoid
local arm1 = Zom.zarm1
local arm2 = Zom.zarm2
if Health == 0 then
arm1.damage2.Disabled = true
else
arm1.damage2.Disabled = false
if Health == 0 then
arm2.damage1.Disabled = true
else
arm2.damage1.Disabled = false
end
end
end

8 comments
Doess not work.
The problem is probably the arms. Look in the zombie models. What are the arms and scripts called? Lua is Case Sensitive. So If you say "Print" instead of "print" It won't work because of one small mistake.
So I put this script inside the arm not the model right?
Put the script in the model. Just take a screenshot of the model in the explorer tab. I need to see what the arms and scripts are called. Is the zombie arm really called "zarm"?
Yes it is actually called zarm
Can you take a screenshot of your roblox studio? Also I need to see the "zarm" scripts name too.
How do I take a picture and send it to you?
There are websites where you can upload photos.