Hi,
I think you don't understand yet how states/actions work
In your setup this will check at the start and it sees the 0 so it goes to the next state (state 1)
so now state 1 is active but the idle not anymore, so it is not checking anymore.
You could loop state 1 back but that would give an infinite loop error.
So there are different ways to approach this depending on your project.
for example :
Set only "greater than" and leave others empty and ever frame on.
This way it will only change to State 2 when greater than.
a different way you can use is :
place in state 1 an additional int compare and also set only "greater than" and leave others empty and ever frame on and connect that to state 2
This way you if less than you can do something when needed.
on state 2 you could also add an int compare and set Equal and Less than and connect to state one.
this is useful if the int goes down also and you would want to go back to state 1
btw you can find many tutorials
here to get you started