Countdown timer won't do anything when it reaches 0.

I was working on a countdown timer in my gamemode class that displays on the screen and opens a new level whenever it reaches 0.0. However, instead of opening the level it keeps going down and even reaches the negatives. Help would be appreciated.

You should use the <= node (less than or equal) instead of the == node. With floating point numbers (numbers like 1.0, 1.5, 0.0253, etc. instead of 1, 5, 17) it’s actually very unlikely that 2 numbers are exactly equal, because their values may be something 0.0000032 and 0.000021, or something like that, instead of exactly 0.

that fixed it thanks