Generating a random model as a player moves forward on a course

  1. What do you want to achieve?
    Make a minigame-like system where players race through obstacles whilst being chased by a zone. last one standing wins (The obstacle course stages must be randomly generated through a list of possible courses.

  2. What is the issue?
    How would I generate the obstacles as the player progresses with the obstacle course never-ending (Last player alive wins whilst being chased by a zone) The obstacle parts are just models (All the same length

  3. What solutions have you tried so far?
    I have a few thoughts on this, getting a random obstacle course would be easy, but I don’t quite know where to even start on making the course never-ending. I also tried just generating a really long obstacle course but it is possible a player could make it to the end.

Not the greatest scripter so resources are much appreciated, haha.

maybe have the start, end then place many invisible parts on the ends of each start (like each checkpoint) and then have whenever the player touch that to where it will find a random child and clone that (another section of the obby) and repeat?

Not sure if this works but heres something for getting random children.

Good Luck!

Yeah I thought about that, and thats not a bad idea, but I want it so the obey virtually never ends.

Then you would clone that part too everytime that you touch the part.