Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Windows.h>
- int *health = (int*)0x01B3F3C4;
- void Godmode()
- {
- Beep(500,500);
- while (1)
- {
- *health = 9999;
- Sleep(100);
- }
- }
- BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
- {
- if (fdwReason == DLL_PROCESS_ATTACH)
- {
- DisableThreadLibraryCalls(hinstDLL);
- CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)&Godmode,0,0,NULL);
- return TRUE;
- }
- return FALSE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement