tick20.mcfunction 340 B

1234567
  1. # 尝试进行倒计时
  2. execute if score $countdown mem matches 1.. run function ltw:state/0/try_start_gameparty
  3. # 计算倒计时,播放音效
  4. scoreboard players operation #time mem = $countdown mem
  5. scoreboard players remove #time mem 1
  6. execute if score $countdown mem matches 1..10 run execute as @a at @s run function lib:sounds/hit2