scoreboard players set @s KyuDummy2 0
scoreboard players set @s KyuDummy3 0


execute store result score @s KyuDummy2 run fill ~ ~2 ~-8 ~ ~ ~ minecraft:structure_void replace minecraft:skeleton_skull
execute store result score @s KyuDummy3 run fill ~ ~2 ~-8 ~ ~ ~ minecraft:structure_void replace minecraft:skeleton_wall_skull
fill ~ ~2 ~-8 ~ ~ ~ skeleton_wall_skull[facing=west] replace structure_void


scoreboard players operation @s KyuDummy2 += @s KyuDummy3

execute as @s[scores={KyuDummy2=13..}] run execute at @s positioned ~10 ~-3 ~-3 run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/endpyramid