----所有功能默认不启用,设置为0,请自行启动需要的功能----
------所有按键都不可出现重复:即出现两个相同的数值-------
offkey = 3  ------------------开关按键(默认滚轮)------------------
zuozheQQ = "49871331" ------------------请勿更改-----------------------
-------------------------------------------------------------------------------------------

-----------------这个区域只能4,5号侧键(可一直按松就停)------------------------
guitiao1 = 4   ----------------鬼跳(手动按蹲版)------------------- 
                               
GMIN2 = 5      ----------------鬼跳第一组最低毫秒--------------------
GMAX2 = 26      ----------------鬼跳第一组最高毫秒--------------------
GMIN2_1 = 6    ----------------鬼跳第二组最低毫秒-------------------- 
GMAX2_1 = 28   ----------------鬼跳第二组最高毫秒-------------------- 

usp = 5        -----------------USP下压版--------------------
usppower = 40
uspmin_1 = 25    -----------------USP第一组最低毫秒--------------------
uspmax_1 = 30    -----------------USP第一组最高毫秒--------------------
uspmin1_1 = 30  -----------------USP第二组最低毫秒--------------------
uspmax1_1 = 35   -----------------USP第二组最高毫秒--------------------
-----------------------------------------------------------------------------------


---------------------这个区域任意侧键(按了就松,别重复按)--------------------
leishen = 0     -----------------雷神2连发(可以左键)--------------------
-------------------------------------------------------------------------

kaiguan = false                                                            
function OnEvent(event, arg)
uy = usppower
EnablePrimaryMouseButtonEvents(true)
if (event == "MOUSE_BUTTON_PRESSED" and arg == offkey) then 
        kaiguan = not kaiguan
        if(kaiguan)then
        OutputLogMessage(" on \n")
        else
        OutputLogMessage(" off \n")
        end
    end

if(event == "MOUSE_BUTTON_PRESSED" and kaiguan and arg == usp)then
ClearLog ()
OutputLogMessage("usp_ing\n")
repeat    
            PressMouseButton(1)
            Sleep(math.random(uspmin_1,uspmax_1))  
MoveMouseRelative(0, uy)
            ReleaseMouseButton(1)
            Sleep(math.random(uspmin1_1,uspmax1_1))
uy = 0
    until not IsMouseButtonPressed(usp)    
    end     

if(event == "MOUSE_BUTTON_PRESSED" and kaiguan and arg == guitiao1)then
ClearLog ()
OutputLogMessage("guitiao1_ing\n")
        repeat    
            PressKey("spacebar")
        Sleep(math.random(GMIN2,GMAX2))  
            ReleaseKey("spacebar")
        Sleep(math.random(GMIN2_1,GMAX2_1))
        until not IsMouseButtonPressed(guitiao1)
    end


if(event == "MOUSE_BUTTON_PRESSED" and kaiguan and arg == leishen)then
ClearLog ()
OutputLogMessage("leishen_ing\n")
                PressMouseButton(1)
    Sleep(35)  
    ReleaseMouseButton(1)
    Sleep(math.random(68,70))
    PressMouseButton(1)
    Sleep(math.random(43,44))  
    ReleaseMouseButton(1)    
end

end

最后修改:2023 年 11 月 23 日
如果觉得我的文章对你有用,请随意赞赏