playsound minecraft:ui.button.click ambient @s
scoreboard players add .chickenspawntime settings 1

execute if score .chickenspawntime settings matches 4.. run scoreboard players set .chickenspawntime settings 1

execute if score .chickenspawntime settings matches 1 run item replace entity @e[type=minecraft:armor_stand,tag=chickenspawntime] armor.head with minecraft:brick[minecraft:custom_model_data={floats:[1001.0f]}] 1
execute if score .chickenspawntime settings matches 1 run item replace entity @e[type=minecraft:item_display,tag=chickenspawntime] container.0 with minecraft:brick[minecraft:custom_model_data={floats:[1001.0f]}]

execute if score .chickenspawntime settings matches 1 run data merge entity @e[type=minecraft:text_display,tag=chickenspawntime,sort=nearest,limit=1] {text:'"10Seconds"'}
execute if score .chickenspawntime settings matches 1 run scoreboard players set .cst settings 200
execute if score .chickenspawntime settings matches 2 run item replace entity @e[type=minecraft:item_display,tag=chickenspawntime] container.0 with minecraft:brick[minecraft:custom_model_data={floats:[1002.0f]}]

execute if score .chickenspawntime settings matches 2 run data merge entity @e[type=minecraft:text_display,tag=chickenspawntime,sort=nearest,limit=1] {text:'"30Seconds"'}
execute if score .chickenspawntime settings matches 2 run scoreboard players set .cst settings 600

execute if score .chickenspawntime settings matches 3 run item replace entity @e[type=minecraft:item_display,tag=chickenspawntime] container.0 with minecraft:brick[minecraft:custom_model_data={floats:[1003.0f]}]

execute if score .chickenspawntime settings matches 3 run data merge entity @e[type=minecraft:text_display,tag=chickenspawntime,sort=nearest,limit=1] {text:'"60Seconds"'}
execute if score .chickenspawntime settings matches 3 run scoreboard players set .cst settings 1200