I’m trying to achieve this effect where If I were to hover the torso of this rig, the selection box property appears and when your mouse leaves it disappears.
heres my code for it
local Rig = workspace:WaitForChild("Rig");
local Torso = Rig:WaitForChild("Torso");
local SelectionBox = Torso:WaitForChild("SelectionBox");
Torso.MouseHoverEnter:Connect(function(player)
SelectionBox.Visible = true
end)
Torso.MouseHoverLeave:Connect(function(player)
SelectionBox.Visible = false
end)