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

How do you create owned houses with data persitance/data store?

I want to people to furnish their houses and be able to have that same design, but the wiki is so vague on how to do certain things, so I thought about coming here. Can you explain how to do this?

1 answer

Basically, you have three options. If you don't mind not using DataStore, One option is to make a blank template house and use

CreatePlaceAsync(). I may not be able to go into depth here, but this option is quite easy. If you already have the furniture system set up, just use SavePlaceAsync(), and you have a private house system. On the main world, add a teleport to the door. This will work if you're interested in Universes, I have tried using it in one of my projects before and it worked great.

The second option uses datestore, but is more lengthy, but it's assigning a BoolValue to each piece of furniture and saving it using DataStores. Put the object in Workspace where you would like it to go, then you can cut and paste it into ReplicatedStorage.

e.g


furniture = game.ReplicatedStorage.furniture1
if  furniture1.Value == true then
	clone = furniture1:Clone()
	clone.Parent = workspace
end

Option Three: You can store a table in DataStore somehow, but I do not know how, so you can basically make a table that contains all the furniture.

1 comment

0

I current have a GUI set up to obtain the tools needed for editing the home.

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