Gui, Add, Button, x46 y40 w100 h30 gLocateSit, Locate Sit Gui, Add, Button, x326 y40 w100 h30 gLocateGuard, Locate Guard Spell Gui, Add, Edit, x176 y90 w100 h20 vLoop, 0 Gui, Add, Button, x166 y170 w100 h30 gStart, Start Gui, Add, Button, x166 y210 w100 h30 gExit, Exit Gui, Show, x131 y91 h377 w477, Troy's Guard Leveler Return LocateSit: { msgbox, You have 5 seconds to put your mouse over your sit hotkey on conquer. ; gives a message to the player Sleep, 5000 ;Sleeps for 5 seconds MouseGetPos, sitx, sity msgbox, Your sit location has been set return } LocateGuard: { msgbox, You have 5 seconds to put your mouse over your guard spell hotkey on conquer.; yet another friendly message to the player Sleep, 5000 ;sleeps for 5 seconds MouseGetPos, guardx, guardy msgbox, Your guard spell location has been set return } Start: { msgbox, You have 5 seconds to get ready Sleep, 5000 Loop, %Loop% { Send {F1} Sleep, 12000 Send {F2} } return } Exit: { ExitApp return } GuiClose: msgbox,Goodbye ExitApp return