local Data = game:GetService("DataStoreService"):GetDataStore("Inventory")

What does the :GetDataStore("Inventory") part of this even do?

4 comments

1

I think of it as a storage that holds specific data

0

so that means i can make different data stores for inventory, stats, etc by just changing the ''inventory'' part to the thing you are trying to datastore?

1

Yes

0

thx