This is what i can come up with, what is the problem it will not show the value witch is "KOs"? I made my leaderstats datastored if that might help with the problem.
local DataStore = Game:GetService("DataStoreService"):GetOrderedDataStore("KOs") local Pages = DataStore:GetSortedAsync(false, 10) local List = Pages:GetCurrentPage() function Update() for k,v in pairs(List) do TextLabel1 = Game.Workspace.Global.Board.SurfaceGui:FindFirstChild("Name"..k) TextLabel1.Text = v.key TextLabel2 = Game.Workspace.Global.Board.SurfaceGui:FindFirstChild("Score"..k) TextLabel2.Text = v.value end end while true do wait() Update(List) end
THIS IS SUPPOSE TO RANK THE PLAYERS BY HOW MUCH KOS THEY HAVE FROM 1-10