scoreboard players add world WaveCounter 1
scoreboard players add world RespawnCount 1
scoreboard players set world NextWaveTimer 0
title @a times 0 40 20
bossbar set daytime max 2000
title @a title [{"bold":true,"color":"red","text":"WAVE "},{"bold":true,"color":"red","score":{"name":"world","objective":"WaveCounter"}},""]
bossbar set minecraft:daytime name [{"bold":true,"color":"dark_red","text":"<<< "},{"color":"#FFBF0F","italic":false,"obfuscated":false,"text":" W"},{"color":"#FFD106","italic":false,"obfuscated":false,"text":"A"},{"color":"#FFDE06","italic":false,"obfuscated":false,"text":"V"},{"color":"#FFE016","italic":false,"obfuscated":false,"text":"E "},{"score": {"name": "world", "objective": "WaveCounter"},"color": "#ffe017"},{"text": " >>>","color":"dark_red"}]
tellraw @a {"clickEvent":{"action":"run_command","value":"/scoreboard players set world NextWaveTimer 1900"},"color":"white","text":"[ Skip to the next wave ]"}
playsound entity.wither.spawn master @a 0 1 0 5 0
function kiwi2:waves/starter_waves/starter_wave_roll