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

How can I store "brick" data?

Asked by 7 years ago

I'm currently making a building game. I was searching all night how to save your creation. All Data Store I find is on leaderstats such as KOs. Please help me with my current problem.

I would appreciate answers. Thank you.

1 answer

Log in to vote
-1
Answered by
KenUSM 53
7 years ago

clone it into ServerStorage.

If your trying to do it through a script.

Make your building into a Model and identify it,

like local Model = game.Workspace.Model

then Model:Clone().Parent = game.ServerStorage

then destory the one in Workspace by doing

Model:destroy()

0
then you can use the same model again if you need it by doing ModelCopy = game.ServerStorage.Model, ModelCopy:Clone().Parent = game.Workspace KenUSM 53 — 7y
0
No. ScriptGuider 5640 — 7y
0
will it save if theres no players? TheBinaryC0D3R 9 — 7y
0
Thanks for answering. How can I group them on a script?. Also if its grouped can they access the brick 1 by 1? or just the whole model? thanks TheBinaryC0D3R 9 — 7y
View all comments (2 more)
0
Yes it will save with no players. If you don't want it to Save it until a Player joins then your going to have to make it into a function. KenUSM 53 — 7y
0
When It is grouped and when the script reinserts the The Whole Model will load unless you created a script that makes it load 1 by 1. KenUSM 53 — 7y
Ad

Answer this question