(Solved) How do i make a high score

So i’m making a space shooter and i want to add a high score that updates when the player dies but i tried this code:

It only shows the highscore when i die and when i restart it goes back to zero
can you help me?

In GDevelop 5, you can check if the savefile exists and gets written properly by pressing F12 and checking Storage tab. Not sure about GDevelop 4…
You do update the highscore text, so the only other example I can give is try assigning a test variable with a specific value, save it once, and then display it once at beginning of scene.

Thanks for the help i got it to work!