## executing as the player that was killed
# attacker is the killer
scoreboard players add @s total_void_falls 1

execute if score @n[tag=attacker] km_num matches -1 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was thrown into the void by ","color":"white"},{"selector":"@n[tag=attacker]"}]

execute if score @n[tag=attacker] km_num matches 1 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was tossed to the shadows by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 2 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was lassoed into the abyss ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 3 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was shadowbanned by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 4 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was thrown to Tartarus by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 5 run tellraw @a[distance=..250] ["",{"selector":"@n[tag=attacker]"},{"text":" ⚠ ","color":"white"},{"selector":"@s"}]
execute if score @n[tag=attacker] km_num matches 6 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was teleported into the void by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 7 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was creased into nothing by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 8 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" got a buzz cut from ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 9 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" disappeared from the timeline due to ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 10 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was thrown into the void by ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":", marking kill ","color":"white"},{"text":"#","color":"aqua"},{"score":{"name":"@n[tag=attacker]","objective":"total_kills"},"color":"aqua"}]
execute if score @n[tag=attacker] km_num matches 11 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" waz catapulted into da voidz by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 12 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was sent to Ohio by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 13 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was banished to the hells by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 14 run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was turned to dust by ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":"'s hydrogen bomb","color":"white"}]

execute on attacker run function pctf:logic/player/game/got_kill