I’m making a plugin with coregui ui, when i try to make a button clickable (button.Click:Connect(function()) it gives an error that says (attempt to index boolean with ‘Click’)
local gui = Sourced.Tool
local hide = gui.Hide
hide.Click:Connect(function() print("Hide") end)
You are saying that there is a hide property in the ScreenGUI? That’s awkward since I only know the property Visibility. It is not even listed in the documentation.
It’s the only explanation I can think of as to why it would be giving a boolean instead of an object. If you’ve got other explanations, go ahead and say it.
While I’m also not aware of any property “hide” in it, there have been deprecated properties which are not usually visible, and “hide” could be a likely one of GUi objects.