Any way to save plot to Datastore?

  1. What do you want to achieve? Keep it simple and clear!
    I want it save players plot so they don’t have to replace builds.
  2. What is the issue? Include screenshots / videos if possible!
    I don’t seem to found a way.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I searched devforum and youtube. On youtube, they were just one plot that I could do it. But I am doing 8 plot.

Do you know a good way to save some plot? Thanks!

Is it possible you can do what the tutorial says and just modify it to fit 8 plots?

Script were just for a plot. I am still thinking a way.

Can you show us some pictures/videos of what kind of builds/plots you have?

Depending on how constrained the building is, and whether it’s just placing premade assets will dictate the best method of saving. For example, if you can only place one item per grid cell and can only rotate 90 degrees then it’s easier than if the user has completely free reign over placement and rotation.

1 Like

Well you can save every object with a position and orientation of the plot (not the world) so that when the plot load everything is good

Serialize the important properties of each object on the plot into a table that can be saved into the datastore.


This is 2 plot, they are just for testing. I’ll add more but I need to make plot save.

I could’ve save every object position, but what if player loads 2nd plot and every object goes to 1nd.

You need to store relative position and rotation, relative to some common point on each plot, e.g. the grey baseplate if it’s a common size and orientation relative to the plot.

1 Like

You can save a table which contains all the data. Could look like this:

local plotData = {};
local plot = workspace.Plot;


for _, v in next, plot:GetChildren() do
	if v:IsA("BasePart") then
		table.insert(
			plotData,
			#plotData + 1, {
			name = v.Name;
			cframe = v.CFrame;
			color = v.Color;
			size = v.Size;
			-- Continues
		})
	end
end;

-- Save the plotData table.

This is code I should be using, it will save Parts CFRAME for plot1 but if you load your plot on plot2, everything would be so messed up.