tag @e[type=minecraft:armor_stand,limit=1,sort=nearest] add GetFreshUUID
data modify entity @e[type=minecraft:armor_stand,limit=1,sort=nearest] Rotation[0] set value 150.0f
#tag @e[type=minecraft:armor_stand,limit=1,sort=nearest] add ResetRot
scoreboard players set @e[type=minecraft:armor_stand,limit=1,sort=nearest] KyuRotDummy1 50
execute as @e[type=minecraft:armor_stand,sort=nearest,limit=1] run function zzzzdonotuse:generic/randomhorizontalrotation


data modify entity @e[type=minecraft:armor_stand,limit=1,sort=nearest] Rotation[1] set value 50.0f
tag @e[type=minecraft:armor_stand,limit=1,sort=nearest] add GetFreshUUID
#tag @e[type=minecraft:armor_stand,limit=1,sort=nearest] add ResetRot
scoreboard players set @e[type=minecraft:armor_stand,limit=1,sort=nearest] KyuRotDummy1 20
execute as @e[type=minecraft:armor_stand,sort=nearest,limit=1] run function zzzzdonotuse:generic/randomverticalrotation