Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ImGui_ImplDX9_NewFrame();
- ImGui_ImplWin32_NewFrame();
- ImGui::NewFrame();
- {
- if (ImGui::Begin("Synthex.gg v2", NULL, ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoCollapse| ImGuiWindowFlags_NoScrollbar| ImGuiWindowFlags_NoScrollWithMouse))
- ImGui::SetWindowSize(ImVec2(230, 405));
- static int Tab = 0;
- void SetupImGuiStyle();
- if (ImGui::Button("Weapons", ImVec2(ImGui::GetContentRegionAvail().x / 2, 25))) { Tab = 0; }
- ImGui::SameLine();
- /*if (ImGui::Button("Settings", ImVec2(ImGui::GetContentRegionAvail().x / 3, 30))) { Tab = 1; }
- ImGui::SameLine();*/
- if (ImGui::Button("Misc", ImVec2(ImGui::GetContentRegionAvail().x / 1, 25))) { Tab = 1; }
- ImGui::SameLine();
- ImGui::SameLine();
- ImGui::Spacing();
- /*ImGui::SetCursorPosY((ImGui::GetWindowSize().y / 1.115));*/
- ImGui::Spacing();
- switch (Tab)
- {
- case 0:
- ImGui::Text((" Sensitivity"));
- ImGui::Text(" ");
- ImGui::SameLine();
- ImGui::SliderFloat(("##Sensitivity"), &Sensitivity, 0.001, 2, ("%.2f"));
- ImGui::Text((" FOV"));
- ImGui::Text(" ");
- ImGui::SameLine();
- ImGui::SliderInt(("##FOV"), &FOV, 65, 90);
- ImGui::Text(wptext.c_str());
- ImGui::SameLine();
- ImGui::Text(scptext.c_str());
- ImGui::SameLine();
- ImGui::Text(brltext.c_str());
- ImGui::Separator();
- ImGui::Spacing();
- ImGui::Columns(2, nullptr, false);
- if (Sc == true) {
- script();
- }
- // Code
- if (ImGui::Button((" AK47"), ImVec2(100, 20))) {
- WPAK = true; WPLR = false; WPMP5 = false; WPSMG = false; WPTHOMP = false; WPM249 = false; WPHMLMG = false; WPSEMI = false; WPPYTHON = false; wptext = ("AK47");
- }
- if (ImGui::Button((" LR-300"), ImVec2(100, 20))) {
- WPAK = false; WPLR = true; WPMP5 = false; WPSMG = false; WPTHOMP = false; WPM249 = false; WPHMLMG = false; WPSEMI = false; WPPYTHON = false; wptext = ("LR-300");
- }
- if (ImGui::Button((" MP5"), ImVec2(100, 20))) {
- WPAK = false; WPLR = false; WPMP5 = true; WPSMG = false; WPTHOMP = false; WPM249 = false; WPHMLMG = false; WPSEMI = false; WPPYTHON = false; wptext = ("MP5A4");
- }
- if (ImGui::Button((" Custom"), ImVec2(100, 20))) {
- WPAK = false; WPLR = false; WPMP5 = false; WPSMG = true; WPTHOMP = false; WPM249 = false; WPHMLMG = false; WPSEMI = false; WPPYTHON = false; wptext = ("Custom");
- }
- if (ImGui::Button((" Thompson"), ImVec2(100, 20))) {
- WPAK = false; WPLR = false; WPMP5 = false; WPSMG = false; WPTHOMP = true; WPM249 = false; WPHMLMG = false; WPSEMI = false; WPPYTHON = false; wptext = ("Thompson");
- }
- if (ImGui::Button((" M249"), ImVec2(100, 20))) {
- WPAK = false; WPLR = false; WPMP5 = false; WPSMG = false; WPTHOMP = false; WPM249 = true; WPHMLMG = false; WPSEMI = false; WPPYTHON = false; wptext = ("M249");
- }
- if (ImGui::Button((" HMLMG"), ImVec2(100, 20))) {
- WPAK = false; WPLR = false; WPMP5 = false; WPSMG = false; WPTHOMP = false; WPM249 = false; WPHMLMG = true; WPSEMI = false; WPPYTHON = false; wptext = ("HMLMG");
- }
- if (ImGui::Button((" Semi"), ImVec2(100, 20))) {
- WPAK = false; WPLR = false; WPMP5 = false; WPSMG = false; WPTHOMP = false; WPM249 = false; WPHMLMG = false; WPSEMI = true; WPPYTHON = false; wptext = ("Semi");
- }
- if (ImGui::Button((" Python"), ImVec2(100, 20))) {
- WPAK = false; WPLR = false; WPMP5 = false; WPSMG = false; WPTHOMP = false; WPM249 = false; WPHMLMG = false; WPSEMI = false; WPPYTHON = true; wptext = ("Python");
- }
- ImGui::NextColumn();
- if (ImGui::Button((" 8x"), ImVec2(100, 20))) {
- Mod8X = true; ModHOLO = false; ModHAND = false; Mod16X = false; scptext = ("8x");
- }
- if (ImGui::Button((" 16x"), ImVec2(100, 20))) {
- Mod16X = true; Mod8X = false; ModHOLO = false; ModHAND = false; scptext = ("16x");
- }
- if (ImGui::Button((" Handmade"), ImVec2(100, 20))) {
- ModHAND = true; Mod8X = false; ModHOLO = false; Mod16X = false; scptext = ("hand");
- }
- if (ImGui::Button((" Holo"), ImVec2(100, 20))) {
- ModHOLO = true; Mod8X = false; ModHAND = false; Mod16X = false; scptext = ("holo");
- }
- ImGui::BeginGroup();
- if (ImGui::Button((" Reset Mods"), ImVec2(100, 20))) {
- ModSILEN = false; ModHOLO = false; ModHAND = false; Mod8X = false; Mod16X = false; brltext = ("-"); scptext = ("-");
- }
- ImGui::EndGroup();
- if (ImGui::Button((" Reset All"), ImVec2(100, 20))) {
- ModSILEN = false; ModHOLO = false; ModHAND = false; Mod8X = false; brltext = ("-"); scptext = ("-"); wptext = ("-");
- WPLR = false; WPMP5 = false; WPTHOMP = false; WPAK = false; WPSMG = false; WPM249 = false; WPHMLMG = false; WPSEMI = false; WPPYTHON = false;
- }
- //{
- // ImGui::Checkbox("Mini-Menu", &variable.minimenu);
- // if (variable.minimenu == true)
- // {
- // ImGui::Begin("Synthex.gg");
- //
- // ImGui::SetWindowSize(ImVec2(200, 50));
- // void SetupImGuiStyle();
- // ImGui::Text(wptext.c_str());
- // ImGui::SameLine();
- // ImGui::Text(scptext.c_str());
- // ImGui::SameLine();
- // ImGui::Text(brltext.c_str());
- // ImGui::End();
- //
- // }
- //}
- if (ImGui::Button(("Unload"), ImVec2(100, 20))) {
- exit(0);
- }ImGui::End();
- break;
- case 1:
- // Code
- if (variable.enableAutoCode)
- {
- if (GetAsyncKeyState(keys.enableCodeBind) & 1)
- {
- key_input((int)variable.codeNum1);
- Sleep(variable.delayBetweenKeypress);
- key_input((int)variable.codeNum2);
- Sleep(variable.delayBetweenKeypress);
- key_input((int)variable.codeNum3);
- Sleep(variable.delayBetweenKeypress);
- key_input((int)variable.codeNum4);
- }
- }
- ImGui::BeginChild("##codeEnter");
- {
- /*ImGui::SetCursorPos(ImVec2(52, 3));*/
- ImGui::Spacing();
- ImGui::Checkbox("Auto-Code", &variable.enableAutoCode);
- ImGui::SameLine();
- {
- ImGui::PushStyleColor(ImGuiCol_Button, firstChildColor);
- ImGui::PushStyleColor(ImGuiCol_ButtonActive, firstChildColor);
- ImGui::PushStyleColor(ImGuiCol_ButtonHovered, firstChildColor);
- {
- ImGui::SetCursorPos(ImVec2(100, 4));
- keybind::key_bind(keys.enableCodeBind);
- }
- ImGui::PopStyleColor(3);
- }
- ImGui::Spacing();
- ImGui::Text("Your Code:");
- ImGui::PushItemWidth(14.f);
- {
- ImGui::SameLine();
- ImGui::InputInt("##First", &variable.codeNum1, 0, 9);
- ImGui::SameLine();
- ImGui::InputInt("##Seconed", &variable.codeNum2, 0, 9);
- ImGui::SameLine();
- ImGui::InputInt("##Third", &variable.codeNum3, 0, 9);
- ImGui::SameLine();
- ImGui::InputInt("##Forth", &variable.codeNum4, 0, 9);
- }
- ImGui::Text("Delay: %i", variable.delayBetweenKeypress);
- ImGui::SetNextItemWidth(145);
- {
- ImGui::SliderInt("##Delay", &variable.delayBetweenKeypress, 5, 800, "%.06fms");
- }
- ImGui::Spacing();
- ImGui::Spacing();
- ImGui::Spacing();
- ImGui::Separator();
- ImGui::Spacing();
- ImGui::Spacing();
- ImGui::Checkbox("Anti-AFK", &variable.antiafk);
- if (variable.antiafk == true)
- {
- if (variable.number == 500)
- {
- keybd_event(0x57, 0, KEYEVENTF_EXTENDEDKEY, 0);
- Sleep(500);
- keybd_event(0x57, 0, KEYEVENTF_KEYUP, 0);
- }
- if (variable.number == 1000)
- {
- keybd_event(0x53, 0, KEYEVENTF_EXTENDEDKEY, 0);
- Sleep(500);
- keybd_event(0x53, 0, KEYEVENTF_KEYUP, 0);
- }
- if (variable.number == 1500)
- {
- keybd_event(0x57, 0, KEYEVENTF_EXTENDEDKEY, 0);
- Sleep(500);
- keybd_event(0x57, 0, KEYEVENTF_KEYUP, 0);
- }
- if (variable.number == 2000)
- {
- keybd_event(0x53, 0, KEYEVENTF_EXTENDEDKEY, 0);
- Sleep(500);
- keybd_event(0x53, 0, KEYEVENTF_KEYUP, 0);
- variable.number = 0;
- }
- else
- {
- Sleep(10);
- variable.number = variable.number + 1;
- }
- }
- }
- break;
- }
- ImGui::End();
- }
- ImGui::EndFrame();
Advertisement
Add Comment
Please, Sign In to add comment