So, I made an if statement that checks when you're dead. Since you don't need the full code, I'll just make one with the same scenario.
This is a Localscript, and this is filtering enabled!!
while wait(1) do
if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health == 0 then --my true problem
warn("This is a test") --i prefer warn, as it is easier to see in the output.
end
end
What is wrong? It seems normal, but the warn doesn't appear in the output!

1 comment
how is the player losing HP? I tested my self by setting the property value to 0 while in test mode and it works fine. If you're subtracting HP somewhere else, change your operator from == to <= as the math can leave decimals