local ods = game:GetService("DataStoreService"):GetOrderedDataStore("Score")
print("1")
function updateBoard(board, data)
print("2")
for k,v in pairs(data) do
print("3")
local pos = k
local name = v.key
local score = v.value
local dispname = board:findFirstChild("Name"..pos)
local dispval = board:findFirstChild("Score"..pos)
dispname.Text = tostring(name)
dispval.Text = tostring(score)
end
end
For some reason it only prints 2. It prints 1 at the start of the server, then it just keep repeating 2 in output. Why won't it print 3?
