# 玩家死亡时由玩家自己触发 tag @s remove mini_running gamemode spectator effect give @s night_vision 999999 0 true tp @s[team=!debugging] 1032.34 27.11 7032.84 461.44 28.30 # tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"selector": "@s","color":"red"}," 已死亡!"] execute as @a at @s run function lib:sounds/error function mini:main/player_failed # execute unless entity @a[tag=mini_running] run function mini:main/game_end execute if score $player_alive mem matches 2 if score $countdown mem matches 2.. run effect clear @a resistance execute if score $player_alive mem matches 2 if score $countdown mem matches 2.. run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},{"text": "苦力怕现在会造成更多伤害!","color": "gold"}]