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

[SOLVED] What does this part of datastore even do?

Asked by 5 years ago
Edited 5 years ago

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

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

1
I think of it as a storage that holds specific data awesomeipod 607 — 5y
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? LordOfWatermelons 27 — 5y
1
Yes awesomeipod 607 — 5y
0
thx LordOfWatermelons 27 — 5y

Answer this question