How do I make a working magnatic train?

First at all, hello! I have a little question: How to make a working magnatic train? I already have builded the train but I have no plan how to make it work. I did already searched but didn’t found anything, I hope somebody is able to help me.
Thanks for reading and have a nice day! :blush:

Here is a picture of the train: :train2:

I would put points on changing intersections on the railroad then make the train follow those with body position. Benefits to this method is players can be yeeted by it, you can determine the speed and change it at several points or at any point.

1 Like

it depends on the way the train will be moving.
If the train goes in a straight line, then its best to use tweenservice since it’s a lot smoother and doesn’t take long to script.
you can also use it in curved rails/tracks, but it won’t be as easy.

1 Like

You can use TweenService and if your tracks have rotation then you can also use CFrame because CFrame contains rotation.

1 Like