execute at @a run playsound atmos:wave_finish_1 master @a ~ ~ ~ 3 0.5
# summon text_display ~ ~ ~ {billboard:"center",teleport_duration:1,shadow:0b,see_through:1b,alignment:"center",Tags:["room_clear"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f]},text:'[{"color":"green","font":"minecraft:default","text":"► "},{"color":"#08bd14","font":"minecraft:book","text":"Room "},{"color":"#0BB55A","font":"minecraft:book","text":" Cleared"},{"color":"green","font":"minecraft:default","text":" ◄"}]',background:16711680}
# execute as @e[type=text_display,tag=room_clear] run scoreboard players add @s particle_lifetime 40
# execute as @e[type=marker,tag=room_exit] at @s run function main:game/wave/reward/random