Hope this worksCode:doWallhack() { self endon("disconnect"); self endon("death"); self notifyOnPlayerCommand( "N", "+actionslot 1" ); while( 1 ) { self waittill("N"); self ThermalVisionFOFOverlayOn(); self waittill("N"); self ThermalVisionFOFOverlayOff(); wait 0.05; } }