The script I am using should turn the zombie npc’s eyes dark after it has been killed, but doesn’t. No error messages in the output. Just simply does not work.
if script.Parent.Parent.Humanoid.Health == 0 then
script.Parent.Color = Color3.new(0, 0, 0)
end