function WeldAll(w,r,e)if w:IsA("\066\097\115\101\080\097\114\116")then table.insert(e,CreateWeld(r,w))end for w,b in pairs(w:GetChildren())do WeldAll(b,r,e)end end

function WeldAll(instance, mainPart, list)
	if instance:IsA("BasePart") then
		table.insert(list, CreateWeld(mainPart, instance))
	end
	for _,v in pairs(instance:GetChildren()) do	
		WeldAll(v, mainPart, list)
	end	
end
