My goal is that the text of a textlabel in a SurfaceGUI should be the value of a stingvalue. Whenever I change the stringvalue, so should the text. Oddly, it works when I first join the game in Roblox Studio, but once I change the value of the stringvalue via the explorer, the text doesn’t change. This is a serverscript located inside the SurfaceGUI.
while wait(0.1) do -- the wait is so the game won't crash
local CurrentOwner = script.Parent.Parent.Parent.Parent.Parent.CurrentOwner -- Stringvalue
local TEXTLABEL = script.Parent.TextLabel -- textlabel
TEXTLABEL.Text = tostring(CurrentOwner.Value)
end
If there is a solution to this problem it would help a lot!