How would I go about making CFrame train movement system?

Look into this post, it may help How were the trains in Jailbreak done? [SOLVED] - #13 by Kord_K and this as well How can I make this train follow a curved path? I would assume you would have to connect all parts to a main part, which is then tweened using TweenService.