local ui_get, console_cmd = ui.get, client.exec
local bit_band, client_camera_angles, client_color_log, client_create_interface, client_delay_call, client_exec, client_eye_position, client_key_state, client_log, client_random_int, client_scale_damage, client_screen_size, client_set_event_callback, client_trace_bullet, client_userid_to_entindex, database_read, database_write, entity_get_local_player, entity_get_player_weapon, entity_get_players, entity_get_prop, entity_hitbox_position, entity_is_alive, entity_is_enemy, math_abs, math_atan2, require, error, globals_absoluteframetime, globals_curtime, globals_realtime, math_atan, math_cos, math_deg, math_floor, math_max, math_min, math_rad, math_sin, math_sqrt, print, renderer_circle_outline, renderer_gradient, renderer_measure_text, renderer_rectangle, renderer_text, renderer_triangle, string_find, string_gmatch, string_gsub, string_lower, table_insert, table_remove, ui_get, ui_new_checkbox, ui_new_color_picker, ui_new_hotkey, ui_new_multiselect, ui_reference, tostring, ui_is_menu_open, ui_mouse_position, ui_new_combobox, ui_new_slider, ui_set, ui_set_callback, ui_set_visible, tonumber, pcall = bit.band, client.camera_angles, client.color_log, client.create_interface, client.delay_call, client.exec, client.eye_position, client.key_state, client.log, client.random_int, client.scale_damage, client.screen_size, client.set_event_callback, client.trace_bullet, client.userid_to_entindex, database.read, database.write, entity.get_local_player, entity.get_player_weapon, entity.get_players, entity.get_prop, entity.hitbox_position, entity.is_alive, entity.is_enemy, math.abs, math.atan2, require, error, globals.absoluteframetime, globals.curtime, globals.realtime, math.atan, math.cos, math.deg, math.floor, math.max, math.min, math.rad, math.sin, math.sqrt, print, renderer.circle_outline, renderer.gradient, renderer.measure_text, renderer.rectangle, renderer.text, renderer.triangle, string.find, string.gmatch, string.gsub, string.lower, table.insert, table.remove, ui.get, ui.new_checkbox, ui.new_color_picker, ui.new_hotkey, ui.new_multiselect, ui.reference, tostring, ui.is_menu_open, ui.mouse_position, ui.new_combobox, ui.new_slider, ui.set, ui.set_callback, ui.set_visible, tonumber, pcall
local ui_menu_position, ui_menu_size, math_pi, renderer_indicator, entity_is_dormant, client_set_clan_tag, client_trace_line, entity_get_all, entity_get_classname = ui.menu_position, ui.menu_size, math.pi, renderer.indicator, entity.is_dormant, client.set_clan_tag, client.trace_line, entity.get_all, entity.get_classname
local lowdelta = ui_new_hotkey("AA", "Anti-aimbot angles", "Low Delta")
ui_set(lowdelta, "On hotkey")
local ref = {
yawjitter = { ui_reference("AA", "Anti-aimbot angles", "Yaw Jitter") },
yawlimit = ui_reference("AA", "Anti-aimbot angles", "Fake yaw limit"),
bodyyaw = ui_reference("AA", "Anti-aimbot angles", "Body yaw")
}
local oldyawjitter = ui_get(ref.yawjitter[2])
local oldyawlimit = ui_get(ref.yawlimit)
local oldbodyyaw = ui_get(ref.bodyyaw)
local function on_setup_command()
if ui_get(lowdelta) then
ui_set(ref.yawjitter[2], 0)
ui_set(ref.yawlimit, math.random(17,25))
ui_set(ref.bodyyaw, "Static")
else
ui_set(ref.yawjitter[2], oldyawjitter)
ui_set(ref.yawlimit, oldyawlimit)
ui.set(ref.bodyyaw, oldbodyyaw)
end
end
local function on_paint()
if ui_get(lowdelta) then
renderer_indicator(255, 255, 255, 255, "LD" )
end
end
on_paint()
on_setup_command()
client_set_event_callback("setup_command", on_setup_command)
client_set_event_callback("paint", on_paint)