PostMACROS| ADS|Crouch Jump |100% undetected with python.

Posts 115 of 38 · Page 1 of 3
MACROS| ADS|Crouch Jump |100% undetected with python.
How this works:
What we are going to be doing is not using AHK anymore and instead, we are going to make our own macros using python.
With python, we can run code from many places and that is how it can never be detected. We are going to run our code in CMD or Windows PowerShell.

I don't think BlueHole will block cmd and other programs. If they do you can run your code in other places.

DO NOT:
Run through the python idle shell. They can block that like they did ahk.
Don't make it into a .py file or compile to an exe and run it. Might detect the sig.

INFO:
if you want me to make any macros tell me ill do it. I'm now back after a 2 week break.
If you are having an error tell me so I can fix it and update the pastebin code.
I added a chance of successfully doing a crouch jump if you want to look more 'legit'. Its default is at 100% chance so you will always crouch jump.

Code:
list of keys to use in keybinds: -with mac and windows support.
https://pastebin.com/KMjqvkTV

The Code V1.04: - read my comments on the pastebin if you want to change keybinds
https://pastebin.com/GcTS1D7S
Keybinds:
f5 = ads toggle on/off
f6 = crouch jump toggle on/off
f7 = panic stop the script
shift+alt = shift and left alt have to be hit in any order but both pressed at the same time to crouch jump. this can be channged
Tutorial:
Use this process and it is the same process with any python script/file. If you know what you are doing you can skip this.

1)First off you are going to need to download Python 3.6.2 or later version and installed.
2)Make sure the install directory and scripts was added to your environment variables. Should look like this but mine is on my D: drive. If you don't know how to check. search in your control panel on your pc for 'environment variables'. Then under variables find and click 'path' then click 'edit'

3)Now we need, you will need to open cmd As ADMIN and run the following commands. One way might work, others may not so I'm including them all.

pip install NameOfPackage

py pip install NameOfPackage

-m pip install NameOfPackage

python -m pip NameOfPackage

Change NameOfPackage to:

keyboard
example: pip install keyboard

after that is done being installed change keyboard to:

mouse
example: pip install mouse

I already have it installed but it will look something like this if you retry to download it


4) type:python it should look like this if not you have not installed python correctly(does not need to be in admin anymore)

5) now copy all the code and paste it in notepad or other text editor programs if you want to make changes to it for keybinds, chance of successfully doing a crouch jump or anything else recopy when done. Then paste it into CMD and hit enter a few times and it should look like this


6) Now you are done. Hit your keybinds to activate/deactivte ads or crouch jump, ext and go!


man. ur ads need to fix. it keep scoping while walking and when u take item with RMB it will keep scoping. ill post video for u

- - - Updated - - -

Quote Originally Posted by momonpler View Post
man. ur ads need to fix. it keep scoping while walking and when u take item with RMB it will keep scoping. ill post video for u

ok, I will fix this thanks man.

- - - Updated - - -

Fix it! Should all work now. Tell me how to goes.
Great script, could you do an alternative one with crouch jump only, I have been trying but couldn't get it to work, Thanks.
Quote Originally Posted by barmhartsam View Post
Great script, could you do an alternative one with crouch jump only, I have been trying but couldn't get it to work, Thanks.
Here you go, man, if something is not working for you always debug your code. I use print statements to see what is happening. I left them in for you. uncomment them if you want to see what is going on. I also added a 0.3 delay so it does not spam crouch jump 50times if you hold down the key

Code:
from time import sleep
from random import randint 
import keyboard


#How much we want to successfully crouch jump from 1-100%, 100% will always crouch jump.
#example 80 = 80% chance of successfully doing a crouch jump

success_rate = 100#%

#You can change the key to whatever you want. 
#example. '/' = / or keypad devide, '*' = numpad mult or shift+8

crouch_jump_act_deact = 'f6'
panic_quit_act_deact  = 'f7'

#What key/'s to push to make you crouch jump
#If you want it to be when you press shift and space do 'shift+space' add a '#' to line 35 just like in like 36 if you dont know what to do.
#you can make it control space do 'ctrl+space' or any other comb of keys. uncomment line 36.
#If you want just one key make it look like 'alt' and uncomment like 36. do not make it 'c' space needs to come first
crouch_jump_keybind = 'shift+alt'

crouchJ = 0

def stop_now():
    print('STOPPED!')
    keyboard.unhook_all()
    sleep(43232)
    stop_now()

def crouch_jump():
    if crouchJ == 1:
        success_chance = random.randint(1, 100)
        if success_chance <= success_rate:
            #keyboard.send('shift')
            keyboard.send('space')
            keyboard.send('c')
            #print('done succ')
            keyboard.wait(crouch_jump_keybind)
            sleep(0.3)
            crouch_jump()
        else:
            keyboard.send('c')
            keyboard.send('space')
            #print('dont succ')
            keyboard.wait(crouch_jump_keybind)
            sleep(0.3)
            crouch_jump()
    else:
        #print('waiting')
        keyboard.wait(crouch_jump_keybind)
        sleep(0.3)
        crouch_jump()

def start_cj():
    global crouchJ
    if crouchJ == 0:
        crouchJ = 1
        print('Crouch Jump is Activated')
    elif crouchJ == 1:
        crouchJ = 0
        print('Crouch Jump is Deactivated')
    else:
        return

keyboard.add_hotkey(crouch_jump_act_deact, start_cj, trigger_on_release=True)
keyboard.add_hotkey(panic_quit_act_deact, stop_now)
crouch_jump()
man...i got this syntaxError: Envalid syntax
how to fix this/?
i hit enter so many time

- - - Updated - - -

how to Crouch Jump is Activated
how to use this...when i follow all the step..nothing happen..
Quote Originally Posted by raifudindeyn View Post
how to use this...when i follow all the step..nothing happen..
I had the same problem with the errors, but I fixed it by copying the RAW Paste Data from the pastebin link
Quote Originally Posted by dustyroo View Post
Here you go, man, if something is not working for you always debug your code. I use print statements to see what is happening. I left them in for you. uncomment them if you want to see what is going on. I also added a 0.3 delay so it does not spam crouch jump 50times if you hold down the key

Code:
from time import sleep
from random import randint 
import keyboard


#How much we want to successfully crouch jump from 1-100%, 100% will always crouch jump.
#example 80 = 80% chance of successfully doing a crouch jump

success_rate = 100#%

#You can change the key to whatever you want. 
#example. '/' = / or keypad devide, '*' = numpad mult or shift+8

crouch_jump_act_deact = 'f6'
panic_quit_act_deact  = 'f7'

#What key/'s to push to make you crouch jump
#If you want it to be when you press shift and space do 'shift+space' add a '#' to line 35 just like in like 36 if you dont know what to do.
#you can make it control space do 'ctrl+space' or any other comb of keys. uncomment line 36.
#If you want just one key make it look like 'alt' and uncomment like 36. do not make it 'c' space needs to come first
crouch_jump_keybind = 'shift+alt'

crouchJ = 0

def stop_now():
    print('STOPPED!')
    keyboard.unhook_all()
    sleep(43232)
    stop_now()

def crouch_jump():
    if crouchJ == 1:
        success_chance = random.randint(1, 100)
        if success_chance <= success_rate:
            #keyboard.send('shift')
            keyboard.send('space')
            keyboard.send('c')
            #print('done succ')
            keyboard.wait(crouch_jump_keybind)
            sleep(0.3)
            crouch_jump()
        else:
            keyboard.send('c')
            keyboard.send('space')
            #print('dont succ')
            keyboard.wait(crouch_jump_keybind)
            sleep(0.3)
            crouch_jump()
    else:
        #print('waiting')
        keyboard.wait(crouch_jump_keybind)
        sleep(0.3)
        crouch_jump()

def start_cj():
    global crouchJ
    if crouchJ == 0:
        crouchJ = 1
        print('Crouch Jump is Activated')
    elif crouchJ == 1:
        crouchJ = 0
        print('Crouch Jump is Deactivated')
    else:
        return

keyboard.add_hotkey(crouch_jump_act_deact, start_cj, trigger_on_release=True)
keyboard.add_hotkey(panic_quit_act_deact, stop_now)
crouch_jump()


>>> keyboard.add_hotkey(crouch_jump_act_deact, start_cj, trigger_on_release=True)
<function add_hotkey.<locals>.handler at 0x053C4420>
>>> keyboard.add_hotkey(panic_quit_act_deact, stop_now)
<function add_hotkey.<locals>.handler at 0x053C4660>
>>> crouch_jump()
Crouch Jump is Activated


the Crounch jump is activated.. But how is work..or need more file?
Quote Originally Posted by raifudindeyn View Post
>>> keyboard.add_hotkey(crouch_jump_act_deact, start_cj, trigger_on_release=True)
<function add_hotkey.<locals>.handler at 0x053C4420>
>>> keyboard.add_hotkey(panic_quit_act_deact, stop_now)
<function add_hotkey.<locals>.handler at 0x053C4660>
>>> crouch_jump()
Crouch Jump is Activated[/COLOR][/B]

the Crounch jump is activated.. But how is work..or need more file?
Try installing Pillow and psutil. But if it the keybind is working it should work. Found and fixed the issue, it tells you what is wrong btw.

Code:
from time import sleep
from random import randint 
import keyboard


#How much we want to successfully crouch jump from 1-100%, 100% will always crouch jump.
#example 80 = 80% chance of successfully doing a crouch jump

success_rate = 100#%

#You can change the key to whatever you want. 
#example. '/' = / or keypad devide, '*' = numpad mult or shift+8

crouch_jump_act_deact = 'f6'
panic_quit_act_deact  = 'f7'

#What key/'s to push to make you crouch jump
#If you want it to be when you press shift and space do 'shift+space' add a '#' to line 35 just like in like 36 if you dont know what to do.
#you can make it control space do 'ctrl+space' or any other comb of keys. uncomment line 36.
#If you want just one key make it look like 'alt' and uncomment like 36. do not make it 'c' space needs to come first
crouch_jump_keybind = 'shift+alt'

crouchJ = 0

def stop_now():
    print('STOPPED!')
    keyboard.unhook_all()
    sleep(43232)
    stop_now()

def crouch_jump():
    if crouchJ == 1:
        success_chance = randint(1, 100)
        if success_chance <= success_rate:
            #keyboard.send('shift')
            keyboard.send('space')
            keyboard.send('c')
            #print('done succ')
            keyboard.wait(crouch_jump_keybind)
            sleep(0.3)
            crouch_jump()
        else:
            keyboard.send('c')
            keyboard.send('space')
            #print('dont succ')
            keyboard.wait(crouch_jump_keybind)
            sleep(0.3)
            crouch_jump()
    else:
        #print('waiting')
        keyboard.wait(crouch_jump_keybind)
        sleep(0.3)
        crouch_jump()

def start_cj():
    global crouchJ
    if crouchJ == 0:
        crouchJ = 1
        print('Crouch Jump is Activated')
    elif crouchJ == 1:
        crouchJ = 0
        print('Crouch Jump is Deactivated')
    else:
        return

keyboard.add_hotkey(crouch_jump_act_deact, start_cj, trigger_on_release=True)
keyboard.add_hotkey(panic_quit_act_deact, stop_now)
crouch_jump()
- - - Updated - - -

Quote Originally Posted by neuronuro View Post
I had the same problem with the errors, but I fixed it by copying the RAW Paste Data from the pastebin link


fixed the issue

- - - Updated - - -

Quote Originally Posted by the god, himself. View Post
ah, I believe if its a very small delay, it's just the language the code is written in, it's not nearly as quick as C# or other advanced languages, python is a "slow-ish" language.
python is not slow lul, NASA uses it and other big orgs. I wrote in the code a small delay to make sure you did not just click right click, but that you are holding it down.
Could we see a decreased or no recoil mod? This would probably take shit tons of time, but would be a great contribution.
Hi, I'm totally new to python and I have followed your instructions and got it to work. I've got some noob questions...

Every time i want to use this script, do I have to open cmd, type python, paste the code, and activate the ads and crouchjump?
And what do you mean by "With python, we can run code from many places and that is how it can never be detected"?
There's also a slight delay until I ads - Is there a way to fix that?

Thanks
Quote Originally Posted by neuronuro View Post
Hi, I'm totally new to python and I have followed your instructions and got it to work. I've got some noob questions...

Every time i want to use this script, do I have to open cmd, type python, paste the code, and activate the ads and crouchjump?
And what do you mean by "With python, we can run code from many places and that is how it can never be detected"?
There's also a slight delay until I ads - Is there a way to fix that?

Thanks
ah, I believe if its a very small delay, it's just the language the code is written in, it's not nearly as quick as C# or other advanced languages, python is a "slow-ish" language.
pls help when i try to install keyboard i get this error "D:\Program Files (x86)\Python\Python36-32\python.exe: can't open file 'pip': [Errno 2] No such file or directory"
Quote Originally Posted by bigblackmichael View Post
pls help when i try to install keyboard i get this error "D:\Program Files (x86)\Python\Python36-32\python.exe: can't open file 'pip': [Errno 2] No such file or directory"
Go and make sure you have done step 2. Restart pc then try.
Posts 115 of 38 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?