BillboardGui not working on character

I’m trying to create a billboard gui on my character’s head but the billboard gui doesn’t clone it self for some reason when I do char.Head. When I do char.UpperTorso, it works though.

game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(char)
        local head = char.Head
        local newtext = nametag:Clone() 
        newtext.Parent = head
        newtext.Adornee = head

Thanks in advance
I tried using find first and wait for child*

1 Like

can it be that your using a rthro character? cuz ive seen that rthro soemtimes wont work

1 Like

I’m using R16 and head is still a part of R16 characters.

1 Like

thats weird i dont know whats the problem

You forgot to use end at the end of your script, it should be like that:

game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(char)
        local head = char.Head
        local newtext = nametag:Clone() 
        newtext.Parent = head
        newtext.Adornee = head
     end)
end)
1 Like

It’s not that. I only took the broken part of the script, I ended the function on my actual script. Theres no errors too

Is your billboardgui enabled too?

could you show your billboard gui hierachy?

Yea its enabled. I’m assuming its a rblx bug rn

What do you mean by hierarchy? The children?

I tested it with a BillboardGui that had a TextLabel inside of it. The BillboardGui is located inside of the Script, with that script inside of ServerScriptService.

local nametag = script.nametag

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(char)
		local head = char.Head
		local newtext = nametag:Clone() 
		newtext.Parent = char.Head
		newtext.Adornee = char.Head
	end)
end)

yes the children and its parent

And did the script work? For me it doesn’t

gbfbgb

Yes, try creating a new BillboardGui named nametag with a TextLabel as its child under the script (image below). The issue might be inside of your BillboardGui instead of your code.

image

Are the textlabels visible property enabled?

I’ll try it, but the problem is that the nametag doesn’t get placed under the player’s Head once the game starts. It works for every other limb, but not for the head.

Yea its enabled. Once again, it only doesn’t work on the head.

did you enable the AlwaysOnTop property?

Right, try offsetting the BillboardGui’s StudsOffset (image below)

image