1 | 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.
local text = "Your Name Is: "..LocalPlayerName
1 | local text = 'Your name is: ' ..Game.Players.LocalPlayer.Name.. '.' ; |
2 | print (text); |