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

Are DataStore for folders possible?

Asked by 4 years ago

Hello,

I am currently working on a Surival Game, and I would like to know if it is possible to have a data store for folders, so for example, if I was to make changes to the world while ingame (e.g cutting down a tree), would it be possible to save that with a DataStore while the tree model that got cut down is in a folder? So when I leave and rejoin the tree remains cut down.

Is that possible to do?

Thanks

0
try it MemezyDev 172 — 4y
0
I think you can save ObjectValues in a DataStore, so I'd say yes. Rinpix 639 — 4y
0
Okay RazzyPlayz 497 — 4y

1 answer

Log in to vote
2
Answered by 4 years ago

Even if you could (I don't think you can) you probably wouldn't want to. It would be a much better idea to save information about the object (size, position, shape, etc.) or just save a "state" in this case. For example, player cuts down Tree3 Just save Tree3 as cut down and then when you load the game replace the model of Tree3 with a cut down model. I hope this helps.

0
I'll try that RazzyPlayz 497 — 4y
Ad

Answer this question