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

Can you get all keys within a datastore?

Asked by
IDKBlox 349 Moderation Voter
4 years ago

I'm saving playerdata using their UserId as the key. In order for me to view their data, I need to know their id... Meaning i'd have to go to each individual profile and get their id.. Is there any way to just get all of the keys inside of the datastore?

0
You can't unless you saved them into an ordered datastore. pidgey 548 — 4y
0
ugh, I was afraid of that. How would you recommend me doing this? I'm having my key as a GeneratedGUID IDKBlox 349 — 4y

Answer this question