local m local b=script.Parent:GetChildren()for R=1,#b,1 do if b[R].className=="\080\097\114\116"or b[R].className=="\087\101\100\103\101\080\097\114\116"or b[R].className=="\083\101\097\116"or b[R].className=="\086\101\104\105\099\108\101\083\101\097\116"or b[R].className=="\067\111\114\110\101\114\087\101\100\103\101\080\097\114\116"or b[R].className=="\087\101\100\103\101\080\097\114\116"or b[R].className=="\085\110\105\111\110\079\112\101\114\097\116\105\111\110"then if m~=nil then local k=Instance.new("\087\101\108\100")k.Part0=m k.Part1=b[R]k.C0=m.CFrame:inverse()k.C1=b[R].CFrame:inverse()k.Parent=m end m=b[R]end end



local prev 
local parts = script.Parent:GetChildren() 

for i = 1,#parts do 
	if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") or (parts[i].className == "WedgePart") or (parts[i].className == "UnionOperation") then 
		if (prev ~= nil)then 
			local weld = Instance.new("Weld") 
			weld.Part0 = prev 
			weld.Part1 = parts[i] 
			weld.C0 = prev.CFrame:inverse() 
			weld.C1 = parts[i].CFrame:inverse() 
			weld.Parent = prev 
		end 
		prev = parts[i] 
	end 
end
