Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ui
- local ui_new_checkbox = ui.new_checkbox
- local ui_new_slider = ui.new_slider
- local ui_new_combobox = ui.new_combobox
- local ui_new_multiselect = ui.new_multiselect
- local ui_new_hotkey = ui.new_hotkey
- local ui_new_button = ui.new_button
- local ui_new_color_picker = ui.new_color_picker
- local ui_reference = ui.reference
- local ui_set = ui.set
- local ui_get = ui.get
- local ui_set_callback = ui.set_callback
- local ui_set_visible = ui.set_visible
- local ui_is_menu_open = ui.is_menu_open
- -- client
- local c_random_int = client.random_int
- local c_draw = client.draw_text
- -- screen
- local sw, sh = client.screen_size()
- local final_sw, final_sh = sw - 1, sh - 112
- -- menu
- local menu = {
- freestanding_hotkey = ui_new_hotkey("AA", "Anti-aimbot angles", "Anti-aim freestanding hotkey"),
- }
- -- references
- local reference = {
- freestanding = ui_reference("AA", "Anti-aimbot angles", "Freestanding")
- }
- local function work(ctx)
- if ui_get(menu.freestanding_hotkey) == true then
- ui_set(reference.freestanding, {"Running", "Edge", "Default"})
- c_draw(ctx, 85, final_sh - 25, 124, 195, 13, 255, "c+", 0, "FREESTAND")
- else
- ui_set(reference.freestanding, {"Running", "Edge"})
- c_draw(ctx, 85, final_sh - 25, 255, 0, 0, 255, "c+", 0, "FREESTAND")
- end
- end
- local function paint(ctx)
- work(ctx)
- end
- client.set_event_callback("paint", paint)
Advertisement
Add Comment
Please, Sign In to add comment