Advertisement
Guest User

Krep 2

a guest
May 26th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. CREATETIME="2015-05-19 krep";
  2. SCREEN_RESOLUTION="320x480";
  3.  
  4. cycles = 5
  5. x = true
  6.  
  7.  
  8. appRun("com.perk.livetv.iphone");
  9.  
  10. do
  11. local t = 0
  12. while x do
  13. if ((getColor(52, 350)) == 16505020) then
  14. touchDown(0, 54, 349)
  15. usleep(200000)
  16. touchUp(0, 54, 349)
  17. break
  18. elseif (getColor(85, 214)) == 0 then
  19. touchDown(0, 80, 280)
  20. usleep(200000)
  21. touchUp(0, 80, 280)
  22. end
  23. usleep(500000)
  24. t = t + 1
  25. if (t > 60) then
  26. x = false
  27. end
  28. end
  29. end
  30.  
  31. usleep(1000000);
  32.  
  33. do
  34. local t = 0
  35. local y = 0
  36.  
  37. while ((y <= cycles) and (t <= 30))
  38. do
  39.  
  40. if (((getColor(162.7, 224.2)) == 3426654) and ((getColor(157.8, 275.6)) ~= 6485499)) then
  41. touchDown(0, 233, 241)
  42. usleep(200000)
  43. touchUp(0, 233, 241)
  44. usleep(15000000)
  45. y = y + 1
  46. elseif ((getColor(160.3, 224.5) == 0)
  47. and (getColor(173.9, 239.4) == 0)
  48. and (getColor(160.0, 253.0) == 0)
  49. and (getColor(147.4, 239.7) ==0)) then
  50. usleep(1000000)
  51. t = t + 1
  52. end
  53. end
  54. end
  55. usleep(500000)
  56.  
  57. appKill("com.perk.livetv.iphone");
  58. appRun("com.vinqon.memorycleanerpro");
  59.  
  60. while ((getColor(54.0, 289.2) ~= 15044926)) do
  61. usleep(1000000)
  62. end
  63.  
  64. appKill("com.vinqon.memorycleanerpro");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement