scoreboard players tag @e[type=armor_stand,tag=HologramAFK] add TestAFKPlayer
execute @a[tag=AFK] ~ ~ ~ scoreboard players tag @e[type=armor_stand,tag=HologramAFK,r=2,c=1] remove TestAFKPlayer
kill @e[type=armor_stand,tag=HologramAFK,tag=TestAFKPlayer]