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

How can I save models via datastore?

Asked by 4 years ago

Before I get started, I am sorry about not including a reference, I do not know how to start the basic foundation of this script.

Hello, I am wondering how I can save a player's parts / in this case a model, via datastore. To elaborate, I am trying to save parts that a player has placed in-game via my placement system in which I have made. The system stores the parts into a folder with a unique player key via my placement system. My goal is to be able to do the following:

1 - Save part properties (Anchored, CanCollide, Transparency, etc.)

2 - Save part orientation

3 - Load welds that the part could potentially have

4 - Save part position (within the model, not world position)

5 (possibly) - Load the children of the part.

My desired product is a system that is capable of doing the listed requirements above for each part within the model.

Any solutions are greatly appreciated! Thank you!

1
Use Serialization Prestory 1395 — 4y

Answer this question