wait()local V=script.Parent.Parent.Part function weld(V,A)local T=Instance.new("\087\101\108\100")T.Part0=V T.Part1=A T.C1=A.CFrame:inverse()*V.CFrame T.Parent=V A.Anchored=false end function scan(A)for A,T in pairs(A:GetChildren())do if T:IsA("\066\097\115\101\080\097\114\116")then weld(V,T)scan(T)elseif T:IsA("\077\111\100\101\108")then scan(T)end end end scan(script.Parent)


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)
