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

I Have A Problem, How Do I Save Models Through DataStoreService?

If Anyone Knows How Please Answer!

3 comments

0

You can't. The best way to do it is to save certain things that are unique to the model like its position of a primary part, the model name, stuff like that, in values stored in a table as the data

0

it is like just for players making custom builds

0

I know a way that is better than the current answer, I just have to wait for the answer cooldown, just a sec...

2 answers

✓ Accepted answer

If you want a simplistic, easy way to store a model, then you need to create a "Model to Script" script, it is a script that can turn a model into a string that can be put in a script for a perfect copy, then you need to store it via DataStoreService, then, when trying to call in the model you use loadstring to create the copy, however if the model has scripts you must make a advanced model to loadstring that takes copies of that script that you store in replicated storage and puts it in the place the script was.

1 comment

0

thanks man!

You need to know about serialization, and you need to learn about JSON encoding/decoding.

I don't think there currently is any free serialization module...

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