for _,v in pairs(page) do
local coins = v.value
local userId = v.key
local Clone = Template:Clone()
Clone.Visible = true
Clone.Name = "Frame"
Clone.Parent = SurfaceGui
local ValueColumn = Clone.ValueColumn
local name = Players:GetPlayerByUserId(tonumber(userId))
print(tostring(name).." "..tostring(coins))
Clone.NameColumn.Text = name.." ".."hi" -- The surface gui's textlabel doesn't update
print(Clone.NameColumn.Text) -- This doesn't print
end
This should be
Clone.NameColumn.Text = name.Name.." ".."hi" -- The surface gui's textlabel doesn't update
You’re trying to concatenate a player instance with a string
1 Like