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

2 comments

0

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

0

Only dictionaries need the JSONEncode and Decode