execute as @a[team=blue] run title @s title {"text":"You win !","color":"gold","bold":true,"type":"text"}
execute as @a[team=red] run title @s title {"text":"You lost !","color":"dark_red","bold":true,"type":"text"}
item replace entity @e[tag=winnercup] container.0 with minecraft:paper[minecraft:custom_model_data={floats:[2013.0f]}]
tag @a[team=blue] add winner
#team modify blue prefix {"text":" ","color":"white"}
team modify red prefix ""
function cf:game/spawntrophy/bluetrophy
schedule function cf:game/endgame/bluefw 1s