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

summon minecraft:armor_stand ~ ~ ~ {Invulnerable:1,NoGravity:1,NoBasePlate:1,DisabledSlots:2039552,Tags:["dab"],ArmorItems:[{id:"leather_boots",Count:1b,tag:{display:{color:12099684}}},{id:"leather_leggings",Count:1b,tag:{display:{color:13415025}}},{id:"leather_chestplate",Count:1b,tag:{display:{color:10755969}}},{id:"player_head",Count:1b}],HandItems:[{id:"lime_dye",Count:1b,tag:{CustomModelData:27}},{id:"lime_dye",Count:1b,tag:{CustomModelData:28}}]}
scoreboard players add @s dabdab 1
execute if score @s dabdab matches ..19 run function f:game/end/win/effect3_spawn_loop