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

How to make a string represent an instance?

Im making an mmorpg game and was wondering for datastore how would I make a string that would look for then represent an instance. So it is then able to be saved through data store

2 comments

0

Use the name of the object, and save that?

0

Just keep the instance in ServerStorage. Now you can save the name and find it with that.

1 answer

✓ Accepted answer

You simply have to save the instance properties. It could be done with json or string manipulation, but I prefer with tables. Here is model saving: https://www.roblox.com/library/633336146/Model-Save-Script . Obviously if you only want to save a single instance then it is simpler. Transform the userdata into strings/tables, then store it in a dictionary.

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