NOTICE- once you close the game you will have to do it all over again since the value changes, it also works in multiplayer.
Template script used in video-
#Inject Useless Code!
import bitslicer
ADDRESS_TO_HOOK_INTO = 0x7F9EBD01234C #pointing to some instruction in memory
class Script(object):
def __init__(self):
self.destinationAddress = vm.allocate()
self.originalBytes = debug.bytesBeforeInjection(ADDRESS_TO_HOOK_INTO, self.destinationAddress)
debug.injectCode(ADDRESS_TO_HOOK_INTO, self.destinationAddress, self.originalBytes + debug.assemble('nop'))
def finish(self):
debug.writeBytes(ADDRESS_TO_HOOK_INTO, self.originalBytes)
vm.deallocate(self.destinationAddress)
Ещё видео!