scoreboard players add @s KyuDummy4 1
execute as @s[scores={KyuDummy4=4}] run execute as @e[distance=..15,type=marker,tag=PyramidArrowTrap] run execute at @s run function zzzzdonotuse:mobspawners/spawnerstuff/pyramid/arrowroomshoot

scoreboard players set @s[scores={KyuDummy4=4}] KyuDummy4 0