local t=nil;(coroutine.wrap(function()t=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))end))()return function(U,D,...)local j,u=...local L=math.clamp(u,0,1)U.desc.Text=j U.percent.Text=t.Functions.Format.Round(L*100).."\037"for t=1,5,1 do(U.bars:FindFirstChild(t)).progress.Size=UDim2.new(math.clamp(L*5-(t-1),0,1),0,1,0)end end
-- 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
