mes = 0 mes_total = 0 bars = 0 function Update() return math.ceil((mes/mes_total)*bars)/bars end