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.