Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Name isn't being included in Gui text?

Asked by 8 years ago
Edited 8 years ago

NEVER MIND I FIGURED IT OUT I FORGOT TO PUT A + INFRONT OF s.Parent.Name! Thanks for looking!

Player = script.Parent.Parent.Parent.Parent.Character
s = Player.Humanoid

script.Parent.Text = "Welcome "s.Parent.Name" !" -- I cannot get the Player's Name to show right here in the welcome text what am I doing wrong?
1
You actually have to put '..' as that is the concatenation operator in Lua. script.Parent.Text = "Welcome " .. s.Parent.Name .. " !" jakedies 315 — 8y

Answer this question