playsound minecraft:ui.button.click ambient @s
scoreboard players remove .redshop buttonsel 1

execute if score .redshop buttonsel matches ..0 run scoreboard players set .redshop buttonsel 8

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 1 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"Smallinator1"'}

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 2 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"Biginator1"'}

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 3 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"Chickenride3"'}

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 4 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"Featherstaff3"'}

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 5 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"FlashEgg1"'}

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 6 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"FeatherChestplate2"'}

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 .redshop buttonsel matches 7 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"ChickenWings10"'}

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]}]
execute if score .redshop buttonsel matches 8 run data merge entity @e[type=minecraft:text_display,tag=red,sort=nearest,limit=1] {text:'"ChickenDecoy6"'}

item replace entity @e[type=minecraft:item_display,tag=rightarrow,tag=red] container.0 with minecraft:paper[minecraft:custom_model_data={floats:[2004.0f]}]

schedule function cf:interaction/resetbutton 4t