[SOLVED] How to stop timer reset when starting a new scene

Hi guys! Just wanna hear some opinions on a problem I’m stuck with. I’m creating a game in which the player travels to locations and each location is a scene. I am trying to implement a Global clock which affects all locations. The problem I found is that every time I change scene the timer resets so it is possible to freeze time just by going to a next location which breaks the game. Can anyone help me so that the timer will not reset every time the scene changes? The time is an external event. Thanks!

Im afraid timers are a bad choice for multible scenes.
its better for you to use a global variable and add TimeDelta() to it and use the variable as timer.


Thank you very much! I was not aware that exist until now I appreciate the guidance cheers!

Tried this and it works perfectly! Thank you!