local part = script.Parent local Health = part.Health

while true do if Health.Value <= 0 then print("Test") end wait() end

4 comments

0

is "Health" a value instance or an attribute?

0

likely a value. Attributes would be fetched differently for some users. It is possible that the health could be changing from the client and this script could be a server script.

0

well in that case, even though that script is pretty innifficient, it should work

0

Do some print debugging, print out Health.Value every iteration and see what the script sees.