Is this a good way to handle data?

What do you want to achieve?
I want to know if this is a good way of saving data and if there’s something I can do to improve/change my methods.


In ServerStorage I have this folder. When you join the game, a copy of the folder is made and your data overwrites the default data in the original DataPlaceHolder. If it’s your first time playing, you’ll just get the default data folder.




I have pcalls around every single SetAsync and GetAsync call and the function will repeat itself if it errors. In the second image, there’s a parameter called “Important” which is for if a player is leaving the game/purchasing a developer product.

Is there anything I’m missing for saving and grabbing data? Should I not use folders? Let me know.

If just one call fails, it seems odd to retry the entire function. Just retrying the call that failed would make more sense, in my opinion, and it would save budget on datastore calls.


Alright thanks, I’ll change that.