Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Selection box not showing up?

Asked by 9 years ago

Why am i not able to see my selection box on the part that my mouse is hovering on?

script.Parent.Selected:connect(function(mouse)
    function move()
        if mouse.Target == nil then
            script.Parent.SelectionBox.Adornee = nil

        else
script.Parent.SelectionBox.Adornee = mouse.Target
        end

    end
    mouse.Move:connect(move)
end)

"Update" When i look in properties the adornee is on the selected part the selection box just wont show up

0
note: if mouse.Target==nil and you're setting Adornee to mouse.Target, you would still be setting it to nil when it is nil without checking first. the condition is redundant. 1waffle1 2908 — 9y
1
Is this in a Tool? dyler3 1510 — 9y
0
yes its in a tool Chaserox 62 — 9y
0
when the Qwertoony 70 — 3y

Answer this question