Code:
#include <GUIConstants.au3>
#include <NoMadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Trainer by Flasher2", 245, 89, 600, 207)
$Checkbox1 = GUICtrlCreateCheckbox("Multispeed", 24, 16, 97, 17)
$Button1 = GUICtrlCreateButton("Run", 144, 56, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$msg=GuiGetMsg()
If $msg=$Button1 then Hack1()
WEnd
Func Hack1()
ToolTip("S4Client.exe",0,0)
$wait = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500)
$Open = _MemoryOpen($PID)
If GUICtrlRead($Checkbox1) = 1 Then
_Memorywrite(0x00CEF718, $Open, $Checkbox1,"Double")
EndIf
Exit
EndFunc