Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[Datastore] ROBLOX error?

Asked by 9 years ago

I have data in the Datastorage, but it wont output it?? Why? Is this a problem that ROBLOX never fixed?

local CDS = game:GetService("DataStoreService"):GetOrderedDataStore(Gravity_V4._HTTPSync.BanlistLink)
local CPage = 1

local Page = CDS:GetSortedAsync(false, 5)

for k,v in pairs(Page:GetCurrentPage()) do
    local pos = k
    local name = v.key
    local score = v.value
    local da = ("Name"..pos)
    local db = ("Score"..pos)
    Gravity_V4._Connections.Output(20,Speaker,da..' :'..tostring(name),'White',function() 
        Gravity_V4._Connections.Dismiss(Speaker)
        Gravity_V4._Connections.Output(20,Speaker,da..' :'..tostring(name),'White',function() end)
        Gravity_V4._Connections.Output(20,Speaker,db..' :'..tostring(score),'White',function() end)
    end)
end
    Gravity_V4._Connections.Output(10,Speaker,'Current page : '..CPage,'Lime green',function() end)

Answer this question