Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Button clicker

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
OmVax
How do I cheat?
Reputation: 0

Joined: 20 Aug 2024
Posts: 2

PostPosted: Thu Jun 05, 2025 4:49 pm    Post subject: Button clicker Reply with quote

is it possible to make something that clicks to the boosters (like golden cookies in cookie clicker) so when i open speed hack with cheat engine it just clicks
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 36

Joined: 16 Feb 2017
Posts: 1512

PostPosted: Thu Jun 05, 2025 5:55 pm    Post subject: Reply with quote

Place the mouse cursor over the button to be clicked and press "F4".
Press "F4" again to stop.
Edit the box that says "50" for the click interval.
1000 = 1 second. The default is now 50 milliseconds.

Code:
if Aclk1 then Aclk1.Destroy() Aclk1=nil end
DP1=getScreenDPI()/96
Aclk1=createForm()
Aclk1.height=162*DP1 Aclk1.width=328*DP1
Aclk1.PopupMode=0 Aclk1.caption="AutoClick Test.."
Aclk1.Position="poDesktopCenter" Aclk1.ShowInTaskBar="stAlways"
Aclk1.BorderStyle="bsSingle"
Aclk1.Font.Style="fsBold"
-------------------------
local clks = {}
----------------------- clks.tlbl1 ----- 
clks.tlbl1=createLabel(Aclk1)
clks.tlbl1.AutoSize=false
clks.tlbl1.height=47*DP1 clks.tlbl1.width=244*DP1 clks.tlbl1.left=37*DP1 clks.tlbl1.top=16*DP1
clks.tlbl1.caption="AutoClick \n(Start: F4 - Stop: F4)"
clks.tlbl1.alignment="taCenter"
clks.tlbl1.Font.Size=15*DP1 clks.tlbl1.OptimalFill=true
-----------------------
----------------------- clks.tedt1 ----- 
clks.tedt1=createEdit(Aclk1)
clks.tedt1.AutoSize=false
clks.tedt1.height=27*DP1 clks.tedt1.width=80*DP1 clks.tedt1.left=161*DP1 clks.tedt1.top=75*DP1
clks.tedt1.text="50"
clks.tedt1.alignment="taLeftJustify"
clks.tedt1.Font.Style="fsBold" clks.tedt1.Font.Size=12*DP1
-----------------------
----------------------- clks.tlbl2 ----- 
clks.tlbl2=createLabel(Aclk1)
clks.tlbl2.AutoSize=false
clks.tlbl2.height=27*DP1 clks.tlbl2.width=112*DP1 clks.tlbl2.left=41*DP1 clks.tlbl2.top=75*DP1
clks.tlbl2.caption="Click  Speed:"
clks.tlbl2.alignment="taLeftJustify"
clks.tlbl2.Font.Size=20*DP1  clks.tlbl2.OptimalFill=true
-----------------------
----------------------- clks.tlbl3 ----- 
clks.tlbl3=createLabel(Aclk1)
clks.tlbl3.AutoSize=false
clks.tlbl3.height=39*DP1 clks.tlbl3.width=140*DP1 clks.tlbl3.left=89*DP1 clks.tlbl3.top=110*DP1
clks.tlbl3.caption="Stop..."
clks.tlbl3.alignment="taCenter"
clks.tlbl3.Font.Size=19*DP1  clks.tlbl3.OptimalFill=true
-----------------------

--############################################################################--
--############################################################################--

if myhotkey then myhotkey.Destroy() myhotkey = nil end
if mytimer then mytimer.Destroy() mytimer = nil  end

mytimer=createTimer()
mytimer.interval=clks.tedt1.text
mytimer.Enabled=false

mytimer.OnTimer=function()
  mouse_event(MOUSEEVENTF_LEFTDOWN)
  mouse_event(MOUSEEVENTF_LEFTUP)
end

myhotkey = createHotkey(function() sleep(120)
           if mytimer.Enabled==false then
              mytimer.interval=clks.tedt1.text
              mytimer.Enabled=true
              clks.tlbl3.caption="Play.."
           else
              mytimer.Enabled=false
              clks.tlbl3.caption="Stop.."
           end end, VK_F4)

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites