• We just launched and are currently in beta. Join us as we build and grow the community.

League Anti-Afk

flightj23

Data Correlation Specialist
F Rep
0
0
0
Rep
0
F Vouches
0
0
0
Vouches
0
Posts
153
Likes
48
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
Thought I'd share a little Anti-AFK script that I made in 5 minutes.
To use if, just tab-out of the game, launch the script and it will back every 10 seconds.
Here's the code (If you do not have Auto-Hotkey, I provided an exe at the bottom.)
Code:
#SingleInstance force
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
Loop
{
	
	IfWinNotExist, League of Legends
	{
		msgbox, 48, No Game is running, This is an AntiAFK made for League of Legends. Please make sure that a game is currently running.
		ExitApp
	}
	
	WinActivate League of Legends
	Send b
	Sleep 10000
}
return
!f7::ExitApp
Here is a compiled version
Btw, if you want a more advanced method of leaving games, I suggest you try AutoSharpporting on LeagueSharp to turn your champion into a bot
 

439,009

316,008

316,017

Top