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

summon minecraft:skeleton ~ ~ ~ {PersistenceRequired:1,Team:"skeleton",Tags:["pumpkin","pumpkin_dropped"],Silent:1,Attributes:[{Name:"generic.movementSpeed",Base:0f}],ArmorItems:[{},{},{},{id:"lime_dye",Count:1b,tag:{CustomModelData:10}}]}
scoreboard players remove @s pumpkin_count 1
scoreboard players add @e[tag=pumpkin_dropped,distance=..2] tick 1
execute if score @s pumpkin_count matches 1.. run function f:game/kill/pumpkin_loop
