Ok so I made a door that has a selection box that is not visible so I made a local script that makes when your hover the mouse on the door the selection box shows and when you stop hovering the mouse it hides again but it only works with normal scripts and I want to make it so only the player that is hovering the mouse can see it
Here is the script:
script.Parent.ClickDetector.MouseHoverEnter:Connect(function()
script.Parent.SelectionBox.Visible = true
end)
script.Parent.ClickDetector.MouseHoverLeave:Connect(function()
script.Parent.SelectionBox.Visible = false
end)

4 comments
It didnt work but thanks for the help <3
hmm... did it throw any errors? you might also beed to adapt the code to your needs, not just copy and paste.
ill be hapoy to help you further!
It didnt throw errors but it doesnt matter anymore