How would i make a bossbar that works as a timer display

i would like to make a bossbar that functions as a timer for players to see when a powerup will spawn
Continue to help post