For some reason, my GUI wont update. I am trying to update the label to have the new text after data from the player is loaded so the player knows what skills they have available. I have cut out a bunch of stuff that doesn’t relate at all
This is the local script
local event = script.update
event.OnClientEvent(function(name)
if name ~= nil then
print(name)
script.Parent.TextLabel.Text = name
end
end)
This is the server script
local name = "None"
if foundSkill ~= nil then
name = foundSkill.Name
end
update.Fire(player,name)
The GUI label still has the text none although the print is outputting something different