Im trying for 8 hours can someone help me. How can i save PlayerGui with DataStore?
✓ ANSWER ACCEPTED
How can I save PlayerGui with DataStore or else?
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.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
How will it load when player joins? I mean how i can change it to gui again?
You would have to take all of the information you stored about the GUI, and use it to construct a new GUI.