Jump to content
Sign in to follow this  

Auto spacebar + right button mouse click

Recommended Posts

iat the start I wanted to tell that I am Polish and my English is poor.

need a script to make a bot to click the right mouse button and the space very quickly, here is a model only by a space and click on to disable the touch of a button,

I'm starting in this field and I do not know how to do it

if the wrong section I apologize

HotKeySet("!{SPACE}", "AutoSpace")

HotKeySet("+{SPACE}", "UnAutoSpace")

Global $pick = 0

TrayTip ( "Made By NFWU", "Auto-spacer" & @CRLF & "Alt+SPACE Activate" & @CRLF & "Shift+SPACE Deactivate", 60 , 1 )

While 1


while $pick == 1




func AutoSpace()

$pick = 1


func UnAutoSpace()

$pick = 0


Edited by Nowek

Share this post

Link to post
Share on other sites

hmm, i don't really know what are u think but try this:

#include <Misc.au3>

Local $hDll = DllOpen("user32.dll"), $iPaused = False
HotKeySet("!{ESC}", "_Terminate")
HotKeySet("!{PAUSE}", "_Pause")

While 1
    If $iPaused <> True And _IsPressed("20", $hDll) Then
        Send("{SPACE UP}")
        Send("{SPACE DOWN}")

Func _Pause()
    $iPaused = Not $iPaused

Func _Terminate()
    Exit 0
EndFunc   ;==>Terminate

if u hold down the spacebar it will press it quickly continously (sometimes used for bunnyhop)

if u don't wanted this, then sorry XD

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...