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

How can I save PlayerGui with DataStore or else?

Im trying for 8 hours can someone help me. How can i save PlayerGui with DataStore?

1 answer

✓ Accepted answer

In order to save Instances (objects/things in Roblox) to a DataStore, you need to serialize them. This means that you cannot just save the object, you have to put all of the object's important properties (position, size, color) into a dictionary, turn that dictionary into a JSON, and then save it to the DataStore.

If you need more help understanding what this means, let me know.

2 comments

0

How will it load when player joins? I mean how i can change it to gui again?

0

You would have to take all of the information you stored about the GUI, and use it to construct a new GUI.

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