Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -
- Download Here --> https://tinyurl.com/rhf4x3dp (Copy and Paste Link)
- Fortnite no recoil script
- THIS SCRIPT IS FOR ALL FORTNITE GUNS, SOME GUNS HAVE A LITTLE BIT BUT IT WOULD WORK,EDITING DO NOT WORK.
- RATE
- Release Notes: I WILL TRY AND FIX THE NO EDITING CAUSE IT IS ANOYING. STAY TUNE FOR THE 1.19 v.
- //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);}
- GPC Library
- LUA scripting no recoil
- 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?
- 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
- 1 Answer 1
- I want the repeat loop to get activated after the Right click is pressed for more than .1 seconds otherwise not to get activated
- You can use the following code to accomplish this goal:
- 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