advancement revoke @s only pctf:killed_by_entity
tag @s add hide_default_death_message
execute store result score #rand temp run random value 1..5
execute if score #rand temp matches 1 run tellraw @a[distance=..250] [{"color":"white","selector":"@s"},{"color":"white","text":" was destroyed by "},{"selector":"@e[type=!player,type=!#pctf:cannot_be_hit,sort=nearest,limit=1]"}]
execute if score #rand temp matches 2 run tellraw @a[distance=..250] [{"color":"white","selector":"@s"},{"color":"white","text":" was obliterated by "},{"selector":"@e[type=!player,type=!#pctf:cannot_be_hit,sort=nearest,limit=1]"}]
execute if score #rand temp matches 3 run tellraw @a[distance=..250] [{"color":"white","selector":"@s"},{"color":"white","text":" was killed by "},{"selector":"@e[type=!player,type=!#pctf:cannot_be_hit,sort=nearest,limit=1]"}]
execute if score #rand temp matches 4 run tellraw @a[distance=..250] [{"color":"white","selector":"@s"},{"color":"white","text":" met their end at the hands of "},{"selector":"@e[type=!player,type=!#pctf:cannot_be_hit,sort=nearest,limit=1]"}]
execute if score #rand temp matches 5 run tellraw @a[distance=..250] [{"color":"white","selector":"@s"},{"color":"white","text":" was decimated by "},{"selector":"@e[type=!player,type=!#pctf:cannot_be_hit,sort=nearest,limit=1]"}]