How to make a moving platform?

How to make a moving platform in my game? I need the script. Thanks.

First, if you come here to find someone that writes your scripts for you, you’re wrong here. Second, this is one of the most trivial things and has been asked several times here.

Dude you just animate it in the unity and tick the animation as loop. It will go from one point to another forever. There is no need to script :smiley:
Click HERE