#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

execute if score option_time pumpkins matches -4 run item replace entity @s armor.head with minecraft:lime_dye{CustomModelData:20}
execute if score option_time pumpkins matches -3 run item replace entity @s armor.head with minecraft:lime_dye{CustomModelData:21}
execute if score option_time pumpkins matches -2 run item replace entity @s armor.head with minecraft:lime_dye{CustomModelData:22}
execute if score option_time pumpkins matches -1 run item replace entity @s armor.head with minecraft:lime_dye{CustomModelData:23}
execute if score option_time pumpkins matches 0 run item replace entity @s armor.head with minecraft:lime_dye{CustomModelData:24}