# ==================================================
# void vb.music.music()
# ==================================================

scoreboard players set vb.music.music.__hasFunctionReturned__ tbms.var 0
scoreboard players add vb.music.time tbms.var 1
scoreboard players operation vb.music.music._0._0 tbms.var = vb.music.type tbms.var
execute if score vb.music.music._0._0 tbms.var matches 1 run function vb/music/music1
execute if score vb.music.music._0._0 tbms.var matches 2 run function vb/music/music2
execute if score vb.music.music._0._0 tbms.var matches 3 run function vb/music/music3
