How to save global variable. And when you click on the continuation of the game, the global varible became was loading.
Look at this other post
This saves a Global variable named high_score in Storage so when you quit the game the data persist
At Begin of the Scene high_score is 0 on new game move a character to increase high_score then hit Save button and quit the game or click back and you go back to Main Menu and the high_score variable will show the last High Score saved.