local plr = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui", game.StarterGui)

local test = Instance.new("TextLabel", gui)
test.Text = "Welcome"..plr.Name.."!"

4 comments

0

You can test any questions you have in roblox studios

0

?? if u want it to show right away do Instance.new("ScreenGui", player:WaitForChild('PlayerGui')) otherwise everything should work?

0

yes you can

0

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