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
I may be wrong, but I think ROBLOX made these ROBLOX locked. Or it was the text boxes
I struggled with this in the past. Make sure the billboardGui is parented to the playerGui and that the button.Active property is true.
You're also using a deprecated code It's supposed to be :Connect not :connect
@mix What is deprecated?
the :connect change it to :Connect with a uppercase