scoreboard players add quest_animation_timer temp 1

execute if score quest_animation_timer temp matches 1 run bossbar set quest.bg name {"text":"\uB011","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 1 as @a at @s run playsound ui.toast.out master @s ~ ~ ~ 1 0.6
execute if score quest_animation_timer temp matches 3 run bossbar set quest.bg name {"text":"\uB010","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 5 run bossbar set quest.bg name {"text":"\uB009","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 7 run bossbar set quest.bg name {"text":"\uB008","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 9 run bossbar set quest.bg name {"text":"\uB007","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 11 run bossbar set quest.bg name {"text":"\uB006","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 13 run bossbar set quest.bg name {"text":"\uB005","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 15 run bossbar set quest.bg name {"text":"\uB004","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 17 run bossbar set quest.bg name {"text":"\uB003","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 19 run bossbar set quest.bg name {"text":"\uB002","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 21 run bossbar set quest.bg name {"text":"\uB001","font":"extra","color":"#feffff","shadow_color":[0,0,0,0]}
execute if score quest_animation_timer temp matches 22 run bossbar set quest.bg name {"text":" "}
execute if score quest_animation_timer temp matches 1..22 run schedule function lbdm:main/quest_ui/disappear 1t
execute if score quest_animation_timer temp matches 22 run schedule clear lbdm:main/quest_ui/disappear
execute if score quest_animation_timer temp matches 22 run scoreboard players set quest_animation_timer temp 0