Hi, I'm new in using AutoIt and was working to make a simple bot for a game. I have some part of the script here.. Do ControlSend($win ,"" ,"" ,"2") ;send key 2 for the 2nd Skill Sleep(1000) ;stop for 1 sec ControlSend($win ,"" ,"" ,"1") ;send key 1 for the 1st Skill Sleep(1000) ;stop for 1 sec If PixelGetColor(102,146, $handle) <> 0xFF8242 Then ;Look if HP is less than specified (Only Instant HP should be used) ControlSend($win ,"" ,"" ,"4") ;Press 9 for + instant HP EndIf I