BillBoardGui.TextButton.MouseButton1Click:connect(function()
print("Clicked")
end)
I have a TextButton under a BillboardGui and the BillboardGui is under PlayerGui, it's still not detecting click.
Any help?
BillBoardGui.TextButton.MouseButton1Click:connect(function()
print("Clicked")
end)
I have a TextButton under a BillboardGui and the BillboardGui is under PlayerGui, it's still not detecting click.
Any help?
what you want to do is put the BillboardGui within the StarterGui and set its Adornee to the part which you want the billboardGui to be used in. From there you can set it how you'd like :)
Have any questions? Feel free to ask :Example Explorer: https://gyazo.com/418a9d383b76838faf1fd7de328780c0 Script: https://gyazo.com/afb576681a9ff4798e1ed49fbff99960
local Gui = game.ScreenGui.BillBoardGui
Gui.TextButton.MouseButton1Click:connect(function()
print("Clicked")
end)
I Hope it Worked.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Make the zindex higher than the Billboard GUI.
That will not actually do it, You're going to have to change the Adornee to the part within workspace