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

Is it possible to specifically name a data store?

Asked by
RedCombee 585 Moderation Voter
10 years ago

I am wondering if it is possible to name a data store, or is there only one per game universe that is a table?

1 answer

Log in to vote
2
Answered by
25564 200 Moderation Voter
10 years ago

Yes it is possible to name a DataStore.

local DataStore = game:GetService("DataStoreService"):GetDataStore("Points") -- The Name of this DataStore is points. If that table does not exist it is automatically created.
Ad

Answer this question