from hack import Hack, sleep class Noflash(Hack): def __init__(self) -> None: super().__init__() def noflash(self) -> None: # Aliases mem = self.pm offset = self.offsets # Get module address client = self.find_module("client") # Get local player local_player = self.find_uint(client, offset["dwLocalPlayer"]) def cheat(): if (mem.read_int(local_player + offset["m_flFlashDuration"])): mem.write_int(local_player + offset["m_flFlashDuration"], 0) # Less chance to get flashed again sleep(1) self.hack_loop(cheat)