@@ -2,8 +2,7 @@
# 计数
tag @s remove mini_running
-scoreboard players set $t_finish mem 0
-execute as @a[tag=!mini_running] run scoreboard players add $t_finish mem 1
+execute store result score $t_finish mem if entity @a[tag=mini_running]
execute if score $t_finish mem matches ..3 run tellraw @a [{"selector": "@s","color":"green"}," 已成功! 第 ",{"score": {"name": "$t_finish","objective": "mem"}}," 名!"]
# 给已完成的玩家加分