function updatechar()for h,e in pairs(character:GetChildren())do if CanViewBody then if e.Name=="\072\101\097\100"then e.LocalTransparencyModifier=1 e.CanCollide=false e.face.LocalTransparencyModifier=1 end else if e:IsA("\080\097\114\116")or e:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")or e:IsA("\077\101\115\104\080\097\114\116")then e.LocalTransparencyModifier=1 e.CanCollide=false end end if e:IsA("\065\099\099\101\115\115\111\114\121")then(e:FindFirstChild("\072\097\110\100\108\101")).LocalTransparencyModifier=1;(e:FindFirstChild("\072\097\110\100\108\101")).CanCollide=false end if e:IsA("\072\097\116")then(e:FindFirstChild("\072\097\110\100\108\101")).LocalTransparencyModifier=1;(e: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
				v.face.LocalTransparencyModifier = 1
			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
