so I'm trying to script an item-saving system that adds a value to a table whenever you get a new item, but I've been struggling to figure out how Data Saving works with tables. I thought it might be something like how you save a number value, but that didn't work out. Anyways, if anyone could paste a most basic Table saving script, I would appreciate it. Thanks
COMMUNITY QUESTION
how to save Tables with DataStore?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
A table is stored in a JSON string fromat which is all handled by roblox. This means it cannot include functions, Roblox types or mixed tables. You can check that the table will save by using http://wiki.roblox.com/index.php?title=API:Class/HttpService/JSONEncode
Only dictionaries need the JSONEncode and Decode