CSGO 脚本: QBZ 更稳定 & USP 更快速 (罗技鼠标)
------------------------全局变量定义--------------------------------------------------------
qbz = 0 ----------定义QBZ鼠标按键-------------------------------------------------------------- m4 = 0 ---------定义M4鼠标按键----------------------------------------------------------------- ak = 0 ---------定义AK鼠标按键---------------------------------------------------------------- off = 3 --------------------定义关闭鼠标按键-------------------------------------------------------
-------------------------------------鼠标加速度设置--------------------------------------------------------- -----------------------------鼠标灵敏度对应的响应时间开始结束------------------------------------------------- ------------------------------鼠标加速度支持4,5个不同等级-------------------------------------------------
lianyu = 0 ----------------定义连育鼠标按键
hk417 = 0 ------HK417----定义HK417鼠标按键
usp = 0 ---------定义USP鼠标按键
shunju = 0 -------定义瞬狙鼠标按键
-----------------------------------设置默认按键配置为4 键盘 5键---------------------------------------
-------------------------鼠标灵敏度对应的响应时间开始结束------------------ --------------鼠标加速度支持4,5个不同等级-----------------
sandun = 0 ---------定义散弹枪按键--------
suibu = 0 ---------定义缩步按键--------
tiaoxiangzi = 0 ----定义跳箱子为一个自动执行的
liantiao = 0 -------定义连跳为一个自动执行的
---------------------鼠标加速度设置时的相关参数--------------------------------------------
-------------------------QBZ枪械参数---------------------------------------------------------------
qbz_guntime = 130 ---QBZ枪械射击时间间隔 qbz_power = {7,8,8,8,8,8,9,9,9,9,11,11,9,10,7,8}
-------------M4枪械参数-------------------------------------------------------------------------------
m4_guntime = 130 ----M4枪械射击时间间隔--------------------------------------------------------------- m4_power = {8,7,9,9,9,9,9,10,10,6,11,11,8,7,8,4,4,4}
--------------------------AK枪械参数------------------------------------------------------------------ ak_guntime = 110 ---AK枪械射击时间间隔-------------------------------------------------------------- ak_power = {10,10,9,11,11,10,9,8,10,11,8,8,8,9,9,10,10,11,8,9}
usppower = 10 ---------USP鼠标按键速度------------ mintime = 34 ---------USP鼠标点击最小时间-- maxtime = 70 ---------USP鼠标点击最大时间--
mintime_q = 100 --------------------------------------------------------------------------------------- maxtime_q = 127 ---------------------------------------------------------------------------------------
jumpMintime = 8 ---------连跳鼠标点击最小时间----------------------------------------------------- jumpMaxtime = 26 ---------连跳鼠标点击最大时间----------------------------------------------- EnablePrimaryMouseButtonEvents(true)
function OnEvent(event, arg)
OutputLogMessage('event = %s, arg = %s\n', event, arg, ma)
uy = usppower
if (event == 'MOUSE_BUTTON_PRESSED' and arg == qbz ) then
pressgunqbz = true
pressgunm4 = false
pressgunak = false
sleep_guntime = qbz_guntime
gun_power = qbz_power
elseif (event == 'MOUSE_BUTTON_PRESSED' and arg == m4 ) then
pressgunm4 = true
pressgunqbz = false
pressgunak = false
sleep_guntime = m4_guntime
gun_power = m4_power
elseif (event == 'MOUSE_BUTTON_PRESSED' and arg == ak ) then
pressgunak = true
pressgunm4 = false
pressgunqbz = false
sleep_guntime = ak_guntime
gun_power = ak_power
elseif (event == 'MOUSE_BUTTON_PRESSED' and arg == off) then
pressgunak = false
pressgunm4 = false
pressgunqbz = false
else
end
if(event == 'MOUSE_BUTTON_PRESSED' and kaiguan and arg == m4sudian)then
end
if(event == 'MOUSE_BUTTON_PRESSED' and kaiguan and arg == aksudian)then
end
if(event == 'MOUSE_BUTTON_PRESSED' and kaiguan and arg == aksudian)then
end
if(event == 'MOUSE_BUTTON_PRESSED' and arg == tiaoxiangzi)then
PressKey('spacebar')
Sleep(math.random(135,137))
ReleaseKey('spacebar')
Sleep(math.random(500,502))
PressKey('spacebar')
Sleep(math.random(105,107))
PressKey('lctrl')
Sleep(85)
ReleaseKey('spacebar')
Sleep(135)
ReleaseKey('lctrl')
end
if(event == 'MOUSE_BUTTON_PRESSED' and arg == shunju)then Sleep(65) PressMouseButton(3)
Sleep(math.random(15,30))
PressMouseButton(1)
Sleep(math.random(10,25))
ReleaseMouseButton(3)
Sleep(math.random(10,25))
ReleaseMouseButton(1)
Sleep(math.random(15,30))
PressKey('3')
Sleep(35)
ReleaseKey('3')
Sleep(45)
PressKey('3')
Sleep(30)
ReleaseKey('3')
Sleep(25)
PressKey('3')
Sleep(15)
ReleaseKey('3')
Sleep(20)
PressKey('1')
Sleep(16)
ReleaseKey('1')
Sleep(23)
PressKey('1')
Sleep(21)
ReleaseKey('1')
Sleep(18)
PressKey('1')
Sleep(27)
ReleaseKey('1')
Sleep(13)
ReleaseMouseButton(3)
Sleep(45)
ReleaseMouseButton(1)
Sleep(35)
end
if pressgunqbz or pressgunm4 or pressgunak then
i = 1
if event == 'MOUSE_BUTTON_PRESSED' and arg == 1 then
Sleep(sleep_guntime)
while (IsMouseButtonPressed(1)) do
MoveMouseRelative(0, gun_power[i])
i = i+1
Sleep(30)
end
end
end
if (event == 'MOUSE_BUTTON_PRESSED' and arg == sandun ) then
sandun_sw = true
end
if (event == 'MOUSE_BUTTON_PRESSED' and arg == suibu ) then
suibu_sw = true
end
if (event == 'MOUSE_BUTTON_PRESSED' and arg == liantiao ) then
liantiao_sw = true
end
if (event == 'MOUSE_BUTTON_PRESSED' and arg == usp ) then OutputLogMessage('usp ON \n')
usp_sudian = true
end
if (event == 'MOUSE_BUTTON_PRESSED' and arg == hk417 ) then
hk417_sudian = true
end
if (event == 'MOUSE_BUTTON_PRESSED' and arg == lianyu ) then
lianyu_sudian = true
end
if usp_sudian then
usp_local()
end
if lianyu_sudian then
lianyu_local()
end
if hk417_sudian then
hk417_local()
end
if sandun_sw then
sandunlocal()
end
if suibu_sw then
suibulocal()
end
if liantiao_sw then
liantiaolocal()
end
end
function lianyu_local()
repeat
PressMouseButton(1) Sleep(math.random(88, 138))
ReleaseMouseButton(1) Sleep(math.random(12,35))
until not IsMouseButtonPressed(lianyu)
lianyu_sudian = false
end
function hk417_local()
repeat
PressMouseButton(1) Sleep(math.random(25, 50))
ReleaseMouseButton(1) Sleep(math.random(100,130))
until not IsMouseButtonPressed(h
原文地址: https://www.cveoy.top/t/topic/qFyO 著作权归作者所有。请勿转载和采集!