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
1local tool = script.Parent
2 
3tool.Equipped:Connect(function()
4    for i, v in pairs(tool:GetDescendants()) do
5        if v:IsA("BasePart") or v:IsA("UnionOperation") then
6            v.Transparency = 1
7        end
8    end
9end)

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