Jump to content

Help Me Find My Problem


Recommended Posts

I am very new to coding and basically I want my website to be my buddy in gambling in roulette. I want It to place a bet on the black and...

If

black won the previous round to bet 250 coins

Else (Red or Green)

I want it to press the 2x button and until it wins then reset itself to 250.

In my code below, everything works how up should up until the if/else statement
 

WinActivate("CSGOPolygon")
MouseClick("left",601,524)
Send("250")
sleep(250)
MouseClick("left",1086,628)
sleep(38000)
If PixelGetColor(995,453[0xFDFDFD) Then
   MouseClick("left".601,524[,clicks = 2])
   Send("250")
   Sleep(250)
   MouseClick("left",1086,628)
   Sleep(250)
   MouseClick("left",1293,733)
Else
   MouseClick("left",1101,505)
   Sleep(250)
   MouseClick("left",1086,628)
   Sleep(250)
   MouseClick("Left",1293,733)

EndIf

 

Link to comment
Share on other sites

  • Moderators

@auzzle you seem to have walked right past our forum rules on your way in. Please go back and read them now, especially the part on game automation, and you will see why this thread is locked. You will receive no help on this subject.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...