Hello. I have a gui with buttons that are not becoming visible after I hover over them. I have a localscript here: script.Parent.MouseEnter:Connect(function()
script.Parent.Visible = true
end)
script.Parent.MouseLeave:Connect(function()
script.Parent.Visible = false
end)
I have a video as well but the main thing is, MouseEnter isn’t making the gui show up. I don’t understand why this is the case, because this code is literally what everyone uses when they want to make a gui button hover. I’ve tried multiple solutions like making it invisible when I play the game, but nothing seems to be working. Screen Recording.wmv (4.3 MB)
I found out a solution. Apparently this must have been due to how imagebuttons work. When I duplicated a textbutton on top of it and changed the code, it worked somehow.