##############################
##
##        WorldEdit
##    Made By M7mdTG ;)
##
##############################

execute @e[type=worldedit:pos1,scores={we_mask_mode=1}] ~~~ structure load we_selection ^^^85
execute @e[type=worldedit:pos1,scores={we_mask_mode=1}] ~~~ structure load we_selection ^^^-85
execute @e[type=worldedit:pos1,scores={we_mask_mode=1}] ~~~ structure load we_selection ^^85^
execute @e[type=worldedit:pos1,scores={we_mask_mode=1}] ~~~ structure load we_selection ^^-85^
execute @e[type=worldedit:pos1,scores={we_mask_mode=2}] ~~~ detect ^^^85 air -1 structure load we_selection ^^^85
execute @e[type=worldedit:pos1,scores={we_mask_mode=2}] ~~~ detect ^^^-85 air -1 structure load we_selection ^^^-85
execute @e[type=worldedit:pos1,scores={we_mask_mode=2}] ~~~ detect ^^85^ air -1 structure load we_selection ^^85^
execute @e[type=worldedit:pos1,scores={we_mask_mode=2}] ~~~ detect ^^-85^ air -1 structure load we_selection ^^-85^
execute @e[type=worldedit:pos1,scores={we_mask_mode=3}] ~~~ detect ^^^85 air -1 tag @s add we_air
execute @e[type=worldedit:pos1,scores={we_mask_mode=3},tag=!we_air] ~~~ structure load we_selection ^^^85
tag @e remove we_air
execute @e[type=worldedit:pos1,scores={we_mask_mode=3}] ~~~ detect ^^^-85 air -1 tag @s add we_air
execute @e[type=worldedit:pos1,scores={we_mask_mode=3},tag=!we_air] ~~~ structure load we_selection ^^^-85
tag @e remove we_air
execute @e[type=worldedit:pos1,scores={we_mask_mode=3}] ~~~ detect ^^85^ air -1 tag @s add we_air
execute @e[type=worldedit:pos1,scores={we_mask_mode=3},tag=!we_air] ~~~ structure load we_selection ^^85^
tag @e remove we_air
execute @e[type=worldedit:pos1,scores={we_mask_mode=3}] ~~~ detect ^^-85^ air -1 tag @s add we_air
execute @e[type=worldedit:pos1,scores={we_mask_mode=3},tag=!we_air] ~~~ structure load we_selection ^^-85^
tag @e remove we_air

execute @e[type=worldedit:pos1] ~~~ tp ~~~ ~0.5 ~
scoreboard players add @e[type=worldedit:pos1] we_yrot 1
execute @e[type=worldedit:pos1,scores={we_yrot=360}] ~~~ tp ~~~ 0 ~-0.5
execute @e[type=worldedit:pos1] ~~~ scoreboard players add @s[scores={we_yrot=360}] we_xrot 1
execute @e[type=worldedit:pos1] ~~~ scoreboard players set @s[scores={we_yrot=360}] we_yrot 0
execute @e[type=worldedit:pos1,scores={we_xrot=..180}] ~~~ function we/high-end/sphere/85