Advertisement
VaporTutorial

Rainbow Six Siege - NO RECOIL [LOGITECH]

Jan 12th, 2018
15,637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. ONLY FOR LOGITECH MOUSE - ACTIVATION BUTTON: G6 - If you want you can change it with the buttons: G1, G2, G3, G4, G5, G6, G7, G8
  2. To change the button, change the number on "if (event == "MOUSE_BUTTON_PRESSED" and arg == 6) then"
  3.  
  4. local recoil = false
  5. local rapidfire = false
  6.  
  7. function OnEvent(event, arg)
  8. OutputLogMessage("event = %s, arg = %s\n", event, arg)
  9.  
  10. if (event == "PROFILE_ACTIVATED") then
  11. EnablePrimaryMouseButtonEvents(true)
  12. end
  13.  
  14. if (event == "MOUSE_BUTTON_PRESSED" and arg == 6) then
  15. recoil = not recoil
  16. if (recoil == true) then
  17. OutputLogMessage("Recoil is On\n")
  18. else
  19. OutputLogMessage("Recoil is Off\n")
  20. end
  21. end
  22.  
  23.  
  24. if (event == "MOUSE_BUTTON_PRESSED" and arg ==1 and recoil == true and rapidfire == false) then
  25. if IsMouseButtonPressed(1) and IsMouseButtonPressed(3)then
  26. repeat
  27. MoveMouseRelative(-1,6)
  28. Sleep(14)
  29. MoveMouseRelative(1,-6)
  30. Sleep(14)
  31. until not IsMouseButtonPressed(1) or not IsMouseButtonPressed(3)
  32. end
  33. end
  34.  
  35.  
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement