Создай счётчик смертей: scoreboard objectives add deathCount deathCount
Создай счётчик очков команд: scoreboard objectives add points dummy "Счётчик очков"
Перед началом игры обнуляй счётчик очков и выводи в сайдбар:
scoreboard players set Синие points 0
scoreboard players set Красные points 0
scoreboard objectives setdisplay sidebar points
Каждый тик выполняй следующие команды:
scoreboard players operation Красные points += @a[team=blue,scores={deathCount=1..}] deathCount
scoreboard players operation Синие points += @a[team=red,scores={deathCount=1..}] deathCount
scoreboard players reset @a[scores={deathCount=1..}] deathCount