tellraw @a ["","\n",{"text":"Game Over!","bold":true,"color":"green"}]
tellraw @a ["",{"text":"Purple: ","color":"dark_purple"},{"text":"❤","color":"red"},{"score":{"name":"$PurpleHP","objective":"CmdData"},"color":"gray"},"/",{"score":{"name":"$ShipHP","objective":"CmdData"},"color":"gray"},{"text":" | ","color":"dark_gray","bold":true},{"text":"Orange: ","color":"gold"},{"text":"❤","color":"red"},{"score":{"name":"$OrangeHP","objective":"CmdData"},"color":"gray"},"/",{"score":{"name":"$ShipHP","objective":"CmdData"},"color":"gray"}]
#> Cannons
scoreboard players set $MVPCount CmdData 0
execute as @a[tag=CannonMVP] run scoreboard players add $MVPCount CmdData 1
execute if score $MVPCount CmdData matches 1 if entity @a[tag=CannonMVP,scores={MVPcannon=1}] run tellraw @a ["",{"selector":"@a[tag=CannonMVP,limit=1,sort=random]"},{"text":" is the MVP! ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPdamage"},"bold":true,"color":"dark_aqua"},{"text":" ship damage dealt using ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPcannon"},"bold":true,"color":"dark_aqua"},{"text":" Cannonball!","color":"aqua"}]
execute if score $MVPCount CmdData matches 2.. if entity @a[tag=CannonMVP,scores={MVPcannon=1}] run tellraw @a ["",{"selector":"@a[tag=CannonMVP,sort=random]"},{"text":" are the MVP's! ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPdamage"},"bold":true,"color":"dark_aqua"},{"text":" ship damage dealt using ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPcannon"},"bold":true,"color":"dark_aqua"},{"text":" Cannonballs!","color":"aqua"}]
execute if score $MVPCount CmdData matches 1 unless entity @a[tag=CannonMVP,scores={MVPcannon=1}] run tellraw @a ["",{"selector":"@a[tag=CannonMVP,limit=1,sort=random]"},{"text":" is the MVP! ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPdamage"},"bold":true,"color":"dark_aqua"},{"text":" ship damage dealt using ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPcannon"},"bold":true,"color":"dark_aqua"},{"text":" Cannonballs!","color":"aqua"}]
execute if score $MVPCount CmdData matches 2.. unless entity @a[tag=CannonMVP,scores={MVPcannon=1}] run tellraw @a ["",{"selector":"@a[tag=CannonMVP,sort=random]"},{"text":" are the MVP's! ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPdamage"},"bold":true,"color":"dark_aqua"},{"text":" ship damage dealt using ","color":"aqua"},{"score":{"name":"@a[tag=CannonMVP,limit=1,sort=random]","objective":"MVPcannon"},"bold":true,"color":"dark_aqua"},{"text":" Cannonball!","color":"aqua"}]

#> Kills
scoreboard players set $MVPCount CmdData 0
execute as @a[tag=KillMVP] run scoreboard players add $MVPCount CmdData 1
execute if score $MVPCount CmdData matches 1 if entity @a[tag=KillMVP,scores={MVPkill=1}] run tellraw @a ["",{"selector":"@a[tag=KillMVP,limit=1,sort=random]"},{"text":" is a true Pirate! ","color":"aqua"},{"score":{"name":"@a[tag=KillMVP,limit=1,sort=random]","objective":"MVPkill"},"bold":true,"color":"dark_aqua"},{"text":" kill!","color":"aqua"}]
execute if score $MVPCount CmdData matches 2.. if entity @a[tag=KillMVP,scores={MVPkill=1}] run tellraw @a ["",{"selector":"@a[tag=KillMVP]"},{"text":" are true Pirates! ","color":"aqua"},{"score":{"name":"@a[tag=KillMVP,limit=1,sort=random]","objective":"MVPkill"},"bold":true,"color":"dark_aqua"},{"text":" kill each!","color":"aqua"}]
execute if score $MVPCount CmdData matches 1 unless entity @a[tag=KillMVP,scores={MVPkill=1}] run tellraw @a ["",{"selector":"@a[tag=KillMVP,limit=1,sort=random]"},{"text":" is a true Pirate! ","color":"aqua"},{"score":{"name":"@a[tag=KillMVP,limit=1,sort=random]","objective":"MVPkill"},"bold":true,"color":"dark_aqua"},{"text":" kills!","color":"aqua"}]
execute if score $MVPCount CmdData matches 2.. unless entity @a[tag=KillMVP,scores={MVPkill=1}] run tellraw @a ["",{"selector":"@a[tag=KillMVP]"},{"text":" are true Pirates! ","color":"aqua"},{"score":{"name":"@a[tag=KillMVP,limit=1,sort=random]","objective":"MVPkill"},"bold":true,"color":"dark_aqua"},{"text":" kills each!","color":"aqua"}]

#> Deaths
scoreboard players set $MVPCount CmdData 0
execute as @a[tag=DeathMVP] run scoreboard players add $MVPCount CmdData 1
execute if score $MVPCount CmdData matches 1 if entity @a[tag=DeathMVP,scores={MVPdeath=1}] run tellraw @a ["",{"selector":"@a[tag=DeathMVP,limit=1,sort=random]"},{"text":" visited Davy Jones' Locker! ","color":"aqua"},{"score":{"name":"@a[tag=DeathMVP,limit=1,sort=random]","objective":"MVPdeath"},"bold":true,"color":"dark_aqua"},{"text":" pathetic death!","color":"aqua"}]
execute if score $MVPCount CmdData matches 2.. if entity @a[tag=DeathMVP,scores={MVPdeath=1}] run tellraw @a ["",{"selector":"@a[tag=DeathMVP]"},{"text":" visited Davy Jones' Locker! ","color":"aqua"},{"score":{"name":"@a[tag=DeathMVP,limit=1,sort=random]","objective":"MVPdeath"},"bold":true,"color":"dark_aqua"},{"text":" pathetic death each!","color":"aqua"}]
execute if score $MVPCount CmdData matches 1 unless entity @a[tag=DeathMVP,scores={MVPdeath=1}] run tellraw @a ["",{"selector":"@a[tag=DeathMVP,limit=1,sort=random]"},{"text":" visited Davy Jones' Locker! ","color":"aqua"},{"score":{"name":"@a[tag=DeathMVP,limit=1,sort=random]","objective":"MVPdeath"},"bold":true,"color":"dark_aqua"},{"text":" pathetic deaths!","color":"aqua"}]
execute if score $MVPCount CmdData matches 2.. unless entity @a[tag=DeathMVP,scores={MVPdeath=1}] run tellraw @a ["",{"selector":"@a[tag=DeathMVP]"},{"text":" visited Davy Jones' Locker! ","color":"aqua"},{"score":{"name":"@a[tag=DeathMVP,limit=1,sort=random]","objective":"MVPdeath"},"bold":true,"color":"dark_aqua"},{"text":" pathetic deaths each!","color":"aqua"}]

tellraw @a " "

scoreboard players reset $MVPCount CmdData