fz-survival-datapack/data/fz/functions/scoreboards/config.mcfunction

16 lines
1009 B
Mcfunction
Raw Normal View History

2021-07-03 18:55:08 +08:00
#应用计分板显示对应分数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
2021-07-20 01:50:28 +08:00
execute if score @s config matches 1838019368 run team join light_purple
2021-07-03 18:55:08 +08:00
#每条子函数都要reset config分数和function fz:config/display
scoreboard players reset @s config
function fz:config/display