Bossbar help
I want to set the bossbar value based on scoreboard whose value is between 1 to 100
to avoid this king of hardcore mess`
execute if entity @e[scores={progressPercent=0},tag=gz-a4-block] run bossbar set bossbar0 value 0 execute if entity @e[scores={progressPercent=1},tag=gz-a4-block] run bossbar set bossbar0 value 1 execute if entity @e[scores={progressPercent=2},tag=gz-a4-block] run bossbar set bossbar0 value 2 execute if entity @e[scores={progressPercent=3},tag=gz-a4-block] run bossbar set bossbar0 value 3 execute if entity @e[scores={progressPercent=4},tag=gz-a4-block] run bossbar set bossbar0 value 4```