Is it possible to store an instance in a data store?

I think you are thinking too “real world” about this. Even while playing the game, you don’t need a pile of meshparts in a folder. For most of the game, it will be enough to have a list of weapons owned, retrieved when opening an inventory system. When a sword is picked, that’s when you need the model, which this whole time has been hiding in system storage.

If you mean across the client/server boundary, you’ll want to keep the table server-side of course. That’ll most likely be in the script that handles data loading/saving. This data can be sent to the client via an InvokeServer remote request sent by the client. With an InvokeServer, the client asks the server something, then the script will yield until the server returns something (in this case, the inventory table).

1 Like

Thank you all for the help! I have found the method that I will use for the creation.