NoRecoil for Rust Only AK atm
Credits goes to byk because he made the script.
AK No Attachments NoRecoil
AK with Muzzle, Laser Sight and Holosight
Credits goes to byk because he made the script.
AK No Attachments NoRecoil
PHP:
function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %d\n", event, arg)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
elseif event == "PROFILE_DEACTIVATED" then
ReleaseMouseButton(2) -- to prevent it from being stuck on
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
recoil = not recoil
spot = not spot
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then
if recoil then
repeat
--Sleep(19)
Sleep(19)
MoveMouseRelative(0, 6)
Sleep(19)
MoveMouseRelative(-7, 7)
Sleep(19)
MoveMouseRelative(-6, 7)
Sleep(19)
MoveMouseRelative(5, 7)
Sleep(19)
MoveMouseRelative(8, 7)
until not IsMouseButtonPressed(1)
end
end
end
AK with Muzzle, Laser Sight and Holosight
PHP:
function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %d\n", event, arg)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
elseif event == "PROFILE_DEACTIVATED" then
ReleaseMouseButton(2) -- to prevent it from being stuck on
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
recoil = not recoil
spot = not spot
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then
if recoil then
repeat
--Sleep(19)
Sleep(19)
MoveMouseRelative(0, 2)
Sleep(19)
MoveMouseRelative(-1, 3)
Sleep(19)
MoveMouseRelative(2, 4)
Sleep(19)
MoveMouseRelative(0, 4)
until not IsMouseButtonPressed(1)
end
end
end