Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Global $Paused
- HotKeySet("{PAUSE}", "TogglePause")
- $GamesOverWin = 1103649515
- $GamesOverLoss = 2134198651
- $acountname = "YOURACCOUNTNAMEHERE"
- $password = "YOURPASSWORDHERE"
- $x = 0
- Do
- Run("C:\Riot Games\League of Legends\lol.launcher.exe")
- Sleep(7000)
- MouseClick("left", 942, 630, 1) ;Play
- Sleep(500)
- MouseClick("left", 588, 524, 1) ;acct
- Sleep(15000)
- MouseClick("left", 976, 322, 1) ;account
- Send("{BACKSPACE 15}") ;removes currnt account name
- Send($acountname)
- MouseClick("left", 976, 386, 1) ;Pass
- Send($password)
- Sleep(3000)
- MouseClick("left", 1086, 429, 1) ;login
- Sleep(13000)
- MouseClick("left", 1004, 126, 1) ;Close out popup (shop)
- Sleep(2000)
- MouseClick("left", 1004, 126, 1) ;Close out popup (shop)
- Sleep(2000)
- MouseClick("left", 640, 43, 1) ;Play
- Sleep(3000)
- MouseClick("left", 707, 145, 1) ;pvp 5v5
- Sleep(1000)
- MouseClick("left", 901, 145, 1) ;Blind pick
- Sleep(1000)
- MouseClick("left", 756, 703, 1) ;Find teammates for me
- Sleep(3000)
- $checksum = PixelChecksum(0,0, 50,50) ;while game not found wait
- While $checksum = PixelChecksum(0,0, 50, 50);while game not found wait
- Sleep(100)
- WEnd
- Sleep(40000) ; Waits 40secs I could just click play now but I want it to look lik I afk'ed
- $checksum2 = PixelChecksum(269,246, 344,307)
- ConsoleWrite("Random Icon sum=" & $checksum2 & @CRLF)
- Sleep(180000) ;after 3 mins game should be loaded and up
- MouseClick("left", 514, 647, 1) ; Clicks first skill
- MouseClick("left", 271, 761, 1) ; Clicks shop icon
- Sleep(1500)
- MouseClick("left", 672, 216, 2) ; buys first TimerDiff
- Sleep(3000)
- Send("{ESC}") ; Clears screen/shop
- sleep(1500)
- $i = 0
- Do
- MouseClick("right", 480,430, 1)
- Sleep(5600)
- MouseClick("right",350, 530, 1)
- Sleep(4100)
- MouseClick("right",650, 498, 1)
- Sleep(3200)
- MouseClick("right", 780,433, 1)
- Sleep(3200)
- MouseClick("right",550, 521, 1)
- Sleep(3600)
- MouseClick("right",650, 490, 1)
- Sleep(3900)
- Send("b") ;Tellports B/c It's cool
- Sleep(15000)
- If PixelChecksum(568,479, 669,499) = $GamesOverWin Then
- $i = $i + 1
- EndIf
- If PixelChecksum(568,479, 669,499) = $GamesOverLoss Then
- $i = $i + 1
- EndIf
- Until $i = 1
- $x = $x + 1 ;Kills game
- Send("{ALTDOWN}")
- Sleep(1500)
- Send("{F4}")
- Sleep(500)
- Send("{ALTUP}")
- Sleep(3000)
- $x = $x + 1 ;Kills game (after game chat)
- Send("{ALTDOWN}")
- Sleep(1500)
- Send("{F4}")
- Sleep(500)
- Send("{ALTUP}")
- Sleep(3000)
- Until $x = 7 ;stats over X times.
- Func TogglePause()
- $Paused = NOT $Paused
- While $Paused
- sleep(100)
- ToolTip('Script is "Paused"',0,0)
- WEnd
- ToolTip("")
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement