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

Displaying the player's name on a SurfaceGui?

Asked by 8 years ago

This is what I came up with to try to do this, pretty self explanatory I suppose. The script is inside StarterCharacterScripts.

script.Parent.Name = game.Workspace.Part.SurfaceGui.TextLabel.Text
0
There is also a 1 player limit per server if that helps any. crabbyninja 58 — 8y

1 answer

Log in to vote
0
Answered by
Aepeus 59
8 years ago
local plr = script.Parent
game.Workspace.Part.SurfaceGui.TextLabel.Text = plr.Name
0
Thanks, had it the wrong way around pretty much crabbyninja 58 — 8y
Ad

Answer this question