Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I get all of the information from a datastore?

I've been thinking about implementing a top 10 leaderboard in a few of my games, but I don't know how to get all the data from a specific datastore.

1 answer

local infoDataStore = game:GetService("DataStoreService"):GetDataStore("leaderboardInfo")

if infoDataStore:GetAsync("points") == 100 then
--do stuff
end

1 comment

0

That's not what I mean.

This discussion is preserved as it was. New answers, comments, and votes are closed.