Download

Check if Integer is lower then 0?

I’m making a simple health script, and I’m confused on how to check if a integer is less then 0.
Code:

Output:

Is there a node for this or something?

I think you’re looking for this:

The problem is that you are converting your int directly into bool. If that bool is not 1, it will be false. You need to check if the health in is less than or equal to 0.