stopsound @a record
execute if entity @a[tag=rest] run return fail
execute if entity @a[tag=!wave] run return fail
execute if entity @e[type=marker,tag=room_boss_trigger] run return fail

schedule function main:mechanics/music/name/last_gladiator 5t
scoreboard players set .length music 3660