I’m trying to make a battlepass system but I don’t know how I reset player data(level, experience) for every player that has data in my game.
I thought of doing:
levels = {
[1] = 1,
[2] = 1,
[3] = 1
}
index being the season and the number being the level for that season. I would simply move to another season. I think this method is strange though and more knowledge in this topic would help.
To swap seasons, I would have to change every time I access a level(change the season, e.g. levels[2] = 1)