Rise up in the air

I want my camera to slowly rise up in the air. While you’re going up you have to dodge some obstacles. How can i make it so it wil go up?

You can use the code “move up x distance in y seconds”, and put it in a forever loop.