Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can I save a folder with datastore?

Asked by 4 years ago

Would it be possible to save a folder with something like values with a datastore?

1 answer

Log in to vote
0
Answered by 4 years ago

Yes....... per say.............

You cannot take an entire folder and save the contents of it in a traditional sense of grabbing the folder and calling the datastore save.

You can however convert the contents of your folder into a table of sorts and save that.

It might look something like saving the names of folder objects as the key, and the values of the folder objects as the values. Essentially creating a dictionary.

Check this out for some help with tables and what I mean with keys and values. https://developer.roblox.com/en-us/articles/Table

Ad

Answer this question