So I am making a BillboardGui and I am making a name BillboardGui so, I don't want the BillboardGui to expand when the camera's distance is farther away from the BillboardGui and I thought what if I parent the BillboardGui to the Player when he enters the server and I set the Adornee property to the players head.... However, the BillboardGui gets cloned and parented to the correct place alright... BUT! Nothing is showing above the Character's head -_- Can anyone please help me with this? It would be greatly appreciated Oh! I almost forgot... The BillboardGui has a Frame under it which has a TextLabel under it and the BillboardGui is under a ServerScript inside of ServerScriptService and I am making it clone that and parent it to the PlayerGui and I am trying to make a name Gui above a players head and I don't want the BillboardGui to expand when the camera's distance increases....
Well I think I have elaborated enough for you guys, some help would be appreciated!
OUTPUT ERRORS:
16:42:05.939 - ServerScriptService.Script:6: attempt to index field 'Character' (a nil value)
16:42:05.940 - Stack Begin 16:42:05.940 - Script 'ServerScriptService.Script', Line 6 16:42:05.940 - Stack End
local gui = script:WaitForChild("BillboardGui")
local clone = gui:clone()
game.Players.PlayerAdded:connect(function(player)
clone.Parent = player.PlayerGui
clone.Adornee = player.Character.Head
clone.AbsoluteSize = UDim2.new(0, 200, 0, 50)
clone.AbsolutePosition = UDim2.new(0,0)
clone.Frame.TextLabel.Text = player.Name
end)
Thank you for reading all the way :D!

2 comments
Is there anyway to make it to where the Gui does not expand when the Camera'sdistance increases?
I don't know of any easy way to do it, sorry :(