-- Decompiled with the Synapse X Luau decompiler.


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;
