float width = 60; float heigth = 13; float x = scaledresolution.getScaledWidth() / 2f - width / 2f; float y = scaledresolution.getScaledHeight() - 80; GlowUtil.drawGlowGradient(x - 1.5f, y - 1.5f, width + 3, heigth + 3, 8, DreamHack.getInstance().getModuleManager().arraylist.getColor(80), DreamHack.getInstance().getModuleManager().arraylist.getColor(160), DreamHack.getInstance().getModuleManager().arraylist.getColor(280), DreamHack.getInstance().getModuleManager().arraylist.getColor(280)); RenderUtility.drawRound(x, y, width, heigth, 3, new Color(21, 21, 21, 115).getRGB()); TimerModule.animWidth = AnimationMath.fast(TimerModule.animWidth, (float) (TimerModule.getProgress() * width), 15); RenderUtility.drawGradientRound(x + 1, y + 1, TimerModule.animWidth - 2, heigth - 2, 3, DreamHack.getInstance().getModuleManager().arraylist.getColor(80), DreamHack.getInstance().getModuleManager().arraylist.getColor(160), DreamHack.getInstance().getModuleManager().arraylist.getColor(280), DreamHack.getInstance().getModuleManager().arraylist.getColor(280)); F.nunito12.drawCentStrg(Math.round((TimerModule.animWidth / width) * 100.0D) + "%", x + width / 1.9, y + heigth - 7.5, -1); }