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

Invisiblade = script.Parent
Invisiblade.Equipped:connect(function() 
Player = script.Parent.Parent
local children = Player:GetChildren()
	for i = 1, #children do
		local child = children[i]
		
		if child:IsA("Part") then 
			child.Transparency = 0.5 wait(0.1) Transparency = 1
			end
		
	end
end)