Hello and welcome back to another command and yet another command! This time I present to you my Maglev Train System!
It so easy just spawn villager and throw Block of Coal
You can see a command has say Have fun you can edit by command block
Note: Minify the command to avoid issues :)