Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

A script that makes a part in a tool visible when the tools equipped?

I am making a game currently, and you pickup weapons. I have a part I want to only be visible when you pick up the weapon. The part's name is "Hand."

1 answer

Put this inside of the tool:

local tool=script.Parent
local hand=Workspace.Hand --or wherever the hand is

hand.Transparency=1;
tool.Equipped:connect(function()
hand.Transparency=0;
end)

2 comments

0

If there are more than one players in your game, you might want to look into local parts.

0

I have no clue how to use those though. :/

This discussion is preserved as it was. New answers, comments, and votes are closed.