execute as @e[type=#main:room,tag=room_marker] run kill @s

tag @a add rest
tag @a remove wave
scoreboard players set .room_number room -1
$execute as @a run function main:game/room/stage/$(stage)/room/start
schedule function main:game/wave/rest_schedule 5t