I've been stuck on it for a bit but nothing I try will fire it. The script is extremely basic but doesn't work.
local Button = script.Parent.ImageButton
Button.MouseEnter:connect(function()
Button.ImageTransparency = 0
end)
Button.MouseLeave:connect(function()
Button.ImageTransparency = 1
end)
But this happens: https://gyazo.com/f0b2dfc25597b7894a9e6bf4dc7d7023

5 comments
weird.. did you set the gui's adornee?
Yeah, mouseenter works as you can see, but mouseleave don't.
Even though this doesn't really fix your script, you should start using :Connect() instead of :connect() since:connect() is deprecated. Here is an article about deprecation: http://robloxdev.com/articles/Deprecation
you should start using :Connect() instead of :connect() since:connect() is deprecated.This is correct
That wasn't question. Don't comment if you are not addressing it, especially if someone has said it before, please and thank you.