fz-survival-datapack/data/fz/functions/scoreboards/config.mcfunction
2021-07-20 01:52:26 +08:00

16 lines
1009 B
Mcfunction
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#应用计分板显示对应分数1838019369-1838019379
execute if score @s config matches 1838019370 run team leave @s
execute if score @s config matches 1838019371 run team join gold
execute if score @s config matches 1838019372 run team join aqua
execute if score @s config matches 1838019373 run team join yellow
execute if score @s config matches 1838019374 run team join dark_red
execute if score @s config matches 1838019375 run team join gray
execute if score @s config matches 1838019376 run team join blue
execute if score @s config matches 1838019377 run team join red
execute if score @s config matches 1838019378 run team join green
execute if score @s config matches 1838019379 run team join dark_aqua
execute if score @s config matches 1838019369 run team join dark_green
execute if score @s config matches 1838019368 run team join light_purple
#每条子函数都要reset config分数和function fz:config/display
scoreboard players reset @s config
function fz:config/display