Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("S4 Trainer by Ranri", 319, 117, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("Inf. Sp", 32, 48, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("200 HP", 152, 48, 97, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Hack()
EndSwitch
WEnd
Func _Hack()
GUISetState(@SW_HIDE)
MsgBox ( 0, "title", "text" ) ; [B]This is a message box which will appear after pressing hack button you can change the title to what you like also the text[/B]
$WAIT = ProcessWait("S4Client.exe"); [B]This will make the hack search for s4League[/B]
$PID = ProcessExists("S4Client.exe"); [B]This means he Found S4League[/B]
Sleep(500);[B]This means that after short time he will start[/B]
$OPEN = _MemoryOpen ($PID); [B]This makes the function work[/B]
If GUICtrlRead($Checkbox1) = 1 Then
_MemoryWrite(0x0048C,$OPEN,"Inf sp","long")
EndIf
Exit