#execute if entity @p[team=bac_team_black] run scoreboard players display name Black_Team bac_advancements {"text":"Black Team"}
#execute if entity @p[team=bac_team_dark_blue] run scoreboard players display name Dark_Blue_Team bac_advancements {"text":"Dark Blue Team"}
#execute if entity @p[team=bac_team_dark_green] run scoreboard players display name Dark_Green_Team bac_advancements {"text":"Dark Green Team"}
#execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display name Dark_Aqua_Team bac_advancements {"text":"Dark Aqua Team"}
#execute if entity @p[team=bac_team_dark_red] run scoreboard players display name Dark_Red_Team bac_advancements {"text":"Dark Red Team"}
#execute if entity @p[team=bac_team_dark_purple] run scoreboard players display name Dark_Purple_Team bac_advancements {"text":"Dark Purple Team"}
#execute if entity @p[team=bac_team_gold] run scoreboard players display name Gold_Team bac_advancements {"text":"Gold Team"}
#execute if entity @p[team=bac_team_gray] run scoreboard players display name Gray_Team bac_advancements {"text":"Gray Team"}
#execute if entity @p[team=bac_team_dark_gray] run scoreboard players display name Dark_Gray_Team bac_advancements {"text":"Dark Gray Team"}
#execute if entity @p[team=bac_team_blue] run scoreboard players display name Blue_Team bac_advancements {"text":"Blue Team"}
#execute if entity @p[team=bac_team_green] run scoreboard players display name Green_Team bac_advancements {"text":"Green Team"}
#execute if entity @p[team=bac_team_aqua] run scoreboard players display name Aqua_Team bac_advancements {"text":"Aqua Team"}
#execute if entity @p[team=bac_team_red] run scoreboard players display name Red_Team bac_advancements {"text":"Red Team"}
#execute if entity @p[team=bac_team_light_purple] run scoreboard players display name Light_Purple_Team bac_advancements {"text":"Light Purple Team"}
#execute if entity @p[team=bac_team_yellow] run scoreboard players display name Yellow_Team bac_advancements {"text":"Yellow Team"}
#execute if entity @p[team=bac_team_white] run scoreboard players display name White_Team bac_advancements {"text":"White Team"}

#execute if entity @p[team=bac_team_black] run execute if entity @p[team=bac_team_black] run scoreboard players display name Black_Team bac_advfirst {"text":"Black Team"}
#execute if entity @p[team=bac_team_dark_blue] run scoreboard players display name Dark_Blue_Team bac_advfirst {"text":"Dark Blue Team"}
#execute if entity @p[team=bac_team_dark_green] run scoreboard players display name Dark_Green_Team bac_advfirst {"text":"Dark Green Team"}
#execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display name Dark_Aqua_Team bac_advfirst {"text":"Dark Aqua Team"}
#execute if entity @p[team=bac_team_dark_red] run scoreboard players display name Dark_Red_Team bac_advfirst {"text":"Dark Red Team"}
#execute if entity @p[team=bac_team_dark_purple] run scoreboard players display name Dark_Purple_Team bac_advfirst {"text":"Dark Purple Team"}
#execute if entity @p[team=bac_team_gold] run scoreboard players display name Gold_Team bac_advfirst {"text":"Gold Team"}
#execute if entity @p[team=bac_team_gray] run scoreboard players display name Gray_Team bac_advfirst {"text":"Gray Team"}
#execute if entity @p[team=bac_team_dark_gray] run scoreboard players display name Dark_Gray_Team bac_advfirst {"text":"Dark Gray Team"}
#execute if entity @p[team=bac_team_blue] run scoreboard players display name Blue_Team bac_advfirst {"text":"Blue Team"}
#execute if entity @p[team=bac_team_green] run scoreboard players display name Green_Team bac_advfirst {"text":"Green Team"}
#execute if entity @p[team=bac_team_aqua] run scoreboard players display name Aqua_Team bac_advfirst {"text":"Aqua Team"}
#execute if entity @p[team=bac_team_red] run scoreboard players display name Red_Team bac_advfirst {"text":"Red Team"}
#execute if entity @p[team=bac_team_light_purple] run scoreboard players display name Light_Purple_Team bac_advfirst {"text":"Light Purple Team"}
#execute if entity @p[team=bac_team_yellow] run scoreboard players display name Yellow_Team bac_advfirst {"text":"Yellow Team"}
#execute if entity @p[team=bac_team_white] run scoreboard players display name White_Team bac_advfirst {"text":"White Team"}

execute if entity @p[team=bac_team_black] run scoreboard players display name Black_Team bac_advancements_team {"text":"Black Team"}
execute if entity @p[team=bac_team_dark_blue] run scoreboard players display name Dark_Blue_Team bac_advancements_team {"text":"Dark Blue Team"}
execute if entity @p[team=bac_team_dark_green] run scoreboard players display name Dark_Green_Team bac_advancements_team {"text":"Dark Green Team"}
execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display name Dark_Aqua_Team bac_advancements_team {"text":"Dark Aqua Team"}
execute if entity @p[team=bac_team_dark_red] run scoreboard players display name Dark_Red_Team bac_advancements_team {"text":"Dark Red Team"}
execute if entity @p[team=bac_team_dark_purple] run scoreboard players display name Dark_Purple_Team bac_advancements_team {"text":"Dark Purple Team"}
execute if entity @p[team=bac_team_gold] run scoreboard players display name Gold_Team bac_advancements_team {"text":"Gold Team"}
execute if entity @p[team=bac_team_gray] run scoreboard players display name Gray_Team bac_advancements_team {"text":"Gray Team"}
execute if entity @p[team=bac_team_dark_gray] run scoreboard players display name Dark_Gray_Team bac_advancements_team {"text":"Dark Gray Team"}
execute if entity @p[team=bac_team_blue] run scoreboard players display name Blue_Team bac_advancements_team {"text":"Blue Team"}
execute if entity @p[team=bac_team_green] run scoreboard players display name Green_Team bac_advancements_team {"text":"Green Team"}
execute if entity @p[team=bac_team_aqua] run scoreboard players display name Aqua_Team bac_advancements_team {"text":"Aqua Team"}
execute if entity @p[team=bac_team_red] run scoreboard players display name Red_Team bac_advancements_team {"text":"Red Team"}
execute if entity @p[team=bac_team_light_purple] run scoreboard players display name Light_Purple_Team bac_advancements_team {"text":"Light Purple Team"}
execute if entity @p[team=bac_team_yellow] run scoreboard players display name Yellow_Team bac_advancements_team {"text":"Yellow Team"}
execute if entity @p[team=bac_team_white] run scoreboard players display name White_Team bac_advancements_team {"text":"White Team"}

execute if entity @p[team=bac_team_black] run execute if entity @p[team=bac_team_black] run scoreboard players display name Black_Team bac_advfirst_team_sum {"text":"Black Team"}
execute if entity @p[team=bac_team_dark_blue] run scoreboard players display name Dark_Blue_Team bac_advfirst_team_sum {"text":"Dark Blue Team"}
execute if entity @p[team=bac_team_dark_green] run scoreboard players display name Dark_Green_Team bac_advfirst_team_sum {"text":"Dark Green Team"}
execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display name Dark_Aqua_Team bac_advfirst_team_sum {"text":"Dark Aqua Team"}
execute if entity @p[team=bac_team_dark_red] run scoreboard players display name Dark_Red_Team bac_advfirst_team_sum {"text":"Dark Red Team"}
execute if entity @p[team=bac_team_dark_purple] run scoreboard players display name Dark_Purple_Team bac_advfirst_team_sum {"text":"Dark Purple Team"}
execute if entity @p[team=bac_team_gold] run scoreboard players display name Gold_Team bac_advfirst_team_sum {"text":"Gold Team"}
execute if entity @p[team=bac_team_gray] run scoreboard players display name Gray_Team bac_advfirst_team_sum {"text":"Gray Team"}
execute if entity @p[team=bac_team_dark_gray] run scoreboard players display name Dark_Gray_Team bac_advfirst_team_sum {"text":"Dark Gray Team"}
execute if entity @p[team=bac_team_blue] run scoreboard players display name Blue_Team bac_advfirst_team_sum {"text":"Blue Team"}
execute if entity @p[team=bac_team_green] run scoreboard players display name Green_Team bac_advfirst_team_sum {"text":"Green Team"}
execute if entity @p[team=bac_team_aqua] run scoreboard players display name Aqua_Team bac_advfirst_team_sum {"text":"Aqua Team"}
execute if entity @p[team=bac_team_red] run scoreboard players display name Red_Team bac_advfirst_team_sum {"text":"Red Team"}
execute if entity @p[team=bac_team_light_purple] run scoreboard players display name Light_Purple_Team bac_advfirst_team_sum {"text":"Light Purple Team"}
execute if entity @p[team=bac_team_yellow] run scoreboard players display name Yellow_Team bac_advfirst_team_sum {"text":"Yellow Team"}
execute if entity @p[team=bac_team_white] run scoreboard players display name White_Team bac_advfirst_team_sum {"text":"White Team"}

execute if entity @p[team=bac_team_black] run execute if entity @p[team=bac_team_black] run scoreboard players display name Black_Team bac_advfirst_sum {"text":"Black Team"}
execute if entity @p[team=bac_team_dark_blue] run scoreboard players display name Dark_Blue_Team bac_advfirst_sum {"text":"Dark Blue Team"}
execute if entity @p[team=bac_team_dark_green] run scoreboard players display name Dark_Green_Team bac_advfirst_sum {"text":"Dark Green Team"}
execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display name Dark_Aqua_Team bac_advfirst_sum {"text":"Dark Aqua Team"}
execute if entity @p[team=bac_team_dark_red] run scoreboard players display name Dark_Red_Team bac_advfirst_sum {"text":"Dark Red Team"}
execute if entity @p[team=bac_team_dark_purple] run scoreboard players display name Dark_Purple_Team bac_advfirst_sum {"text":"Dark Purple Team"}
execute if entity @p[team=bac_team_gold] run scoreboard players display name Gold_Team bac_advfirst_sum {"text":"Gold Team"}
execute if entity @p[team=bac_team_gray] run scoreboard players display name Gray_Team bac_advfirst_sum {"text":"Gray Team"}
execute if entity @p[team=bac_team_dark_gray] run scoreboard players display name Dark_Gray_Team bac_advfirst_sum {"text":"Dark Gray Team"}
execute if entity @p[team=bac_team_blue] run scoreboard players display name Blue_Team bac_advfirst_sum {"text":"Blue Team"}
execute if entity @p[team=bac_team_green] run scoreboard players display name Green_Team bac_advfirst_sum {"text":"Green Team"}
execute if entity @p[team=bac_team_aqua] run scoreboard players display name Aqua_Team bac_advfirst_sum {"text":"Aqua Team"}
execute if entity @p[team=bac_team_red] run scoreboard players display name Red_Team bac_advfirst_sum {"text":"Red Team"}
execute if entity @p[team=bac_team_light_purple] run scoreboard players display name Light_Purple_Team bac_advfirst_sum {"text":"Light Purple Team"}
execute if entity @p[team=bac_team_yellow] run scoreboard players display name Yellow_Team bac_advfirst_sum {"text":"Yellow Team"}
execute if entity @p[team=bac_team_white] run scoreboard players display name White_Team bac_advfirst_sum {"text":"White Team"}

#execute if entity @p[team=bac_team_black] run execute if entity @p[team=bac_team_black] run scoreboard players display name Black_Team bac_advfirst_team {"text":"Black Team"}
#execute if entity @p[team=bac_team_dark_blue] run scoreboard players display name Dark_Blue_Team bac_advfirst_team {"text":"Dark Blue Team"}
#execute if entity @p[team=bac_team_dark_green] run scoreboard players display name Dark_Green_Team bac_advfirst_team {"text":"Dark Green Team"}
#execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display name Dark_Aqua_Team bac_advfirst_team {"text":"Dark Aqua Team"}
#execute if entity @p[team=bac_team_dark_red] run scoreboard players display name Dark_Red_Team bac_advfirst_team {"text":"Dark Red Team"}
#execute if entity @p[team=bac_team_dark_purple] run scoreboard players display name Dark_Purple_Team bac_advfirst_team {"text":"Dark Purple Team"}
#execute if entity @p[team=bac_team_gold] run scoreboard players display name Gold_Team bac_advfirst_team {"text":"Gold Team"}
#execute if entity @p[team=bac_team_gray] run scoreboard players display name Gray_Team bac_advfirst_team {"text":"Gray Team"}
#execute if entity @p[team=bac_team_dark_gray] run scoreboard players display name Dark_Gray_Team bac_advfirst_team {"text":"Dark Gray Team"}
#execute if entity @p[team=bac_team_blue] run scoreboard players display name Blue_Team bac_advfirst_team {"text":"Blue Team"}
#execute if entity @p[team=bac_team_green] run scoreboard players display name Green_Team bac_advfirst_team {"text":"Green Team"}
#execute if entity @p[team=bac_team_aqua] run scoreboard players display name Aqua_Team bac_advfirst_team {"text":"Aqua Team"}
#execute if entity @p[team=bac_team_red] run scoreboard players display name Red_Team bac_advfirst_team {"text":"Red Team"}
#execute if entity @p[team=bac_team_light_purple] run scoreboard players display name Light_Purple_Team bac_advfirst_team {"text":"Light Purple Team"}
#execute if entity @p[team=bac_team_yellow] run scoreboard players display name Yellow_Team bac_advfirst_team {"text":"Yellow Team"}
#execute if entity @p[team=bac_team_white] run scoreboard players display name White_Team bac_advfirst_team {"text":"White Team"}


#execute if entity @p[team=bac_team_black] run scoreboard players display numberformat Black_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_dark_blue] run scoreboard players display numberformat Dark_Blue_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_dark_green] run scoreboard players display numberformat Dark_Green_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display numberformat Dark_Aqua_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_dark_red] run scoreboard players display numberformat Dark_Red_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_dark_purple] run scoreboard players display numberformat Dark_Purple_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_gold] run scoreboard players display numberformat Gold_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_gray] run scoreboard players display numberformat Gray_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_dark_gray] run scoreboard players display numberformat Dark_Gray_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_blue] run scoreboard players display numberformat Blue_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_green] run scoreboard players display numberformat Green_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_aqua] run scoreboard players display numberformat Aqua_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_red] run scoreboard players display numberformat Red_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_light_purple] run scoreboard players display numberformat Light_Purple_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_yellow] run scoreboard players display numberformat Yellow_Team bac_advancements styled {"color":"green"}
#execute if entity @p[team=bac_team_white] run scoreboard players display numberformat White_Team bac_advancements styled {"color":"green"}

#execute if entity @p[team=bac_team_black] run scoreboard players display numberformat Black_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_dark_blue] run scoreboard players display numberformat Dark_Blue_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_dark_green] run scoreboard players display numberformat Dark_Green_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display numberformat Dark_Aqua_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_dark_red] run scoreboard players display numberformat Dark_Red_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_dark_purple] run scoreboard players display numberformat Dark_Purple_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_gold] run scoreboard players display numberformat Gold_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_gray] run scoreboard players display numberformat Gray_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_dark_gray] run scoreboard players display numberformat Dark_Gray_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_blue] run scoreboard players display numberformat Blue_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_green] run scoreboard players display numberformat Green_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_aqua] run scoreboard players display numberformat Aqua_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_red] run scoreboard players display numberformat Red_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_light_purple] run scoreboard players display numberformat Light_Purple_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_yellow] run scoreboard players display numberformat Yellow_Team bac_advfirst styled {"color":"yellow"}
#execute if entity @p[team=bac_team_white] run scoreboard players display numberformat White_Team bac_advfirst styled {"color":"yellow"}

execute if entity @p[team=bac_team_black] run scoreboard players display numberformat Black_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_dark_blue] run scoreboard players display numberformat Dark_Blue_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_dark_green] run scoreboard players display numberformat Dark_Green_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display numberformat Dark_Aqua_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_dark_red] run scoreboard players display numberformat Dark_Red_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_dark_purple] run scoreboard players display numberformat Dark_Purple_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_gold] run scoreboard players display numberformat Gold_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_gray] run scoreboard players display numberformat Gray_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_dark_gray] run scoreboard players display numberformat Dark_Gray_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_blue] run scoreboard players display numberformat Blue_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_green] run scoreboard players display numberformat Green_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_aqua] run scoreboard players display numberformat Aqua_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_red] run scoreboard players display numberformat Red_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_light_purple] run scoreboard players display numberformat Light_Purple_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_yellow] run scoreboard players display numberformat Yellow_Team bac_advancements_team styled {"color":"green"}
execute if entity @p[team=bac_team_white] run scoreboard players display numberformat White_Team bac_advancements_team styled {"color":"green"}

execute if entity @p[team=bac_team_black] run scoreboard players display numberformat Black_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_dark_blue] run scoreboard players display numberformat Dark_Blue_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_dark_green] run scoreboard players display numberformat Dark_Green_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display numberformat Dark_Aqua_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_dark_red] run scoreboard players display numberformat Dark_Red_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_dark_purple] run scoreboard players display numberformat Dark_Purple_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_gold] run scoreboard players display numberformat Gold_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_gray] run scoreboard players display numberformat Gray_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_dark_gray] run scoreboard players display numberformat Dark_Gray_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_blue] run scoreboard players display numberformat Blue_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_green] run scoreboard players display numberformat Green_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_aqua] run scoreboard players display numberformat Aqua_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_red] run scoreboard players display numberformat Red_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_light_purple] run scoreboard players display numberformat Light_Purple_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_yellow] run scoreboard players display numberformat Yellow_Team bac_advfirst_team_sum styled {"color":"aqua"}
execute if entity @p[team=bac_team_white] run scoreboard players display numberformat White_Team bac_advfirst_team_sum styled {"color":"aqua"}

execute if entity @p[team=bac_team_black] run scoreboard players display numberformat Black_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_dark_blue] run scoreboard players display numberformat Dark_Blue_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_dark_green] run scoreboard players display numberformat Dark_Green_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display numberformat Dark_Aqua_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_dark_red] run scoreboard players display numberformat Dark_Red_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_dark_purple] run scoreboard players display numberformat Dark_Purple_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_gold] run scoreboard players display numberformat Gold_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_gray] run scoreboard players display numberformat Gray_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_dark_gray] run scoreboard players display numberformat Dark_Gray_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_blue] run scoreboard players display numberformat Blue_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_green] run scoreboard players display numberformat Green_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_aqua] run scoreboard players display numberformat Aqua_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_red] run scoreboard players display numberformat Red_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_light_purple] run scoreboard players display numberformat Light_Purple_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_yellow] run scoreboard players display numberformat Yellow_Team bac_advfirst_sum styled {"color":"yellow"}
execute if entity @p[team=bac_team_white] run scoreboard players display numberformat White_Team bac_advfirst_sum styled {"color":"yellow"}

#execute if entity @p[team=bac_team_black] run scoreboard players display numberformat Black_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_dark_blue] run scoreboard players display numberformat Dark_Blue_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_dark_green] run scoreboard players display numberformat Dark_Green_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_dark_aqua] run scoreboard players display numberformat Dark_Aqua_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_dark_red] run scoreboard players display numberformat Dark_Red_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_dark_purple] run scoreboard players display numberformat Dark_Purple_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_gold] run scoreboard players display numberformat Gold_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_gray] run scoreboard players display numberformat Gray_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_dark_gray] run scoreboard players display numberformat Dark_Gray_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_blue] run scoreboard players display numberformat Blue_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_green] run scoreboard players display numberformat Green_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_aqua] run scoreboard players display numberformat Aqua_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_red] run scoreboard players display numberformat Red_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_light_purple] run scoreboard players display numberformat Light_Purple_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_yellow] run scoreboard players display numberformat Yellow_Team bac_advfirst_team styled {"color":"aqua"}
#execute if entity @p[team=bac_team_white] run scoreboard players display numberformat White_Team bac_advfirst_team styled {"color":"aqua"}