execute if score .play music matches 0 run function main:mechanics/music/hub_1
execute if score .play music <= .length music run scoreboard players add .play music 1
execute if score .play music > .length music run scoreboard players set .play music 0