I try to combine Rapidfire and norecoil script but i cant do it. I tried to do put rapidfire in numpad0 but its always giving error.

#NoEnv
SendMode Input

_norecoil := true ;
_autofire := true ;
~LShift::startloop()
Numlock::_auto := ! _auto
F1::Suspend
_weapon := "M4A1"

Numpad9::ExitApp ;
F4::_norecoil := ! _norecoil ;

Numpad0::_weapon := "M4A1"
Numpad1::_weapon := "870MCS"
Numpad2::_weapon := "M16A4"
Numpad3::_weapon := "M249"

~LButton::startloop() ;

startloop()
{
Loop
global _norecoil
global _weapon

if _norecoil
{
{
if GetKeyState("LButton", "P")
{
if _weapon = M4A1
{


}

if _weapon = 870MCS
{
mouseXY(0,4.80) ;
Sleep 25 ;
}

if _weapon = M16A4
{
mouseXY(0,5.50) ;
Sleep 25 ;
}

if _weapon = M249
{
mouseXY(0,4.00) ;
Sleep 30 ;
}

}
else
{
break ;
}
}

}
}

mouseXY(x,y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,in t,0)
}




I try to do combine with this scrpit.

LButton::
Loop
{
SetMouseDelay 18
Click
If (GetKeyState("LButton","P")=0)
Break
}


But i cant do it sory my english not so good i hope someone will do it.