Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
812
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.21 KB | None | 0 0
  1. --"==" returns true if the two values are equal or false if they are not equal
  2. --"~=" returns true if the two values are not equal or false if they are equal
  3. --">" greater than returns true if a value is greater than the other or false if it isn't
  4. --"<" less than returns true if a value is less than the other or false if it isn't
  5. --">=" greater than or equal to, returns true if a value is greater than or equal to the other or false if it isn't
  6. -- "<=" less than or equal to, returns true if a value is less than or equal to the other or false if it isn't
  7.  
  8.  
  9. local globals_realtime = globals.realtime
  10. local globals_curtime = globals.curtime
  11. local globals_maxplayers = globals.maxplayers
  12. local globals_tickcount = globals.tickcount
  13. local globals_tickinterval = globals.tickinterval
  14. local globals_mapname = globals.mapname
  15. local client_set_event_callback = client.set_event_callback
  16. local client_console_log = client.log
  17. local client_console_cmd = client.exec
  18. local client_userid_to_entindex = client.userid_to_entindex
  19. local client_get_cvar = client.get_cvar
  20. local client_draw_debug_text = client.draw_debug_text
  21. local client_draw_hitboxes = client.draw_hitboxes
  22. local client_random_int = client.random_int
  23. local client_random_float = client.random_float
  24. local client_draw_text = client.draw_text
  25. local client_draw_rectangle = client.draw_rectangle
  26. local client_draw_line = client.draw_line
  27. local client_world_to_screen = client.world_to_screen
  28. local client_is_local_player = client.is_local_player
  29. local client_delay_call = client.delay_call
  30. local client_visible = client.visible
  31. local get_cvar = client.get_cvar
  32. local set_cvar = client.set_cvar
  33. local entity_get_local_player, entity_is_enemy, entity_hitbox_position, entity_get_player_name, entity_get_steam64, entity_get_bounding_box, entity_get_all, entity_set_prop = entity.get_local_player, entity.is_enemy, entity.hitbox_position, entity.get_player_name, entity.get_steam64, entity.get_bounding_box, entity.get_all, entity.set_prop
  34. local ui_new_checkbox = ui.new_checkbox
  35. local ui_new_slider = ui.new_slider
  36. local ui_new_button = ui.new_button
  37. local ui_new_combobox = ui.new_combobox
  38. local ui_new_multiselect = ui.new_multiselect
  39. local ui_new_color_picker = ui.new_color_picker
  40. local ui_new_hotkey = ui.new_hotkey
  41. local ui_reference = ui.reference
  42. local ui_set = ui.set
  43. local ui_get = ui.get
  44. local ui_set_visible = ui.set_visible
  45. local entity_get_local_player = entity.get_local_player
  46. local entity_get_all = entity.get_all
  47. local entity_get_players = entity.get_players
  48. local entity_get_classname = entity.get_classname
  49. local entity_set_prop = entity.set_prop
  50. local entity_get_prop = entity.get_prop
  51. local entity_is_enemy = entity.is_enemy
  52. local entity_get_player_name = entity.get_player_name
  53. local entity_get_player_weapon = entity.get_player_weapon
  54. local delay_time = 0
  55. local delay_time2 = 0
  56. local delay_time3 = 0
  57. local inverse_time = 0
  58. local Thitbox = 0
  59. local client_draw_rectangle = client.draw_rectangle
  60. local client_draw_text = client.draw_text
  61. local ui_new_checkbox = ui.new_checkbox
  62. local ui_new_combobox = ui.new_combobox
  63. local ui_get = ui.get
  64. local math_fmod = math.fmod
  65. local math_sqrt = math.sqrt
  66. local math_min = math.min
  67. local client_screen_size = client.screen_size
  68. local to_number = tonumber
  69. local math_floor = math.floor
  70. local math_random = math.random
  71. local string_format = string.format
  72. local antiresolve = false
  73. local exploittimer = 0
  74. local legtime = 0
  75. local spamtime = 0
  76. local spamming = 0
  77. local renderer_text = renderer.text
  78. local player_is_alive = true
  79.  
  80. -------------------------------------Menu References--------------------------------------------------
  81. local pitch = ui.reference("aa", "anti-aimbot angles", "Pitch")
  82. local yaw, yaw_slider = ui.reference("aa", "anti-aimbot angles", "Yaw")
  83. local fyaw, fake_slider = ui.reference("aa", "anti-aimbot angles", "Body Yaw")
  84. local yaw_jitter, jslide = ui.reference("aa", "anti-aimbot angles", "Yaw jitter")
  85. local Twistref = ui.reference("aa", "anti-aimbot angles", "Twist")
  86. local FLM = ui.reference("AA", "Other", "Fix leg movement")
  87. local ID = ui.reference("AA", "Other", "Infinite duck")
  88. local Fl = ui.reference("aa", "Fake lag", "enabled")
  89. local fakelagref = ui.reference("aa", "Fake lag", "Amount")
  90. local varref = ui.reference("aa", "Fake lag", "Variance")
  91. local ammount = ui.reference("aa", "Fake lag", "Limit")
  92. local freestand = ui_reference("aa", "anti-aimbot angles", "Freestanding")
  93. local limit = ui_reference("aa", "Fake lag", "Limit")
  94. local yaw_base = ui_reference("aa", "anti-aimbot angles", "Yaw base")
  95. local lby_target = ui_reference("aa", "anti-aimbot angles", "Lower body yaw target")
  96. local crouchjump = ui_reference("MISC", "Miscellaneous", "Air duck")
  97. local AUTref = ui_reference("MISC", "Settings", "Anti-untrusted")
  98. local fake_limit = ui_reference("aa", "anti-aimbot angles", "Fake yaw limit")
  99. local Slowmo_ref, slomohk = ui_reference("aa", "Other", "Slow motion")
  100. local SlomoOpt_ref = ui_reference("aa", "Other", "Slow motion type")
  101. local on_shot_aa, on_shot_aa_hotkey = ui.reference("AA", "Other", "On shot anti-aim")
  102.  
  103.  
  104. -------------------------------------External Dependancies----------------------------------------------
  105. local function contains(table, val)
  106. for i=1, #table do
  107. if table[i] == val then
  108. return true
  109. end
  110. end
  111. return false
  112. end
  113.  
  114. function hsv_to_rgb(h, s, v, a)
  115.  
  116. local r, g, b
  117.  
  118. local i = math_floor(h * 6);
  119. local f = h * 6 - i;
  120. local p = v * (1 - s);
  121. local q = v * (1 - f * s);
  122. local t = v * (1 - (1 - f) * s);
  123.  
  124. i = i % 6
  125.  
  126. if i == 0 then r, g, b = v, t, p
  127.  
  128. elseif i == 1 then r, g, b = q, v, p
  129. elseif i == 2 then r, g, b = p, v, t
  130. elseif i == 3 then r, g, b = p, q, v
  131. elseif i == 4 then r, g, b = t, p, v
  132. elseif i == 5 then r, g, b = v, p, q
  133.  
  134. end
  135.  
  136. return r * 255, g * 255, b * 255, a * 255
  137.  
  138. end
  139. local function while_timings()
  140.  
  141. info_antiaim_status = "Unknown"
  142. local function fl_onground( ent )
  143. local flags = entity_get_prop( ent, "m_fFlags" )
  144. local flags_on_ground = bit.band( flags, 1 )
  145.  
  146. if flags_on_ground == 1 then
  147. return true
  148. end
  149. return false
  150. end
  151.  
  152. local function fl_induck( ent )
  153. local flags = entity_get_prop( ent, "m_fFlags" )
  154. local flags_induck = bit.band( flags, 2 )
  155.  
  156. if flags_induck == 2 then
  157. return true
  158. end
  159. return false
  160. end
  161.  
  162.  
  163. local vel_x, vel_y = entity_get_prop( entity_get_local_player( ), "m_vecVelocity" )
  164. local vel_real = math_floor( math_min( 10000, math_sqrt( vel_x*vel_x + vel_y*vel_y ) + 0.5 ))
  165.  
  166.  
  167.  
  168. if fl_onground(entity_get_local_player()) and not fl_induck(entity_get_local_player()) and not fakewalk_enabled then
  169.  
  170. info_antiaim_status = "Standing"
  171.  
  172. end
  173.  
  174. if fl_onground (entity_get_local_player()) and not fl_induck(entity_get_local_player()) and vel_real> 1.0 then
  175. info_antiaim_status = "Running"
  176.  
  177.  
  178. end
  179.  
  180. if fl_onground (entity_get_local_player()) == false then
  181. info_antiaim_status = "Jumping"
  182.  
  183.  
  184. end
  185.  
  186. if fl_onground(entity_get_local_player()) and fl_induck(entity_get_local_player()) then
  187. info_antiaim_status = "Crouching"
  188.  
  189.  
  190. end
  191.  
  192. end
  193.  
  194.  
  195.  
  196. local page_num = 1
  197. local i = 0
  198. local side = 0
  199.  
  200.  
  201.  
  202. -- Menu elements
  203.  
  204.  
  205. local jitterlegmove = ui_new_checkbox("AA", "Other", "Jitter leg movement")
  206. local aamodedesync = ui_new_combobox("AA", "Other", "Desync", "Off", "Manual", "Triple Hitbox", "Step", "Crooked")
  207. local crooked_mode = ui_new_combobox("AA", "Other", "Mode", "Static", "Manual", "Random")
  208. local pre_crooked_yaw= ui_new_slider("AA", "Other", "[pre]Crooked angle", -180, 180)
  209. local crooked_yaw = ui_new_slider("AA", "Other", "Crooked angle", -180, 180)
  210. local stepangle1 = ui_new_slider("AA", "Other", "Step angle", 0, 60)
  211. local stepangle2 = ui_new_slider("AA", "Other", "Step angle 2", -60, 0)
  212. local nospreaddesnyc = ui_new_combobox("AA", "Other", "Anti-Aims", "Off", "Verse", "Crooked", "Half back")
  213. local ManualMode = ui_new_multiselect("AA", "Other", "Bullet Evasion", "Fake", "Real")
  214. local Fakespeed = ui_new_combobox("AA", "Other", "Fake speed", "Default", "Fast", "Experimental")
  215. local EvadeMode = ui_new_combobox("AA", "Other", "Evasion mode", "Off", "Lean", "Static", "Far")
  216. local Resolversploit = ui_new_combobox("AA", "Other", "Exploit mode", "Off", "Aimware", "Skeet", "Universal", "Break Bruteforce", "Custom")
  217. local Custommode = ui_new_combobox("AA", "Other", "Mode", "Jitter", "Static") --ignore caps
  218. local Customangle1 = ui_new_slider("AA", "Other", "Lean angle", 0, 60) --ignore caps
  219. local Customangle2 = ui_new_slider("AA", "Other", "Lean angle 2", 0, 60) --ignore caps
  220. local universalmode = ui_new_combobox("AA", "Other", "Mode", "Phaze", "LBY")
  221. local brutemode = ui_new_combobox("AA", "Other", "Break Mode", "Slow", "Fast", "Jitter")
  222. local aimwaresploit = ui_new_multiselect("AA", "Other", "Mode", "Jump", "Shooting")
  223. local indicatorbox = ui_new_combobox("AA", "Other", "Indicator Style", "Bottom", "Crosshair")
  224. local colorpick = ui_new_color_picker("AA", "Other", "Indicator Color")
  225. local skeetsploit = ui_new_combobox("AA", "Other", "Mode", "Onetap", "Jitter")
  226. local side_key = ui_new_hotkey("AA", "Other", "Manual key")
  227. local espamkey = ui_new_hotkey("AA", "Anti-Aimbot angles", "Extend desync")
  228. local espamspeed = ui_new_combobox("AA", "Anti-Aimbot angles", "Extend desync", "Slow", "Fast", "Exploit Pitch")
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236. local function subtract_page(m)
  237. page_num = page_num - 1
  238.  
  239. if page_num <= 0 then
  240. page_num = page_num + 1
  241. end
  242. client.color_log(0, 200, 100, "Changed page to ", page_num)
  243. end
  244.  
  245. local function add_page(a)
  246. page_num = page_num + 1
  247.  
  248. if page_num >= 4 and ui_get(AUTref) == true then
  249. page_num = page_num - 1
  250. elseif page_num >= 5 and ui_get(AUTref) == false then
  251. page_num = page_num - 1
  252. end
  253. client.color_log(0, 200, 100, "Changed page to ", page_num)
  254. end
  255.  
  256. local function print(p)
  257. client_console_log(page_num)
  258. end
  259.  
  260. local function New_menu(new)
  261.  
  262.  
  263. if page_num == 1 then
  264. ui_set_visible(FLM, true)
  265. ui_set_visible(Slowmo_ref, true)
  266. ui_set_visible(ID, true)
  267. ui_set_visible(aamodedesync, false)
  268. ui_set_visible(on_shot_aa, true)
  269. ui_set_visible(side_key, false)
  270. ui_set_visible(SlomoOpt_ref, true)
  271. ui_set_visible(nospreaddesnyc, false)
  272. ui_set_visible(brutemode, false)
  273. ui_set_visible(ManualMode, false)
  274. ui_set_visible(EvadeMode, false)
  275. ui_set_visible(Resolversploit, false)
  276. ui_set_visible(skeetsploit, false)
  277. ui_set_visible(indicatorbox, false)
  278. ui_set_visible(aimwaresploit, false)
  279. ui_set_visible(Custommode, false)
  280. ui_set_visible(Customangle1, false)
  281. ui_set_visible(Customangle2, false)
  282. ui_set_visible(jitterlegmove, true)
  283. ui_set_visible(colorpick, false)
  284. ui_set_visible(stepangle1, false)
  285. ui_set_visible(stepangle2, false)
  286. ui_set_visible(crooked_yaw, false)
  287. ui_set_visible(pre_crooked_yaw, false)
  288. ui_set_visible(crooked_mode, false)
  289. end
  290.  
  291. if page_num == 2 then
  292. ui_set_visible(FLM, false)
  293. ui_set_visible(Slowmo_ref, false)
  294. ui_set_visible(ID, false)
  295. ui_set_visible(aamodedesync, true)
  296. ui_set_visible(on_shot_aa, false)
  297. ui_set_visible(side_key, true)
  298. ui_set_visible(SlomoOpt_ref, false)
  299. ui_set_visible(nospreaddesnyc, false)
  300. ui_set_visible(Resolversploit, false)
  301. ui_set_visible(skeetsploit, false)
  302. ui_set_visible(indicatorbox, true)
  303. ui_set_visible(aimwaresploit, false)
  304. ui_set_visible(brutemode, false)
  305. ui_set_visible(Custommode, false)
  306. ui_set_visible(Customangle1, false)
  307. ui_set_visible(Customangle2, false)
  308. ui_set_visible(jitterlegmove, false)
  309. ui_set_visible(colorpick, true)
  310.  
  311. end
  312. if page_num == 3 then
  313. ui_set_visible(side_key, false)
  314. ui_set_visible(FLM, false)
  315. ui_set_visible(Slowmo_ref, false)
  316. ui_set_visible(ID, false)
  317. ui_set_visible(aamodedesync, false)
  318. ui_set_visible(on_shot_aa, false)
  319. ui_set_visible(side_key, false)
  320. ui_set_visible(SlomoOpt_ref, false)
  321. ui_set_visible(nospreaddesnyc, false)
  322. ui_set_visible(ManualMode, false)
  323. ui_set_visible(EvadeMode, false)
  324. ui_set_visible(Resolversploit, true)
  325. ui_set_visible(indicatorbox, false)
  326. ui_set_visible(jitterlegmove, false)
  327. ui_set_visible(colorpick, false)
  328. ui_set_visible(stepangle1, false)
  329. ui_set_visible(stepangle2, false)
  330. ui_set_visible(crooked_yaw, false)
  331. ui_set_visible(pre_crooked_yaw, false)
  332. ui_set_visible(crooked_mode, false)
  333.  
  334. end
  335.  
  336. if page_num == 4 then
  337. ui_set_visible(side_key, false)
  338. ui_set_visible(FLM, false)
  339. ui_set_visible(Slowmo_ref, false)
  340. ui_set_visible(ID, false)
  341. ui_set_visible(color_pick, false)
  342. ui_set_visible(aamodedesync, false)
  343. ui_set_visible(on_shot_aa, false)
  344. ui_set_visible(side_key, false)
  345. ui_set_visible(SlomoOpt_ref, false)
  346. ui_set_visible(nospreaddesnyc, true)
  347. ui_set_visible(lbymode, false)
  348. ui_set_visible(ManualMode, false)
  349. ui_set_visible(EvadeMode, false)
  350. ui_set_visible(Resolversploit, false)
  351. ui_set_visible(skeetsploit, false)
  352. ui_set_visible(indicatorbox, false)
  353. ui_set_visible(aimwaresploit, false)
  354. ui_set_visible(brutemode, false)
  355. ui_set_visible(Custommode, false)
  356. ui_set_visible(Customangle1, false)
  357. ui_set_visible(Customangle2, false)
  358. ui_set_visible(jitterlegmove, false)
  359. ui_set_visible(colorpick, false)
  360. ui_set_visible(crooked_yaw, false)
  361. ui_set_visible(pre_crooked_yaw, false)
  362. ui_set_visible(crooked_mode, false)
  363.  
  364.  
  365. end
  366.  
  367. end
  368. -- Indicators
  369. local function Arrows(ctp)
  370. local lifestate = entity_get_prop(entity.get_local_player(), "m_lifeState")
  371. selected2 = ui_get(aamodedesync)
  372. local screen_width, screen_height = client_screen_size()
  373. local screen_center_x, screen_center_y = screen_width * 0.5, screen_height * 0.497
  374. local r, g, b = ui_get(colorpick)
  375.  
  376. if lifestate == 0 then
  377. player_is_alive = true
  378. else
  379. player_is_alive = false
  380. end
  381.  
  382. if (player_is_alive) then
  383.  
  384. if (side == 1) then
  385. if ui_get(indicatorbox) == "Crosshair" then
  386.  
  387. renderer_text(screen_center_x + 40, screen_center_y, r, g, b, 220, "c+", 0, "►") --real
  388. renderer_text(screen_center_x - 40, screen_center_y, 255, 255, 255, 220, "c+", 0, "◄") --fake
  389. end
  390. if ui_get(indicatorbox) == "Bottom" then
  391. renderer.indicator(0, 0, 255, 255, "⮞")
  392. end
  393.  
  394.  
  395. else
  396.  
  397. if ui_get(indicatorbox) == "Crosshair" then
  398. renderer_text(screen_center_x - 40, screen_center_y, r, g, b, 220, "c+", 0, "◄") -- real
  399. renderer_text(screen_center_x + 40, screen_center_y, 255, 255, 255, 220, "c+", 0, "►") -- fake
  400. end
  401. if ui_get(indicatorbox) == "Bottom" then
  402. renderer.indicator(0, 0, 255, 255, "⮜")
  403. end
  404. end
  405.  
  406.  
  407. if (ui_get(Resolversploit) == "Universal") then
  408. if ui_get(universalmode) == "LBY" then
  409. if player_is_alive == true then
  410. if ui_get(fake_limit) > 2 and info_antiaim_status == "Standing" or info_antiaim_status == "Crouching" then
  411. renderer.indicator(104, 208, 102, 255, "LBY")
  412. else
  413. renderer.indicator(255, 0, 0, 255, "LBY")
  414. end
  415. end
  416. end
  417. end
  418.  
  419.  
  420. end
  421.  
  422.  
  423.  
  424.  
  425. end
  426.  
  427.  
  428. local function on_paint(ctx)
  429.  
  430. local lifestate = entity_get_prop(entity.get_local_player(), "m_lifeState")
  431. -- Use velx and vely to get true velocity
  432. local vel_x, vel_y = entity_get_prop( entity_get_local_player( ), "m_vecVelocity" )
  433. local vel_real = math_floor( math_min( 10000, math_sqrt( vel_x*vel_x + vel_y*vel_y ) + 0.5 ))
  434. -----------------------------------------
  435. local screen_width, screen_height = client_screen_size()
  436. local screen_center_x, screen_center_y = screen_width * 0.5, screen_height * 0.497
  437.  
  438.  
  439. if selected2 ~= "Off" then
  440.  
  441.  
  442. if contains(ui_get(ManualMode), "Real") then
  443. client_draw_text(ctx, screen_center_x-680, screen_center_y-20, 0, 200, 0, 100, "L", 0,"Evasion yaw:")
  444. client_draw_text(ctx, screen_center_x-610, screen_center_y-20, 0, 200, 0, 100, "L", 0, ui_get(EvadeMode))
  445. end
  446.  
  447. if contains(ui_get(ManualMode), "Fake") then
  448. client_draw_text(ctx, screen_center_x-680, screen_center_y-5, 0, 200, 0, 100, "L", 0,"Evasion fake yaw:")
  449.  
  450. if ui_get(lby_target) == "Eye yaw" then
  451. client_draw_text(ctx, screen_center_x-585, screen_center_y-5, 0, 200, 0, 150, "L", 0, "Safe")
  452. else
  453. client_draw_text(ctx, screen_center_x-585, screen_center_y-5, 200, 100, 0, 150, "L", 0, "Safe")
  454. end
  455.  
  456. end
  457.  
  458. if ui_get(Resolversploit) ~= "Off" then
  459. client_draw_text(ctx, screen_center_x-680, screen_center_y+10, 0, 200, 0, 100, "L", 0,"Exploit Mode: ", ui_get(Resolversploit))
  460. if ui_get(Resolversploit) == "Skeet" then
  461. client_draw_text(ctx, screen_center_x-580, screen_center_y+10, 0, 200, 0, 100, "L", 0, " --> ", ui_get(skeetsploit))
  462. end
  463. if ui_get(Resolversploit) == "Universal" then
  464. client_draw_text(ctx, screen_center_x-560, screen_center_y+10, 0, 200, 0, 100, "L", 0, " --> ")
  465. if ui_get(universalmode) == "LBY" then
  466. if ui_get(fake_limit) > 2 then
  467. client_draw_text(ctx, screen_center_x-535, screen_center_y+10, 0, 200, 0, 150, "L", 0, ui_get(universalmode))
  468. else
  469. client_draw_text(ctx, screen_center_x-535, screen_center_y+10, 200, 100, 0, 150, "L", 0, ui_get(universalmode))
  470. end
  471. else
  472. client_draw_text(ctx, screen_center_x-535, screen_center_y+10, 0, 200, 0, 150, "L", 0, ui_get(universalmode))
  473. end
  474. end
  475. end
  476.  
  477.  
  478.  
  479. client_draw_text(ctx, screen_center_x-680, screen_center_y-35, 0, 200, 0, 100, "L", 0,"AntiAim:")
  480. client_draw_text(ctx, screen_center_x-625, screen_center_y-35, 0, 200, 0, 100, "L", 0, selected2)
  481.  
  482. client_draw_text(ctx, screen_center_x-680, screen_center_y-50, 0, 200, 0, 100, "L", 0, "Current flag:")
  483. client_draw_text(ctx, screen_center_x-610, screen_center_y-50, 0, 200, 0, 100, "L", 0, info_antiaim_status)
  484. end
  485.  
  486.  
  487.  
  488.  
  489.  
  490. if (ui_get(aamodedesync) == "Manual" and page_num == 2) then
  491. ui_set_visible(ManualMode, true)
  492.  
  493. elseif (ui_get(aamodedesync) ~= "Manual") then
  494. ui_set_visible(ManualMode, false)
  495.  
  496. end
  497.  
  498. if (ui_get(aamodedesync) == "Crooked" and page_num == 2) then
  499. ui_set_visible(crooked_mode, true)
  500. if ui_get(crooked_mode) == "Static" then
  501. ui_set_visible(pre_crooked_yaw, true)
  502. ui_set_visible(crooked_yaw, true)
  503. else
  504. ui_set_visible(pre_crooked_yaw, false)
  505. ui_set_visible(crooked_yaw, false)
  506. end
  507. elseif (ui_get(aamodedesync) ~= "Crooked") then
  508. ui_set_visible(crooked_yaw, false)
  509. ui_set_visible(pre_crooked_yaw, false)
  510. ui_set_visible(crooked_mode, false)
  511. end
  512.  
  513.  
  514. if (ui_get(jitterlegmove)) then
  515. ui_set_visible(FLM, false)
  516. end
  517. if selected2 == "Manual" then
  518.  
  519. if page_num == 2 then
  520.  
  521. if contains(ui_get(ManualMode), "Real") then
  522. ui_set_visible(EvadeMode, true)
  523. else
  524. ui_set_visible(EvadeMode, false)
  525. end
  526.  
  527. if contains(ui_get(ManualMode), "Fake") then
  528. ui_set_visible(Fakespeed, true)
  529. else
  530. ui_set_visible(Fakespeed, false)
  531. end
  532.  
  533. else
  534. ui_set_visible(EvadeMode, false)
  535. ui_set_visible(Fakespeed, false)
  536.  
  537. end
  538. else
  539. ui_set_visible(EvadeMode, false)
  540. ui_set_visible(Fakespeed, false)
  541. end
  542.  
  543.  
  544. if (ui_get(Resolversploit) == "Skeet") then
  545. if (page_num == 3) then
  546. ui_set_visible(skeetsploit, true)
  547. else
  548. ui_set_visible(skeetsploit, false)
  549. end
  550.  
  551. else
  552. ui_set_visible(skeetsploit, false)
  553. end
  554. if (ui_get(Resolversploit) == "Aimware") then
  555. if (page_num == 3) then
  556. ui_set_visible(aimwaresploit, true)
  557. else
  558. ui_set_visible(aimwaresploit, false)
  559. end
  560.  
  561. else
  562. ui_set_visible(aimwaresploit, false)
  563. end
  564.  
  565. if (ui_get(Resolversploit) == "Universal") then
  566. if (page_num == 3) then
  567. ui_set_visible(universalmode, true)
  568. else
  569. ui_set_visible(universalmode, false)
  570. end
  571.  
  572. else
  573. ui_set_visible(universalmode, false)
  574. end
  575.  
  576. if (ui_get(Resolversploit) == "Break Bruteforce") then
  577. if (page_num == 3) then
  578. ui_set_visible(brutemode, true)
  579. else
  580. ui_set_visible(brutemode, false)
  581. end
  582.  
  583. else
  584. ui_set_visible(brutemode, false)
  585. end
  586.  
  587. if (ui_get(Resolversploit) == "Custom") then
  588. if (page_num == 3) then
  589. ui_set_visible(Custommode, true)
  590. if ui_get(Custommode) == "Jitter" then
  591. ui_set_visible(Customangle1, true)
  592. ui_set_visible(Customangle2, true)
  593. elseif ui_get(Custommode) == "Static" then
  594. ui_set_visible(Customangle1, true)
  595. ui_set_visible(Customangle2, false)
  596. end
  597. else
  598. ui_set_visible(Custommode, false)
  599. ui_set_visible(Customangle1, false)
  600. ui_set_visible(Customangle2, false)
  601. end
  602.  
  603.  
  604. else
  605. ui_set_visible(Custommode, false)
  606. ui_set_visible(Customangle1, false)
  607. ui_set_visible(Customangle2, false)
  608. end
  609.  
  610. if (ui_get(aamodedesync) == "Step") then
  611. if (page_num == 2) then
  612. ui_set_visible(stepangle1, true)
  613. ui_set_visible(stepangle2, true)
  614. else
  615. ui_set_visible(stepangle1, false)
  616. ui_set_visible(stepangle2, false)
  617. end
  618.  
  619.  
  620. else
  621. ui_set_visible(stepangle1, false)
  622. ui_set_visible(stepangle2, false)
  623. end
  624.  
  625.  
  626. end
  627.  
  628.  
  629.  
  630.  
  631. local function spreadAA(e)
  632.  
  633. local vel_x, vel_y = entity_get_prop( entity_get_local_player( ), "m_vecVelocity" )
  634. local vel_real = math_floor( math_min( 10000, math_sqrt( vel_x*vel_x + vel_y*vel_y ) + 0.5 ))
  635. selected2 = ui_get(aamodedesync)
  636.  
  637. if ui_get(side_key) == true then
  638. side = 1
  639. else
  640. side = 0
  641. end
  642.  
  643.  
  644.  
  645. if globals_realtime() >= spamtime and ui_get(espamkey) == true then
  646.  
  647. if ui_get(espamspeed) == "Slow" then
  648. client_delay_call(0.1, client.exec, "+use")
  649. client_delay_call(0.2, client.exec, "-use")
  650. spamtime = globals_realtime() + 0.2
  651. end
  652. if ui_get(espamspeed) == "Fast" then
  653. client_delay_call(0.01, client.exec, "+use")
  654. client_delay_call(0.02, client.exec, "-use")
  655. spamtime = globals_realtime() + 0.02
  656. end
  657. if ui_get(espamspeed) == "Exploit Pitch" then
  658. client_delay_call(0.005, client.exec, "-use")
  659. client_delay_call(0.01, client.exec, "+use")
  660. spamtime = globals_realtime() + 0.01
  661. end
  662. else
  663.  
  664. end
  665.  
  666.  
  667. if globals_realtime() >= legtime and ui_get(jitterlegmove) then
  668.  
  669.  
  670. client_delay_call(0.01, ui_set, FLM, true)
  671. client_delay_call(0.02, ui_set, FLM, false)
  672. legtime = globals_realtime() + 0.02
  673. end
  674.  
  675.  
  676.  
  677.  
  678.  
  679. if globals_realtime() >= delay_time and side == 0 and selected2 == "Manual" then
  680.  
  681. if (antiresolve) then
  682. if ui_get(EvadeMode) == "Lean" then
  683. ui_set(fake_slider, 90)
  684. ui_set(yaw_slider, 30)
  685. antiresolve = false
  686. delay_time = globals_realtime() + 1
  687. elseif ui_get(EvadeMode) == "Static" then
  688. ui_set(fake_slider, -90)
  689. ui_set(yaw_slider, -12)
  690. antiresolve = false
  691. delay_time = globals_realtime() + 1
  692. elseif ui_get(EvadeMode) == "Far" then
  693. ui_set(fake_slider, -90)
  694. ui_set(yaw_slider, 45)
  695. antiresolve = false
  696. delay_time = globals_realtime() + .5
  697. end
  698. else
  699. ui_set(yaw, "180")
  700. ui_set(fyaw, "Static")
  701. ui_set(yaw_slider, 0)
  702. ui_set(fake_slider, 90)
  703. delay_time = globals_realtime() + 0.5
  704. end
  705.  
  706.  
  707. elseif globals_realtime() >= delay_time and side == 1 and selected2 == "Manual" then
  708. if (antiresolve) then
  709. if ui_get(EvadeMode) == "Lean" then
  710. ui_set(fake_slider, -90)
  711. ui_set(yaw_slider, -30)
  712. antiresolve = false
  713. delay_time = globals_realtime() + 1
  714. elseif ui_get(EvadeMode) == "Static" then
  715. ui_set(fake_slider, 90)
  716. ui_set(yaw_slider, 12)
  717. antiresolve = false
  718. delay_time = globals_realtime() + 1
  719. elseif ui_get(EvadeMode) == "Far" then
  720. ui_set(fake_slider, 90)
  721. ui_set(yaw_slider, -45)
  722. antiresolve = false
  723. delay_time = globals_realtime() + .5
  724. end
  725. else
  726.  
  727.  
  728. ui_set(yaw, "180")
  729. ui_set(fyaw, "Static")
  730. ui_set(yaw_slider, -15)
  731. ui_set(fake_slider, -90)
  732.  
  733. delay_time = globals_realtime() + 0.5
  734. end
  735.  
  736.  
  737. end
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745. if globals_realtime() >= inverse_time and contains(ui_get(ManualMode), "Fake") then
  746.  
  747. if selected2 == "Manual" then
  748. if ui_get(Fakespeed) == "Default" then
  749. client_delay_call(0.5, ui_set, lby_target, "Opposite")
  750. client_delay_call(1, ui_set, lby_target, "Eye yaw")
  751. inverse_time = globals_realtime() + 1
  752. end
  753. if ui_get(Fakespeed) == "Fast" then
  754. client_delay_call(0.25, ui_set, lby_target, "Opposite")
  755. client_delay_call(0.5, ui_set, lby_target, "Eye yaw")
  756. inverse_time = globals_realtime() + 0.5
  757. end
  758. if ui_get(Fakespeed) == "Experimental" then
  759. client_delay_call(0.1, ui_set, lby_target, "Opposite")
  760. client_delay_call(0.2, ui_set, lby_target, "Eye yaw")
  761. inverse_time = globals_realtime() + 0.2
  762. end
  763.  
  764. end
  765.  
  766. end
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773. if globals_realtime() >= delay_time and side == 0 and selected2 == "Triple Hitbox" then
  774. ui_set(yaw, "180")
  775. ui_set(fyaw, "Static")
  776. ui_set(fake_slider, 90)
  777.  
  778. client_delay_call(0.05, ui_set, yaw_slider, 150)
  779. client_delay_call(0.1, ui_set, yaw_slider, -150)
  780.  
  781.  
  782.  
  783. delay_time = globals_realtime() + 0.1
  784. end
  785.  
  786. if globals_realtime() >= delay_time and side == 1 and selected2 == "Triple Hitbox" then
  787. ui_set(yaw, "180")
  788. ui_set(fyaw, "Static")
  789. ui_set(fake_slider, 90)
  790.  
  791. client_delay_call(0.05, ui_set, yaw_slider, 30)
  792. client_delay_call(0.01, ui_set, yaw_slider, -30)
  793.  
  794.  
  795.  
  796. delay_time = globals_realtime() + 0.1
  797. end
  798.  
  799. if globals_realtime() >= delay_time and selected2 == "Crooked" then
  800. if ui_get(crooked_mode) == "Static" then
  801. if vel_real <= 70 then
  802. ui_set(yaw_slider, ui_get(crooked_yaw))
  803. if ui_get(crooked_yaw) > 0 then
  804. ui_set(fake_slider, -90)
  805. else
  806. ui_set(fake_slider, 90)
  807. end
  808. else
  809. ui_set(yaw_slider, ui_get(pre_crooked_yaw))
  810. if ui_get(pre_crooked_yaw) > 0 then
  811. ui_set(fake_slider, -90)
  812. else
  813. ui_set(fake_slider, 90)
  814. end
  815. end
  816. end
  817.  
  818. if ui_get(crooked_mode) == "Manual" then
  819. if vel_real <= 70 then
  820. if side == 0 then
  821. ui_set(yaw_slider, client_random_int(0, 30))
  822. ui_set(fake_slider, -90)
  823. elseif side == 1 then
  824. ui_set(yaw_slider, client_random_int(-30, 0))
  825. ui_set(fake_slider, 90)
  826. end
  827. else
  828. if side == 0 then
  829. ui_set(yaw_slider, -30)
  830. ui_set(fake_slider, 90)
  831. elseif side == 1 then
  832. ui_set(yaw_slider, 30)
  833. ui_set(fake_slider, -90)
  834. end
  835. end
  836. end
  837.  
  838. delay_time = globals_realtime() + 0.1
  839. end
  840.  
  841.  
  842.  
  843. end
  844.  
  845.  
  846.  
  847. local function Anti_resolver()
  848.  
  849. if ui_get(Resolversploit) == "Off" then
  850. ui_set(fake_limit, 47)
  851. end
  852.  
  853.  
  854. if ui_get(Resolversploit) == "Skeet" then
  855.  
  856. if ui_get(skeetsploit) == "Jitter" then
  857. if globals_realtime() >= exploittimer then
  858. client_delay_call(0.1, ui_set, fake_limit, 35)
  859. client_delay_call(0.2, ui_set, fake_limit, 47)
  860. exploittimer = globals_realtime() + 0.2
  861. end
  862. end
  863. if ui_get(skeetsploit) == "Onetap" then
  864. if globals_realtime() >= exploittimer then
  865. client_delay_call(0.5, ui_set, fake_limit, 35)
  866. client_delay_call(1, ui_set, fake_limit, 25)
  867. exploittimer = globals_realtime() + 1
  868. end
  869. end
  870.  
  871. end
  872.  
  873.  
  874. if ui_get(Resolversploit) == "Universal" then
  875.  
  876. if ui_get(universalmode) == "Phaze" then
  877. if globals_realtime() >= exploittimer then
  878. client_delay_call(.1, ui_set, fake_limit, 10)
  879. client_delay_call(.2, ui_set, fake_limit, 20)
  880. client_delay_call(.3, ui_set, fake_limit, 40)
  881. client_delay_call(.4, ui_set, fake_limit, 50)
  882. exploittimer = globals_realtime() + 0.4
  883. end
  884. end
  885. if ui_get(universalmode) == "LBY" then
  886. if globals_realtime() >= exploittimer then
  887. client_delay_call(.1, ui_set, fake_limit, 58)
  888. client_delay_call(1.1, ui_set, fake_limit, 1)
  889. exploittimer = globals_realtime() + 1.1
  890. end
  891. end
  892.  
  893. end
  894.  
  895. if ui_get(Resolversploit) == "Break Bruteforce" then
  896.  
  897. if ui_get(brutemode) == "Slow" then
  898. if globals_realtime() >= exploittimer then
  899. client_delay_call(0.1, ui_set, fake_limit, 47)
  900. client_delay_call(1.1, ui_set, fake_limit, 2)
  901. exploittimer = globals_realtime() + 1.1
  902. end
  903. end
  904.  
  905. if ui_get(brutemode) == "Fast" then
  906. if globals_realtime() >= exploittimer then
  907. client_delay_call(0.1, ui_set, fake_limit, 47)
  908. client_delay_call(0.5, ui_set, fake_limit, 2)
  909. exploittimer = globals_realtime() + 0.5
  910. end
  911. end
  912.  
  913. if ui_get(brutemode) == "Jitter" then
  914. if globals_realtime() >= exploittimer then
  915. client_delay_call(0.1, ui_set, fake_limit, 47)
  916. client_delay_call(0.2, ui_set, fake_limit, 2)
  917. exploittimer = globals_realtime() + 0.2
  918. end
  919. end
  920.  
  921. end
  922.  
  923. if ui_get(Resolversploit) == "Custom" then
  924.  
  925. if ui_get(Custommode) == "Jitter" then
  926. if globals_realtime() >= exploittimer then
  927. client_delay_call(.1, ui_set, fake_limit, ui_get(Customangle1))
  928. client_delay_call(.2, ui_set, fake_limit, ui_get(Customangle2))
  929. exploittimer = globals_realtime() + 0.2
  930. end
  931. end
  932.  
  933. if ui_get(Custommode) == "Static" then
  934. if globals_realtime() >= exploittimer then
  935. client_delay_call(.1, ui_set, fake_limit, ui_get(Customangle1))
  936. exploittimer = globals_realtime() + 0.1
  937. end
  938. end
  939.  
  940. end
  941. end
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961. --
  962. --- Start Nospread anti-aims
  963. --
  964. local function nospreadAA(e2)
  965. selected3 = ui_get(nospreaddesnyc)
  966.  
  967.  
  968. if globals_realtime() >= delay_time and selected3 == "Verse" then
  969. ui_set(yaw, "180")
  970. ui_set(fyaw, "Static")
  971.  
  972. client_delay_call(0.01, ui_set, yaw_slider, client.random_int(-58, 0))
  973. client_delay_call(0.015, ui_set, fake_slider, ui_get(yaw_slider))
  974. client_delay_call(0.02, ui_set, yaw_slider, client.random_int(0, 58))
  975.  
  976.  
  977.  
  978. delay_time = globals_realtime() + 0.02
  979. end
  980.  
  981. if globals_realtime() >= delay_time and selected3 == "Half back" then
  982. ui_set(yaw, "180")
  983. ui_set(fyaw, "Static")
  984. ui_set(fake_slider, 0)
  985.  
  986. client_delay_call(0.01, ui_set, yaw_slider, 90)
  987. client_delay_call(0.02, ui_set, yaw_slider, -90)
  988. client_delay_call(0.03, ui_set, yaw_slider, 30)
  989. client_delay_call(0.04, ui_set, yaw_slider, -30)
  990. client_delay_call(0.05, ui_set, yaw_slider, 12)
  991.  
  992. delay_time = globals_realtime() + 0.05
  993. end
  994.  
  995.  
  996. end
  997.  
  998.  
  999. local function main(hide)
  1000. if selected2 ~= "Off" then
  1001.  
  1002. ui_set_visible(fake_slider, false)
  1003. ui_set_visible(fake_limit, false)
  1004. ui_set_visible(yaw_slider, false)
  1005.  
  1006. elseif selected2 == "Off" then
  1007.  
  1008. ui_set_visible(fake_slider, true)
  1009. ui_set_visible(fake_limit, true)
  1010. ui_set_visible(fake_slider, true)
  1011. end
  1012. end
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020. local function on_shot(e)
  1021. if (client_userid_to_entindex(e.userid) == entity_get_local_player() and contains(ui_get(ManualMode), "Real") and ui_get(EvadeMode) ~= "Off") then
  1022. antiresolve = true
  1023. end
  1024. if (client_userid_to_entindex(e.userid) == entity_get_local_player()) then
  1025. if ui_get(Resolversploit) == "Aimware" then
  1026. if contains(ui_get(aimwaresploit), "Shooting") then
  1027. client_delay_call(0.1, ui_set, pitch, "Off")
  1028. client_delay_call(.5, ui_set, pitch, "Down")
  1029. end
  1030. end
  1031. end
  1032. end
  1033.  
  1034. local function stepaa(e)
  1035. if (client_userid_to_entindex(e.userid) == entity_get_local_player() and ui_get(aamodedesync) == "Step") then
  1036. if ui.get(yaw_slider) < 0 then
  1037. ui_set(yaw_slider, ui_get(stepangle1))
  1038. ui.set(fake_slider, -90)
  1039. elseif ui.get(yaw_slider) > 0 then
  1040. ui_set(yaw_slider, ui_get(stepangle2))
  1041. ui.set(fake_slider, 90)
  1042. end
  1043. end
  1044. end
  1045.  
  1046. local function jumpaa(e)
  1047. if (client_userid_to_entindex(e.userid) == entity_get_local_player()) then
  1048. if ui_get(Resolversploit) == "Aimware" then
  1049. if contains(ui_get(aimwaresploit), "Jump") then
  1050. client_delay_call(0.1, ui_set, pitch, "Off")
  1051. client_delay_call(.5, ui_set, pitch, "Down")
  1052. end
  1053. end
  1054. end
  1055.  
  1056. if (client_userid_to_entindex(e.userid) == entity_get_local_player() and ui_get(nospreaddesnyc) == "Crooked") then
  1057. ui_set(yaw_slider, client.random_int(-180, 180))
  1058. end
  1059.  
  1060.  
  1061.  
  1062. end
  1063.  
  1064.  
  1065.  
  1066. client.set_event_callback('paint', New_menu)
  1067. client.set_event_callback('paint', Arrows)
  1068. client.set_event_callback('paint', spreadAA)
  1069. client.set_event_callback('paint', nospreadAA)
  1070. client.set_event_callback('paint', while_timings)
  1071. client.set_event_callback('paint', on_paint)
  1072. client.set_event_callback('paint', main)
  1073. client.set_event_callback("player_hurt", aa_change)
  1074. client.set_event_callback('weapon_fire', on_shot)
  1075. client.set_event_callback("round_prestart", prestart)
  1076. client.set_event_callback("player_footstep", stepaa)
  1077. client.set_event_callback("player_jump", jumpaa)
  1078. client.set_event_callback("paint", Anti_resolver)
  1079. local forward = ui_new_button("AA", "Other", "Next", add_page)
  1080. local back = ui_new_button("AA", "Other", "Back", subtract_page)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement