I want to save objects from a server script. Please help.
I know I can just save the properties of each object using DataStoreService and I will do that if there are no ways I can find to save objects.
You cannot JSON de/encode objects btw.
I want to save objects from a server script. Please help.
I know I can just save the properties of each object using DataStoreService and I will do that if there are no ways I can find to save objects.
You cannot JSON de/encode objects btw.
You cannot save objects. Only values and tables. Also, the only way is via DataStoreService. You could use JSON but JSON is literally the same thing as DataStoreService but much harder.
:( sad truth
:( sad truth
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
If you're saving objects across servers, then DataStoreService is the only option.
Unless you turn the object into a table, JSON encode it, and store it using web requests on an external server.