scoreboard players add @s KyuDummy 0

#check in front of the stairs to make sure it's solid ground with air TWO BLOCKS above it
#execute positioned ~ ~-1 ~ run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-1 ~-1 ~ run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-2 ~-1 ~ run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~ ~-1 ~-1 run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-1 ~-1 ~-1 run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-2 ~-1 ~-1 run execute unless block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#
#execute positioned ~ ~1 ~ run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-1 ~1 ~ run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-2 ~1 ~ run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~ ~1 ~-1 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-1 ~1 ~-1 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-2 ~1 ~-1 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~ ~ ~ run execute if block ~ ~-1 ~ lily_pad run execute at @s run tp @s ~ ~-1 ~
execute at @s run fill ~ ~1 ~ ~-2 ~-1 ~-1 air replace lily_pad

######THE BELOW COMMAND IS JUST THE ABOVE COMMENTED COMMANDS STACKED ONTO ONE COMMAND FOR EFFICIENCY
execute positioned ~ ~ ~ run execute unless block ~ ~-1 ~ #suhc:bloodboltpassthrough run execute unless block ~-1 ~-1 ~ #suhc:bloodboltpassthrough run execute unless block ~-2 ~-1 ~ #suhc:bloodboltpassthrough run execute unless block ~ ~-1 ~-1 #suhc:bloodboltpassthrough run execute unless block ~-1 ~-1 ~-1 #suhc:bloodboltpassthrough run execute unless block ~-2 ~-1 ~-1 #suhc:bloodboltpassthrough run execute if block ~ ~1 ~ #suhc:bloodboltpassthrough run execute if block ~-1 ~1 ~ #suhc:bloodboltpassthrough run execute if block ~-2 ~1 ~ #suhc:bloodboltpassthrough run execute if block ~ ~1 ~-1 #suhc:bloodboltpassthrough run execute if block ~-1 ~1 ~-1 #suhc:bloodboltpassthrough run execute if block ~-2 ~1 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute positioned ~ ~ ~ run execute if block ~ ~-1 ~ water run execute if block ~-1 ~-1 ~ water run execute if block ~-2 ~-1 ~ water run execute if block ~ ~-1 ~-1 water run execute if block ~-1 ~-1 ~-1 water run execute if block ~-2 ~-1 ~-1 water run execute if block ~ ~1 ~ #suhc:bloodboltpassthrough run execute if block ~-1 ~1 ~ #suhc:bloodboltpassthrough run execute if block ~-2 ~1 ~ #suhc:bloodboltpassthrough run execute if block ~ ~1 ~-1 #suhc:bloodboltpassthrough run execute if block ~-1 ~1 ~-1 #suhc:bloodboltpassthrough run execute if block ~-2 ~1 ~-1 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1






#execute positioned ~6 ~ ~5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~6 ~ ~-5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~3 ~ ~3 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~3 ~ ~-3 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~1 ~ ~-6 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-3 ~ ~-6 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-5 ~ ~3 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-5 ~ ~-3 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-8 ~ ~5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
#execute positioned ~-8 ~ ~-5 run execute if block ~ ~ ~ #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1

######THE BELOW COMMAND IS JUST THE ABOVE COMMENTED COMMANDS STACKED ONTO ONE COMMAND FOR EFFICIENCY, REPEATED ONCE FOR 1Y ABOVE AS WELL
execute as @s[scores={KyuDummy=1..}] run execute at @s run tp @s ~ ~ ~11
execute as @s[scores={KyuDummy=1..}] run execute positioned ~ ~ ~ run execute if block ~6 ~ ~5 #suhc:bloodboltpassthrough run execute if block ~6 ~ ~-5 #suhc:bloodboltpassthrough run execute if block ~3 ~ ~3 #suhc:bloodboltpassthrough run execute if block ~3 ~ ~-3 #suhc:bloodboltpassthrough run execute if block ~1 ~ ~-6 #suhc:bloodboltpassthrough run execute if block ~-3 ~ ~-6 #suhc:bloodboltpassthrough run execute if block ~-5 ~ ~3 #suhc:bloodboltpassthrough run execute if block ~-5 ~ ~-3 #suhc:bloodboltpassthrough run execute if block ~-8 ~ ~5 #suhc:bloodboltpassthrough run execute if block ~-8 ~ ~-5 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute as @s[scores={KyuDummy=2..}] run execute positioned ~ ~1 ~ run execute if block ~6 ~ ~5 #suhc:bloodboltpassthrough run execute if block ~6 ~ ~-5 #suhc:bloodboltpassthrough run execute if block ~3 ~ ~3 #suhc:bloodboltpassthrough run execute if block ~3 ~ ~-3 #suhc:bloodboltpassthrough run execute if block ~1 ~ ~-6 #suhc:bloodboltpassthrough run execute if block ~-3 ~ ~-6 #suhc:bloodboltpassthrough run execute if block ~-5 ~ ~3 #suhc:bloodboltpassthrough run execute if block ~-5 ~ ~-3 #suhc:bloodboltpassthrough run execute if block ~-8 ~ ~5 #suhc:bloodboltpassthrough run execute if block ~-8 ~ ~-5 #suhc:bloodboltpassthrough run scoreboard players add @s KyuDummy 1
execute as @s[scores={KyuDummy=1..}] run execute at @s run tp @s ~ ~ ~-11

#if any one block check fails, kill the marker
kill @s[scores={KyuDummy=..2}]