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

clear @s lime_dye{CustomModelData:55}
bossbar set minecraft:display max 40
bossbar set minecraft:display name ["",{"selector":"@s","bold":true},{"translate":"game.delivered","color":"white","bold":true}]
scoreboard players set $core id 40
scoreboard players operation @s[tag=!stealing] pumpkins += @s pumpkin_count
scoreboard players set @s pumpkin_count 0