Generating a plane in front of player infinitly

I’m trying to create a script whereby a plane will be generated as my player reaches the end of the last plane. The concept I’m really trying to get at is a way of replicating the subway surfers generation on levels, so generation of a plane in one axis. If anyone has a method please let me know, and if you can please explain it, thankyou

I just put it here: