Train Movement - Looped Track & Station Stops || Questions!

Currently making a game, took me like 20 mins to code this but pls rate it.

Both RED [Cubes] are the stops this was just a test to add two [couple studs away] so i know that it brakes at each part.

QUESTION
i want to make a voxel destruction of jumping out the window in trains - issue is i dont know where to find genuine solutions and i hate having to take peoples open source because they’re messy.

so could people please help me with documentations on where to find and do this!

thank you!

sorry for the low quality - roblox limit size on videos are 10 mb

fixed but does anyone know what the best way to make curved train tracks?