SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local recoil = false
  2. local rapidfire = false
  3.  
  4. function OnEvent(event, arg)
  5.  
  6. if (event == "PROFILE_ACTIVATED") then
  7. EnablePrimaryMouseButtonEvents(true)
  8. end
  9.  
  10. if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
  11. recoil = not recoil
  12. if (recoil == true) then
  13. OutputLogMessage("Recoil is On\n")
  14. else
  15. OutputLogMessage("Recoil is Off\n")
  16. end
  17. end
  18.  
  19.  
  20. if (event == "MOUSE_BUTTON_PRESSED" and arg ==1 and recoil == true and rapidfire == false) then
  21. if IsMouseButtonPressed(1) and IsMouseButtonPressed(3)then
  22. repeat
  23. MoveMouseRelative(1, 5)
  24. Sleep(14)
  25. MoveMouseRelative(-1,-1.5)
  26. Sleep(14)
  27. until not IsMouseButtonPressed(1) or not IsMouseButtonPressed(3)
  28. end
  29. end
  30.  
  31.  
  32. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top