local function a(a,Z)local T=a.PrimaryPart local D=T.CFrame for a,U in pairs(a:GetDescendants())do if U:IsA("\066\097\115\101\080\097\114\116")then U.Size=U.Size*Z if U~=T then U.CFrame=D+(D:inverse()*U.Position)*Z end end end return a end

local function scaleModel(model, scale)	
	local primary = model.PrimaryPart
	local primaryCf = primary.CFrame
	
	for _,v in pairs(model:GetDescendants()) do
		if (v:IsA("BasePart")) then
			v.Size = (v.Size * scale)
			if (v ~= primary) then
				v.CFrame = (primaryCf + (primaryCf:inverse() * v.Position * scale))
			end
		end
	end
	
	return model
end
