#say attemting to start a slider

execute if block ~1 ~ ~ minecraft:purpur_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,0.0f],Tags:[slider_west,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~-1 ~ ~ minecraft:purpur_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-90.0f,0.0f],Tags:[slider_east,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~1 minecraft:purpur_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-180.0f,0.0f],Tags:[slider_north,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~-1 minecraft:purpur_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,0.0f],Tags:[slider_south,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~1 ~ minecraft:purpur_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,90.0f],Tags:[slider_down,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~-1 ~ minecraft:purpur_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,-90.0f],Tags:[slider_up,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}

execute if block ~1 ~ ~ minecraft:redstone_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,0.0f],Tags:[slider_west,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~-1 ~ ~ minecraft:redstone_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-90.0f,0.0f],Tags:[slider_east,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~1 minecraft:redstone_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-180.0f,0.0f],Tags:[slider_north,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~-1 minecraft:redstone_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,0.0f],Tags:[slider_south,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~1 ~ minecraft:redstone_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,90.0f],Tags:[slider_down,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~-1 ~ minecraft:redstone_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,-90.0f],Tags:[slider_up,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}

execute if block ~1 ~ ~ minecraft:lapis_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,0.0f],Tags:[slider_west,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~-1 ~ ~ minecraft:lapis_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-90.0f,0.0f],Tags:[slider_east,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~1 minecraft:lapis_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-180.0f,0.0f],Tags:[slider_north,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~-1 minecraft:lapis_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,0.0f],Tags:[slider_south,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~1 ~ minecraft:lapis_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,90.0f],Tags:[slider_down,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~-1 ~ minecraft:lapis_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,-90.0f],Tags:[slider_up,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}

execute if block ~1 ~ ~ minecraft:gold_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,0.0f],Tags:[slider_west,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~-1 ~ ~ minecraft:gold_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-90.0f,0.0f],Tags:[slider_east,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~1 minecraft:gold_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-180.0f,0.0f],Tags:[slider_north,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~ ~-1 minecraft:gold_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,0.0f],Tags:[slider_south,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~1 ~ minecraft:gold_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[0.0f,90.0f],Tags:[slider_down,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}
execute if block ~ ~-1 ~ minecraft:gold_block positioned ~0.5 ~-2 ~0.5 unless entity @e[tag=slider,distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Rotation:[90.0f,-90.0f],Motion:[0.0,0.3,0.0],Tags:[slider_up,slider],NoGravity:1,Invisible:1,Passengers:[{id:shulker,Tags:[slider_piece,slider_shulker],Motion:[0.0,0.3,0.0],NoGravity:1,Silent:1,Invulnerable:1,NoAI:1b,active_effects:[{id:invisibility,duration:9999,amplifier:1,show_particles:0b}]},{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:202,NoGravity:1}]}

#execute positioned ~0.5 ~-2 ~0.5 if entity @e[tag=slider,distance=..0.5] positioned ~-0.5 ~2 ~-0.5 run setblock ~ ~ ~ minecraft:air

execute positioned ~0.5 ~-2 ~0.5 as @e[tag=slider,distance=..0.5] run scoreboard players set @s sliderlife 202
execute positioned ~0.5 ~-2 ~0.5 as @e[tag=slider,distance=..0.5] run scoreboard players set @s sliderlifespeed 1
execute positioned ~0.5 ~-2 ~0.5 if entity @e[tag=slider,distance=..0.5] run scoreboard players reset @s slide_create
#{id:falling_block,Tags:[slider_piece],BlockState:{Name:"minecraft:emerald_block"},DropItem:0,Time:400}
