Thanks Linai, I'll change the code around and let you know what happens.
Sdieters, this is a snippet of code I have from my full game, I created another scene just to try this in. Originally there are three hurdles, and the only way I could get them to infinitely spawn is by making ten different hurdles and having a huge amount of code. Literally couldn't find any other way around it.
There are three positions originally, so instead of a random number between one and two, it would also have three.
Oh, I also use push force as my character is standing still, they would be the only moving objects. They then get killed when removed from the screen. Thanks for the reply though dude.