--add all the parts in the character to charParts, and accessories to accessoryParts

for i, v in pairs(character:GetDescendants()) do
	if v:IsA("BasePart") then
		if v.Name ~= "HumanoidRootPart" then
			table.insert(charParts, v)
		end
		if (v.Name ~= "Torso" or v.Name ~= "UpperTorso") and not v:IsA("Accoutrement") then
			local wrap = nil
			wrap = coroutine.wrap(function()
				task.wait(0.05)
				Weld(Torso, v)
				coroutine.yield(wrap)
			end)()
		end
	end
	--[[if v:IsA("Hat") or v:IsA("Accoutrement") or v:IsA("Accessory") then
		table.insert(charParts, v.Handle)
	end]]
	if v:IsA("CharacterMesh") then
		customPackageMeshes[v.BodyPart.Name] = v.MeshId
	end
end
