execute if entity @s[scores={math_output=1..7}] run tellraw @a [{"selector":"@s"},{"text":" crashed into a minecart"}]
execute if entity @s[scores={math_output=8..15}] run tellraw @a [{"selector":"@s"},{"text":" was run over by a minecart"}]
scoreboard players set @s death 0