Credits @MJCreadoCode:static bool InviciblePatch; void invisible() { DWORD dwServerPtr = *(DWORD*)ADR_ServerPointer; if(dwServerPtr != 0) { if (!InviciblePatch) { if (GetAsyncKeyState(VK_NUMPAD1) &1) { MessageBeep(MB_ICONINFORMATION); *(long*)(dwServerPtr+ADR_Invisible) -= 2; InviciblePatch = true; } } else { if (InviciblePatch) { if (GetAsyncKeyState(VK_NUMPAD2) &1) { MessageBeep(MB_ICONINFORMATION); *(long*)(dwServerPtr+ADR_Invisible) += 2; InviciblePatch = false; } } } } }