I have a better idea for trains.
Trains, impossible, right?
How about this:
Ever played ROBLOX?
If you have ever been to those servers where you get in a mine cart and you press a button and it automaticly follows the track?
That's what we need.
So basicly all you have to do is drive the train and the train will automaticly turn on the train tracks. A good idea would to be keeping your speed. If someone goes too fast then the train derails.