How do i make a Textlabel's text to be "Player1's Office" But using a objectValue.
COMMUNITY QUESTION
How do i make a SurfaceGui display a Player's username?
1 answer
Please be more specific. We need to know more information. Such as, do you want the brick to display the name after being touched? etc.
Please give us your scenario, becuase based on the information you gave us, i would just say make a text label containing the player's name.
Edit: ok, now let me explain.
First off, you cant use an object value for a name, use a string value.
So, in the surface gui we put a screen gui, then a frame (if you want to, i'll be pretending you did), then a Text label.
Put this in the Text label and replace ? with the directory to the value
TheValue = ?.Value
script.Parent.Text = TheValue.."'s Place"
TheValue.Changed:Connect(function()
script.Parent.Text = TheValue.."'s Place"
end)
I hoped this helped.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
textlabel's text to be "Player1's Office" But using a objectValue for the players name
K, i fixed it, Whoops, i made Office Place :p