unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, luaclientfunctions; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Memo1: TMemo; procedure Button1Click(Sender: TObject); procedure FormCreate(Sender: TObject); private { private declarations } public { public declarations } end; var Form1: TForm1; implementation {$R *.lfm} { TForm1 } procedure TForm1.Button1Click(Sender: TObject); begin CELUA_ExecuteFunction(pchar(memo1.lines.text), 0); end; procedure TForm1.FormCreate(Sender: TObject); begin if CELUA_Initialize('cheatenginebla') then caption:='Connected'; end; end.