Can you make a sequence endless?

I have made these spinning polls as obstacles for the player but I would like to make the sequence endless until the player completes however many I add-in.

Basically, I want them to spin from the point they hit the trigger box at the start and then stop when the end trigger box is hit.

https://streamable.com/a4vzr — this is a quick screen capture of what I’m doing so ye can get a better idea of what I mean.

Is their anyway to do this and if anyone knows of any tutorials that already have this it would be great to link.

Thanks!