Please use code tags… you can edit your message with edit button.
You can use a script in GameObject that you set to DontDestroyOnLoad - this way you can have this object + its script persist even if scene loads.
You can use PlayerPrefs to save and load the value.
You can use any other available C# or Unity serialization method to save and load your data.