How to save inventory objects

Hello, I would like to know how I can save an object that is added to inventory and removed?

To clarify, the object is a part that is in workspace and can be added to inventory and removed from inventory, how can I do that?

Any idea how to do that? I’m not sure

Since you can’t save the object itself into a DataStore, you could store some data that’ll be used to identify the item, such as its name.

Here’s a fantastic thread which covers this topic:

2 Likes

Save a table containing names or values that tells the script what item to load when you join the game

For example,

Save

Table = {ID=1}

and when you join
Load the Table with GetAsync

PS: You might need to save whats inside the table and not the table itself.

1 Like

Hello, the truth is I am somewhat confused, is it possible for you to give me an example of code, if it is not too much trouble, please? :frowning:

Hi, this article looks interesting, I’ll start reading it, thank you very much!

1 Like