advancement revoke @s only pctf:killed_player
tag @s add attacker
execute as @a[sort=nearest,limit=1,scores={death_count=1}] at @s run function pctf:logic/player/death_messages/check

function pctf:logic/player/game/got_kill