How to make a part move uphill

I would like to make a part move uphill for a tower defence game. Basically like this, including the smooth turns of it rotating upwards and downwards when it reaches the end or start. I have already made the smooth turns, just wondering how I would make this. I would also like to use 1 Node per spot. Eg: Black bits are the nodes
image

post: https://twitter.com/AtrazineC/status/1519014455090196481