I wanted the player to have a billboardgui into the player when they join. I can't seem to put one in
function name(player)
local p = player
local head = p.Character:WaitForChild("Head")
local n = Instance.new("BillboardGui",head)
local text = Instance.new("TextLabel",n)
n.Size = UDim2.new(10,0,1,0)
n.StudsOffset = Vector3.new(0,4,0)
n.Name = "Display"
text.Name = "Output"
text.Size = UDim2.new(1,0,2,0)
text.BackgroundTransparency = 1
text.Text = p.Name
text.TextStrokeTransparency = 0
text.TextTransparency = 0
text.TextColor3 = Color3.new(255,255,255)
text.TextStrokeColor3 = Color3.new(0,0,0)
end
game.Players.ChildAdded:connect(name)

2 comments
Doesn't work... .3.
Put it in a normal script that's in Workspace.