--// wonuf


wait()

local WeldHoldPart = script.Parent.Parent.Part

function weld(c1,c2)
	local w = Instance.new("Weld")
	w.Part0 = c1
	w.Part1 = c2
	w.C1 = c2.CFrame:inverse() * c1.CFrame
	w.Parent = c1
	c2.Anchored = false
end

function scan(obj)
	for _,v in pairs(obj:GetChildren()) do
		if v:IsA('BasePart') then
			weld(WeldHoldPart, v)
			scan(v)
		elseif v:IsA('Model') then
			scan(v)
		end
	end
end

scan(script.Parent)
