how to make things go forward forever

hi i need a code to make things go forward forever and not go down

Fun fact, it’s already your question, five hours ago ! The world is such a small place isn’t it ?

//set your speed
float speed = 2;

//put this in the update
transform.position += transform.forward * speed * Time.deltaTime;

//attach script to gameobject