Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local recoil = false
- local rapidfire = false
- function OnEvent(event, arg)
- if (event == "PROFILE_ACTIVATED") then
- EnablePrimaryMouseButtonEvents(true)
- end
- if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
- recoil = not recoil
- if (recoil == true) then
- OutputLogMessage("Recoil is On\n")
- else
- OutputLogMessage("Recoil is Off\n")
- end
- end
- if (event == "MOUSE_BUTTON_PRESSED" and arg ==1 and recoil == true and rapidfire == false) then
- if IsMouseButtonPressed(1) and IsMouseButtonPressed(3)then
- repeat
- MoveMouseRelative(1, 5)
- Sleep(14)
- MoveMouseRelative(-1,-1.5)
- Sleep(14)
- until not IsMouseButtonPressed(1) or not IsMouseButtonPressed(3)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement