Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Desync Break fat
- --------------------------------------------------------------------------------------------------------------------------------------
- local delay = 0.0456
- local timer = timer or {}
- local timers = {}
- math.randomseed(os.clock(12983618273123))
- function timer.Create(name, delay, times, func)
- table.insert(timers, {["name"] = name, ["delay"] = delay, ["times"] = times, ["func"] = func, ["lastTime"] = globals.RealTime()})
- end
- function timer.Remove(name)
- for k,v in pairs(timers or {}) do
- if (name == v["name"]) then table.remove(timers, k) end
- end
- end
- function timer.Tick()
- for k,v in pairs(timers or {}) do
- if (v["times"] <= 0) then table.remove(timers, k) end
- if (v["lastTime"] + v["delay"] <= globals.RealTime()) then
- timers[k]["lastTime"] = globals.RealTime()
- timers[k]["times"] = timers[k]["times"] - 111
- v["func"]()
- end
- end
- end
- callbacks.Register( "Draw", "timer.Tick", timer.Tick);
- timer.Create("Gay", 1, 2, function() Gay1() end)
- function Gay1()
- timer.Create("Gay1", delay, .01, function()
- gui.SetValue("rbot_antiaim_stand_desync", 2);
- gui.SetValue("rbot_antiaim_move_desync", 2);
- --gui.SetValue( "msc_slowwalkspeed", .0666 )
- Gay2()
- end)
- end
- function Gay2()
- timer.Create("Gay2", delay, .01, function()
- gui.SetValue("rbot_antiaim_stand_desync", 3);
- gui.SetValue("rbot_antiaim_move_desync", 3);
- --gui.SetValue( "msc_slowwalkspeed", .0666 )
- Gay1()
- end)
- end
- God aa lua
- ------------------------------------------------------------------------------------------------------------------------------------
- local swap = 1
- function Unhittable_Head()
- local entity = entities.GetLocalPlayer();
- if entity ~= nil then
- local alive = entity:IsAlive();
- local health = entity:GetHealth();
- if (alive == true and health > 0) then
- if(gui.GetValue("rbot_antiaim_enable")) then
- if(swap == 1) then
- gui.SetValue("rbot_antiaim_stand_real_add", 45);
- gui.SetValue("rbot_antiaim_move_real_add", 45);
- gui.SetValue("rbot_antiaim_edge_real_add", 45);
- swap = 2
- elseif (swap == 2) then
- gui.SetValue("rbot_antiaim_stand_real_add", 0);
- gui.SetValue("rbot_antiaim_move_real_add", 0);
- gui.SetValue("rbot_antiaim_edge_real_add", 0);
- swap = 3
- else
- gui.SetValue("rbot_antiaim_stand_real_add", -45);
- gui.SetValue("rbot_antiaim_move_real_add", -45);
- gui.SetValue("rbot_antiaim_edge_real_add", -45);
- swap = 1
- end
- end
- end
- end
- end
- callbacks.Register('CreateMove', 'Unhittable_Head', Unhittable_Head)
- Buybot
- ------------------------------------------------------------------------------------------------------------------------------------
- local ref = gui.Reference("MISC", "AUTOMATION", "Other");
- local showMenu = gui.Checkbox(ref, "rab_autobuy_showmenu", "Show Auto Buy Menu", false);
- local menuPressed = 1;
- local primaryWeapons = {
- {"None", nil};
- { "SCAR 20 | G3SG1", "scar20" };
- { "SSG 008", "ssg08" };
- { "AWP", "awp" };
- { "G3 SG1 | AUG", "sg556" };
- { "AK 47 | M4A1", "ak47" };
- };
- local secondaryWeapons = {
- {"None", nil};
- { "Dual Elites", "elite" };
- { "Desert Eagle | R8 Revolver", "deagle" };
- { "Five Seven | Tec 9", "tec9" };
- { "P250", "p250" };
- };
- local armors = {
- { "None", nil, nil };
- { "Kevlar Vest", "vest", nil };
- { "Kevlar Vest + Helmet", "vest", "vesthelm" };
- };
- local granades = {
- { "None", nil, nil };
- { "Grenade", "hegrenade", nil };
- { "Flashbang", "flashbang", nil };
- { "Smoke Grenade", "smokegrenade", nil };
- { "Decoy Grenade", "decoy", nil };
- { "Molotov | Incindiary Grenade", "molotov", "incgrenade" };
- };
- local mainWindow = gui.Window("rab_autobuy", "Auto Buy", 200, 200, 250, 554);
- local autoBuyGroup = gui.Groupbox(mainWindow, "Settings", 15, 15, 220, 480);
- local enabled = gui.Checkbox(autoBuyGroup, "rab_autobuy_masterswitch", "Enabled Auto Buy", false);
- local printLogs = gui.Checkbox(autoBuyGroup, "rab_autobuy_printlogs", "Print Logs To Aimware Console", false);
- local concatCommand = gui.Checkbox(autoBuyGroup, "rab_autobuy_concat", "Concact Buy Command", false);
- concatCommand:SetValue(true);
- 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]);
- 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]);
- local armorSelection = gui.Combobox(autoBuyGroup, "rab_autobuy_armor", "Armor", armors[1][1], armors[2][1], armors[3][1]);
- armorSelection:SetValue(2);
- 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]);
- granadeSlot1:SetValue(1);
- 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]);
- granadeSlot2:SetValue(3);
- 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]);
- granadeSlot3:SetValue(5);
- 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]);
- granadeSlot4:SetValue(2);
- local taser = gui.Checkbox(autoBuyGroup, "rab_autobuy_taser", "Buy Taser", false);
- local defuseKit = gui.Checkbox(autoBuyGroup, "rab_autobuy_defusekit", "Buy Defuse Kit", false);
- gui.Text(mainWindow, "Auto Buy - Made By Rab(SamzSakerz#4758)");
- local function getSingleTableItem(selection, table)
- return table[selection:GetValue() + 1][2];
- end
- local function getMultiTableItems(seletion, table)
- local table = table[seletion:GetValue() + 1];
- return { table[2], table[3] };
- end
- local function insertToTableNonNull(tableToInsertTo, table1)
- for i = 1, #table1 do
- local item = table1[i];
- if (item ~= nil) then
- table.insert(tableToInsertTo, item);
- end
- end
- end
- local function inserToTableBool(tableToInserTo, bool, itemToInsert)
- if (bool:GetValue()) then
- table.insert(tableToInserTo, itemToInsert);
- end
- end
- local function buy(items, concat)
- local buyCommand = '';
- for i = 1, #items do
- local item = items[i];
- if (concat) then
- buyCommand = buyCommand .. 'buy "' .. item .. '"; ';
- else
- if (printLogs:GetValue()) then
- print('Bought x1 ' .. item);
- end;
- client.Command('buy "' .. item .. '";', true);
- end;
- end;
- if (buyCommand ~= '') then
- if (printLogs:GetValue()) then
- print('Bought x' .. #items .. ' items');
- end;
- client.Command(buyCommand);
- end;
- end
- callbacks.Register('FireGameEvent', function(e)
- local lp, en, ui = entities.GetLocalPlayer(), e:GetName(), client.GetPlayerIndexByUserID(e:GetInt('userid'));
- if (enabled:GetValue() ~= true or lp == nil or en ~= "player_spawn" or ui ~= lp:GetIndex()) then return
- end;
- local stuffToBuy = {};
- table.insert(stuffToBuy, getSingleTableItem(primaryWeaponSelection, primaryWeapons))
- table.insert(stuffToBuy, getSingleTableItem(secondaryWeaponSelection, secondaryWeapons));
- insertToTableNonNull(stuffToBuy, getMultiTableItems(armorSelection, armors));
- inserToTableBool(stuffToBuy, defuseKit, 'defuser');
- insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot1, granades));
- insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot2, granades));
- insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot3, granades));
- insertToTableNonNull(stuffToBuy, getMultiTableItems(granadeSlot4, granades));
- inserToTableBool(stuffToBuy, taser, 'taser');
- buy(stuffToBuy, concatCommand:GetValue());
- end);
- callbacks.Register("Draw", function()
- if input.IsButtonPressed(gui.GetValue("msc_menutoggle")) then
- menuPressed = menuPressed == 0 and 1 or 0;
- end
- if (showMenu:GetValue()) then
- mainWindow:SetActive(menuPressed);
- else
- mainWindow:SetActive(0);
- end
- end);
- client.AllowListener("player_spawn");
- Headbaim
- ------------------------------------------------------------------------------------------------------------------------------------
- local rage_ref = gui.Reference("RAGE", "MAIN","AIMBOT")
- local BaimKey = gui.Keybox( rage_ref, "BaimKey", "BaimKey", 0 )
- local HeadKey = gui.Keybox( rage_ref, "HeadKey", "HeadKey", 0 )
- -- FBH lua
- local autosniper_head, autosniper_neck, autosniper_chest, autosniper_stomach, autosniper_pelvis, autosniper_hitbox, autosniper_ifwalk, autosniper_priority -- AutoSniper
- local Sniper_head, Sniper_neck, Sniper_chest, Sniper_stomach, Sniper_pelvis, Sniper_hitbox, Sniper_ifwalk, Sniper_priority -- Sniper
- local scout_head, scout_neck, scout_chest, scout_stomach, scout_pelvis, scout_hitbox, scout_ifwalk, scout_priority -- Scout
- local pistol_head, pistol_neck, pistol_chest, pistol_stomach, pistol_pelvis, pistol_hitbox, pistol_ifwalk, pistol_priority -- Pistol
- local revolver_head, revolver_neck, revolver_chest, revolver_stomach, revolver_pelvis, revolver_hitbox, revolver_ifwalk, revolver_priority -- Revolver
- local BaimIfshots, BaimIfHp, HeadAim, autosniper_priority, FakeLatencyEn, FakeLatencyAmount, posadj, autodir -- Other
- local RenderFontHB = draw.CreateFont("Tahoma", 25, 1300)
- local OnlyBaim = false
- local OnlyHead = false
- function SetHeadValues()
- gui.SetValue('rbot_autosniper_hitbox_head', 1)
- gui.SetValue('rbot_autosniper_hitbox_neck', 0)
- gui.SetValue('rbot_autosniper_hitbox_chest', 0)
- gui.SetValue('rbot_autosniper_hitbox_stomach', 0)
- gui.SetValue('rbot_autosniper_hitbox_pelvis', 0)
- gui.SetValue('rbot_autosniper_hitbox', 0)
- gui.SetValue('rbot_autosniper_hitbox_legs', 0)
- gui.SetValue('rbot_autosniper_headifwalking', 1)
- -- Scout
- gui.SetValue('rbot_scout_hitbox_head', 1)
- gui.SetValue('rbot_scout_hitbox_neck', 0)
- gui.SetValue('rbot_scout_hitbox_chest', 0)
- gui.SetValue('rbot_scout_hitbox_stomach', 0)
- gui.SetValue('rbot_scout_hitbox_pelvis', 0)
- gui.SetValue('rbot_scout_hitbox', 0)
- gui.SetValue('rbot_scout_hitbox_legs', 0)
- gui.SetValue('rbot_scout_headifwalking', 1)
- -- Sniper
- gui.SetValue('rbot_Sniper_hitbox_head', 1)
- gui.SetValue('rbot_Sniper_hitbox_neck', 0)
- gui.SetValue('rbot_Sniper_hitbox_chest', 0)
- gui.SetValue('rbot_Sniper_hitbox_stomach', 0)
- gui.SetValue('rbot_Sniper_hitbox_pelvis', 0)
- gui.SetValue('rbot_Sniper_hitbox', 0)
- gui.SetValue('rbot_sniper_hitbox_legs', 0)
- gui.SetValue('rbot_sniper_headifwalking', 1)
- -- Pistols
- gui.SetValue('rbot_pistol_hitbox_head', 1)
- gui.SetValue('rbot_pistol_hitbox_neck', 0)
- gui.SetValue('rbot_pistol_hitbox_chest', 0)
- gui.SetValue('rbot_pistol_hitbox_stomach', 0)
- gui.SetValue('rbot_pistol_hitbox_pelvis', 0)
- gui.SetValue('rbot_pistol_hitbox', 0)
- gui.SetValue('rbot_pistol_headifwalking', 1)
- -- Revolver
- gui.SetValue('rbot_revolver_hitbox_head', 1)
- gui.SetValue('rbot_revolver_hitbox_neck', 0)
- gui.SetValue('rbot_revolver_hitbox_chest', 0)
- gui.SetValue('rbot_revolver_hitbox_stomach', 0)
- gui.SetValue('rbot_revolver_hitbox_pelvis', 0)
- gui.SetValue('rbot_revolver_hitbox', 0)
- gui.SetValue('rbot_revolver_headifwalking', 1)
- -- Other
- gui.SetValue('rbot_autosniper_bodyaftershots', 0)
- gui.SetValue('rbot_autosniper_bodyifhplower', 0)
- gui.SetValue('rbot_scout_bodyaftershots', 0)
- gui.SetValue('rbot_scout_bodyifhplower', 0)
- gui.SetValue('rbot_Sniper_bodyaftershots', 0)
- gui.SetValue('rbot_Sniper_bodyifhplower', 0)
- gui.SetValue('rbot_revolver_bodyaftershots', 0)
- gui.SetValue('rbot_revolver_bodyifhplower', 0)
- gui.SetValue('rbot_pistol_bodyaftershots', 0)
- gui.SetValue('rbot_pistol_bodyifhplower', 0)
- gui.SetValue("rbot_positionadjustment", 3)
- end
- function SetBaimValues()
- gui.SetValue('rbot_autosniper_hitbox_head', 0)
- gui.SetValue('rbot_autosniper_hitbox_neck', 0)
- gui.SetValue('rbot_autosniper_hitbox_chest', 1)
- gui.SetValue('rbot_autosniper_hitbox_stomach', 1)
- gui.SetValue('rbot_autosniper_hitbox_pelvis', 1)
- gui.SetValue('rbot_autosniper_hitbox', 4)
- gui.SetValue('rbot_autosniper_hitbox_legs', 0)
- gui.SetValue('rbot_autosniper_headifwalking', 0)
- -- Scout
- gui.SetValue('rbot_scout_hitbox_head', 0)
- gui.SetValue('rbot_scout_hitbox_neck', 0)
- gui.SetValue('rbot_scout_hitbox_chest', 1)
- gui.SetValue('rbot_scout_hitbox_stomach', 1)
- gui.SetValue('rbot_scout_hitbox_pelvis', 1)
- gui.SetValue('rbot_scout_hitbox', 4)
- gui.SetValue('rbot_scout_hitbox_legs', 0)
- gui.SetValue('rbot_scout_headifwalking', 0)
- -- Sniper
- gui.SetValue('rbot_Sniper_hitbox_head', 0)
- gui.SetValue('rbot_Sniper_hitbox_neck', 0)
- gui.SetValue('rbot_Sniper_hitbox_chest', 1)
- gui.SetValue('rbot_Sniper_hitbox_stomach', 1)
- gui.SetValue('rbot_Sniper_hitbox_pelvis', 1)
- gui.SetValue('rbot_Sniper_hitbox', 4)
- gui.SetValue('rbot_sniper_hitbox_legs', 0)
- gui.SetValue('rbot_sniper_headifwalking', 0)
- -- Pistols
- gui.SetValue('rbot_pistol_hitbox_head', 0)
- gui.SetValue('rbot_pistol_hitbox_neck', 0)
- gui.SetValue('rbot_pistol_hitbox_chest', 1)
- gui.SetValue('rbot_pistol_hitbox_stomach', 1)
- gui.SetValue('rbot_pistol_hitbox_pelvis', 1)
- gui.SetValue('rbot_pistol_hitbox', 4)
- gui.SetValue('rbot_pistol_headifwalking', 0)
- -- Revolver
- gui.SetValue('rbot_revolver_hitbox_head', 0)
- gui.SetValue('rbot_revolver_hitbox_neck', 0)
- gui.SetValue('rbot_revolver_hitbox_chest', 1)
- gui.SetValue('rbot_revolver_hitbox_stomach', 1)
- gui.SetValue('rbot_revolver_hitbox_pelvis', 1)
- gui.SetValue('rbot_revolver_hitbox', 4)
- gui.SetValue('rbot_revolver_headifwalking', 0)
- -- Other
- gui.SetValue('rbot_autosniper_bodyaftershots', 0)
- gui.SetValue('rbot_autosniper_bodyifhplower', 0)
- gui.SetValue('rbot_scout_bodyaftershots', 0)
- gui.SetValue('rbot_scout_bodyifhplower', 0)
- gui.SetValue('rbot_Sniper_bodyaftershots', 0)
- gui.SetValue('rbot_Sniper_bodyifhplower', 0)
- gui.SetValue('rbot_revolver_bodyaftershots', 0)
- gui.SetValue('rbot_revolver_bodyifhplower', 0)
- gui.SetValue('rbot_pistol_bodyaftershots', 0)
- gui.SetValue('rbot_pistol_bodyifhplower', 0)
- end
- function GetValues()
- autosniper_head = gui.GetValue('rbot_autosniper_hitbox_head')
- autosniper_head = gui.GetValue('rbot_autosniper_hitbox_head')
- autosniper_neck = gui.GetValue('rbot_autosniper_hitbox_neck')
- autosniper_chest = gui.GetValue('rbot_autosniper_hitbox_chest')
- autosniper_stomach = gui.GetValue('rbot_autosniper_hitbox_stomach')
- autosniper_pelvis = gui.GetValue('rbot_autosniper_hitbox_pelvis')
- autosniper_legs = gui.GetValue('rbot_autosniper_hitbox_legs')
- autosniper_hitbox = gui.GetValue('rbot_autosniper_hitbox')
- autosniper_ifwalk = gui.GetValue('rbot_autosniper_headifwalking')
- -- Sniper
- Sniper_head = gui.GetValue('rbot_Sniper_hitbox_head')
- Sniper_neck = gui.GetValue('rbot_Sniper_hitbox_neck')
- Sniper_chest = gui.GetValue('rbot_Sniper_hitbox_chest')
- Sniper_stomach = gui.GetValue('rbot_Sniper_hitbox_stomach')
- Sniper_pelvis = gui.GetValue('rbot_Sniper_hitbox_pelvis')
- Sniper_legs = gui.GetValue('rbot_Sniper_hitbox_legs')
- Sniper_hitbox = gui.GetValue('rbot_sniper_hitbox')
- sniper_ifwalk = gui.GetValue('rbot_sniper_headifwalking')
- -- Scout
- scout_head = gui.GetValue('rbot_scout_hitbox_head')
- scout_neck = gui.GetValue('rbot_scout_hitbox_neck')
- scout_chest = gui.GetValue('rbot_scout_hitbox_chest')
- scout_stomach = gui.GetValue('rbot_scout_hitbox_stomach')
- scout_pelvis = gui.GetValue('rbot_scout_hitbox_pelvis')
- scout_legs = gui.GetValue('rbot_scout_hitbox_legs')
- scout_hitbox = gui.GetValue('rbot_scout_hitbox')
- scout_ifwalk = gui.GetValue('rbot_scout_headifwalking')
- -- Pistols
- pistol_head = gui.GetValue('rbot_pistol_hitbox_head')
- pistol_neck = gui.GetValue('rbot_pistol_hitbox_neck')
- pistol_chest = gui.GetValue('rbot_pistol_hitbox_chest')
- pistol_stomach = gui.GetValue('rbot_pistol_hitbox_stomach')
- pistol_pelvis = gui.GetValue('rbot_pistol_hitbox_pelvis')
- pistol_hitbox = gui.GetValue('rbot_pistol_hitbox')
- pistol_ifwalk = gui.GetValue('rbot_pistol_headifwalking')
- -- Revolver
- revolver_head = gui.GetValue('rbot_revolver_hitbox_head')
- revolver_neck = gui.GetValue('rbot_revolver_hitbox_neck')
- revolver_chest = gui.GetValue('rbot_revolver_hitbox_chest')
- revolver_stomach = gui.GetValue('rbot_revolver_hitbox_stomach')
- revolver_pelvis = gui.GetValue('rbot_revolver_hitbox_pelvis')
- revolver_hitbox = gui.GetValue('rbot_revolver_hitbox')
- revolver_ifwalk = gui.GetValue('rbot_revolver_headifwalking')
- -- Other
- autosniper_BaimIfshots = gui.GetValue('rbot_autosniper_bodyaftershots')
- BaimIfHp = gui.GetValue('rbot_autosniper_bodyifhplower')
- autosniper_priority = gui.GetValue('rbot_autosniper_hitbox')
- scout_BaimIfshots = gui.GetValue('rbot_scout_bodyaftershots')
- BaimIfHp = gui.GetValue('rbot_scout_bodyifhplower')
- scout_priority = gui.GetValue('rbot_scout_hitbox')
- pistol_BaimIfshots = gui.GetValue('rbot_pistol_bodyaftershots')
- BaimIfHp = gui.GetValue('rbot_pistol_bodyifhplower')
- pistol_priority = gui.GetValue('rbot_pistol_hitbox')
- Sniper_BaimIfshots = gui.GetValue('rbot_sniper_bodyaftershots')
- BaimIfHp = gui.GetValue('rbot_Sniper_bodyifhplower')
- Sniper_priority = gui.GetValue('rbot_sniper_hitbox')
- Revolver_BaimIfshots = gui.GetValue('rbot_Revolver_bodyaftershots')
- BaimIfHp = gui.GetValue('rbot_Sniper_bodyifhplower')
- revolver_priority = gui.GetValue('rbot_revolver_hitbox')
- posadj = gui.GetValue("rbot_positionadjustment")
- autodir = gui.GetValue("rbot_antiaim_autodir")
- end
- function RestoreValues()
- gui.SetValue('rbot_autosniper_hitbox_head', autosniper_head)
- gui.SetValue('rbot_autosniper_hitbox_neck', autosniper_neck)
- gui.SetValue('rbot_autosniper_hitbox_chest', autosniper_chest)
- gui.SetValue('rbot_autosniper_hitbox_stomach', autosniper_stomach)
- gui.SetValue('rbot_autosniper_hitbox_pelvis', autosniper_pelvis)
- gui.SetValue('rbot_autosniper_hitbox_legs', autosniper_legs)
- gui.SetValue('rbot_autosniper_headifwalking', autosniper_ifwalk)
- -- Scout
- gui.SetValue('rbot_scout_hitbox_head', scout_head)
- gui.SetValue('rbot_scout_hitbox_neck', scout_neck)
- gui.SetValue('rbot_scout_hitbox_chest', scout_chest)
- gui.SetValue('rbot_scout_hitbox_stomach', scout_stomach)
- gui.SetValue('rbot_scout_hitbox_pelvis', scout_pelvis)
- gui.SetValue('rbot_scout_hitbox_legs', scout_legs)
- gui.SetValue('rbot_scout_headifwalking', scout_ifwalk)
- -- Sniper
- gui.SetValue('rbot_Sniper_hitbox_head', Sniper_head)
- gui.SetValue('rbot_Sniper_hitbox_neck', Sniper_neck)
- gui.SetValue('rbot_Sniper_hitbox_chest', Sniper_chest)
- gui.SetValue('rbot_Sniper_hitbox_stomach', Sniper_stomach)
- gui.SetValue('rbot_Sniper_hitbox_pelvis', Sniper_pelvis)
- gui.SetValue('rbot_sniper_hitbox_legs', Sniper_legs)
- gui.SetValue('rbot_sniper_headifwalking', sniper_ifwalk)
- -- Pistols
- gui.SetValue('rbot_pistol_hitbox_head', pistol_head)
- gui.SetValue('rbot_pistol_hitbox_neck', pistol_neck)
- gui.SetValue('rbot_pistol_hitbox_chest', pistol_chest)
- gui.SetValue('rbot_pistol_hitbox_stomach', pistol_stomach)
- gui.SetValue('rbot_pistol_hitbox_pelvis', pistol_pelvis)
- gui.SetValue('rbot_pistol_headifwalking', pistol_ifwalk)
- --Revolver
- gui.SetValue('rbot_revolver_hitbox_head', revolver_head)
- gui.SetValue('rbot_revolver_hitbox_neck', revolver_neck)
- gui.SetValue('rbot_revolver_hitbox_chest', revolver_chest)
- gui.SetValue('rbot_revolver_hitbox_stomach', revolver_stomach)
- gui.SetValue('rbot_revolver_hitbox_pelvis', revolver_pelvis)
- gui.SetValue('rbot_revolver_headifwalking', revolver_ifwalk)
- -- Other
- gui.SetValue('rbot_autosniper_bodyaftershots', autosniper_BaimIfshots)
- gui.SetValue('rbot_autosniper_bodyifhplower', BaimIfHp)
- gui.SetValue('rbot_autosniper_hitbox', autosniper_priority)
- gui.SetValue('rbot_sniper_bodyaftershots', Sniper_BaimIfshots)
- gui.SetValue('rbot_sniper_bodyifhplower', BaimIfHp)
- gui.SetValue('rbot_sniper_hitbox', Sniper_hitbox)
- gui.SetValue('rbot_scout_bodyaftershots', scout_BaimIfshots)
- gui.SetValue('rbot_scout_bodyifhplower', BaimIfHp)
- gui.SetValue('rbot_scout_hitbox', scout_priority)
- gui.SetValue('rbot_pistol_bodyaftershots', pistol_BaimIfshots)
- gui.SetValue('rbot_pistol_bodyifhplower', BaimIfHp)
- gui.SetValue('rbot_pistol_hitbox', pistol_priority)
- gui.SetValue('rbot_revolver_bodyaftershots', Revolver_BaimIfshots)
- gui.SetValue('rbot_revolver_bodyifhplower', BaimIfHp)
- gui.SetValue('rbot_revolver_hitbox', revolver_priority)
- gui.SetValue("rbot_positionadjustment", posadj)
- end
- function BaimActive()
- if BaimKey:GetValue() ~= 0 then
- if input.IsButtonDown(BaimKey:GetValue()) then
- return true
- else return false
- end
- end
- end
- function HeadActive()
- if HeadKey:GetValue() ~= 0 then
- if input.IsButtonDown(HeadKey:GetValue()) then
- return true
- else return false
- end
- end
- end
- local function Main()
- w, h = draw.GetScreenSize()
- draw.SetFont(RenderFont)
- draw.Color(0, 230, 0, 230)
- if BaimActive() and OnlyHead == false then
- draw.SetFont(RenderFontHB)
- draw.Text(w/2 - 30, h/2 + 30, "BAIM")
- if OnlyBaim == false then
- GetValues()
- OnlyBaim = true
- end
- SetBaimValues()
- else
- if OnlyBaim == true then
- RestoreValues()
- OnlyBaim = false
- draw.SetFont(normal)
- end
- if HeadActive() and OnlyBaim == false then
- draw.SetFont(RenderFontHB)
- draw.Text(w/2 - 55, h/2 + 30, "HEADAIM")
- if OnlyHead == false then
- GetValues()
- OnlyHead = true
- end
- SetHeadValues()
- else
- if OnlyHead == true then
- RestoreValues()
- OnlyHead = false
- draw.SetFont(normal)
- end
- end
- end
- end
- callbacks.Register( "Draw", "Main", Main);
- ------------------------------------------------------------------------------------------------------------------------------------
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement