How Would I Make Saving Plot System

I am not familiar with datastores at all, or anything related, so I am wondering how I could make a plot save. These are one player servers

game.Players.PlayerAdded:Connect(function(player)
	-- load the plot
end)

game.Players.PlayerRemoving:Connect(function(player)
	-- save the plot
end)

image

I want it so that any change made within anything inside the plot folder get saved when player leaves and loaded

In datastores, you cannot save parts, and That will be an issue for you. Thats the main issue you will have with your saving plot system. You should look at The Idea of Serialization data which makes scripts turn not-savable values, into savable values. And then when they rejoin, rebuilds the parts using that data (so you would save everything about the part, like position and color to name a few. When they rejoin, you would make a new part, and assign it the color of the saved part, position of the part etc., this is a very basic example, but other issues arise as well as you can’t save vectors and Color3s, so you might have to Serialization certain things, even within a part’s properties)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.