Advertisement
Guest User

Untitled

a guest
May 24th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. local yawjitter, yawjitter_s = ui.reference("AA", "Anti-aimbot angles", "Yaw Jitter")
  2. local yaw, yaw_s = ui.reference("AA", "Anti-aimbot angles", "Yaw")
  3. local ui_get = ui.get
  4. local body_yaw, body_yaw_s = ui.reference("AA", "Anti-aimbot angles", "Body Yaw")
  5. local fakeyawlimit = ui.reference("aa", "anti-aimbot angles", "Fake yaw limit")
  6. local dumper = ui.new_checkbox("AA", "Other", "Dump antiaim")
  7. local by, bys, y, ys, yj, yjs, fyl
  8.  
  9. local function dump_aa(a)
  10. local a1 = ui_get(body_yaw)
  11. local a2 = ui_get(body_yaw_s)
  12. local a3 = ui_get(yaw)
  13. local a4 = ui_get(yaw_s)
  14. local a5 = ui_get(yawjitter)
  15. local a6 = ui_get(yawjitter_s)
  16. local a7 = ui_get(fakeyawlimit)
  17. if (ui.get(dumper)) then
  18. if (a == 1) then
  19. client.log("Body Yaw was updated to: " .. a1)
  20. elseif (a == 2) then
  21. client.log("Body Yaw's slider updated to: " .. a2)
  22. elseif (a ==3) then
  23. client.log("Yaw updated to: " .. a3)
  24. elseif (a == 4) then
  25. client.log ("Yaw's slider updated to: " .. a4)
  26. elseif (a == 5) then
  27. client.log("Yaw Jitter updated to: " .. a5)
  28. elseif (a == 6) then
  29. client.log("Yaw Jitter's slider updated to: " .. a6)
  30. elseif (a == 7) then
  31. client.log("Fake Yaw Limit has updated to: " .. a7)
  32. end
  33. end
  34. end
  35. local function on_paint(ctx)
  36. if (ui.get(dumper)) then
  37. if not (by == ui_get(body_yaw)) then
  38. by = ui_get(body_yaw)
  39. dump_aa(1)
  40. end
  41. if (bys ~= ui_get(body_yaw_s)) then
  42. bys = ui_get(body_yaw_s)
  43. dump_aa(2)
  44. end
  45. if(y ~= ui_get(yaw)) then
  46. y = ui_get(yaw)
  47. dump_aa(3)
  48. end
  49. if (ys ~= ui_get(yaw_s)) then
  50. ys = ui_get(yaw_s)
  51. dump_aa(4)
  52. end
  53. if (yj ~= ui_get(yawjitter)) then
  54. yj = ui_get(yawjitter)
  55. dump_aa(5)
  56. end
  57. if (yjs ~= ui_get(yawjitter_s)) then
  58. yjs = ui_get(yawjitter_s)
  59. dump_aa(6)
  60. end
  61. if (fyl ~= ui_get(fakeyawlimit)) then
  62. fyl = ui_get(fakeyawlimit)
  63. dump_aa(7)
  64. end
  65. ui.set_visible(body_yaw, true)
  66. ui.set_visible(body_yaw_s, true)
  67. ui.set_visible(yaw, true)
  68. ui.set_visible(yaw_s, true)
  69. ui.set_visible(yawjitter, true)
  70. ui.set_visible(yawjitter_s, true)
  71. ui.set_visible(fakeyawlimit, true)
  72. end
  73. end
  74.  
  75.  
  76. client.set_event_callback("paint", on_paint)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement