Jump to content
Sign in to follow this  
fovcheck

Need help with toogles - (Locked)

Recommended Posts

Hey there,

i've written a simple aimbot which works when i press NUMPAD 8

But i want it to work when im (holding) my alt button.

Means im holding it and the script works, if i dont hold it the script should stop.

I dont get it too work can somebody implent it for me please?

My trash code:


HotKeySet("{NUMPAD8}", "Start")
HotKeySet("{NUMPAD7}", "Close")
MsgBox(0, "Binds", "Numpad 8 start aimbot | Numpad 7 close aimbot")

While 1
    Sleep(200)
WEnd

Func Start()
    While 1
        $Array = PixelSearch(0, 2, 1277, 1023, 16646144)
        If IsArray($Array) Then
            MouseMove($Array[0], $Array[1])
        EndIf
    WEnd
EndFunc

Func Close()
    Exit
EndFunc

Share this post


Link to post
Share on other sites

@fovcheck when you say "aimbot" what game is this for? Let's hope you don't mean AOL Instant Messenger :)

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
5 hours ago, JLogan3o13 said:

@fovcheck when you say "aimbot" what game is this for? Let's hope you don't mean AOL Instant Messenger :)

It's for the game called "Fortnite", i can lock on objects there with this little script.

It even locks straight on enemys like an real aimbot, thats why i need the toogle for.

If i dont use toogles like i do at the moment, im having fps issues, my fps goes down to almost 20 fps because the script keeps scanning all the time.

Maybe u even got any idea how to reduce cpu usage?

Share this post


Link to post
Share on other sites

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...