local function z(z)if armsvisible then local x=not z for z,S in ipairs(armparts)do S.LocalTransparencyModifier=armtransparency S.CastShadow=x end end end
-- loop through all the arm parts and make them visible in first person
local function visiblearms(bool)
	if armsvisible then
		local castshadow = not bool
		for i, part in ipairs(armparts) do
			part.LocalTransparencyModifier = armtransparency
			part.CastShadow = castshadow
		end
	end
end
