Hello I'm new here and I'm wondering what's wrong with my script for a game called Byond. I want it to automatically push arrows that come in randomly, I have all the correct coords ,but it seems to only have mouse movements.(The red dots are where i get my coords from) The link is the original script
[Only registered and activated users can see links. Click Here To Register...]
If $arrow = 1 Then
If PixelGetColor(338,362) = "0x000033" And PixelGetColor(343,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 2
ElseIf PixelGetColor(338,355) = "0x000033" And PixelGetColor(343,355) = "0x000033" Then
Send("{UP}")
$arrow = 2
ElseIf PixelGetColor(337,354) = "0x000033" And PixelGetColor(337,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 2
ElseIf PixelGetColor(344,354) = "0x000033" And PixelGetColor(364,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 2
EndIf
ElseIf $arrow = 2 Then
If PixelGetColor(354,362) = "0x000033" And PixelGetColor(359,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 3
ElseIf PixelGetColor(354,355) = "0x000033" And PixelGetColor(359,355) = "0x000033" Then
Send("{UP}")
$arrow = 3
ElseIf PixelGetColor(353,354) = "0x000033" And PixelGetColor(353,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 3
ElseIf PixelGetColor(360,354) = "0x000033" And PixelGetColor(360,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 3
EndIf
ElseIf $arrow = 3 Then
If PixelGetColor(370,362) = "0x000033" And PixelGetColor(375,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 4
ElseIf PixelGetColor(370,355) = "0x000033" And PixelGetColor(375,355) = "0x000033" Then
Send("{UP}")
$arrow = 4
ElseIf PixelGetColor(369,354) = "0x000033" And PixelGetColor(369,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 4
ElseIf PixelGetColor(376,354) = "0x000033" And PixelGetColor(376,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 4
EndIf
ElseIf $arrow = 4 Then
If PixelGetColor(386,362) = "0x000033" And PixelGetColor(391,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 5
ElseIf PixelGetColor(386,355) = "0x000033" And PixelGetColor(391,355) = "0x000033" Then
Send("{UP}")
$arrow = 5
ElseIf PixelGetColor(385,354) = "0x000033" And PixelGetColor(385,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 5
ElseIf PixelGetColor(392,354) = "0x000033" And PixelGetColor(392,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 5
EndIf
ElseIf $arrow = 5 Then
If PixelGetColor(402,362) = "0x000033" And PixelGetColor(407,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 1
ElseIf PixelGetColor(402,355) = "0x000033" And PixelGetColor(407,355) = "0x000033" Then
Send("{UP}")
$arrow = 1
ElseIf PixelGetColor(401,354) = "0x000033" And PixelGetColor(401,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 1
ElseIf PixelGetColor(408,354) = "0x000033" And PixelGetColor(408,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 1