苏岩 发表于 2025-5-21 08:49:06

哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇

Aaronhu618 发表于 2025-5-21 16:22:26

66666666666666666666

lyh760 发表于 2025-5-22 15:14:23

3543453453453

gjj123456 发表于 2025-5-23 13:43:05

999999999999999999999999999

Baofu 发表于 2025-5-24 18:21:26

啥也不说了,感谢楼主分享哇!

五条悟 发表于 2025-5-24 18:24:57

正需要,支持楼主大人了!

missyou2005.. 发表于 2025-5-24 18:30:16

啥也不说了,感谢楼主分享哇!

QQ417543777 发表于 2025-5-24 18:34:09

还是睡觉三四节课

xxxslll 发表于 2025-5-24 19:29:22

AWDADAWDAWDD

Yangchenyi1996 发表于 2025-5-27 15:29:54

55555555555555555555555555555555

a727666641 发表于 2025-5-28 00:25:55

11111111111111

酷酷的小天 发表于 2025-5-29 18:03:00

CS2找基地址教程+外部绘制Python源码分享 [修改]

jiuyuezhiyue 发表于 2025-6-12 12:45:25

-- 宏脚本:闪蹲(按住持续)、六级跳、连跳,支持滚轮键关闭宏
kaiguan = true-- 总开关,默认开启
offkey = 3-- 滚轮键(默认值为3,表示滚轮键)

-- 侧键功能定义
shandun = 8-- 闪蹲(按住持续)
liujitiao = 6-- 六级跳
liantiao = 0-- 连跳

function OnEvent(event, arg)
    -- 滚轮键关闭或开启所有宏功能
    if event == "MOUSE_BUTTON_PRESSED" and arg == offkey then
      kaiguan = not kaiguan-- 切换开关状态
      if kaiguan then
            OutputLogMessage("宏已开启\n")
      else
            OutputLogMessage("宏已关闭\n")
      end
    end

    -- 闪蹲功能(按住持续)
    if event == "MOUSE_BUTTON_PRESSED" and arg == shandun and kaiguan then
      repeat
            PressKey("lctrl") -- 按下蹲键
            Sleep(math.random(15, 17))
            ReleaseKey("lctrl") -- 松开蹲键
            Sleep(math.random(15, 17))
            PressKey("lctrl") -- 再次按下蹲键
            Sleep(math.random(15, 17))
            ReleaseKey("lctrl") -- 再次松开蹲键
            Sleep(math.random(15, 17)) -- 添加间隔,避免过快
      until not IsMouseButtonPressed(shandun) -- 按住持续,松开停止
    end

    -- 六级跳功能
    if event == "MOUSE_BUTTON_PRESSED" and arg == liujitiao and kaiguan then
      PressKey("s")-- 按下后退键
      Sleep(1217)
      PressKey("w")-- 按下前进键
      Sleep(300)

      PressKey("lctrl") -- 按下蹲键
      Sleep(30)
      ReleaseKey("lctrl") -- 松开蹲键

      Sleep(10)
      PressKey("lctrl") -- 再次按下蹲键
      Sleep(30)
      ReleaseKey("lctrl") -- 再次松开蹲键

      Sleep(10)
      PressKey("spacebar") -- 按下跳跃键
      Sleep(math.random(105, 107))
      PressKey("lctrl") -- 按下蹲键
      Sleep(85)
      ReleaseKey("spacebar") -- 松开跳跃键
      Sleep(135)
      ReleaseKey("lctrl") -- 松开蹲键
      Sleep(1000)

      PressKey("spacebar") -- 再次按下跳跃键
      Sleep(math.random(105, 107))
      PressKey("lctrl") -- 按下蹲键
      Sleep(85)
      ReleaseKey("spacebar") -- 松开跳跃键
      Sleep(135)
      ReleaseKey("lctrl") -- 松开蹲键
      Sleep(1000)

      PressKey("spacebar") -- 再次按下跳跃键
      Sleep(math.random(105, 107))
      PressKey("lctrl") -- 按下蹲键
      Sleep(85)
      ReleaseKey("spacebar") -- 松开跳跃键
      Sleep(135)
      ReleaseKey("lctrl") -- 松开蹲键
      Sleep(1000)

      ReleaseKey("w") -- 松开前进键
      Sleep(500)
      PressKey("spacebar") -- 按下跳跃键
      Sleep(136)
      ReleaseKey("spacebar") -- 松开跳跃键
      Sleep(500)
      PressKey("spacebar") -- 再次按下跳跃键
      Sleep(135)
      ReleaseKey("spacebar") -- 松开跳跃键
      Sleep(106)
      PressKey("lctrl") -- 按下蹲键
      Sleep(30)
      ReleaseKey("lctrl") -- 松开蹲键
      Sleep(60)
      PressKey("spacebar") -- 再次按下跳跃键
      Sleep(107)
      ReleaseKey("spacebar") -- 松开跳跃键
      Sleep(math.random(105, 107))
      ReleaseKey("s") -- 松开后退键
    end

    -- 连跳功能
    if event == "MOUSE_BUTTON_PRESSED" and arg == liantiao and kaiguan then
      PressKey("spacebar") -- 按下跳跃键
      Sleep(math.random(10, 25))
      ReleaseKey("spacebar") -- 松开跳跃键
      Sleep(math.random(10, 25))
      repeat
            PressKey("spacebar") -- 再次按下跳跃键
            Sleep(math.random(10, 25))
            ReleaseKey("spacebar") -- 松开跳跃键
            Sleep(math.random(10, 25))
      until not IsMouseButtonPressed(liantiao)
    end
end

1924375238 发表于 2025-6-17 18:46:06

啥也不说了,感谢楼主分享哇!

wangsir 发表于 2025-6-18 23:29:20

啥也不说了,感谢楼主分享哇!
页: 1 2 [3] 4
查看完整版本: CS2找基地址教程+外部绘制Python源码分享