#output error

1 messages · Page 1 of 1 (latest)

buoyant egret
#

what's data?

cloud torrent
#

heres everything before that

#

local DataStoreService = game:GetService("DataStoreService")
local KillsLeaderboard = DataStoreService:GetOrderedDataStore("KillsLeaderboard")

local function updateLeaderboard()
local success, errorMessage = pcall(function()
local Data = KillsLeaderboard:GetSortedAsync(false, 5)
local KillsPage = Data:GetCurrentPage()
for Rank, data in ipairs(KillsPage) do
local userName = game.Players:GetNameFromUserIdAsync(tonumber(data.key))

#

changing data.key to Data.key doesnt change anything btw

brittle eagle
#

What is data.key equal to?

#

@cloud torrent

cloud torrent
#

idk i used a tutorial 💔

brittle eagle
cloud torrent
#

no

#

o i forgot to say that

#

mbmb