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

Make tool invisible when equipped?

Asked by 4 years ago
Edited 4 years ago

Hi so,

I want to make a tool invisible when equipping it.

Structure of tool

Please help. thanks.

1 answer

Log in to vote
2
Answered by
Necro_las 412 Moderation Voter
4 years ago
local tool = script.Parent

tool.Equipped:Connect(function()
    for i, v in pairs(tool:GetDescendants()) do
        if v:IsA("BasePart") or v:IsA("UnionOperation") then
            v.Transparency = 1
        end
    end
end)

Ure welcome

0
Oh my god.. I'm so dumb.. Sorry I meant "make tool invisible when in first person?". Ill just make another question. ParentProfanities 28 — 4y
Ad

Answer this question