--[[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
evet gerekli onun scriptleri üzerinden yürütüyor kodlarLogitech mouse gerekli mi hocam? Tam olarak nasıl yapacağız?
hmm anladim kanka bilgilendirme için teşşekür ederim sağ olevet gerekli onun scriptleri üzerinden yürütüyor kodlar
bişey değil her zaman ama mouse yi logi gösterme taktiği de vardı sanırsam araştırırsan bulabilirsin onu dahmm anladim kanka bilgilendirme için teşşekür ederim sağ ol
Yeah since the lua script is executed within the Logitech G-HUB Software and for that it needs to detect a logitech mouse.Is a Logitech mouse necessary? How exactly do we do it?
logi ne labişey değil her zaman ama mouse yi logi gösterme taktiği de vardı sanırsam araştırırsan bulabilirsin onu da
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?