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

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

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

execute if score .gametime settings matches 1 run data merge entity @e[type=minecraft:text_display,tag=gametime,sort=nearest,limit=1] {text:'"2Minutes"'}
execute if score .gametime settings matches 1 run scoreboard players set .gt settings 2400

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

execute if score .gametime settings matches 2 run data merge entity @e[type=minecraft:text_display,tag=gametime,sort=nearest,limit=1] {text:'"5Minutes"'}
execute if score .gametime settings matches 2 run scoreboard players set .gt settings 6000

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

execute if score .gametime settings matches 3 run data merge entity @e[type=minecraft:text_display,tag=gametime,sort=nearest,limit=1] {text:'"10Minutes"'}
execute if score .gametime settings matches 3 run scoreboard players set .gt settings 12000
