execute if score #.tr.death_transfer_amount blue.config matches 1 run tellraw @s [{"text":"\n","color":"gray"},{"text":" ⚠ ","color":"red"},{"translate":"blue.tr.tutorial.death_singular","fallback":"A player got you to low health! Dying to them will transfer ownership over one of the trims in your inventory"}," ",{"text":"ℹ","color":"dark_gray","hoverEvent":{"action":"show_text","contents":{"translate":"blue.tr.tutorial.death_hover","fallback":"The amount can be seen and/or customized in the [Settings] menu.","color":"gray"}},"clickEvent":{"action":"run_command","value":"/trigger TrimCMDs.BLUE set 6"}},{"text":" ⚠\n","color":"red"}]
execute if score #.tr.death_transfer_amount blue.config matches 2..100 run tellraw @s [{"text":"\n-","color":"gray"},{"text":" ⚠ ","color":"red"},{"translate":"blue.tr.tutorial.death_plural","fallback":"A player got you to low health! Dying to them will transfer ownership over multiple trims in your inventory"}," ",{"text":"ℹ","color":"dark_gray","hoverEvent":{"action":"show_text","contents":{"translate":"blue.tr.tutorial.death_hover","fallback":"The amount can be seen and/or customized in the [Settings] menu.","color":"gray"}},"clickEvent":{"action":"run_command","value":"/trigger TrimCMDs.BLUE set 6"}},{"text":" ⚠\n","color":"red"}]
execute if score #.tr.death_transfer_amount blue.config matches 1..100 run playsound block.note_block.pling player @s ~ ~ ~ 1 1.5
execute unless score #.tr.death_transfer_amount blue.config matches 1..100 run advancement revoke @s only blue:tr/death_tutorial