execute as @e[tag=sliderspawnerpossible] at @s if block ~ ~1 ~ minecraft:air run function q:sliderspawner
execute as @e[tag=lastblock] at @s positioned ~ ~100 ~ if block ~ ~ ~ minecraft:air run function q:clearspread
execute as @e[tag=lastblock] at @s positioned ~ ~100 ~ if block ~ ~ ~ minecraft:air run playsound minecraft:entity.blaze.hurt block @p
execute as @e[tag=lastblock] at @s positioned ~ ~100 ~ if block ~ ~ ~ minecraft:air run kill @s

execute positioned 0 10 -10000 run kill @e[tag=glower,distance=..2]

scoreboard players set @p lastblocklooking 1
execute as @a at @s positioned ~ ~1.6 ~ run function q:lastblockloop
#execute if block -2 104 4 minecraft:lever[powered=true] if score @p lastblocklooking matches 1 run teleport @e[tag=glower] 0 10 -10000
#execute if block -2 104 4 minecraft:lever[powered=true] if score @p lastblocklooking matches 1 run effect clear @e[tag=glower]
