Which is more efficient?

Hello! Currently, I’m storing and saving values inside of folders in players, but I think it would get cluttered and messy fast. Is it better to store/save data in a table in a ModuleScript?

Definitely module script. If you have a hard time visualizing what the structure of the table would look like, then create a prototype one to help you do so. That way, you’ll know how to correctly insert and read data.

i.e:

local mockUpData = {

    Currencies = {Coins = 380, Gems = 12}
    --etc...
   
}
1 Like

Yeah, I was thinking going down this path as well, considering the fact you can store tables inside of tables inside of tables and so forth! I’m going to write some functions to save and load data to it also. Thanks for your input!

1 Like