I need UI to become visible when I hover on an ImageButton, but it doesn’t seem to be working. Anybody know why? Any help with be appreciated thanks, (not a scripter btw)
1 Like
the dmg variable in ur code is a textlabel, and since its not visible, it will never run
paste this code in to fix it:
local dmglabel = script.Parent
local weaponSlot = dmglabel.Parent.Parent
weaponSlot.MouseEnter:Connect(function() dmglabel.Visible = true end)
weaponSlot.MouseLeave:Connect(function() dmglabel.Visible = false end)
2 Likes
Thanks alot, I understand it now.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.