此代码由日赚3万网autojs开发交流群整理提供,欢迎大家一起技术交流,查看更多脚本和源码: 一键加群。如有侵权,请联系我删除!
// 最新抖音小助手抢福袋脚本已更新至V5.18,可自动换号批量多开操作,单机日入15+
main()function main() {while (true) {if (id("com.ss.android.ugc.aweme:id/en0").findOnce()) {log("在直播间......")var node = id("com.ss.android.ugc.aweme:id/cxq").findOnce()if (node) {log("红包")node.click()} else {var node = descEndsWith("可抢").findOnce()if (node) {log("可抢")node.click()}}} else if (id("com.ss.android.ugc.aweme:id/d3y").findOnce()) {log("抢...")var node = id("com.ss.android.ugc.aweme:id/d3y").findOnce()if (node) {log("抢")node.click()}} else if (id("com.ss.android.ugc.aweme:id/edu").findOnce()) {log("抢单结果...")var node = id("com.ss.android.ugc.aweme:id/edu").findOnce()if (node) {var tt = node.text()log("抢单结果..." + tt)if(tt=="手慢了,红包派完了"){back()}else{break}}} else if (id("com.ss.android.ugc.aweme:id/e5z").findOnce()) {var node = id("com.ss.android.ugc.aweme:id/e5z").findOnce()if (node) {var tt = node.text()log("倒计时..." + tt)if (tt.match("可拆")) {sleep(1)} else {var tk = parseInt(tt)log("tk..." + tk)if (tk < 3) {for (var i = 0; i < 333; i++) {var node = id("com.ss.android.ugc.aweme:id/d3y").findOnce()if (node) {node.click()log("抢......" + i)break}}}}}}sleep(1000)}}