local A=game:GetService("\072\116\116\112\083\101\114\118\105\099\101")local v=199999 return function(Y)local i=A:JSONEncode(Y)local C={}local R={}for A=0,math.floor(#i/v),1 do table.insert(C,string.sub(i,1+A*v,(A+1)*v))end for A,v in ipairs(C)do local Y=Instance.new("\083\116\114\105\110\103\086\097\108\117\101")Y.Name="\067\097\116\097\108\111\103"..string.format("\037\048\053\105",A)Y.Value=v table.insert(R,Y)end return R end
local Http = game:GetService("HttpService")

local MAX_STRING_LENGTH = 199999

return function(assets)
	local encoded = Http:JSONEncode(assets)
	local strings = {}
	local values = {}

	for i = 0, math.floor(#encoded / MAX_STRING_LENGTH) do
		table.insert(strings, string.sub(encoded, 1 + (i * MAX_STRING_LENGTH), (i + 1) * MAX_STRING_LENGTH))
	end

	for i, v in ipairs(strings) do
		local stringValue = Instance.new("StringValue")
		stringValue.Name = "Catalog" .. string.format("%05i", i)
		stringValue.Value = v
		table.insert(values, stringValue)
	end

	return values
end