Need a timer script for text

I need a script for a timer for my racing game

Hi @DeductedFlame24,

If you would like to keep track of time in your project, you can create a variable like this.time = 0; in your initialize function and then in your update function put this.time++; That will keep track of the time in seconds, and then you can apply that value to a text element on screen.

I hope that is helpful.

2 Likes

thank you
this should help