Endless runner. Spline paths

No quite. It’s the exact code from above. All you have to do is set the spline ref to spline1 or spline2. The code does the rest.