I wanna know if there’s a better way to use OrderedDataStores, because this looks really weird and I don’t know if theres any better or more efficient way of doing it
local S1Speed = DSS:GetOrderedDataStore("S1Speed-"..Date)
local S2Wins = DSS:GetOrderedDataStore("S2Wins-"..Date)
local S2Speed = DSS:GetOrderedDataStore("S2Speed-"..Date)
local S3Wins = DSS:GetOrderedDataStore("S3Wins-"..Date)
local S3Speed = DSS:GetOrderedDataStore("S3Speed-"..Date)
local S4Wins = DSS:GetOrderedDataStore("S4Wins-"..Date)
local S4Speed = DSS:GetOrderedDataStore("S4Speed-"..Date)
local Donations = DSS:GetOrderedDataStore("Donations")
local HallOfFame = DSS:GetOrderedDataStore("HallOfFame")
local function GetSorts()
local S1WinsSorted = S1Wins:GetSortedAsync(false, 70)
local S1SpeedSorted = S1Speed:GetSortedAsync(false, 70)
local S2WinsSorted = S2Wins:GetSortedAsync(false, 70)
local S2SpeedSorted = S2Speed:GetSortedAsync(false, 70)
local S3WinsSorted = S3Wins:GetSortedAsync(false, 70)
local S3SpeedSorted = S3Speed:GetSortedAsync(false, 70)
local S4WinsSorted = S4Wins:GetSortedAsync(false, 70)
local S4SpeedSorted = S4Speed:GetSortedAsync(false, 70)
local DonationsSorted = Donations:GetSortedAsync(false, 50)
local HallOfFame = HallOfFame:GetSortedAsync(false, 20)
end