I don't understand why my script isn't working...
My script:
script.Parent.MouseEnter:connect(function() script.parent.ImageTransparency = 1 end)
I placed it inside a Local Script, inside the ImageButton. I checked wiki, but from the information they provide, I still don't understand what I'm missing. Can someone help?
Edit: Already had fixed the 'parent' mistake and found the problem, even if I don't quite understand it, but it works now, thanks.
Make sure it's "Parent" and not "parent"
If that doesn't work, try setting "Visible" to false.
script.Parent.MouseEnter:connect(function() script.Parent.Visible = false end)
EDIT: Tested and this should work fine:
Make sure it's a localscript,
script.Parent.MouseEnter:connect(function() script.Parent.ImageTransparency = 1 end)