scoreboard players add @s KyuDummy 0


#check the 4 corners of the structure(specifically, the actual pumpkin) to see if the ground is SOLID blocks
execute positioned ~-5 ~ ~-5 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~5 ~ ~5 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~5 ~ ~-5 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~-5 ~ ~5 run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1

#check the 4 corners of the structure to see if 1 block above ground is NON-SOLID(air, vines, flowers, water, etc), **or** if 1 block above ground is SOLID and 2 blocks above ground is NON-SOLID
execute positioned ~-5 ~ ~-5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~5 ~ ~5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~5 ~ ~-5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~-5 ~ ~5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~-5 ~ ~-5 run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run execute if block ~ ~1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~5 ~ ~5 run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run execute if block ~ ~1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~5 ~ ~-5 run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run execute if block ~ ~1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~-5 ~ ~5 run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run execute if block ~ ~1 ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1


#if any one corner has a condition fail, kill the marker
kill @s[scores={KyuDummy=..7}]