Billboard Gui Adornee Problem

So i got this problem with the “Adornee”

local Part = workspace:WaitForChild("BillBoardGUIPArt") or workspace: FindFirstChild("BillBoardGUIPArt")
script:WaitForChild("BillboardGui").Adornee = Part

but it doesn’t even show up
the gui would be look like this:


when i test it, it doesn’t even showed up

btw the billboard gui is parented with a script

or workspace: FindFirstChild("BillBoardGUIPArt") is useless, just use WaitForChild

Plus, I’m not sure why you want to adornee it if you are parenting it?

also just ignore Findfirstchild its for a backup cuz sometimes waitforchild doesn’t work
and also wdym by parenting it

:WaitForChild() always works. It waits for the child you mentioned until it times out, meaning it prevents erroring. It also takes in another parameter, which determines how many seconds it has to wait until it gives up and throws a time out error at you.

:FindFirstChild() finds the child you mentioned and the script could error at that line because it can’t find the child, most likely because it hasn’t loaded in yet or it’s truly not there.

By parenting, he meant that if the GUI is under the part in the hierarchy, like this:
image

So the parent of the GUI is the part.

FindFirstChild only checks once and returns and Instance, if not found, it returns nil, its better to just use WaitforChild as @BandQueenForever stated

1 Like

why it errors tho ?12342312312?!#!@#@?!

What is the error? 829828212412545

the Yeild thing (ignore this 12321321321 )

but i only want to set its adornee ?

image

The error means that the script can’t find the BillBoardGUIPArt instance. Check your hierarchy and check for any typos.

nvm guys i solved the problem all i did, put the billboard gui in startergui then just adornee it to the part using local script then boom

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