Healthbar billboard GUI appearing above player aswell at (0,0,0)

For some reason there is a duplicate billboard GUI under my map at (0,0,0.) how do i fix this??

Current Code:

task.wait()
GUI = script.PlayerUI:Clone()
GUI.Parent = script.Parent.HumanoidRootPart
GUI.Enabled = true

1 Like

Set the adorned to the players head

All that did was detach it from the player.

Could u show the billboard properties? While studio is running

Oh I completely missread the question. Where is the gui before cloning?

Billboard Gui will be automatically placed at 0,0,0 if it has no Adornee and is under Workspace or StarterGui

1 Like

Its under a script in startercharacterscripts. im wondering if this could be because of the startercharacter?? although i dont know if that would mess anything up

Try putting it in replicated storage. And fix code accordingly if needed

If it is under StarterCharacterScripts you don’t need to clone it before setting Adornee to the HumanoidRootPart, since everything in that container is automatically cloned per player.
→ The reason why there is a duplicate is because the Template BillboardGui (the one you clone) is under the player’s character and therefore under Workspace; this causes it to be placed at 0,0,0 automatically.

so would i just remove the line of code that clones it?

Yes you just have to remove the :Clone() part

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.