private static void AttachToGame()
        {
            Console.WriteNotification($"\n  Looking for {ExternalCounterstrike.GameName}...");
            while (!ExternalCounterstrike.IsAttached)
            {
                Thread.Sleep(100);
                try
                {
                    ExternalCounterstrike.Process = Process.GetProcessesByName(ExternalCounterstrike.ProcessName).FirstOrDefault(p => p.Threads.Count > 0);
                    if (ExternalCounterstrike.Process == null || !Utils.IsModuleLoaded(ExternalCounterstrike.Process, "client.dll") || !Utils.IsModuleLoaded(ExternalCounterstrike.Process, "engine.dll"))
                    {
                        continue;
                    }
                }
                catch
                {
                    continue;
                }

                Console.WriteLine("\n  Modules:");
                while (ExternalCounterstrike.ClientDll == null)
                {
                    Thread.Sleep(100);
                    ExternalCounterstrike.ClientDll = Utils.GetModuleHandle(ExternalCounterstrike.Process, "client.dll");
                }
                Console.WriteSuccess("  \tclient.dll | 0x" + ExternalCounterstrike.ClientDll.BaseAddress.ToString("X").PadLeft(8, '0') + "\t| " + Utils.ByteSizeToString(ExternalCounterstrike.ClientDll.ModuleMemorySize));

                while (ExternalCounterstrike.EngineDll == null)
                {
                    Thread.Sleep(100);
                    ExternalCounterstrike.EngineDll = Utils.GetModuleHandle(ExternalCounterstrike.Process, "engine.dll");
                }
                Console.WriteSuccess("  \tengine.dll | 0x" + ExternalCounterstrike.EngineDll.BaseAddress.ToString("X").PadLeft(8, '0') + "\t|  " + Utils.ByteSizeToString(ExternalCounterstrike.EngineDll.ModuleMemorySize));

                ExternalCounterstrike.Memory     = new MemoryScanner(ExternalCounterstrike.Process);
                ExternalCounterstrike.SigScanner = new SignatureScanner(ExternalCounterstrike.Process);
                ExternalCounterstrike.Overlay    = new OverlayWindow(ExternalCounterstrike.Process.MainWindowHandle, false);
                ExternalCounterstrike.IsAttached = true;
            }

            Console.WriteLine("\n  Offsets:");
            Console.WriteOffset("EntityBase", SignatureManager.GetEntityList());
            Console.WriteOffset("ConCommand", SignatureManager.GetConvarPtr());

            Console.WriteLine("\n  NetVars:");
            ExternalCounterstrike.NetVars = new SortedDictionary <string, int>();
            var attribute = NetvarManager.GetOffset("DT_BaseCombatWeapon", "m_Item") + NetvarManager.GetOffset("DT_BaseCombatWeapon", "m_AttributeManager");

            ExternalCounterstrike.NetVars.Add("m_vecAimPunch", NetvarManager.GetOffset("DT_BasePlayer", "m_Local") + NetvarManager.GetOffset("DT_BasePlayer", "m_aimPunchAngle"));
            ExternalCounterstrike.NetVars.Add("m_vecViewPunch", NetvarManager.GetOffset("DT_BasePlayer", "m_Local") + NetvarManager.GetOffset("DT_BasePlayer", "m_viewPunchAngle"));
            ExternalCounterstrike.NetVars.Add("m_ItemDefIndex", attribute + NetvarManager.GetOffset("DT_BaseCombatWeapon", "m_iItemDefinitionIndex"));
            ExternalCounterstrike.NetVars.Add("m_vecOrigin", NetvarManager.GetOffset("DT_BasePlayer", "m_vecOrigin"));
            ExternalCounterstrike.NetVars.Add("m_iHealth", NetvarManager.GetOffset("DT_BasePlayer", "m_iHealth"));
            ExternalCounterstrike.NetVars.Add("m_iTeamNum", NetvarManager.GetOffset("DT_BasePlayer", "m_iTeamNum"));
            ExternalCounterstrike.NetVars.Add("m_vecViewOffset", NetvarManager.GetOffset("DT_BasePlayer", "m_vecViewOffset[0]"));
            ExternalCounterstrike.NetVars.Add("m_dwIndex", 0x64);
            ExternalCounterstrike.NetVars.Add("m_dwBoneMatrix", NetvarManager.GetOffset("DT_BaseAnimating", "m_nForceBone") + 0x1C);
            ExternalCounterstrike.NetVars.Add("m_hActiveWeapon", NetvarManager.GetOffset("DT_BasePlayer", "m_hActiveWeapon"));
            ExternalCounterstrike.NetVars.Add("m_hOwner", NetvarManager.GetOffset("DT_BaseCombatWeapon", "m_hOwner"));
            ExternalCounterstrike.NetVars.Add("m_bDormant", SignatureManager.GetDormantOffset());
            ExternalCounterstrike.NetVars.Add("m_nPaintKit", NetvarManager.GetOffset("DT_BaseCombatWeapon", "m_nFallbackPaintKit"));
            ExternalCounterstrike.NetVars.Add("m_iItemIDHigh", attribute + NetvarManager.GetOffset("DT_BaseCombatWeapon", "m_iItemIDHigh"));
            ExternalCounterstrike.NetVars.Add("m_flFlashAlpha", NetvarManager.GetOffset("DT_CSPlayer", "m_flFlashMaxAlpha"));

            var sortedDict = from entry in ExternalCounterstrike.NetVars orderby entry.Value ascending select entry;

            foreach (var netvar in sortedDict)
            {
                Console.WriteOffset(netvar.Key, netvar.Value, true);
            }
            Console.WriteOffset("m_numHighest", ExternalCounterstrike.NetVars.Values.Max() + Marshal.SizeOf(typeof(Vector3D)), true);

            Console.WriteNotification("\n  Found and attached to it!\n");
            Console.WriteCommandLine();
            ThreadManager.Run("CommandHandler");
            ThreadManager.Run("DrawingLoop");
            //ThreadManager.Run("SkinChanger");
        }