tick20.mcfunction 658 B

12345678910
  1. # 显示提示
  2. execute if score $countdown mem matches 5 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
  3. execute if score $countdown mem matches 5 as @a at @s run function lib:sounds/error
  4. # 召唤
  5. execute if score $countdown mem matches 0 run function mini:slime/game/summon
  6. execute if score $countdown mem matches 0 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
  7. execute if score $countdown mem matches 0 as @a at @s run function lib:sounds/teleport
  8. scoreboard players set $countdown mem 30