do not destroy on load problems?

i need some help on a problem with my UI score text on my game. It is in my game scene but in donotdestroyonload. It only works once, meaning when i press play again it shows the same score from last attempt and doesn’t save this new attempt

My understanding of DontDestroyOnLoad is that it only works between different scenes. I don’t think it saves the data between pressing play. I think this is what you need to do: Saving Data in Unity: PlayerPrefs - YouTube