local function F(F,T)local r=F.PrimaryPart local u=r.CFrame for F,V in pairs(F:GetDescendants())do if V:IsA("\066\097\115\101\080\097\114\116")then V.Size=V.Size*T if V~=r then V.CFrame=u+(u:inverse()*V.Position)*T end end end return F end
-- Resizes a model to the specified scale
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
