How to add persistence (in respawn and between sessions) in this code?

If you share your code I can take a look, here’s a good tutorial too: Keep in mind if you’re testing in editor the persistent stats reset each game, but will stay in a playtest version