I'm not sure why, but it's not working for my game. Whenever I got 5 players there, they all had 1 point and it just didn't display the scores. Help?
I also did not get a error.
local service = game:GetService("HttpService") local data = game:GetService("DataStoreService") local orderedData = data:GetOrderedDataStore("points") while true do local place = 0 for _, info in pairs(orderedData:GetSortedAsync(false, 5):GetCurrentPage()) do place = place + 1 local line = script.Parent:WaitForChild("Frame"):WaitForChild("Line" .. tostring(place)) line.Text = "#" .. tostring(place) .. " | " .. service:GetAsync("http://roproxy.tk/rapi/GetNameById/" .. string.sub(info.key, 7), true) .. " | " .. tostring(info.value) end wait(60) end