I honestly don't know how else to explain this with more detail. Sometimes I can click the button and the GUI disables, sometimes the button doens't even change appearence when hovering my mouse over it.
Here is the script:
function Clicked()
script.Parent.Parent.Enabled = false
end
script.Parent.MouseButton1Down:connect(Clicked)

3 comments
If the button is supposed to change its appearance when your mouse is hovered over it, where's the script for that?
use this
https://developer.roblox.com/en-us/api-reference/event/GuiObject/MouseEnter