So I'm making a better version of Build a Hide out and fight and I'm making a save system with Data Persistence and test it by building a castle. I made foundations for it and saved it and tested it and it worked. I finished my castle and it said it was too big to save. So I thought of data stores since they have no data limit. But I'm not quite sure how to save a whole model with Data Stores. All I know is how to save integers, strings, and booleans.
✓ ANSWER ACCEPTED
Data Stores - Instances?
1 answer
✓ Accepted answer
You can't directly save Instances to a DataStore.
To save data that can be used to to "rebuild" the creation later, you have to do something called serializing the data. There are multiple scripts already made to do this, and a few I think are on Free Models.
I'm currently on mobile, making it difficult to write out code, so I'll write a serializer and deserializer pair of functions and add them to this post when I get home from work (About 6 hours from now).
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Alright. Thanks in advance!
Not to be rude or anything, but it's been 23 hours. Can you do it now?
Oh gosh, I'm sorry. I forgot while I was at work.
It's alright. You can Message me the serialize code thing on Roblox