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 3 years ago
Edited 3 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
3 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 — 3y
Ad

Answer this question