How do I move an object on the y axis infinitely
Setting the y location of the object to a multiple of the current frame should do what you want, the object will always move as long as the time is moving forward:



As for the condition, a simple node tree like this can be used:



If you want a smooth rotation, then using such node tree should work:



You said:


  Yeah I could do that but then eventually it would restart all over again as the frames have ended, is there a way to do animations WITHOUT using frames?


The move node can be used, it will move the object each execution no matter what the condition are, so it won't reset.