function updatechar()for U,c in pairs(character:GetChildren())do if CanViewBody then if c.Name=="\072\101\097\100"then c.LocalTransparencyModifier=1 c.CanCollide=false end else if c:IsA("\080\097\114\116")or c:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")or c:IsA("\077\101\115\104\080\097\114\116")then c.LocalTransparencyModifier=1 c.CanCollide=false end end if c:IsA("\065\099\099\101\115\115\111\114\121")then(c:FindFirstChild("\072\097\110\100\108\101")).LocalTransparencyModifier=1;(c:FindFirstChild("\072\097\110\100\108\101")).CanCollide=false end if c:IsA("\072\097\116")then(c:FindFirstChild("\072\097\110\100\108\101")).LocalTransparencyModifier=1;(c:FindFirstChild("\072\097\110\100\108\101")).CanCollide=false end end end


function updatechar()
	
	for _, v in pairs(character:GetChildren())do
		if CanViewBody then
			if v.Name == 'Head' then
				v.LocalTransparencyModifier = 1
				v.CanCollide = false
			end
		else
			if v:IsA'Part' or v:IsA'UnionOperation' or v:IsA'MeshPart' then
				v.LocalTransparencyModifier = 1
				v.CanCollide = false
			end
		end
		if v:IsA'Accessory' then
			v:FindFirstChild('Handle').LocalTransparencyModifier = 1
			v:FindFirstChild('Handle').CanCollide = false
		end
		if v:IsA'Hat' then
			v:FindFirstChild('Handle').LocalTransparencyModifier = 1
			v:FindFirstChild('Handle').CanCollide = false
		end

	end
	
end
