Advertisement
Guest User

Fortnite no recoil script

a guest
Nov 11th, 2024
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. -
  2. Download Here --> https://tinyurl.com/rhf4x3dp (Copy and Paste Link)
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. Fortnite no recoil script
  10. THIS SCRIPT IS FOR ALL FORTNITE GUNS, SOME GUNS HAVE A LITTLE BIT BUT IT WOULD WORK,EDITING DO NOT WORK.
  11. RATE
  12. Release Notes: I WILL TRY AND FIX THE NO EDITING CAUSE IT IS ANOYING. STAY TUNE FOR THE 1.19 v.
  13. //THIS SCRIPT IS FOR FORTNITE AND IT ELIMINATES ALMOST ALL RECOIL BUT IT HAS A LITTLE BIT IN SOME GUNS BUT IT IS PERFECT.//ALSO YOU CAN NOT EDIT SO BE CAREFUL WITH YOUR BUILD OR IR YOU EDIT TOO MUCH IT WONT WORK FOR YOU.//IF SOMEONE CAN HELP ME AND FIX THIS SCRIPT ALLOWING PEOPLE TO EDIT WITHOUT CHANGING THE RECOIL YOU ARE FREE TOO. main { if(get_val(PS4_R2)) { set_val(PS4_ACCY, -4000); set_val(PS4_ACCX, 4000); set_val(PS4_ACCY, -4000); set_val(PS4_ACCX, 4000); combo_run(Tap_1); combo_run(Turbo_2); combo_run(Tap_3); if(get_val(PS4_L2)) { if(get_val(PS4_R2)) { } } else { if((get_val(PS4_R2)) == (abs(10))) { } } }} combo Tap_1 { set_val(PS4_R2, 0); wait(10); set_val(PS4_R2, 100);} combo Turbo_2 { set_val(PS4_R2, 100); wait(10); set_val(PS4_R2, 0);} combo Tap_3 { set_val(PS4_R2, 0); wait(10); set_val(PS4_R2, 100);}
  14. GPC Library
  15. LUA scripting no recoil
  16. I have this code and I want the repeat loop to get activated after the Right click is pressed for more than .1 seconds otherwise not to get activated OR the loop to stop entirely once I release the Right click after .1 seconds both will work I suppose. Any ideas?
  17. function OnEvent(event, arg) if (event == "PROFILE_ACTIVATED") then EnablePrimaryMouseButtonEvents(true) end if IsKeyLockOn("capslock")then if (event == "MOUSE_BUTTON_PRESSED" and arg == 1) then if IsMouseButtonPressed(3) then Sleep(30) repeat MoveMouseRelative(-9, 12) Sleep(5) MoveMouseRelative(9, -9) Sleep(5) until not IsMouseButtonPressed(1) end end end end
  18. 1 Answer 1
  19. I want the repeat loop to get activated after the Right click is pressed for more than .1 seconds otherwise not to get activated
  20. You can use the following code to accomplish this goal:
  21. local RMB_tm = math.huge function OnEvent(event, arg) if event == "PROFILE_ACTIVATED" then EnablePrimaryMouseButtonEvents(true) elseif event == "MOUSE_BUTTON_PRESSED" and arg == 2 then RMB_tm = GetRunningTime() elseif event == "MOUSE_BUTTON_RELEASED" and arg == 2 then RMB_tm = math.huge elseif event == "MOUSE_BUTTON_PRESSED" and arg == 1 and GetRunningTime() - RMB_tm > 100 and IsKeyLockOn("capslock") then Sleep(30) repeat MoveMouseRelative(-9, 12) Sleep(5) MoveMouseRelative(9, -9) Sleep(5) until not IsMouseButtonPressed(1) end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement