別放棄 我給你新版的 你試試
function main()
for i = 1,100,1 do
sleep(1000)
for j = 1,i,1 do
sleep(10)
touchDown(267,335)
sleep(10)
touchMove(266,335)
sleep(10)
touchMove(265,335)
sleep(10)
touchMove(265,334)
sleep(10)
touchMove(265,333)
sleep(10)
touchMove(264,333)
sleep(10)
touchMove(264,332)
sleep(10)
touchMove(264,330)
sleep(10)
touchMove(263,329)
sleep(10)
touchMove(263,327)
sleep(10)
touchMove(262,326)
sleep(10)
touchMove(262,324)
sleep(10)
touchMove(262,322)
sleep(10)
touchMove(261,319)
sleep(10)
touchMove(261,314)
sleep(10)
touchMove(260,310)
sleep(10)
touchMove(260,306)
sleep(10)
touchMove(260,301)
sleep(10)
touchMove(259,297)
sleep(10)
touchMove(259,292)
sleep(10)
touchMove(259,287)
sleep(10)
touchMove(259,282)
sleep(10)
touchMove(258,276)
sleep(10)
touchMove(258,269)
sleep(10)
touchMove(257,263)
sleep(10)
touchMove(257,256)
sleep(10)
touchMove(256,250)
sleep(10)
touchMove(252,216)
sleep(10)
touchMove(252,212)
sleep(10)
touchMove(251,207)
sleep(10)
touchMove(250,202)
sleep(10)
touchMove(249,196)
sleep(10)
touchMove(248,190)
sleep(10)
touchMove(243,165)
sleep(10)
touchMove(242,158)
sleep(10)
touchMove(241,152)
sleep(10)
touchMove(240,146)
sleep(10)
touchMove(239,139)
sleep(10)
touchMove(237,133)
sleep(10)
touchMove(235,126)
sleep(10)
touchMove(234,119)
sleep(10)
touchMove(232,113)
sleep(10)
touchMove(231,107)
sleep(10)
touchMove(229,101)
sleep(10)
touchMove(228,95)
sleep(10)
touchUp()
sleep(13)
touchUp()
end
sleep(2000)
touchClick(370,495)
sleep(4000)
if isColor(137,739,10231039,90) then
sleep(1500)
touchClick(137,739)
sleep(3500)
touchClick(71,752)
sleep(3500)
touchClick(74,765)
sleep(3500)
elseif isColor(137,739,10248514,90) then
touchClick(682,41)
sleep(3500)
end
--start flight
j = 1
while j < 10 do
sleep(10)
touchClick(79,908)
sleep(30)
touchClick(81,775)
sleep(30)
touchClick(90,636)
sleep(30)
touchClick(80,515)
sleep(30)
touchClick(92,378)
sleep(20)
if isColor(235,719,47665,90) or
isColor(582,591,8078625,90) or
isColor(664,798,10244393,90) or
isColor(591,1073,16772930,90)
then break
sleep(5000)
end
end
if isColor(235,719,47665,90) then
touchClick(235,719)
sleep(1500)
touchClick(677,48)
sleep(5000)
end
if isColor(591,1073,16772930,90) then
touchClick(591,1089)
sleep(1500)
touchClick(677,48)
sleep(5000)
end
end
end |