So this script is a normal script inside a part with a click detector and a Selection box. What this script is supposed to do is when it senses you have your mouse hovering over it, it activates the Selection box and when you leave it turns visible into false. However, it doesn't work after updates, how do I fix this?
Script:
script.Parent.ClickDetector.MouseHoverEnter:connect(function()
script.Parent.SelectionBox.Visible = true
end)
script.Parent.ClickDetector.MouseHoverEnter:connect(function()
script.Parent.SelectionBox.Visible = false
end)

1 comment
Omg i feel stupid thx for telling me!