Results 1 to 5 of 5
  1. #1
    purepker21's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    1

    [Request] AHK no-recoil script that pauses when pulling out a pistol/nade, and ...

    removed .
    Last edited by purepker21; 09-08-2017 at 07:46 PM.

  2. #2
    wantra's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    What you ask is a hack, it's impossible to read what weapon you are using without reading memory.
    In fact, it might be possible by reading the pixels but that would be one hell of a work and I doubt someone will ever do it considering you can just f11 to disable the no-recoil.

  3. #3
    csgon's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    2
    Here, this is something I made for myself, probably not modified in the best way, all credits to Pean

    AK: F3
    M4A4: F4
    M4A1: F6
    AUG: F7
    SG: F8
    UMP: F9
    GALIL: End
    FAMAS: Home
    BHOP :F1
    RAPID FIRE: F2
    TURN OFF: F11

    Primary (turns on recoil, previous primary weapon): 1
    Pistol (turns off recoil): 2
    Knife (turns off recoil): 3
    Grenade (turns off recoil): 4

    Code:
    ;Pean's AHK MultiScript Final
    ;Settings
    sens:=1.525
    zoomsens:=0.7
    
    ;Key binds
    key_AK:="F3"
    key_M4A1:="F6"
    key_M4A4:="F4"
    key_Famas:="Home"
    key_Galil:="End"
    key_UMP:="F9"
    key_AUG:="F7"
    key_SG:="F8"
    key_RCoff:="F11"
    key_RCoff2:="2"
    key_RCoff3:="3"
    key_RCoff4:="4"
    key_Terminate:="F10"
    key_shoot:="LButton"
    key_zoom:="LAlt"
    key_previous:="1"
    
    ;do not touch this if you don't know what are you doing
    modifier:=2.52/sens
    Hotkey, *~$Space, Off
    Hotkey, *~$MButton, Off
    Hotkey, *~$t, Off
    
    ;Main program loop, don't break out of it
    loop {
    sleep 1
    ;Menu handling
    
    if GetKeyState(key_previous)
    {
    if akb
    {
    ak:=true
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if m4a1b
    {
    m4a1:=true
    ak:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if m4a4b
    {
    m4a4:=true
    ak:=false
    m4a1:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if famasb
    {
    famas:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if galilb
    {
    galil:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if umpb
    {
    ump:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    sg:=false
    }
    if augb
    {
    aug:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    sg:=false
    }
    if sgb
    {
    sg:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    }
    }
    
    if GetKeyState(key_AK)
    {
    ak:=true
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=true
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_M4A1)
    {
    m4a1:=true
    ak:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=true
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_M4A4)
    {
    m4a4:=true
    ak:=false
    m4a1:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=true
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_Famas)
    {
    famas:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=true
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_Galil)
    {
    galil:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=true
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_Terminate)
    {
    sleep 2000
    ExitApp
    }
    
    if GetKeyState(key_RCoff)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_RCoff2)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_RCoff3)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_RCoff4)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_UMP)
    {
    ump:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=true
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_SG)
    {
    sg:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=true
    }
    
    if GetKeyState(key_AUG)
    {
    aug:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=true
    sgb:=false
    }
    
    ;NoRecoil
    if GetKeyState(key_shoot)
    {
    ;AK-47
    if ak
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 50
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 7*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 19*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 29*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 31*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", 31*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 28*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", 21*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -17*modifier, "UInt", 12*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -42*modifier, "UInt", -3*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -21*modifier, "UInt", 2*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 11*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier, "UInt", 7*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -26*modifier, "UInt", -8*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 4*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 40*modifier, "UInt", 1*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier, "UInt", 7*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 10*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 27*modifier, "UInt", 0*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 33*modifier, "UInt", -10*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -21*modifier, "UInt", -2*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 7*modifier, "UInt", 3*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier, "UInt", 9*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier, "UInt", 4*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier, "UInt", -3*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 6*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", -1*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -33*modifier, "UInt", -4*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -45*modifier, "UInt", -21*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier, "UInt", 1*modifier)
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    sleep 80
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;M4A1-S
    else if m4a1
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 15
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 14*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 18*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 21*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 24*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 14*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 12*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 18*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 10*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -19*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -22*modifier, "UInt", -3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 1*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", -2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 1*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;M4A4
    else if m4a4
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 15
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 7*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 9*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 16*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 7*modifier, "UInt", 21*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 23*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier, "UInt", 27*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", 15*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 13*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 22*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 11*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -18*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -30*modifier, "UInt", -4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -24*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 4*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 4*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -11*modifier, "UInt", 1*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", -2*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 33*modifier, "UInt", -1*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 27*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 0*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 5*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 5*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 1*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", -1*modifier)
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;Famas
    else if famas
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 30
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 10*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 17*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 20*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 18*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", 12*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 12*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", 8*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 5*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 23*modifier, "UInt", 4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 20*modifier, "UInt", -3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 5*modifier)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -1*modifier)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 2*modifier)
    sleep 84
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 0*modifier)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -7*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -10*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;Galil
    else if galil
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 10
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -2*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 10*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 15*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 21*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 24*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 16*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 10*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 14*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -22*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -30*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -29*modifier, "UInt", -13*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 2*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier, "UInt", 1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 1*modifier)
    sleep 50
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 7*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 25*modifier, "UInt", 7*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 25*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 31*modifier, "UInt", -9*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", -4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -32*modifier, "UInt", -5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -24*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -24*modifier, "UInt", -14*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;UMP-45
    else if ump
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 15
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 6*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -2*modifier, "UInt", 18*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 23*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 23*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 26*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 17*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 12*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 9*modifier, "UInt", 13*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 18*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 6*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 6*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 9*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -19*modifier, "UInt", 1*modifier)
    sleep 85
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", -2*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 17*modifier, "UInt", -2*modifier)
    sleep 85
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", -2*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;AUG
    else if aug
    {
    if GetKeyState(key_zoom)
    {
    ;this is the best scale I could figure out for zoomed in norecoil
    obs:=1.2/zoomsens
    }
    else
    {
    obs:=1
    }
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 30
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier*obs, "UInt", 13*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 22*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier*obs, "UInt", 26*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier*obs, "UInt", 29*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 9*modifier*obs, "UInt", 30*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 21*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier*obs, "UInt", 15*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 13*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier*obs, "UInt", 11*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier*obs, "UInt", 0*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -22*modifier*obs, "UInt", 5*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -38*modifier*obs, "UInt", -11*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -31*modifier*obs, "UInt", -13*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier*obs, "UInt", 6*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier*obs, "UInt", 0*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 24*modifier*obs, "UInt", 1*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 32*modifier*obs, "UInt", 3*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 1*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 17*modifier*obs, "UInt", -3*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 29*modifier*obs, "UInt", -11*modifier*obs)
    sleep 95
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier*obs, "UInt", 0*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier*obs, "UInt", 3*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier*obs, "UInt", 1*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;SG 553
    else if sg
    {
    if GetKeyState(key_zoom)
    {
    ;this is the best scale I could figure out for zoomed in norecoil
    obs:=1.2/zoomsens
    }
    else
    {
    obs:=1
    }
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 30
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier*obs, "UInt", 9*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier*obs, "UInt", 15*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier*obs, "UInt", 25*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier*obs, "UInt", 29*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", 31*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier*obs, "UInt", 36*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier*obs, "UInt", 14*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 17*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", 12*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier*obs, "UInt", 8*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier*obs, "UInt", 5*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier*obs, "UInt", 11*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier*obs, "UInt", -6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier*obs, "UInt", -17*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -18*modifier*obs, "UInt", -9*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", -2*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 41*modifier*obs, "UInt", 3*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 56*modifier*obs, "UInt", -5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 43*modifier*obs, "UInt", -1*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 18*modifier*obs, "UInt", 9*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 9*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier*obs, "UInt", 7*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 21*modifier*obs, "UInt", -3*modifier*obs)
    sleep 95
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 29*modifier*obs, "UInt", -4*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier*obs, "UInt", 8*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier*obs, "UInt", 5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -38*modifier*obs, "UInt", -5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    }
    }
    
    ;Bhop
    ~F1::
    Hotkey, *~$Space, Toggle
    return
    *~$Space::
    sleep 5
    loop
    {
    GetKeyState, SpaceState, Space, P
    if Spacestate = U
    break 
    sleep 1
    Send, {Blind}{Space}
    }
    return
    
    ;Rapid fire
    ~F2::
    Hotkey, *~$MButton, Toggle
    return
    *~$MButton::
    sleep 10
    loop
    {
    GetKeyState, state, MButton
    if state = U
    break 
    Sleep 1
    Send, {Blind}{LButton}
    }
    return
    
    ;180 Turnaround
    F10::
    Hotkey, *~$t, Toggle
    return
    *~$t::
    DllCall("mouse_event", "UInt", 0x01, "UInt", 223*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 200
    return
    Last edited by csgon; 09-16-2017 at 01:58 PM.

  4. The Following 2 Users Say Thank You to csgon For This Useful Post:

    kaelnomnom12 (11-08-2017),purepker21 (09-23-2017)

  5. #4
    souumso's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by csgon View Post
    Here, this is something I made for myself, probably not modified in the best way, all credits to Pean

    AK: F3
    M4A4: F4
    M4A1: F6
    AUG: F7
    SG: F8
    UMP: F9
    GALIL: End
    FAMAS: Home
    BHOP :F1
    RAPID FIRE: F2
    TURN OFF: F11

    Primary (turns on recoil, previous primary weapon): 1
    Pistol (turns off recoil): 2
    Knife (turns off recoil): 3
    Grenade (turns off recoil): 4

    Code:
    ;Pean's AHK MultiScript Final
    ;Settings
    sens:=1.525
    zoomsens:=0.7
    
    ;Key binds
    key_AK:="F3"
    key_M4A1:="F6"
    key_M4A4:="F4"
    key_Famas:="Home"
    key_Galil:="End"
    key_UMP:="F9"
    key_AUG:="F7"
    key_SG:="F8"
    key_RCoff:="F11"
    key_RCoff2:="2"
    key_RCoff3:="3"
    key_RCoff4:="4"
    key_Terminate:="F10"
    key_shoot:="LButton"
    key_zoom:="LAlt"
    key_previous:="1"
    
    ;do not touch this if you don't know what are you doing
    modifier:=2.52/sens
    Hotkey, *~$Space, Off
    Hotkey, *~$MButton, Off
    Hotkey, *~$t, Off
    
    ;Main program loop, don't break out of it
    loop {
    sleep 1
    ;Menu handling
    
    if GetKeyState(key_previous)
    {
    if akb
    {
    ak:=true
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if m4a1b
    {
    m4a1:=true
    ak:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if m4a4b
    {
    m4a4:=true
    ak:=false
    m4a1:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if famasb
    {
    famas:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if galilb
    {
    galil:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    ump:=false
    aug:=false
    sg:=false
    }
    if umpb
    {
    ump:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    sg:=false
    }
    if augb
    {
    aug:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    sg:=false
    }
    if sgb
    {
    sg:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    }
    }
    
    if GetKeyState(key_AK)
    {
    ak:=true
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=true
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_M4A1)
    {
    m4a1:=true
    ak:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=true
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_M4A4)
    {
    m4a4:=true
    ak:=false
    m4a1:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=true
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_Famas)
    {
    famas:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=true
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_Galil)
    {
    galil:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    ump:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=true
    umpb:=false
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_Terminate)
    {
    sleep 2000
    ExitApp
    }
    
    if GetKeyState(key_RCoff)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_RCoff2)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_RCoff3)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_RCoff4)
    {
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    ump:=false
    aug:=false
    sg:=false
    }
    
    if GetKeyState(key_UMP)
    {
    ump:=true
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=true
    augb:=false
    sgb:=false
    }
    
    if GetKeyState(key_SG)
    {
    sg:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    aug:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=false
    sgb:=true
    }
    
    if GetKeyState(key_AUG)
    {
    aug:=true
    ump:=false
    ak:=false
    m4a1:=false
    m4a4:=false
    famas:=false
    galil:=false
    sg:=false
    akb:=false
    m4a1b:=false
    m4a4b:=false
    famasb:=false
    galilb:=false
    umpb:=false
    augb:=true
    sgb:=false
    }
    
    ;NoRecoil
    if GetKeyState(key_shoot)
    {
    ;AK-47
    if ak
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 50
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 7*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 19*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 29*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 31*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", 31*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 28*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", 21*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -17*modifier, "UInt", 12*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -42*modifier, "UInt", -3*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -21*modifier, "UInt", 2*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 11*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier, "UInt", 7*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -26*modifier, "UInt", -8*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 4*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 40*modifier, "UInt", 1*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier, "UInt", 7*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 10*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 27*modifier, "UInt", 0*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 33*modifier, "UInt", -10*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -21*modifier, "UInt", -2*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 7*modifier, "UInt", 3*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier, "UInt", 9*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier, "UInt", 4*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier, "UInt", -3*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 6*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", -1*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -33*modifier, "UInt", -4*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -45*modifier, "UInt", -21*modifier)
    sleep 99
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier, "UInt", 1*modifier)
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    sleep 80
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;M4A1-S
    else if m4a1
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 15
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 14*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 18*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 21*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 24*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 14*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 12*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 18*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 10*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -19*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -22*modifier, "UInt", -3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 1*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", -2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 1*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;M4A4
    else if m4a4
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 15
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 7*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 9*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 16*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 7*modifier, "UInt", 21*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 23*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier, "UInt", 27*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", 15*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 13*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 22*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 11*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -18*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -30*modifier, "UInt", -4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -24*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 4*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 4*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -11*modifier, "UInt", 1*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", -2*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 33*modifier, "UInt", -1*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 27*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 0*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 5*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 5*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 1*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", -1*modifier)
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;Famas
    else if famas
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 30
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 10*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 17*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 20*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 18*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", 12*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 12*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", 8*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier, "UInt", 5*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", 2*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 5*modifier)
    sleep 87
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 23*modifier, "UInt", 4*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 6*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 20*modifier, "UInt", -3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", 0*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 5*modifier)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 3*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -1*modifier)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 2*modifier)
    sleep 84
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 0*modifier)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -7*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -10*modifier)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;Galil
    else if galil
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 10
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -2*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 10*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 15*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 21*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 24*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 16*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 10*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 14*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -22*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -30*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -29*modifier, "UInt", -13*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 2*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier, "UInt", 1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 1*modifier)
    sleep 50
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 7*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 25*modifier, "UInt", 7*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 25*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 31*modifier, "UInt", -9*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", -4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -32*modifier, "UInt", -5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -24*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -24*modifier, "UInt", -14*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;UMP-45
    else if ump
    {
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 15
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 6*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -2*modifier, "UInt", 18*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 23*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 23*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 26*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 17*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 12*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 9*modifier, "UInt", 13*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 18*modifier, "UInt", 8*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", 5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 6*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 6*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 9*modifier, "UInt", -3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 4*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -19*modifier, "UInt", 1*modifier)
    sleep 85
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", -2*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -5*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 17*modifier, "UInt", -2*modifier)
    sleep 85
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 3*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", -2*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", -1*modifier)
    sleep 90
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;AUG
    else if aug
    {
    if GetKeyState(key_zoom)
    {
    ;this is the best scale I could figure out for zoomed in norecoil
    obs:=1.2/zoomsens
    }
    else
    {
    obs:=1
    }
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 30
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier*obs, "UInt", 13*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 22*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier*obs, "UInt", 26*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier*obs, "UInt", 29*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 9*modifier*obs, "UInt", 30*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 21*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier*obs, "UInt", 15*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 13*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier*obs, "UInt", 11*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier*obs, "UInt", 0*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -22*modifier*obs, "UInt", 5*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -38*modifier*obs, "UInt", -11*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -31*modifier*obs, "UInt", -13*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier*obs, "UInt", 6*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier*obs, "UInt", 0*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 24*modifier*obs, "UInt", 1*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 32*modifier*obs, "UInt", 3*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 1*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 17*modifier*obs, "UInt", -3*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 29*modifier*obs, "UInt", -11*modifier*obs)
    sleep 95
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier*obs, "UInt", 0*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier*obs, "UInt", 3*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier*obs, "UInt", 1*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    ;SG 553
    else if sg
    {
    if GetKeyState(key_zoom)
    {
    ;this is the best scale I could figure out for zoomed in norecoil
    obs:=1.2/zoomsens
    }
    else
    {
    obs:=1
    }
    loop
    {
    DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
    sleep 30
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier*obs, "UInt", 9*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier*obs, "UInt", 15*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier*obs, "UInt", 25*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier*obs, "UInt", 29*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", 31*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier*obs, "UInt", 36*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier*obs, "UInt", 14*modifier*obs)
    sleep 80
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 17*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", 12*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier*obs, "UInt", 8*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier*obs, "UInt", 5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier*obs, "UInt", 5*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", 6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier*obs, "UInt", 11*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier*obs, "UInt", -6*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier*obs, "UInt", -17*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -18*modifier*obs, "UInt", -9*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier*obs, "UInt", -2*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 41*modifier*obs, "UInt", 3*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 56*modifier*obs, "UInt", -5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 43*modifier*obs, "UInt", -1*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 18*modifier*obs, "UInt", 9*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier*obs, "UInt", 9*modifier*obs)
    sleep 88
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier*obs, "UInt", 7*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 21*modifier*obs, "UInt", -3*modifier*obs)
    sleep 95
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", 29*modifier*obs, "UInt", -4*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier*obs, "UInt", 8*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier*obs, "UInt", 5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", "UInt", 0x01, "UInt", -38*modifier*obs, "UInt", -5*modifier*obs)
    sleep 89
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    sleep 1000
    if !GetKeyState(key_shoot)
    {
    DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
    break
    }
    }
    }
    }
    }
    
    ;Bhop
    ~F1::
    Hotkey, *~$Space, Toggle
    return
    *~$Space::
    sleep 5
    loop
    {
    GetKeyState, SpaceState, Space, P
    if Spacestate = U
    break 
    sleep 1
    Send, {Blind}{Space}
    }
    return
    
    ;Rapid fire
    ~F2::
    Hotkey, *~$MButton, Toggle
    return
    *~$MButton::
    sleep 10
    loop
    {
    GetKeyState, state, MButton
    if state = U
    break 
    Sleep 1
    Send, {Blind}{LButton}
    }
    return
    
    ;180 Turnaround
    F10::
    Hotkey, *~$t, Toggle
    return
    *~$t::
    DllCall("mouse_event", "UInt", 0x01, "UInt", 223*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 1
    DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
    sleep 200
    return

    How to pause "no-recoil" when pressing grenade button?
    and automatically on back to gun reactivate macro that was ...

  6. #5
    Ally's Avatar
    Join Date
    Dec 2014
    Gender
    female
    Location
       ♥
    Posts
    8,697
    Reputation
    1610
    Thanks
    8,500
    My Mood
    Angelic
    Quote Originally Posted by souumso View Post
    How to pause "no-recoil" when pressing grenade button?
    and automatically on back to gun reactivate macro that was ...
    thats pean script and it doesnt do anything you are asking for

    Premium Member 22/4/16
    Steam Minion 22/12/2017
    OFPS Minion 5/2/2019
    MMO Minion 5/2/2019
    Minion+ 5/2/2019
    Mod 8/11/2020
    Retired 3/10/2022
    22 / Dec 7, 2001

Similar Threads

  1. [Request] AHK script that disables when you pull out pistol/knife?
    By purepker21 in forum Counter-Strike 2 Scripts
    Replies: 3
    Last Post: 11-21-2016, 03:20 AM
  2. Replies: 1
    Last Post: 03-16-2016, 09:30 PM
  3. ahk no recoil. script*
    By masteror11 in forum Counter-Strike 2 Help
    Replies: 0
    Last Post: 01-07-2015, 09:09 AM
  4. What Is The Best AHK No Recoil Script?
    By puxzeh in forum Counter-Strike 2 Discussions
    Replies: 2
    Last Post: 11-05-2014, 05:21 PM
  5. [Help Request] AHK Auto Nexus script that lets you select a pixel search area..
    By furnaps in forum Realm of the Mad God Help & Requests
    Replies: 2
    Last Post: 12-29-2013, 05:34 PM