Thats exactly what i am doing, but IzNoGod made his own functions for almost everything. In the readme it says:
Example of what NOT TO DO: player.stats["xp"] = 30; Do not assign values manually to the array. Thats why i am not sure what to use when i need to reset xp