Umm, don't know, I would treat it like an extra long health bar. Look at health bar tutorials to get going on that.
There are lots and lots evolved with this movement, unfortunately most is going to be trial and error - lol.
You should also look up a plugin called moveto it has nice effects and extra options.
cesarzevil, you did write
'Someone help me make this game' and you provided a link to it."
But possibly bad English is the cause here?
And I know — as super helpful and very knowledgeable and you were rude etc etc when he was trying to help.
Again, probably english at fault. Anyways, I don't like conflict.