execute if score .redshop buttonsel matches 1 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1001.0f]}]

execute if score .redshop buttonsel matches 2 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1000.0f]}]

execute if score .redshop buttonsel matches 3 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1008.0f]}]

execute if score .redshop buttonsel matches 4 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1002.0f]}]

execute if score .redshop buttonsel matches 5 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:warped_fungus_on_a_stick[minecraft:custom_model_data={floats:[1001.0f]}]

execute if score .redshop buttonsel matches 6 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:iron_chestplate

execute if score .redshop buttonsel matches 7 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:elytra[minecraft:damage=500]

execute if score .blueshop buttonsel matches 1 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1001.0f]}]

execute if score .blueshop buttonsel matches 2 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1000.0f]}]

execute if score .blueshop buttonsel matches 3 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1008.0f]}]

execute if score .blueshop buttonsel matches 4 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1002.0f]}]

execute if score .blueshop buttonsel matches 5 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:warped_fungus_on_a_stick[minecraft:custom_model_data={floats:[1001.0f]}]

execute if score .blueshop buttonsel matches 6 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:iron_chestplate

execute if score .blueshop buttonsel matches 7 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:elytra[minecraft:damage=500]

execute if score .blueshop buttonsel matches 8 run item replace entity @e[type=minecraft:item_display,tag=blue,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1013.0f]}]
execute if score .redshop buttonsel matches 8 run item replace entity @e[type=minecraft:item_display,tag=red,tag=item] container.0 with minecraft:carrot_on_a_stick[minecraft:custom_model_data={floats:[1013.0f]}]
