I was making a zombie, but it won't take damage

I’m trying to make a zombie, but I have trouble with working on the health. I’m very new to scripting so I don’t really understand.

This is the line where it says something is wrong:
ice_screenshot_20210413-202126

This is the error:
ice_screenshot_20210413-202143

It says the zombie does not have a Health in its Humanoid.
I checked and I’m pretty sure I see a health value.

It looks like you’re trying to check for a Part’s Property named: Health, can you double-check your script to make sure you’re truly trying to find the humanoid?

You probably set the zombieHuman variable to HumanoidRootPart instead of just Humanoid.

This is because your zombieHuman variable is a HumanoidRootPart object, not a Humanoid object. You might need to edit that variable.

You’re trying to access .Health from a HumanoidRootPart. You should call :FindFirstChildWhichIsA("Humanoid") on the zombie to get its humanoid instead.

PS: you can use zombieHuman.Health -= DMG to subtract health instead.