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

BillboardGui TextButton not clicking?

I have a Billboard Gui on a part, then a frame, and then a TextButton. Under the TextButton, I have this script:

script.Parent.MouseButton1Click:connect(function()
	print("Hello")
end)

It's not doing anything when I click it. Either it's not clickable or my script is wrong. Please help!

5 comments

0

I may be wrong, but I think ROBLOX made these ROBLOX locked. Or it was the text boxes

0

I struggled with this in the past. Make sure the billboardGui is parented to the playerGui and that the button.Active property is true.

0

You're also using a deprecated code It's supposed to be :Connect not :connect

0

@mix What is deprecated?

0

the :connect change it to :Connect with a uppercase

1 answer

###This is because you didn’t parent the BillboardGui to the StarterGui. Parent it to that, then set the Adornee of the BillboardGui to the part.

This discussion is preserved as it was. New answers, comments, and votes are closed.