DataStore2 with weapons?

How am I able to use DataStore2 with saving weapons with a simulator game?
I know to use serialization, but I have no idea what to start with or go about it.

1 Like

Have you, by any chance, done a forum search for DataStore2 and then tried it out before posting?

Save the tools, make a scripts so the current tools in inventory get saved.

Assign a weapon an ID and store that ID into a DataStore and on rejoin you use that ID map to give the player what they have. You don’t need to serialize the entire instance. This proposal is a simple table.

Oh damn, you’re right. I could easily just make a IntValue in each weapon named ID, huh

1 Like