local plr = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui", game.StarterGui)
local test = Instance.new("TextLabel", gui)
test.Text = "Welcome"..plr.Name.."!"
COMMUNITY QUESTION
So I am wondering if I can use the player name for a Text label like this?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
You can test any questions you have in roblox studios
?? if u want it to show right away do Instance.new("ScreenGui", player:WaitForChild('PlayerGui')) otherwise everything should work?
yes you can
You can't use StarterGui, you need to use PlayerGui, I always use this tutorial in cases like that hehehe. Hope this helps! (I'm not sure if that's it) https://www.youtube.com/watch?v=txcHH11-3v8&t=250s