local text = ("Your Name Is:...LocalPlayerName...")
My LocalScript is in a Text Button, which the Text Button is in a ScreenGUI in StarterGUI.
This is what I want it to do: It changes the ...LocalPlayerName... part to the player who is playing the game name. On the Text Button, I already put "Your Name Is:", but IDK how to make it so it makes the ...LocalPlayerName... part your name.

6 comments
If you didn't define LocalPlayerName, then you should replace it with game.Players.LocalPlayer
Doesn't work, it shows nothing (This is the code: local text = ("Your Name Is: "..game.Players.LocalPlayer) ) and these is the layout: http://gyazo.com/8b51dabcb929d3120205830cf5bad30b
The correct code is local text = "Your Name Is: "..LocalPlayerName I didn't realize your mistake of using parenthesis at first.
Oh okay, thanks!
It still shows nothing q.q
Thanks