scoreboard players set @s lastblocklooking 0
kill @e[tag=lastblock]
kill @e[tag=sliderspawnerpossible]
execute unless block ~ ~ ~ minecraft:emerald_block align xyz run summon minecraft:armor_stand ~ ~-100 ~ {Tags:[lastblock],NoGravity:1,Invisible:1}
execute if block ~ ~ ~ minecraft:emerald_block if block ~ ~-1 ~ minecraft:green_shulker_box align xyz positioned ~0.5 ~-1 ~0.5 unless entity @e[tag=sliderspawner,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Tags:[sliderspawnerpossible],NoGravity:1,Invisible:1}
effect clear @s
effect give @s minecraft:haste 1 4 true
#execute if block -2 104 4 minecraft:lever[powered=true] as @e[tag=glower] at @s if block ~ ~ ~ minecraft:air run effect clear @s
#execute if block -2 104 4 minecraft:lever[powered=true] as @e[tag=glower] at @s if block ~ ~ ~ minecraft:air run teleport 0 10 -10000
#execute if block -2 104 4 minecraft:lever[powered=true] as @e[tag=lastblock] at @s align xyz positioned ~0.5 ~100 ~0.5 run function q:glowcheck
