Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
2,368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.99 KB | None | 0 0
  1. Desync Break fat
  2. --------------------------------------------------------------------------------------------------------------------------------------
  3.  
  4. local delay = 0.0456
  5. local timer = timer or {}
  6. local timers = {}
  7. math.randomseed(os.clock(12983618273123))
  8.  
  9.  
  10. function timer.Create(name, delay, times, func)
  11.  
  12. table.insert(timers, {["name"] = name, ["delay"] = delay, ["times"] = times, ["func"] = func, ["lastTime"] = globals.RealTime()})
  13.  
  14. end
  15.  
  16. function timer.Remove(name)
  17.  
  18. for k,v in pairs(timers or {}) do
  19.  
  20. if (name == v["name"]) then table.remove(timers, k) end
  21.  
  22. end
  23.  
  24. end
  25.  
  26. function timer.Tick()
  27.  
  28. for k,v in pairs(timers or {}) do
  29.  
  30. if (v["times"] <= 0) then table.remove(timers, k) end
  31.  
  32. if (v["lastTime"] + v["delay"] <= globals.RealTime()) then
  33. timers[k]["lastTime"] = globals.RealTime()
  34. timers[k]["times"] = timers[k]["times"] - 111
  35. v["func"]()
  36. end
  37.  
  38. end
  39.  
  40. end
  41.  
  42. callbacks.Register( "Draw", "timer.Tick", timer.Tick);
  43.  
  44.  
  45. timer.Create("Gay", 1, 2, function() Gay1() end)
  46.  
  47.  
  48. function Gay1()
  49. timer.Create("Gay1", delay, .01, function()
  50. gui.SetValue("rbot_antiaim_stand_desync", 2);
  51. gui.SetValue("rbot_antiaim_move_desync", 2);
  52. --gui.SetValue( "msc_slowwalkspeed", .0666 )
  53. Gay2()
  54. end)
  55. end
  56.  
  57.  
  58. function Gay2()
  59. timer.Create("Gay2", delay, .01, function()
  60. gui.SetValue("rbot_antiaim_stand_desync", 3);
  61. gui.SetValue("rbot_antiaim_move_desync", 3);
  62. --gui.SetValue( "msc_slowwalkspeed", .0666 )
  63. Gay1()
  64. end)
  65. end
  66.  
  67. God aa lua
  68. ------------------------------------------------------------------------------------------------------------------------------------
  69.  
  70. local swap = 1
  71. function Unhittable_Head()
  72. local entity = entities.GetLocalPlayer();
  73. if entity ~= nil then
  74. local alive = entity:IsAlive();
  75. local health = entity:GetHealth();
  76. if (alive == true and health > 0) then
  77. if(gui.GetValue("rbot_antiaim_enable")) then
  78. if(swap == 1) then
  79. gui.SetValue("rbot_antiaim_stand_real_add", 45);
  80. gui.SetValue("rbot_antiaim_move_real_add", 45);
  81. gui.SetValue("rbot_antiaim_edge_real_add", 45);
  82. swap = 2
  83. elseif (swap == 2) then
  84. gui.SetValue("rbot_antiaim_stand_real_add", 0);
  85. gui.SetValue("rbot_antiaim_move_real_add", 0);
  86. gui.SetValue("rbot_antiaim_edge_real_add", 0);
  87. swap = 3
  88. else
  89. gui.SetValue("rbot_antiaim_stand_real_add", -45);
  90. gui.SetValue("rbot_antiaim_move_real_add", -45);
  91. gui.SetValue("rbot_antiaim_edge_real_add", -45);
  92. swap = 1
  93. end
  94. end
  95. end
  96. end
  97. end
  98. callbacks.Register('CreateMove', 'Unhittable_Head', Unhittable_Head)
  99.  
  100. Buybot
  101. ------------------------------------------------------------------------------------------------------------------------------------
  102.  
  103. local ref = gui.Reference("MISC", "AUTOMATION", "Other");
  104. local showMenu = gui.Checkbox(ref, "rab_autobuy_showmenu", "Show Auto Buy Menu", false);
  105. local menuPressed = 1;
  106. local primaryWeapons = {
  107. {"None", nil};
  108. { "SCAR 20 | G3SG1", "scar20" };
  109. { "SSG 008", "ssg08" };
  110. { "AWP", "awp" };
  111. { "G3 SG1 | AUG", "sg556" };
  112. { "AK 47 | M4A1", "ak47" };
  113. };
  114. local secondaryWeapons = {
  115. {"None", nil};
  116. { "Dual Elites", "elite" };
  117. { "Desert Eagle | R8 Revolver", "deagle" };
  118. { "Five Seven | Tec 9", "tec9" };
  119. { "P250", "p250" };
  120. };
  121. local armors = {
  122. { "None", nil, nil };
  123. { "Kevlar Vest", "vest", nil };
  124. { "Kevlar Vest + Helmet", "vest", "vesthelm" };
  125. };
  126. local granades = {
  127. { "None", nil, nil };
  128. { "Grenade", "hegrenade", nil };
  129. { "Flashbang", "flashbang", nil };
  130. { "Smoke Grenade", "smokegrenade", nil };
  131. { "Decoy Grenade", "decoy", nil };
  132. { "Molotov | Incindiary Grenade", "molotov", "incgrenade" };
  133. };
  134. local mainWindow = gui.Window("rab_autobuy", "Auto Buy", 200, 200, 250, 554);
  135. local autoBuyGroup = gui.Groupbox(mainWindow, "Settings", 15, 15, 220, 480);
  136. local enabled = gui.Checkbox(autoBuyGroup, "rab_autobuy_masterswitch", "Enabled Auto Buy", false);
  137. local printLogs = gui.Checkbox(autoBuyGroup, "rab_autobuy_printlogs", "Print Logs To Aimware Console", false);
  138. local concatCommand = gui.Checkbox(autoBuyGroup, "rab_autobuy_concat", "Concact Buy Command", false);
  139. concatCommand:SetValue(true);
  140. local primaryWeaponSelection = gui.Combobox(autoBuyGroup, "rab_autobuy_primary_weapon", "Primary Weapon", primaryWeapons[1][1], primaryWeapons[2][1], primaryWeapons[3][1], primaryWeapons[4][1], primaryWeapons[5][1], primaryWeapons[6][1]);
  141. local secondaryWeaponSelection = gui.Combobox(autoBuyGroup, "rab_autobuy_secondary_weapon", "Secondary Weapon", secondaryWeapons[1][1], secondaryWeapons[2][1], secondaryWeapons[3][1], secondaryWeapons[4][1], secondaryWeapons[5][1]);
  142. local armorSelection = gui.Combobox(autoBuyGroup, "rab_autobuy_armor", "Armor", armors[1][1], armors[2][1], armors[3][1]);
  143. armorSelection:SetValue(2);
  144. local granadeSlot1 = gui.Combobox(autoBuyGroup, "rab_autobuy_grenade_slot_1", "Grenade Slot #1", granades[1][1], granades[2][1], granades[3][1], granades[4][1], granades[5][1], granades[6][1]);
  145. granadeSlot1:SetValue(1);
  146. local granadeSlot2 = gui.Combobox(autoBuyGroup, "rab_autobuy_grenade_slot_2", "Grenade Slot #2", granades[1][1], granades[2][1], granades[3][1], granades[4][1], granades[5][1], granades[6][1]);
  147. granadeSlot2:SetValue(3);
  148. local granadeSlot3 = gui.Combobox(autoBuyGroup, "rab_autobuy_grenade_slot_3", "Grenade Slot #3", granades[1][1], granades[2][1], granades[3][1], granades[4][1], granades[5][1], granades[6][1]);
  149. granadeSlot3:SetValue(5);
  150. local granadeSlot4 = gui.Combobox(autoBuyGroup, "rab_autobuy_grenade_slot_4", "Grenade Slot #4", granades[1][1], granades[2][1], granades[3][1], granades[4][1], granades[5][1], granades[6][1]);
  151. granadeSlot4:SetValue(2);
  152. local taser = gui.Checkbox(autoBuyGroup, "rab_autobuy_taser", "Buy Taser", false);
  153. local defuseKit = gui.Checkbox(autoBuyGroup, "rab_autobuy_defusekit", "Buy Defuse Kit", false);
  154. gui.Text(mainWindow, "Auto Buy - Made By Rab(SamzSakerz#4758)");
  155.  
  156. local function getSingleTableItem(selection, table)
  157. return table[selection:GetValue() + 1][2];
  158. end
  159.  
  160. local function getMultiTableItems(seletion, table)
  161. local table = table[seletion:GetValue() + 1];
  162. return { table[2], table[3] };
  163. end
  164.  
  165. local function insertToTableNonNull(tableToInsertTo, table1)
  166. for i = 1, #table1 do
  167. local item = table1[i];
  168. if (item ~= nil) then
  169. table.insert(tableToInsertTo, item);
  170. end
  171. end
  172. end
  173.  
  174. local function inserToTableBool(tableToInserTo, bool, itemToInsert)
  175. if (bool:GetValue()) then
  176. table.insert(tableToInserTo, itemToInsert);
  177. end
  178. end
  179.  
  180. local function buy(items, concat)
  181. local buyCommand = '';
  182. for i = 1, #items do
  183. local item = items[i];
  184. if (concat) then
  185. buyCommand = buyCommand .. 'buy "' .. item .. '"; ';
  186. else
  187. if (printLogs:GetValue()) then
  188. print('Bought x1 ' .. item);
  189. end;
  190. client.Command('buy "' .. item .. '";', true);
  191. end;
  192. end;
  193. if (buyCommand ~= '') then
  194. if (printLogs:GetValue()) then
  195. print('Bought x' .. #items .. ' items');
  196. end;
  197. client.Command(buyCommand);
  198. end;
  199. end
  200.  
  201. callbacks.Register('FireGameEvent', function(e)
  202. local lp, en, ui = entities.GetLocalPlayer(), e:GetName(), client.GetPlayerIndexByUserID(e:GetInt('userid'));
  203. if (enabled:GetValue() ~= true or lp == nil or en ~= "player_spawn" or ui ~= lp:GetIndex()) then return
  204. end;
  205. local stuffToBuy = {};
  206. table.insert(stuffToBuy, getSingleTableItem(primaryWeaponSelection, primaryWeapons))
  207. table.insert(stuffToBuy, getSingleTableItem(secondaryWeaponSelection, secondaryWeapons));
  208. insertToTableNonNull(stuffToBuy, getMultiTableItems(armorSelection, armors));
  209. inserToTableBool(stuffToBuy, defuseKit, 'defuser');
  210. insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot1, granades));
  211. insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot2, granades));
  212. insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot3, granades));
  213. insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot4, granades));
  214. inserToTableBool(stuffToBuy, taser, 'taser');
  215. buy(stuffToBuy, concatCommand:GetValue());
  216. end);
  217.  
  218.  
  219. callbacks.Register("Draw", function()
  220. if input.IsButtonPressed(gui.GetValue("msc_menutoggle")) then
  221. menuPressed = menuPressed == 0 and 1 or 0;
  222. end
  223. if (showMenu:GetValue()) then
  224. mainWindow:SetActive(menuPressed);
  225. else
  226. mainWindow:SetActive(0);
  227. end
  228. end);
  229.  
  230. client.AllowListener("player_spawn");
  231.  
  232. Headbaim
  233. ------------------------------------------------------------------------------------------------------------------------------------
  234.  
  235. local rage_ref = gui.Reference("RAGE", "MAIN","AIMBOT")
  236.  
  237. local BaimKey = gui.Keybox( rage_ref, "BaimKey", "BaimKey", 0 )
  238. local HeadKey = gui.Keybox( rage_ref, "HeadKey", "HeadKey", 0 )
  239.  
  240. -- FBH lua
  241. local autosniper_head, autosniper_neck, autosniper_chest, autosniper_stomach, autosniper_pelvis, autosniper_hitbox, autosniper_ifwalk, autosniper_priority -- AutoSniper
  242. local Sniper_head, Sniper_neck, Sniper_chest, Sniper_stomach, Sniper_pelvis, Sniper_hitbox, Sniper_ifwalk, Sniper_priority -- Sniper
  243. local scout_head, scout_neck, scout_chest, scout_stomach, scout_pelvis, scout_hitbox, scout_ifwalk, scout_priority -- Scout
  244. local pistol_head, pistol_neck, pistol_chest, pistol_stomach, pistol_pelvis, pistol_hitbox, pistol_ifwalk, pistol_priority -- Pistol
  245. local revolver_head, revolver_neck, revolver_chest, revolver_stomach, revolver_pelvis, revolver_hitbox, revolver_ifwalk, revolver_priority -- Revolver
  246. local BaimIfshots, BaimIfHp, HeadAim, autosniper_priority, FakeLatencyEn, FakeLatencyAmount, posadj, autodir -- Other
  247.  
  248.  
  249. local RenderFontHB = draw.CreateFont("Tahoma", 25, 1300)
  250.  
  251. local OnlyBaim = false
  252. local OnlyHead = false
  253.  
  254.  
  255. function SetHeadValues()
  256. gui.SetValue('rbot_autosniper_hitbox_head', 1)
  257. gui.SetValue('rbot_autosniper_hitbox_neck', 0)
  258. gui.SetValue('rbot_autosniper_hitbox_chest', 0)
  259. gui.SetValue('rbot_autosniper_hitbox_stomach', 0)
  260. gui.SetValue('rbot_autosniper_hitbox_pelvis', 0)
  261. gui.SetValue('rbot_autosniper_hitbox', 0)
  262. gui.SetValue('rbot_autosniper_hitbox_legs', 0)
  263. gui.SetValue('rbot_autosniper_headifwalking', 1)
  264.  
  265.  
  266.  
  267. -- Scout
  268. gui.SetValue('rbot_scout_hitbox_head', 1)
  269. gui.SetValue('rbot_scout_hitbox_neck', 0)
  270. gui.SetValue('rbot_scout_hitbox_chest', 0)
  271. gui.SetValue('rbot_scout_hitbox_stomach', 0)
  272. gui.SetValue('rbot_scout_hitbox_pelvis', 0)
  273. gui.SetValue('rbot_scout_hitbox', 0)
  274. gui.SetValue('rbot_scout_hitbox_legs', 0)
  275. gui.SetValue('rbot_scout_headifwalking', 1)
  276.  
  277. -- Sniper
  278. gui.SetValue('rbot_Sniper_hitbox_head', 1)
  279. gui.SetValue('rbot_Sniper_hitbox_neck', 0)
  280. gui.SetValue('rbot_Sniper_hitbox_chest', 0)
  281. gui.SetValue('rbot_Sniper_hitbox_stomach', 0)
  282. gui.SetValue('rbot_Sniper_hitbox_pelvis', 0)
  283. gui.SetValue('rbot_Sniper_hitbox', 0)
  284. gui.SetValue('rbot_sniper_hitbox_legs', 0)
  285. gui.SetValue('rbot_sniper_headifwalking', 1)
  286.  
  287. -- Pistols
  288. gui.SetValue('rbot_pistol_hitbox_head', 1)
  289. gui.SetValue('rbot_pistol_hitbox_neck', 0)
  290. gui.SetValue('rbot_pistol_hitbox_chest', 0)
  291. gui.SetValue('rbot_pistol_hitbox_stomach', 0)
  292. gui.SetValue('rbot_pistol_hitbox_pelvis', 0)
  293. gui.SetValue('rbot_pistol_hitbox', 0)
  294. gui.SetValue('rbot_pistol_headifwalking', 1)
  295.  
  296. -- Revolver
  297. gui.SetValue('rbot_revolver_hitbox_head', 1)
  298. gui.SetValue('rbot_revolver_hitbox_neck', 0)
  299. gui.SetValue('rbot_revolver_hitbox_chest', 0)
  300. gui.SetValue('rbot_revolver_hitbox_stomach', 0)
  301. gui.SetValue('rbot_revolver_hitbox_pelvis', 0)
  302. gui.SetValue('rbot_revolver_hitbox', 0)
  303. gui.SetValue('rbot_revolver_headifwalking', 1)
  304.  
  305. -- Other
  306. gui.SetValue('rbot_autosniper_bodyaftershots', 0)
  307. gui.SetValue('rbot_autosniper_bodyifhplower', 0)
  308.  
  309. gui.SetValue('rbot_scout_bodyaftershots', 0)
  310. gui.SetValue('rbot_scout_bodyifhplower', 0)
  311.  
  312. gui.SetValue('rbot_Sniper_bodyaftershots', 0)
  313. gui.SetValue('rbot_Sniper_bodyifhplower', 0)
  314.  
  315. gui.SetValue('rbot_revolver_bodyaftershots', 0)
  316. gui.SetValue('rbot_revolver_bodyifhplower', 0)
  317.  
  318. gui.SetValue('rbot_pistol_bodyaftershots', 0)
  319. gui.SetValue('rbot_pistol_bodyifhplower', 0)
  320.  
  321.  
  322. gui.SetValue("rbot_positionadjustment", 3)
  323. end
  324.  
  325. function SetBaimValues()
  326. gui.SetValue('rbot_autosniper_hitbox_head', 0)
  327. gui.SetValue('rbot_autosniper_hitbox_neck', 0)
  328. gui.SetValue('rbot_autosniper_hitbox_chest', 1)
  329. gui.SetValue('rbot_autosniper_hitbox_stomach', 1)
  330. gui.SetValue('rbot_autosniper_hitbox_pelvis', 1)
  331. gui.SetValue('rbot_autosniper_hitbox', 4)
  332. gui.SetValue('rbot_autosniper_hitbox_legs', 0)
  333. gui.SetValue('rbot_autosniper_headifwalking', 0)
  334.  
  335. -- Scout
  336. gui.SetValue('rbot_scout_hitbox_head', 0)
  337. gui.SetValue('rbot_scout_hitbox_neck', 0)
  338. gui.SetValue('rbot_scout_hitbox_chest', 1)
  339. gui.SetValue('rbot_scout_hitbox_stomach', 1)
  340. gui.SetValue('rbot_scout_hitbox_pelvis', 1)
  341. gui.SetValue('rbot_scout_hitbox', 4)
  342. gui.SetValue('rbot_scout_hitbox_legs', 0)
  343. gui.SetValue('rbot_scout_headifwalking', 0)
  344.  
  345. -- Sniper
  346. gui.SetValue('rbot_Sniper_hitbox_head', 0)
  347. gui.SetValue('rbot_Sniper_hitbox_neck', 0)
  348. gui.SetValue('rbot_Sniper_hitbox_chest', 1)
  349. gui.SetValue('rbot_Sniper_hitbox_stomach', 1)
  350. gui.SetValue('rbot_Sniper_hitbox_pelvis', 1)
  351. gui.SetValue('rbot_Sniper_hitbox', 4)
  352. gui.SetValue('rbot_sniper_hitbox_legs', 0)
  353. gui.SetValue('rbot_sniper_headifwalking', 0)
  354.  
  355. -- Pistols
  356. gui.SetValue('rbot_pistol_hitbox_head', 0)
  357. gui.SetValue('rbot_pistol_hitbox_neck', 0)
  358. gui.SetValue('rbot_pistol_hitbox_chest', 1)
  359. gui.SetValue('rbot_pistol_hitbox_stomach', 1)
  360. gui.SetValue('rbot_pistol_hitbox_pelvis', 1)
  361. gui.SetValue('rbot_pistol_hitbox', 4)
  362. gui.SetValue('rbot_pistol_headifwalking', 0)
  363.  
  364. -- Revolver
  365. gui.SetValue('rbot_revolver_hitbox_head', 0)
  366. gui.SetValue('rbot_revolver_hitbox_neck', 0)
  367. gui.SetValue('rbot_revolver_hitbox_chest', 1)
  368. gui.SetValue('rbot_revolver_hitbox_stomach', 1)
  369. gui.SetValue('rbot_revolver_hitbox_pelvis', 1)
  370. gui.SetValue('rbot_revolver_hitbox', 4)
  371. gui.SetValue('rbot_revolver_headifwalking', 0)
  372.  
  373. -- Other
  374. gui.SetValue('rbot_autosniper_bodyaftershots', 0)
  375. gui.SetValue('rbot_autosniper_bodyifhplower', 0)
  376.  
  377. gui.SetValue('rbot_scout_bodyaftershots', 0)
  378. gui.SetValue('rbot_scout_bodyifhplower', 0)
  379.  
  380. gui.SetValue('rbot_Sniper_bodyaftershots', 0)
  381. gui.SetValue('rbot_Sniper_bodyifhplower', 0)
  382.  
  383. gui.SetValue('rbot_revolver_bodyaftershots', 0)
  384. gui.SetValue('rbot_revolver_bodyifhplower', 0)
  385.  
  386. gui.SetValue('rbot_pistol_bodyaftershots', 0)
  387. gui.SetValue('rbot_pistol_bodyifhplower', 0)
  388. end
  389.  
  390.  
  391. function GetValues()
  392. autosniper_head = gui.GetValue('rbot_autosniper_hitbox_head')
  393. autosniper_head = gui.GetValue('rbot_autosniper_hitbox_head')
  394. autosniper_neck = gui.GetValue('rbot_autosniper_hitbox_neck')
  395. autosniper_chest = gui.GetValue('rbot_autosniper_hitbox_chest')
  396. autosniper_stomach = gui.GetValue('rbot_autosniper_hitbox_stomach')
  397. autosniper_pelvis = gui.GetValue('rbot_autosniper_hitbox_pelvis')
  398. autosniper_legs = gui.GetValue('rbot_autosniper_hitbox_legs')
  399. autosniper_hitbox = gui.GetValue('rbot_autosniper_hitbox')
  400. autosniper_ifwalk = gui.GetValue('rbot_autosniper_headifwalking')
  401.  
  402. -- Sniper
  403. Sniper_head = gui.GetValue('rbot_Sniper_hitbox_head')
  404. Sniper_neck = gui.GetValue('rbot_Sniper_hitbox_neck')
  405. Sniper_chest = gui.GetValue('rbot_Sniper_hitbox_chest')
  406. Sniper_stomach = gui.GetValue('rbot_Sniper_hitbox_stomach')
  407. Sniper_pelvis = gui.GetValue('rbot_Sniper_hitbox_pelvis')
  408. Sniper_legs = gui.GetValue('rbot_Sniper_hitbox_legs')
  409. Sniper_hitbox = gui.GetValue('rbot_sniper_hitbox')
  410. sniper_ifwalk = gui.GetValue('rbot_sniper_headifwalking')
  411.  
  412. -- Scout
  413. scout_head = gui.GetValue('rbot_scout_hitbox_head')
  414. scout_neck = gui.GetValue('rbot_scout_hitbox_neck')
  415. scout_chest = gui.GetValue('rbot_scout_hitbox_chest')
  416. scout_stomach = gui.GetValue('rbot_scout_hitbox_stomach')
  417. scout_pelvis = gui.GetValue('rbot_scout_hitbox_pelvis')
  418. scout_legs = gui.GetValue('rbot_scout_hitbox_legs')
  419. scout_hitbox = gui.GetValue('rbot_scout_hitbox')
  420. scout_ifwalk = gui.GetValue('rbot_scout_headifwalking')
  421.  
  422. -- Pistols
  423. pistol_head = gui.GetValue('rbot_pistol_hitbox_head')
  424. pistol_neck = gui.GetValue('rbot_pistol_hitbox_neck')
  425. pistol_chest = gui.GetValue('rbot_pistol_hitbox_chest')
  426. pistol_stomach = gui.GetValue('rbot_pistol_hitbox_stomach')
  427. pistol_pelvis = gui.GetValue('rbot_pistol_hitbox_pelvis')
  428. pistol_hitbox = gui.GetValue('rbot_pistol_hitbox')
  429. pistol_ifwalk = gui.GetValue('rbot_pistol_headifwalking')
  430.  
  431. -- Revolver
  432. revolver_head = gui.GetValue('rbot_revolver_hitbox_head')
  433. revolver_neck = gui.GetValue('rbot_revolver_hitbox_neck')
  434. revolver_chest = gui.GetValue('rbot_revolver_hitbox_chest')
  435. revolver_stomach = gui.GetValue('rbot_revolver_hitbox_stomach')
  436. revolver_pelvis = gui.GetValue('rbot_revolver_hitbox_pelvis')
  437. revolver_hitbox = gui.GetValue('rbot_revolver_hitbox')
  438. revolver_ifwalk = gui.GetValue('rbot_revolver_headifwalking')
  439.  
  440. -- Other
  441. autosniper_BaimIfshots = gui.GetValue('rbot_autosniper_bodyaftershots')
  442. BaimIfHp = gui.GetValue('rbot_autosniper_bodyifhplower')
  443. autosniper_priority = gui.GetValue('rbot_autosniper_hitbox')
  444.  
  445. scout_BaimIfshots = gui.GetValue('rbot_scout_bodyaftershots')
  446. BaimIfHp = gui.GetValue('rbot_scout_bodyifhplower')
  447. scout_priority = gui.GetValue('rbot_scout_hitbox')
  448.  
  449. pistol_BaimIfshots = gui.GetValue('rbot_pistol_bodyaftershots')
  450. BaimIfHp = gui.GetValue('rbot_pistol_bodyifhplower')
  451. pistol_priority = gui.GetValue('rbot_pistol_hitbox')
  452.  
  453. Sniper_BaimIfshots = gui.GetValue('rbot_sniper_bodyaftershots')
  454. BaimIfHp = gui.GetValue('rbot_Sniper_bodyifhplower')
  455. Sniper_priority = gui.GetValue('rbot_sniper_hitbox')
  456.  
  457. Revolver_BaimIfshots = gui.GetValue('rbot_Revolver_bodyaftershots')
  458. BaimIfHp = gui.GetValue('rbot_Sniper_bodyifhplower')
  459. revolver_priority = gui.GetValue('rbot_revolver_hitbox')
  460.  
  461. posadj = gui.GetValue("rbot_positionadjustment")
  462. autodir = gui.GetValue("rbot_antiaim_autodir")
  463. end
  464.  
  465. function RestoreValues()
  466. gui.SetValue('rbot_autosniper_hitbox_head', autosniper_head)
  467. gui.SetValue('rbot_autosniper_hitbox_neck', autosniper_neck)
  468. gui.SetValue('rbot_autosniper_hitbox_chest', autosniper_chest)
  469. gui.SetValue('rbot_autosniper_hitbox_stomach', autosniper_stomach)
  470. gui.SetValue('rbot_autosniper_hitbox_pelvis', autosniper_pelvis)
  471. gui.SetValue('rbot_autosniper_hitbox_legs', autosniper_legs)
  472. gui.SetValue('rbot_autosniper_headifwalking', autosniper_ifwalk)
  473.  
  474. -- Scout
  475. gui.SetValue('rbot_scout_hitbox_head', scout_head)
  476. gui.SetValue('rbot_scout_hitbox_neck', scout_neck)
  477. gui.SetValue('rbot_scout_hitbox_chest', scout_chest)
  478. gui.SetValue('rbot_scout_hitbox_stomach', scout_stomach)
  479. gui.SetValue('rbot_scout_hitbox_pelvis', scout_pelvis)
  480. gui.SetValue('rbot_scout_hitbox_legs', scout_legs)
  481. gui.SetValue('rbot_scout_headifwalking', scout_ifwalk)
  482.  
  483. -- Sniper
  484. gui.SetValue('rbot_Sniper_hitbox_head', Sniper_head)
  485. gui.SetValue('rbot_Sniper_hitbox_neck', Sniper_neck)
  486. gui.SetValue('rbot_Sniper_hitbox_chest', Sniper_chest)
  487. gui.SetValue('rbot_Sniper_hitbox_stomach', Sniper_stomach)
  488. gui.SetValue('rbot_Sniper_hitbox_pelvis', Sniper_pelvis)
  489. gui.SetValue('rbot_sniper_hitbox_legs', Sniper_legs)
  490. gui.SetValue('rbot_sniper_headifwalking', sniper_ifwalk)
  491.  
  492. -- Pistols
  493. gui.SetValue('rbot_pistol_hitbox_head', pistol_head)
  494. gui.SetValue('rbot_pistol_hitbox_neck', pistol_neck)
  495. gui.SetValue('rbot_pistol_hitbox_chest', pistol_chest)
  496. gui.SetValue('rbot_pistol_hitbox_stomach', pistol_stomach)
  497. gui.SetValue('rbot_pistol_hitbox_pelvis', pistol_pelvis)
  498. gui.SetValue('rbot_pistol_headifwalking', pistol_ifwalk)
  499.  
  500.  
  501. --Revolver
  502. gui.SetValue('rbot_revolver_hitbox_head', revolver_head)
  503. gui.SetValue('rbot_revolver_hitbox_neck', revolver_neck)
  504. gui.SetValue('rbot_revolver_hitbox_chest', revolver_chest)
  505. gui.SetValue('rbot_revolver_hitbox_stomach', revolver_stomach)
  506. gui.SetValue('rbot_revolver_hitbox_pelvis', revolver_pelvis)
  507. gui.SetValue('rbot_revolver_headifwalking', revolver_ifwalk)
  508.  
  509.  
  510. -- Other
  511. gui.SetValue('rbot_autosniper_bodyaftershots', autosniper_BaimIfshots)
  512. gui.SetValue('rbot_autosniper_bodyifhplower', BaimIfHp)
  513. gui.SetValue('rbot_autosniper_hitbox', autosniper_priority)
  514.  
  515. gui.SetValue('rbot_sniper_bodyaftershots', Sniper_BaimIfshots)
  516. gui.SetValue('rbot_sniper_bodyifhplower', BaimIfHp)
  517. gui.SetValue('rbot_sniper_hitbox', Sniper_hitbox)
  518.  
  519. gui.SetValue('rbot_scout_bodyaftershots', scout_BaimIfshots)
  520. gui.SetValue('rbot_scout_bodyifhplower', BaimIfHp)
  521. gui.SetValue('rbot_scout_hitbox', scout_priority)
  522.  
  523. gui.SetValue('rbot_pistol_bodyaftershots', pistol_BaimIfshots)
  524. gui.SetValue('rbot_pistol_bodyifhplower', BaimIfHp)
  525. gui.SetValue('rbot_pistol_hitbox', pistol_priority)
  526.  
  527. gui.SetValue('rbot_revolver_bodyaftershots', Revolver_BaimIfshots)
  528. gui.SetValue('rbot_revolver_bodyifhplower', BaimIfHp)
  529. gui.SetValue('rbot_revolver_hitbox', revolver_priority)
  530.  
  531. gui.SetValue("rbot_positionadjustment", posadj)
  532. end
  533.  
  534.  
  535. function BaimActive()
  536. if BaimKey:GetValue() ~= 0 then
  537. if input.IsButtonDown(BaimKey:GetValue()) then
  538. return true
  539. else return false
  540. end
  541. end
  542. end
  543.  
  544. function HeadActive()
  545. if HeadKey:GetValue() ~= 0 then
  546. if input.IsButtonDown(HeadKey:GetValue()) then
  547. return true
  548. else return false
  549. end
  550. end
  551. end
  552.  
  553.  
  554.  
  555. local function Main()
  556. w, h = draw.GetScreenSize()
  557. draw.SetFont(RenderFont)
  558. draw.Color(0, 230, 0, 230)
  559.  
  560. if BaimActive() and OnlyHead == false then
  561. draw.SetFont(RenderFontHB)
  562. draw.Text(w/2 - 30, h/2 + 30, "BAIM")
  563. if OnlyBaim == false then
  564. GetValues()
  565. OnlyBaim = true
  566. end
  567. SetBaimValues()
  568. else
  569. if OnlyBaim == true then
  570. RestoreValues()
  571. OnlyBaim = false
  572. draw.SetFont(normal)
  573. end
  574.  
  575. if HeadActive() and OnlyBaim == false then
  576. draw.SetFont(RenderFontHB)
  577. draw.Text(w/2 - 55, h/2 + 30, "HEADAIM")
  578. if OnlyHead == false then
  579. GetValues()
  580. OnlyHead = true
  581. end
  582. SetHeadValues()
  583. else
  584. if OnlyHead == true then
  585. RestoreValues()
  586. OnlyHead = false
  587. draw.SetFont(normal)
  588. end
  589. end
  590. end
  591. end
  592.  
  593.  
  594.  
  595. callbacks.Register( "Draw", "Main", Main);
  596.  
  597. ------------------------------------------------------------------------------------------------------------------------------------
  598. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement