Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; game played on 1080p monitor with fullscreen windowed on.
- $KeyToPress = "w"
- HotKeySet("l", "GREENLIGHT")
- HotKeySet("{ENTER}", "END")
- while (true)
- sleep(10)
- WEnd
- Func GREENLIGHT()
- while 1
- $light = PixelGetColor(844,169)
- if $light=0x55FF00 Then
- Send ("{"&$KeyToPress&" DOWN}")
- else
- Send ("{"&$KeyToPress&" UP}")
- EndIf
- WEnd
- EndFunc
- Func END()
- Exit
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment