function WeldPair(z,p)local u=Instance.new("\087\101\108\100",z)u.Part0=z u.Part1=p u.C1=p.CFrame:toObjectSpace(z.CFrame)end function WeldAll(z,p)if z:IsA("\066\097\115\101\080\097\114\116")then WeldPair(p,z)end for z,u in pairs(z:GetChildren())do WeldAll(u,p)end end function UnanchorAll(z)if z:IsA("\066\097\115\101\080\097\114\116")then z.Anchored=false end for z,p in pairs(z:GetChildren())do UnanchorAll(p)end end WeldAll(script.Parent.Body,script.Parent.MainSeat)UnanchorAll(script.Parent)script:Destroy()

function WeldPair(x, y)
	local weld = Instance.new("Weld",x) 
	weld.Part0 = x
	weld.Part1 = y
	weld.C1 = y.CFrame:toObjectSpace(x.CFrame);
end

function WeldAll(model, main) -- model can be anything
	if model:IsA("BasePart") then WeldPair(main, model) end
	for _,v in pairs(model:GetChildren()) do WeldAll(v, main) end	
end

function UnanchorAll(model) -- model can be anything
	if (model:IsA("BasePart")) then model.Anchored = false end
	for _,v in pairs(model:GetChildren()) do UnanchorAll(v) end
end

WeldAll(script.Parent.Body, script.Parent.MainSeat)
UnanchorAll(script.Parent)

script:Destroy() -- Done, clean script up.
