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

particle minecraft:dragon_breath ~ ~1 ~ 0 0 0 0.3 100
playsound minecraft:entity.enderman.teleport master @a ~ ~ ~ 100000 1
tp @s[team=blue] -19 157 34 -90 20
tp @s[team=red] 78 157 136 90 20
tp @s[team=green] 79 157 35 0 20
tp @s[team=yellow] -20 157 135 180 20
execute at @s run particle minecraft:dragon_breath ~ ~1 ~ 0 0 0 0.3 100
clear @s carrot_on_a_stick{CustomModelData:9} 1
advancement grant @s[scores={pumpkin_count=10..}] only f:lightspeed_traveler