If you place the player point system in the game mode instead of on the character or player it will remain. You could make a struct that holds all your variables in your point system, make that struct and set each element, and then add it to an array of the struct type each time the player dies, and resetting the player point system back to default values. If you want to keep those scores for the next time you open the game up look at creating and loading a save game object in the documentation. Explains exactly how to do that.