When i enter the game i get BillboardGui in my head, and within the billboard gui is the text label. The problem is that the text label is not showing on the character for some strange reason. Please help!
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) board = Instance.new("BillboardGui",character.Head) board.Active = true board.AlwaysOnTop = true board.Size = UDim2.new(0,10,0,10) gui = character.Head:WaitForChild("BillboardGui") if gui then text = Instance.new("TextLabel",board) text.Active = true end end) end)
help :(
There are a few possible reasons:
1.) It's just not adding it to the character's head in the first place:
If this is the case, then you probably need to do character:WaitForChild("Head")
. The head is not always there as soon as that event fires. It usually fires just before all the body parts are added.
2.) It's not visible because it's not adorned to the head.
You may need to just set the Adornee property to the head as well. Using the same WaitForChild as mentioned above, just do board.Adornee = character:WaitForChild("Head")
.
I hope this helps. If you have any problems or questions, please leave a comment to this answer.