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/xrootfill
execute at @s[tag=MXRoot] run tp @s ~-.5 ~ ~
execute at @s[tag=XRoot] run tp @s ~.5 ~ ~





tag @s remove GoZ
tag @s remove GoMZ
tag @s remove GoY
tag @s remove GoMY
execute if predicate suhc:50percent run tag @s[scores={KyuDummy=0,PosX=..40}] add GoZ
execute if predicate suhc:50percent run tag @s[scores={KyuDummy=0,PosX=..40}] add GoMZ
#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=!GoZ,tag=!GoMZ] 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=GoZ,scores={KyuDummy=0}] ~ ~ ~1
execute at @s run tp @s[tag=GoMZ,scores={KyuDummy=0}] ~ ~ ~-1
execute unless entity @s[tag=!GoZ,tag=!GoMZ] run function zzzzdonotuse:structures/tree/xrootfill

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/xrootfill




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/xroot
#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

