## executing as the player that died
execute if entity @s[tag=exploded] run return run tag @s remove exploded

execute if score @s weak_knees_timer matches 1.. run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" broke their legs and fell and died","color":"white"}]

execute if score @s dm_num matches 1 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" fainted valiantly","color":"white"}]
execute if score @s dm_num matches 2 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":"'s legend ended in glory","color":"white"}]
execute if score @s dm_num matches 3 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" ran away in fear","color":"white"}]
execute if score @s dm_num matches 4 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" succumed to a dark curse","color":"white"}]
execute if score @s dm_num matches 5 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" got hacked","color":"white"}]
execute if score @s dm_num matches 6 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" gotrekt and died","color":"white"}]
execute if score @s dm_num matches 7 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" died of scurvy","color":"white"}]
execute if score @s dm_num matches 8 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" died but it wasn't their fault","color":"white"}]
execute if score @s dm_num matches 9 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":"'s innards became outards","color":"white"}]
execute if score @s dm_num matches 10 run return run tellraw @a[distance=..250] ["",{"text":"Fair warrior ","color":"white"},{"selector":"@s"},{"text":"'s heart hath ceased it's beat","color":"white"}]
execute if score @s dm_num matches 11 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" just experienced ","color":"white"},{"text":"Death #","color":"aqua"},{"score":{"name":"@s","objective":"total_deaths"},"color":"aqua"}]
execute if score @s dm_num matches 12 run return run tellraw @a[distance=..250] ["",{"text":"Oh noes! ","color":"white"},{"selector":"@s"},{"text":" haz died!","color":"white"}]
execute if score @s dm_num matches 13 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" died? Riveting...","color":"white"}]
execute if score @s dm_num matches 14 run return run tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":"'s moment has passed","color":"white"}]

tellraw @a[distance=..250] ["",{"selector":"@s"},{"text":" died","color":"white"}]