Guest User

Hol Stam Code

a guest
Jul 14th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.10 KB | None | 0 0
  1.  
  2. // AOB scan is used to help with compatibility and add some small update protection
  3.  
  4. [ENABLE]
  5.  
  6. aobscanmodule(INJECT,GameAssembly.dll,F3 0F 11 73 58 F3 0F 10 43)//this AOB is the code for what is constantly writing to the address
  7. alloc(newmem,$1000,INJECT)
  8.  
  9. label(code)
  10. label(return)
  11. alloc(ournum,4)
  12. registersymbol(ournum)//we alloc and register a value we want to use for our float
  13.  
  14. ournum:
  15. dd (float)160//the value we assign to our new float
  16.  
  17. newmem:
  18.  
  19. code:
  20.  
  21.   movss xmm6,[ournum]//xmm6 will be given our current stamina anyway so it's safe to store our new stamina value in it
  22.  movss [rbx+58],xmm6//we then execute like normal with health always being max
  23.  movss [rbx+60],xmm6//upon further looking, rbx+60 contains total possible health so we max it as well in case damage has been taken already.
  24.  jmp return
  25.  
  26. INJECT:
  27.  jmp newmem
  28. return:
  29. registersymbol(INJECT)
  30.  
  31. [DISABLE]
  32.  
  33. INJECT:
  34.  db F3 0F 11 73 58
  35.  
  36. unregistersymbol(INJECT)
  37. dealloc(newmem)
  38. dealloc(ournum)//we make sure to unregister and dealloc our new value upon deactivation to avoid messing up code
  39. unregistersymbol(ournum)
  40.  
Advertisement
Add Comment
Please, Sign In to add comment