本帖最后由 152324093 于 2021-8-22 22:16 编辑
- x, y = findMultiColor(0, 0, 0, 0, "FFA953", "1|0|FFBB78|1|1|FFFFFF|1|2|FFFFFF|1|3|FFFFFF|1|4|FFFFFF|1|5|FFEFE0|1|6|FF9E3E|3|5|FFEFDF|3|4|FFFFFF", 0, 0.89)
- if x ~= -1 and y ~= -1 then
- local id = createHUD()
- showHUD(shubiao, "@", 1, "0xffff0000", "0xffff0000", 0, x, y, 0, 0) --显示HUD内容
- sleep(500)
- print("点击:" .. x .. "," .. y)
- hideHUD(shubiao) --隐藏HUD关闭
- tap(x, y)
- sleep(2000)
- end
复制代码
|