How can we store more than one data in a DataStore

Hey devs! I’ve been scripting for 2 years now and I need to do a datastore for my game. Now the thing is that… I never worked on a datastore before. Of course I know the very basic of it so I can make easy saves, however the script I made can only store one data per save name. How can I make it store more data in a single datastore name? Thank you!

Use a Table then use HTTPServices’s JSON functions (JSONEncode, JSONDecode) to turn the tables into a singular string and vise versa for storing.

1 Like

I’ll take a look… thanks for the reply!

2 Likes

yes, I would suggest the same thing, it also decreases the size so you can save more data!

1 Like

I would use the ‘Scope’ parameter of the datastore, because I’m not too bothered about the performance impact.

If you care about the performance impact, then just use the already given solution

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.