tag @s[scores={KyuDummy=3..}] remove Going
scoreboard players set @s[scores={KyuDummy=3..}] KyuDummy 0
scoreboard players add @s[tag=Going] KyuDummy 1

tag @s[scores={KyuDummy2=3..}] remove Going2
scoreboard players set @s[scores={KyuDummy2=3..}] KyuDummy2 0
scoreboard players add @s[tag=Going2] KyuDummy2 1

execute as @s run function zzzzdonotuse:structures/tree/zrootfill
execute at @s[tag=MZRoot] run tp @s ~ ~ ~-.5
execute at @s[tag=ZRoot] run tp @s ~ ~ ~.5




tag @s remove GoX
tag @s remove GoMX
tag @s remove GoY
tag @s remove GoMY
execute if predicate suhc:50percent run tag @s[scores={KyuDummy=0,PosX=..40}] add GoX
execute if predicate suhc:50percent run tag @s[scores={KyuDummy=0,PosX=..40}] add GoMX
#execute if predicate suhc:50percent run tag @s remove GoLeft
execute if predicate suhc:50percent run tag @s[predicate=!suhc:zerotofivey,scores={KyuDummy2=0,PosX=..40}] add GoMY
execute if predicate suhc:50percent run tag @s[tag=!GoMY,scores={KyuDummy2=0,PosX=5..40}] add GoY
execute unless entity @s[tag=!GoX,tag=!GoMX] run tag @s add Going
execute unless entity @s[tag=!GoY,tag=!GoMY] run tag @s add Going2


execute at @s run tp @s[tag=GoX,scores={KyuDummy=0}] ~1 ~ ~
execute at @s run tp @s[tag=GoMX,scores={KyuDummy=0}] ~-1 ~ ~
execute unless entity @s[tag=!GoX,tag=!GoMX] run function zzzzdonotuse:structures/tree/zrootfill

execute at @s run tp @s[tag=GoY,scores={KyuDummy2=0}] ~ ~1 ~
execute at @s run tp @s[tag=GoMY,scores={KyuDummy2=0}] ~ ~-1 ~
execute unless entity @s[tag=!GoY,tag=!GoMY] run function zzzzdonotuse:structures/tree/zrootfill





scoreboard players add @s PosX 1
execute if predicate suhc:25percent run scoreboard players remove @s[scores={PosX=..39}] PosX 1
#execute as @s[scores={PosX=35..50}] run execute if predicate suhc:25percent run execute if predicate suhc:50percent run execute at @s positioned ~ ~1 ~ run scoreboard players set @s PosX 51
execute as @s[scores={PosX=50..}] run execute at @s positioned ~ ~1 ~ run scoreboard players set @s PosX 51
execute as @s[scores={PosX=..50}] run function zzzzdonotuse:structures/tree/zroot
#execute as @s[scores={PosX=35..50}] run execute if predicate suhc:25percent run execute if predicate suhc:50percent run execute at @s positioned ~ ~1 ~ run function zzzzdonotuse:structures/tree/killtree
#execute as @s[scores={PosX=50..}] run execute at @s positioned ~ ~1 ~ run function zzzzdonotuse:structures/tree/killtree


