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

#Game end
execute if score timer time matches 1.. if score $team_blue pumpkin_count >= option_kills kills run function f:game/end/end
execute if score timer time matches 1.. if score $team_red pumpkin_count >= option_kills kills run function f:game/end/end
execute if score timer time matches 1.. if score $team_green pumpkin_count >= option_kills kills run function f:game/end/end
execute if score timer time matches 1.. if score $team_yellow pumpkin_count >= option_kills kills run function f:game/end/end
