How do I make a Highscore

I’m making a game with a time that goes up 1 every second. I want to save the highest time but I don’t really know how to. Basically, every time the timer goes above the previous highscore, change it to the new highscore.

You can use a variable to save the time of a timer. In action:
Variable(“variable name”) = TimerElapsedTime(“timer name”)

Then you just need to compare the value of the variable where you saved the time

I’ve done this and It still doesn’t work.

I tried to get the time down to 5 seconds, then I quit the game and reopened it and up to 5 seconds the “new object” text didn’t change, that’s what you wanted to get right?

Still not working

Wait never mind it’s working