Inside ServerScriptStorage
local ods = game:GetService("DataStoreService"):GetOrderedDataStore("Score") function updateBoard(board, data) for i,v in pairs(data) do wait(1) print("1") local pos = i 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) print("2") end end
Dosent print 1 or 2. Please help.
Assuming this is your entire code, updateBoard
is never called, so of course it doesn't run.