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

How to Prevent DataStore2 from Throttling?

Hello, I need help with reducing throttle in my DataStore2 script as it seems to keep throttling, I have like 20-30 more of these same codes of what I have below and says too much requests which causes slow responses from the DataStore. I would like to know a way with less requests or what unique keys are so I can stop using them too often.

local exampleStore = dataStore("example", player)
local function exampleUpdate(value)
local store = "example"
replicatedStorage.StatUpdateEvent:FireClient(player, store, value)
end
exampleUpdate(exampleStore:Get("none", false))
exampleStore:OnUpdate(exampleUpdate)
exampleStore:Get("none", false)

1 answer

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