[C#] Save/Load Score stays at 0 even when changed

Been having this issue for a while now and it’s giving me a headache. Here’s the sum of it:

https://hastebin.com/xigezexiwa.cs (Save)
https://hastebin.com/anogamunix.hs (Load)
https://hastebin.com/otiquguvat.cs (Full Script)

So basically I’m making a high score, the ‘data.highscore’ is always equal to 0. So the if statement in Save is always true. I’m trying to figure this out but anybody’s help could and would be appreciated, good day ^.^!

I used some code from the Live Training Session on Data Persistence.
Hope I can get this problem solved soon, it’s annoying me and I can’t think of another way to solve it.

Hi !
im also using that way to save memory !
but you should use the playerprefs to save that score , because its just a number ,nothing over that .
if u want keeping using that way , you sould send the all script to so we can see where exaclly is the problem

public int HighScore
{
get { return PlayerPrefs.GetInt (“HighScore”, 0); }
set { PlayerPrefs.SetInt (“HighScore”, value); }
}