Tool that makes specific parts invisible?
Asked by
5 years ago Edited 5 years ago
I tried to do a tool that makes Parts that are in the Player's Character invisible. But when i equip it it doesn't do anything, and there's no error
01 | Invisiblade = script.Parent |
02 | Invisiblade.Equipped:connect( function () |
03 | Player = script.Parent.Parent |
04 | local children = Player:GetChildren() |
05 | for i = 1 , #children do |
06 | local child = children [ i ] |
08 | if child:IsA( "Part" ) then |
09 | child.Transparency = 0.5 wait( 0.1 ) Transparency = 1 |