tag @e[type=armor_stand,name=console] remove canFinish
advancement grant @s only parkour_pyramid:end
scoreboard players operation @s timeS = @s time
scoreboard players set @s timeM 0
scoreboard players set @s timeH 0
function parkour_pyramid:levels/level100/end/timeloop

tellraw @a {"text":"---------------------------------------------","color":"yellow"}
tellraw @a ["",{"selector":"@s","bold":true},{"text":" just finished ","color":"red","bold":false},{"text":"Parkour Pyramid","bold":true,"color":"none"},{"text":" in","color":"red","bold":false}]
tellraw @a [{"score":{"name":"@s","objective":"timeH"},"color":"gold","bold":true},{"text":" hours, ","color":"red","bold":false},{"score":{"name":"@s","objective":"timeM"},"color":"gold","bold":true},{"text":" minutes, and ","color":"red","bold":false},{"score":{"name":"@s","objective":"timeS"},"color":"gold","bold":true},{"text":" seconds!","color":"red","bold":false}]
tellraw @a {"text":"---------------------------------------------","color":"yellow"}

team join finished @s
tag @s remove ingame
tag @s add finished
tag @s add seeFirework
tag @e[type=armor_stand,name=console] add endFireworks
execute unless entity @e[type=area_effect_cloud,name=randomF] run function parkour_pyramid:levels/level100/end/summonaec