if globals.tickcount() % ui.get(builder[state].yaw_value_speed) == 1 then
vars.switch = not vars.switch
end
if ui.get(builder[state].yaw) == "Delayed" then
ui.set(ref.yaw,"180")
ui.set(ref.yaw_value, vars.switch and ui.get(builder[state].yaw_value_left) or ui.get(builder[state].yaw_value_right))
if (globals.choked_commands = 0) then
counter = counter + 1;
if counter % ui.get(builder[state].yaw_value_speed) == 0 then
vars.switch = not vars.switch
end
end
Also you can make custom desync jitter like that with any speed.