## executing as the player that was killed
# attacker is the killer
tag @s add hide_default_death_message

execute if score @n[tag=attacker] km_num matches 1 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" fell victim to ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":"'s silent blade","color":"white"}]
execute if score @n[tag=attacker] km_num matches 2 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was gunned down by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 3 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was trolled by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 4 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was struck by ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":"'s lightning bolt","color":"white"}]
execute if score @n[tag=attacker] km_num matches 5 run return 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 return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was beamed up by ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":"'s UFO","color":"white"}]
execute if score @n[tag=attacker] km_num matches 7 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was folded into an L by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 8 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was trimmed by ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":"'s sharp scissors","color":"white"}]
execute if score @n[tag=attacker] km_num matches 9 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was erased from history by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 10 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was kill ","color":"white"},{"text":"#","color":"aqua"},{"score":{"name":"@n[tag=attacker]","objective":"total_kills"},"color":"aqua"},{"text":" for ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 11 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" waz pounced on by ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":"'s furriest paws","color":"white"}]
execute if score @n[tag=attacker] km_num matches 12 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was rizzed up by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 13 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was decapitated by ","color":"white"},{"selector":"@n[tag=attacker]"}]
execute if score @n[tag=attacker] km_num matches 14 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was incinerated by ","color":"white"},{"selector":"@n[tag=attacker]"},{"text":"'s flamethrower","color":"white"}]

tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" was slain by ","color":"white"},{"selector":"@n[tag=attacker]"}]