PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=c:\users\taylan\desktop\form1.kxf
$Form1_1 = GUICreate("Lawonama's S4 Trainer v1.0", 307, 438, 192, 124)
$Pic1 = GUICtrlCreatePic("C:\Users\Taylan\Desktop\Naamloos.bmp", 8, 8, 289, 113)
$Label1 = GUICtrlCreateLabel("Don't forget to check our web-site", 72, 400, 164, 17)
$Label2 = GUICtrlCreateLabel("www.s4-cheats.tk", 112, 416, 89, 17)
$Checkbox1 = GUICtrlCreateCheckbox("God Mode", 16, 152, 89, 17)
$Checkbox2 = GUICtrlCreateCheckbox("200 HP", 16, 176, 65, 17)
$Button1 = GUICtrlCreateButton("Start!", 120, 344, 65, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Hack()
EndSwitch
WEnd
Func _Hack()
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500);
$DADA = _MemoryOpen ($PID);
If GUICtrlRead($Checkbox1) = 1 Then
_MEMORYWRITE("0x011B65A9", $DADA, "Slang", "0")
EndIf
Exit
EndFunc