execute @e[tag=Murder,type=zombie] ~ ~ ~ scoreboard players add @a[r=15,tag=Innocent] FocusedSince 1

execute @a[tag=Innocent,score_FocusedSince_min=1] ~ ~ ~ execute @e[tag=Murder,type=zombie,r=17,c=1] ~ ~ ~ scoreboard players tag @a[rm=15,tag=Innocent,score_FocusedSince_min=1,c=1] add StopFocusing
scoreboard players tag @a[tag=Innocent,score_FocusedSince_min=600] add StopFocusing

scoreboard players reset @a[tag=StopFocusing] FocusedSince
scoreboard teams join MurderAI @a[tag=StopFocusing]

scoreboard players add @a[tag=StopFocusing] NotFocusedSince 1
scoreboard teams join Innocent @a[tag=StopFocusing,score_NotFocusedSince_min=60]
scoreboard players tag @a[tag=StopFocusing,score_NotFocusedSince_min=60] remove StopFocusing
scoreboard players reset @a[score_NotFocusedSince_min=60] NotFocusedSince