Uzman Üye
how to use it? can you plz show us how to import this script on logitech g hub?I made a simple anti recoil script with optional lean spam for PUBG for use with Logitech G-HUB Software.
Kod:--[[PUBG LEANSPAM SCRIPT 1.0]]-- --[[MASTER SCRIPT ENABLE/DISABLE SETTING]]-- -------------------------------------------------------------------------------------------------------------- local st_k="scrolllock" --TURN ON/OFF SCRIPT. --[[NO RECOIL SETTINGS]]-- -------------------------------------------------------------------------------------------------------------- local n_r=5 --HOW MANY PIXELS THE MOUSE IS MOVED DOWN DEFAULT: 5 local nr_s=40 --INTERVAL BETWEEN MOUSE MOVEMENTS DEFAULT: 40 local nr_p=0 --DELAY BEFORE STARTING MOUSE MOVEMENTS EACH TIME DEFAULT: 0 --[[LEAN-SPAM SETTINGS]]-- -------------------------------------------------------------------------------------------------------------- local lt_k="capslock" --KEY TO TURN ON/OFF LEANSPAM WHILE LEFT CLICKING local ll_k="Q" --LEFT PEEK KEY SETTING DEFAULT: "Q" local rl_k="E" --RIGHT PEEK KEY SETTING DEFAULT "E" local m_l=3 --FINE TUNE SETTING FOR LEAN TIME - LOWER NUMBER = FASTER LEANING (MUST BE ODD NUMBER TO WORK PROPERLY) DEFAULT: 3 --[[DON'T MODIFY THESE SETTINGS]]-- -------------------------------------------------------------------------------------------------------------- local l_s=nr_s*(m_l//2) local l_st=1 local o_r local ls_s local l_k --[[FUNCTIONS]]-- -------------------------------------------------------------------------------------------------------------- function lean_spam() if l_k == ll_k then l_k=rl_k else l_k=ll_k end PressKey (l_k) Sleep(l_s) ReleaseKey(l_k) no_recoil=l_s//m_l end function leandir() if ls_s then if (l_k == ll_k) then return (l_st) else return -(l_st) end else return 0 end end function norecoil() Sleep(nr_p) repeat o_r=n_r if ls_s then if (l_st > m_l) then lean_spam() l_st=0 else l_st=l_st+1 end end n_r=o_r MoveMouseRelative (leandir (), n_r) Sleep(nr_s) until not IsMouseButtonPressed(1) or not IsMouseButtonPressed(3) end --[[MAIN ONEVENT FOR SCRIPT FUNCTIONALITY]]-- -------------------------------------------------------------------------------------------------------------- function OnEvent(event, arg) if not IsKeyLockOn(st_k) then EnablePrimaryMouseButtonEvents(false) else EnablePrimaryMouseButtonEvents(true) end if IsKeyLockOn(lt_k) then ls_s=true else ls_s=false end if (IsMouseButtonPressed(1) and IsMouseButtonPressed(3) and IsKeyLockOn(st_k)) then norecoil () end end
bro can you share image how to paste the command? plzLogitech compatible mouse is required. Download the Logitech application, open the special command section and paste the code. Then activate it and log in, my advice is not to make it very obvious, for example, do not play AKM 6x, otherwise it will work very well. I used it a while ago
of course i can help. but 10 min afterhow to use it? can you plz show us how to import this script on logitech g hub?
Post automatically merged:
bro can you share image how to paste the command? plz
olur desteklerbendede logitech g 300 s mouse var olurmu
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?