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

BillboardGui not detecting mouse button click?

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?

2 comments

0

Make the zindex higher than the Billboard GUI.

0

That will not actually do it, You're going to have to change the Adornee to the part within workspace

2 answers

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.