Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Adornee not working?

For some reason now I can't get my BillboardGui Adornee to follow the head of a player. Here is the code.

The following code is in a normal script:

--The BillboardGui is placed in StarterGui
function playerAdded()
local clone = script.Parent:Clone() --Clones the BillboardGui
clone.Parent = script.Parent.Parent.Parent.Character.Head --Places it in the character's head
script.Parent.NameScript.Disabled = false --Enables the NameScript
end
game.Players.PlayerAdded:connect(playerAdded())

The following code is in a local script: (NameScript)

script.Parent.a.Text = script.Parent.Parent.Parent.Name --Sets the text to the name of the player model
script.Parent.Adornee = script.Parent.Parent --This is setting the Adornee to the players head.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.