Adding a distance traveled and a distance to go to my Endless Runner

Thank you for your response!
I tried what you said and it solved my problem. Thank you.