Best way to store data

Hey guys, may i ask something about which one is the best way to store data for player (example: inventory and money). is it better to use attributes, objectValue, or table? Thank you.

I would usually prefer tables, as native code has the least overhead.

Table w/ Profile Service has worked the best for me :^)

2 Likes

Not sure what you mean by attributes or object values, are you searching to store that data in a DataStore? If so, then definitely use a module like ProfileService, you data will look something like this:

{
	Money = 0;
	Inventory = {}
}
1 Like

Thank you for answering my question, and i mean it was a store temporary data to get better performance, like using attributes, objectValue or table (using remote for sending data to client).