#tag trophée : trophyred #tag poulet rouge: redchicken #tag text display : redtext
data merge entity @e[type=minecraft:text_display,tag=redtext,sort=nearest,limit=1] {text:'["Last score: ",{"score":{"name":".Red","objective":"score"},"type":"score"}]'}
data merge entity @e[type=minecraft:text_display,tag=bluetext,sort=nearest,limit=1] {text:'["Last score: ",{"score":{"name":".Blue","objective":"score"},"type":"score"}]'}
item replace entity @e[tag=trophyred] container.0 with minecraft:paper[minecraft:custom_model_data={floats:[2020.0f]}]
item replace entity @e[tag=trophyblue] container.0 with minecraft:air