- # 节奏方块触发
- execute if score $countdown_fast mem matches 0 run function mini:parkour/game/tempo_block
- execute unless score $countdown_fast mem matches 1.. run scoreboard players set $countdown_fast mem 15
- # 音效
- execute if score $countdown_fast mem matches 5 run playsound block.note_block.snare block @a[tag=parkour_portal] 1007 15 1051 1 2
- execute if score $countdown_fast mem matches 5 run playsound block.note_block.snare block @a[tag=parkour_portal] 1010 10 1033 1 2
- execute if score $countdown_fast mem matches 10 run playsound block.note_block.snare block @a[tag=parkour_portal] 1007 15 1051 1 2
- execute if score $countdown_fast mem matches 10 run playsound block.note_block.snare block @a[tag=parkour_portal] 1010 10 1033 1 2
|