Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. #cs ----------------------------------------------------------------------------
  2.  
  3. AutoIt Version: 3.3.12.0
  4. Author: Kiksen
  5.  
  6. Script Function:
  7. Dobler tabte bet op så man altid tjener på european roulette
  8.  
  9. #ce ----------------------------------------------------------------------------
  10.  
  11. ; Script Start - Add your code below here
  12.  
  13. HotKeySet("{ESC}", "Terminate")
  14. HotKeySet("!c", "getColor")
  15. HotKeySet("!a", "total")
  16.  
  17. Global $color
  18.  
  19.  
  20. MsgBox(0, "Starting Up", "Starting, use ESCAPE to quit, Alt + C to set color, and Alt + A to run")
  21.  
  22. Func Terminate()
  23. Exit 1
  24. EndFunc
  25.  
  26. Func getColor()
  27. $point = MouseGetPos()
  28. $color = PixelGetColor($point[0], $point[1])
  29. MsgBox(0, "Color Set", "The color has been set to " & $color)
  30. EndFunc
  31.  
  32.  
  33.  
  34. Func total()
  35.  
  36. $bet = 1
  37.  
  38. $black = MouseClick("left", 630, 496)
  39. Sleep(2000)
  40. $spin = MouseClick("left", 373, 646)
  41. Sleep(6000)
  42.  
  43. While 1
  44.  
  45. Sleep(5000)
  46. $point = PixelSearch(489, 607, 566, 688, $color)
  47. if IsArray($point) Then
  48.  
  49. MouseClick("left", $point[0], $point[1])
  50.  
  51.  
  52. $black = MouseClick("left", 630, 496)
  53. Sleep(1000)
  54. $spin = MouseClick("left", 373, 646)
  55. Sleep(1000)
  56. $bet = 1
  57.  
  58.  
  59. ElseIf IsArray($point) = "0" Then
  60. $bet *= 2
  61. $counter = 0
  62. While $counter < $bet
  63. Sleep(250)
  64. $black = MouseClick("left", 630, 496)
  65. $counter += 1
  66. While $counter = $bet
  67. Sleep(3000)
  68. $spin = MouseClick("left", 373, 646)
  69. If $counter == $bet Then ExitLoop
  70.  
  71.  
  72. WEnd
  73.  
  74. If $counter == $bet Then ExitLoop
  75.  
  76.  
  77.  
  78.  
  79. WEnd
  80. EndIf
  81.  
  82. WEnd
  83.  
  84. EndFunc
  85. While 1
  86. sleep(250)
  87. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement