local l=nil;(coroutine.wrap(function()l=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))end))()return function(g,c,...)local N,I=...local Y=math.clamp(I,0,1)g.desc.Text=N g.percent.Text=l.Functions.Format.Round(Y*100).."\037"for l=1,5,1 do(g.bars:FindFirstChild(l)).progress.Size=UDim2.new(math.clamp(Y*5-(l-1),0,1),0,1,0)end end


local u1 = nil;
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Resources"));
end)();
return function(p1, p2, ...)
	local v1, v2 = ...;
	local v3 = math.clamp(v2, 0, 1);
	p1.desc.Text = v1;
	p1.percent.Text = u1.Functions.Format.Round(v3 * 100) .. "%";
	for v4 = 1, 5 do
		p1.bars:FindFirstChild(v4).progress.Size = UDim2.new(math.clamp(v3 * 5 - (v4 - 1), 0, 1), 0, 1, 0);
	end;
end;
