1

# Why won't the GUI text change?

Here's my code:

local Players = game.Players
local PlayerNameFolder = game.workspace.PlayerNameFolder

local PlayerName = Instance.new("StringValue", PlayerNameFolder)
PlayerName.Value = player.Name
PlayerName.Name = player.Name

PlayerNameGui.Text = (PlayerName.Value.. "'s plot")

end)


The part where it changes the value works, just looking for the write way to write it for GUIs.

The PlayerNameGui variable is set to the NameLabel in the ServerStorage service. Changing the PlayerNameGui.Text changes the property within ServerStorage. I'm unsure of what is supposed ot be happening, but the solution is to clone the PlayerNameGui and parent it under whatever you want the SurfaceGui to be on, then change the property.