My data store wont save and i keep getting this error below. Any tips on how to solve this issue. I get the error after every value when it tries to save. The index key saves but the values wont save
DataStore request was added to queue. If request queue fills, further requests will be dropped. Try sending fewer requests.Key =
game.Players.PlayerRemoving:Connect(function(bot)
local ps = bot.PlayerStats
local ls = bot.leaderstats
local stats = {ps.Deaths, ps.Jumps, ps.Wins, ls.Stage}
for key, value in pairs(stats) do
local success, err = pcall(function()
ds:SetAsync(bot.UserId, key, value.Value)
end)
if success then
print("data saved")
else
print("error data not saved")
warn(err)
end
end
end)

1 comment
Upload the array alone.