Question about data stores

I am making a game where you can leave a note that will stay forever, and I have run in to a problem.

How can you cycle through hundreds or possibly thousands of keys in a datastore to find a key with values that fit within a certain criteria without causing lag?

1 Like

DataStore:ListKeysAsync()
https://create.roblox.com/docs/reference/engine/classes/DataStore#ListKeysAsync

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.