Hi, I'm just wondering. I've got a game that saves a players base to an instance at the moment. I'd rather move to datastores for this as I have done with the rest of the player data. It's a bit long winded due to datastores not saving instances.
I thought maybe I could save each models location in the players base to a datastore and load that up each time they join so all of the models would be in the exact location they left it. I can easily sort out Primary parts and such for moving the whole lot after it's spawned in, if the player is in another location. But for now what would be the easiest way to grab all of the models in the base, get their XYZ and save it to a datastore?
I thinking maybe something along the lines of this, possibly storing the values into a table and somehow retrieving that and splitting it up?
objects = {"Basic Conveyor","-62.5, -0.5, 99","Advanced Conveyor","-62.5, -0.5, 84"}
Thanks in advance.

1 comment
pretty good