scoreboard players set .Red score 0


#scoreboard players operation .Red score += @a[team=red] score2



execute at @e[tag=markerred] as @e[type=minecraft:chicken,distance=..5,tag=notwild] run scoreboard players add .Red score 5



