tellraw @s [{"text":"This run stats","color":"gold","underlined": true,"bold": true}]
tellraw @s [{"text":"Deaths: ","color":"gold"},{"color":"green","score":{"name":"@s","objective":"Deaths"}}]
tellraw @s [{"text":"Kills: ","color":"gold"},{"color":"green","score":{"name":"@s","objective":"Kills"}}]
execute store result score days time run time query day
execute unless score days time matches 1.. run tellraw @s [{"text":"Days: ","color":"gold"},{"color":"green","text":"0"}]
execute if score days time matches 1.. run tellraw @s [{"text":"Days: ","color":"gold"},{"color":"green","score":{"name":"days","objective":"time"}}]
#tellraw @s [{"text":""}]
#tellraw @s [{"text":"Total stats","color":"gold","underlined": true,"bold": true}]
tellraw @s [{"text":"Total Deaths: ","color":"gold"},{"color":"green","score":{"name":"@s","objective":"TotalDeaths"}}]
#tellraw @s [{"text":"Total Kills: ","color":"gold"},{"color":"green","score":{"name":"@s","objective":"TotalKills"}}]
tellraw @s [{"text":"NG+ ","color":"gold"},{"color":"green","score":{"name":"@s","objective":"newgame"}}]