I made a name tag for every player, now I am trying to add an option, for when you click on the text button, the text button transparency is set to 1 and the transparency of the frame is set to 1, leaving only the letters visible.
PLEASE NOTICE: (in the image below, the name of the “TEXTBUTTON” is “TextLabel” )
Clickdetectors only work for BaseParts (stuff like Unions, Parts, and Meshes), but I think I know what’s going on.
TextButtons only work inside of billboardgui’s if you have the gui inside of StarterGui directly, then you modify the adornee property to set the position to be at the nametag part as such:
The original code was fine, and you don’t need to use a clickdetector.
As explained previously my post above, you need to set the parent of the BillboardGui directly to the PlayerGui, and then set the adornee to the nametag part. Your TextButton should work fine after doing such.