SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Windows.h>
  2.  
  3. int *health = (int*)0x01B3F3C4;
  4.  
  5. void Godmode()
  6. {
  7.     Beep(500,500);
  8.     while (1)
  9.     {
  10.         *health = 9999;
  11.         Sleep(100);
  12.     }
  13. }
  14.  
  15. BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
  16. {
  17.     if (fdwReason == DLL_PROCESS_ATTACH)
  18.     {
  19.         DisableThreadLibraryCalls(hinstDLL);
  20.         CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)&Godmode,0,0,NULL);
  21.         return TRUE;
  22.     }
  23.     return FALSE;
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top