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 an infinite amount of GetSortedAsync?

	
game.Players.PlayerAdded:Connect(function(plr)

local DataStore = game:GetService("DataStoreService"):GetDataStore('DataStore'..plr.UserId)

	
local DataStoreODS =game:GetService('DataStoreService'):GetOrderedDataStore('DataStore'..plr.UserId)


	local pages = DataStoreODS:GetSortedAsync(false, 500):GetCurrentPage()

--[[
what i want is i want to get every single thing in get sorted async not just 500

if i do math.huge itll give me a error if i do 5000 it'll give me an error

all I want is to get every single thing in GetSortedAsync not just to a certain number
--]]


end)

1 answer

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