local m=nil;(coroutine.wrap(function()m=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))end))()local W=Random.new()return function(...)local h={...}if type(h[1][1])=="\116\097\098\108\101"then h=m.Functions.CloneTable(h[1])end if#h<2 then return h[1][1],nil,100 end local o=nil;(function()local m=0 for W,h in ipairs(h)do m=m+h[2]end for W,h in ipairs(h)do local o=h[2]h[2]=o/m h[3]=o end end)()o=W:NextNumber()local D=(function()local m=0 for W,h in ipairs(h)do m=m+h[2]if o<=m then return h end end end)()return D[1],o,D[2]end


local u1 = nil;
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Resources"));
end)();
local u2 = Random.new();
return function(...)
	local v1 = { ... };
	if type(v1[1][1]) == "table" then
		v1 = u1.Functions.CloneTable(v1[1]);
	end;
	if #v1 < 2 then
		return v1[1][1], nil, 100;
	end;
	local u3 = nil;
	(function()
		local v2 = 0;
		for v3, v4 in ipairs(v1) do
			v2 = v2 + v4[2];
		end;
		for v5, v6 in ipairs(v1) do
			local v7 = v6[2];
			v6[2] = v7 / v2;
			v6[3] = v7;
		end;
	end)();
	u3 = u2:NextNumber();
	local v8 = (function()
		local v9 = 0;
		for v10, v11 in ipairs(v1) do
			v9 = v9 + v11[2];
			if u3 <= v9 then
				return v11;
			end;
		end;
	end)();
	return v8[1], u3, v8[2];
end;
