Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hwnd = Plugin.Window.Find(0, "雷電模擬器-1")
- Color = Plugin.Bkgnd.GetPixelColor(Hwnd, 113, 154)
- Msgbox "E6EBE6=" & Color
- If Color = "E6EBE6="
- Call Plugin.Bkgnd.MoveTo(Hwnd, 460, 51)
- Delay 400
- Call Plugin.Bkgnd.LeftClick(Hwnd, 460, 51)
- Delay 400
- Call Plugin.Bkgnd.MoveTo(Hwnd, 315, 35)
- Delay 400
- Call Plugin.Bkgnd.LeftClick(Hwnd, 315, 35)
- Delay 400
- Call Plugin.Bkgnd.MoveTo(Hwnd, 404, 121)
- Delay 400
- Call Plugin.Bkgnd.LeftClick(Hwnd, 404, 121)
- Delay 400
- Call Plugin.Bkgnd.MoveTo(Hwnd, 530, 20)
- Delay 400
- Call Plugin.Bkgnd.LeftClick(Hwnd, 530, 20)
- Delay 390000
- Else
- Call Plugin.Bkgnd.MoveTo(Hwnd, 401, 250)
- Delay 500
- Call Plugin.Bkgnd.LeftClick(Hwnd, 401, 250)
- Delay 500
- Call Plugin.Bkgnd.MoveTo(Hwnd, 255, 195)
- Delay 500
- Call Plugin.Bkgnd.LeftClick(Hwnd, 255, 195)
- Delay 5000
- End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement