--SockPuppetCow

local prev
local parts = script.Parent:GetChildren()
for i = 1, #parts do
	if parts[i]:IsA("BasePart") or parts[i]:IsA("Part")then
		if prev ~= nil then
			local w = Instance.new("Weld")
			w.Part0 = prev
			w.Part1 = parts[i]
			w.C0 = prev.CFrame:inverse()
			w.C1 = parts[i].CFrame:inverse()
			w.Parent = prev
		end
		prev = parts[i]
	end
end
