So I want it like this: Theres current level, exp, and next level for each stat, and they are next to each other in the savefile, like this
4 8047 10000
Thats level 4 with 8047 exp and the next level is 10000 exp, for the health stat. The next line should be the regen stat, and then some other stats.
4 8047 10000
2 29245 100000
5 59 100
7 74 100
9 653 1000
3 12 100
What I currently have as script is this:
The first bit.. I think it's supposed to give new players those stats, and the loading bit (which is missing) should give players with a savegame the saved stats.
The second bit is obviously for saving stats... Dunno if I did that right.
What do I have to do to make this work?