最新飞翔福袋脚本源码分享(Autojs完整源码)

本文分享了最新飞翔福袋的Autojs完整源码,详细解析了脚本的工作原理,对于JS和自动化脚本爱好者具有参考价值。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

function getlucky() {
    log("开始红包")
    let gz = boundsFindCon("关注", device.width * 0.35, device.height * 0.35, device.width * 0.65, device.height * 0.65, -1)
    let jz = boundsFindCon("价值", device.width * 0.35, device.height * 0.5, device.width * 0.65, device.height * 0.75, -1)
 
    if (gz == null) {
        log("No gz")
        return;
    }
 
    let tapx = 0
    let tapy = 0
    let mh = boundsFindCon("秒后", device.width * 0.3, device.height * 0.4, device.width * 0.7, device.height * 0.7, -1)
    if (mh != null) {
        tapx = mh.bounds().centerX()
        tapy = mh.bounds().centerY()
        for (let j = 0; j < 100; j++) {
            log("红包时间未到,等待:", j)
            sleep(6000)
            timeChange()
            mh = boundsFindCon("秒后", device.width * 0.3, device.height * 0.4, device.width * 0.7, device.height * 0.7, -1)
            if (mh == null) {
                hbnumber = hbnumber + 1
                log("即将点击红包")
                sleep(50 * 1000)
       
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值