SMG-12 no recoil script

Vindeta

Hello world!
Member
Hello world!
Member
Status
Offline
Joined
Feb 17, 2021
Messages
236
Reaction score
48
Welcom everyone!

Today i have a script for you!
And that is a macros for SMG-12 it works only while aiming!
This is what I use and it works pretty well,the horizontal recoil is still a pain but I get good burst beams on heads
You need to have numlock on your keyboard or you can change the key in the code below.

1617724562712.png

Code:
EnablePrimaryMouseButtonEvents  (true);
function OnEvent(event,arg)
    if IsKeyLockOn("numlock")then
        if IsMouseButtonPressed(3)then
            repeat
                if IsMouseButtonPressed(1) then
                    repeat
                        MoveMouseRelative(0,5)
                        Sleep(1,0)
                    until not IsMouseButtonPressed(1)
                end
            until not IsMouseButtonPressed(3)
        end
    end
end

In this line "if IsKeyLockOn("numlock")then" you can change the key to activate it all key names below

Code:
Tab    Tab key.
Caps lock    Caps lock key.
Shift    Shift key.
Ctrl    Control key.
Fn    Function key.
Alt    Alternate key (PC only; Mac users have an Option key).
Spacebar    Spacebar key.
Arrows    Up, down, left, right Arrow keys.
Back Space    Back space (or Backspace) key.
Delete    Delete or Del key.
Enter    Enter key.
Prt Scrn    Print Screen key.
Scroll Lock    Scroll Lock key.
Pause    Pause key.
Break    Break key.
Insert    Insert key.
Home    Home key.
Page up    Page up or pg up key.
Page down    Page down or pg dn key.
End    End key.
Num Lock    Num Lock key.
~    Tilde.
`    Acute, back quote, grave, grave accent, left quote, open quote, or a push.
!    Exclamation mark, exclamation point, or bang.
@    Ampersat, arobase, asperand, at, or at symbol.
#    Octothorpe, number, pound, sharp, or hash.
£    Pound Sterling or Pound symbol.
€    Euro.
$    Dollar sign or generic currency.
¢    Cent sign.
¥    Chinese/Japenese Yuan.
§    Micro or section.
%    Percent.
°    Degree.
^    Caret or circumflex.
&    Ampersand, epershand, or and symbol.
*    Asterisk, mathematical multiplication symbol, and sometimes referred to as star.
(    Open or left parenthesis.
)    Close or right parenthesis.
-    Hyphen, minus, or dash.
_    Underscore.
+    Plus.
=    Equal.
{    Open brace, squiggly brackets, or curly bracket.
}    Close brace, squiggly brackets, or curly bracket.
[    Open bracket.
]    Closed bracket.
|    Pipe, or, or vertical bar.
\    Backslash or reverse solidus.
/    Forward slash, solidus, virgule, whack, and mathematical division symbol.
:    Colon.
;    Semicolon.
"    Quote, quotation mark, or inverted commas.
'    Apostrophe or single quote.
<    Less than or angle brackets.
>    Greater than or angle brackets.
,    Comma.
.    Period, dot or full stop.
?    Question mark.
 
Top