Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Saving and loading where objects are, which method is better?

Asked by 6 years ago

I don't know any other methods other than this

I'm making a claim house system in you have a save and you claim a house it loads the save I know how to make data stores but I'm not sure which method I should use.

saving the cframe via JSON encode and then loading it, but the thing is how should I load it? Would I multiply it by another cframe or put all the objects into a model and move the model? To get it to the house position (the house location would change)

saving the names of the parts that are in a grid that is touching the model and when it loads it would load it on top of the part, but how should I do this if it's a couch and it's bigger than the piece that's in the grid?

Is there any other method to do this? If not which one should I use?

Answer this question