Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you store instances in datastore?

I'm trying to figure out how to store a instance in a datastore, and I have no idea how to, I know I need to put it in a table with all the instances properties, but how do I implement those values in a table for datastore? And how do I then put the saved values back into the instance I saved when a player loads in? Sorry if this sounds more like a request. I just need an idea how to do this.

1 answer

✓ Accepted answer

You cannot store an instance in a datastore. You can either save the name of the instance and all of its properties' numbers or you can save a value that you have associated with that instance and if that value is in the datastore to load that instance. However, you can never save an actual instance in a datastore.

This discussion is preserved as it was. New answers, comments, and votes are closed.