Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (GetAsyncKeyState(VK_F1) & 1) Config::ShowMenu = !Config::ShowMenu;
- if (!Config::ShowMenu) return;
- static bool Built = false;
- if (!Built) {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(48.0f / 255.0f, 85.0f / 255.0f, 255.0f / 255.0f, 1.0f)));
- Menu.Banner(X("Dimethyltryptamine"), X("The Spirit Molecule"));
- Menu.CreateTab(X("Aimbot"))
- ->Toggle(X("Mouse Aim"), &Config::Aim::MouseAim)
- ->Slider(X("FOV"), &Config::Aim::Settings::Fov, 1.0f, 180.0f)
- ->Slider(X("Smoothing"), &Config::Aim::Settings::Smoothing, 1.0f, 20.0f)
- ->Combo(X("Target Bone"), &Config::Aim::Settings::SelectedBone, Config::Aim::Settings::BoneTypes, sizeof(Config::Aim::Settings::BoneTypes) / sizeof(const char*));
- Menu.CreateTab(X("Visuals"))
- ->Toggle(X("Bounding Box"), &Config::Visuals::Player::Box)
- ->Combo(X("Box Type"), &Config::Visuals::Player::Settings::BoxType, Config::Visuals::Player::Settings::BoxTypes, sizeof(Config::Visuals::Player::Settings::BoxTypes) / sizeof(const char*))
- ->Toggle(X("Skeleton"), &Config::Visuals::Player::Skeleton)
- ->Toggle(X("Head Dot"), &Config::Visuals::Player::HeadDot)
- ->Toggle(X("Health Bar"), &Config::Visuals::Player::HealthBar)
- ->Toggle(X("Username"), &Config::Visuals::Player::Username)
- ->Toggle(X("Distance"), &Config::Visuals::Player::Distance)
- ->Toggle(X("FOV Circle"), &Config::Visuals::Player::FovCircle)
- ->Toggle(X("Money"), &Config::Visuals::Player::Money);
- Menu.CreateTab(X("Miscellaneous"));
- Menu.CreateTab(X("Settings"))
- ->Slider(X("Animation Speed"), &Config::Settings::AnimationSpeed, 10.0f, 1000.0f)
- ->Button(X("Default Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(48.0f / 255.0f, 85.0f / 255.0f, 255.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Red Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(255.0f / 255.0f, 0.0f / 255.0f, 0.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Green Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(0.0f / 255.0f, 255.0f / 255.0f, 0.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Blue Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(0.0f / 255.0f, 0.0f / 255.0f, 255.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Cyan Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(0.0f / 255.0f, 255.0f / 255.0f, 255.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Pink Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(255.0f / 255.0f, 192.0f / 255.0f, 203.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Purple Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(138.0f / 255.0f, 43.0f / 255.0f, 226.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Yellow Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(255.0f / 255.0f, 255.0f / 255.0f, 0.0f / 255.0f, 1.0f)));
- })
- ->Button(X("Orange Theme"), []() {
- Menu.Theme(ImGui::ColorConvertFloat4ToU32(ImVec4(255.0f / 255.0f, 165.0f / 255.0f, 0.0f / 255.0f, 1.0f)));
- })
- ->Toggle(X("Rainbow Theme"), &Config::Settings::Rainbow);
- Built = true;
- }
- Menu.Render();
Advertisement
Add Comment
Please, Sign In to add comment