Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local client_draw_hitboxes, client_set_event_callback, client_userid_to_entindex, entity_get_local_player, ui_get, ui_new_checkbox, ui_new_color_picker, ui_new_combobox, ui_new_slider, ui_set_callback, ui_set_visible = client.draw_hitboxes, client.set_event_callback, client.userid_to_entindex, entity.get_local_player, ui.get, ui.new_checkbox, ui.new_color_picker, ui.new_combobox, ui.new_slider, ui.set_callback, ui.set_visible
- local client_set_event_callback, client_userid_to_entindex, entity_get_local_player, entity_get_player_resource, entity_get_prop, ui_reference, ui_set, ui_set_visible = client.set_event_callback, client.userid_to_entindex, entity.get_local_player, entity.get_player_resource, entity.get_prop, ui.reference, ui.set, ui.set_visible
- local ui_get = ui.get
- local w, h = client.screen_size()
- local ui_reference = ui.reference
- local ui_set = ui.set
- local ui_set_callback = ui.set_callback
- --References
- local body_yaw, body_yaw_slider = ui.reference("AA", "Anti-aimbot angles", "Body yaw")
- --Checkbox and hotkey
- local inverter = ui.new_checkbox("AA", "Anti-aimbot angles", "Antiaim inverter")
- local flipSide1 = ui.new_hotkey("AA", "Anti-aimbot angles", "flip1", true)
- --Main code
- local ang = 0
- local side = true
- local run_command = function()
- ui.set(flipSide1, "Toggle")
- if(ui.get(flipSide1)) then
- ui.set(body_yaw_slider, -180)
- side = true
- else
- ui.set(body_yaw_slider, 180)
- side = false
- end
- end
- client.set_event_callback("run_command", run_command)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement