--[[ Akali Elo Shower by Kn0wM3  ]]     if myHero.charName ~= "Akali" then        -- Target Selector    local ts    local distanceToTarget = 0        local QRange = 600 -- Range of Mark of the Assassin(Q)    local ERange = 325 -- Range of Crescent Slash(E)    local RRange = 800 -- Range of Shadow Dance(R)    local AARange = 125 -- Range of Akali's Auto Attacks        -- / Function OnLoad / --    function OnLoad()         -- Menu 	ConfigMenu() 	 	Menu:permaShow("combo") 	Menu:permaShow("harass") 	Menu:permaShow("AutoHarass") 	Menu:permaShow("farmcs") 	 	--- Target Selector --- 	---> 	ts = TargetSelector(TARGET_LOW_HP, RRange, DAMAGE_MAGIC) --Create the Target Selector based on our settings. The range is of Akali's highest-ranged ability.     ts.name = "Akali Elo Shower" --The name in the Menu Menu for our section     ---< Target Selector --- 	PrintChat (" >> Akali Elo Shower by Kn0wM3?, Have Fun Raping:)!") 	end end 	 	function ConfigMenu() 	 	Menu = scriptConfig("Akali Elo Shower", "Akali Elo Shower (Eigengescripted)") 	---  combo Menu --- 	---> 	Menu:addSubMenu("combo", "Combo Settings", SCRIPT_PARAM_ONOFF, true) 		Menu.combo:addParam("combo", "Combo Mode", SCRIPT_PARAM_ONKEYDOWN, false, 32) 		Menu.combo:addParam("aaincombo", "Use AA in combo", SCRIPT_PARAM_ONOFF, true) 		Menu.combo:addParam("useq", "Use Q in combo", SCRIPT_PARAM_ONOFF, true) 		Menu.combo:addParam("usew", "Use W in combo", SCRIPT_PARAM_ONOFF, false) 		Menu.combo:addParam("usee", "Use E in combo", SCRIPT_PARAM_ONOFF, true) 		Menu.combo:addParam("user", "Use R in combo", SCRIPT_PARAM_ONOFF, true)     ---< combo Menu --- 		 	---  harass Menu --- 	--->	 	Menu:addSubMenu("harass", "Harass Setttings", SCRIPT_PARAM_ONOFF, true) 		Menu.harass:addParam("harass", "Harass Mode", SCRIPT_PARAM_ONKEYDOWN, false, string.byte("C")) 		Menu.harass:addParam("AutoHarass", "Auto Harras Mode", SCRIPT_PARAM_ONKEYTOOGLE, false , string.byte("V")) 		Menu.harass:addParam("aainharass", "Use AA in harass", SCRIPT_PARAM_ONOFF, true) 		Menu.harass:addParam("huseq", "Use Q in harass", SCRIPT_PARAM_ONOFF, true) 		Menu.harass:addParam("HuseW", "Use W in harass", SCRIPT_PARAM_ONOFF, false) 		Menu.harass:addParam("husee", "Use E in harass", SCRIPT_PARAM_ONOFF, true) 		Menu.harass:addParam("huser", "Use R in harass", SCRIPT_PARAM_ONOFF, true) 	---< harass Menu --- 	 	--- Farming Menu --- 	---> 	Menu:addSubMenu("farmcs", "Farm Settings", SCRIPT_PARAM_ONOFF, true) 		Menu.farmcs:addParam("farmcs", "Farm", SCRIPT_PARAM_ONKEYTOGGLE, false, string.byte("T")) 	---< Farming Menu --- 	 	---	killsteal Menu --- 	---> 	Menu:addSubMenu("killsteal", "Killsteal", SCRIPT_PARAM_ONOFF, true) 		Menu.killsteal:addParam("AutoIgnite", "Auto Ignite Enemy", SCRIPT_PARAM_ONOFF, true) 		Menu.killsteal:addParam("KS", "Killsteal", SCRIPT_PARAM_ONOFF, true) 	---< killsteal Menu --- 	 	--- drawing Menu --- 	--->	 		 	Menu:addSubMenu("drawing", "Drawing", SCRIPT_PARAM_ONOFF, true) 	    Menu.drawing:addParam("DisableDrawing", "Disable all Drawing", SCRIPT_PARAM_ONOFF, true) 		Menu.drawing:addParam("drawq", "Draw Q Range", SCRIPT_PARAM_ONOFF, true) 		Menu.drawing:addParam("drawe", "Draw E Range", SCRIPT_PARAM_ONOFF, true) 		Menu.drawing:addParam("drawr", "Draw R Range", SCRIPT_PARAM_ONOFF, true) 		Menu.drawing:addParam("drawaa", "Draw AA Range", SCRIPT_PANAM_ONOFF, true) 	---< drawing Menu --- end      -- / Function OnTick / --   function OnTick() 	 	iReady = (ignite ~= nil and myHero:CanUseSpell(ignite) == READY) 	 	--- Checks and finds Ignite --- 	---> 		if myHero:GetSpellData(SUMMONER_1).name:find("summonerdot") then 			ignite = SUMMONER_1 		elseif myHero:GetSpellData(SUMMONER_2).name:find("summonerdot") then 			ignite = SUMMONER_2 		end 	---< 	--- Checks and finds Ignite ---  	ts:update()     -- Enemy near     if (ts.target ~= nil) then 	end 	-- combo 	if Menu.combo.combo then 	combo() 	end 	-- harass     if Menu.harass.harass then 	harass() 	end 	-- Auto Harras 	if Menu.harass.AutoHarass then 	AutoHarass() 	end 	-- Auto Ignite 	if Menu.killsteal.AutoIgnite then 	AutoIgnite() 	end 	-- killsteal 	if Menu.killsteal.KS then 	killsteal() 	end end      -- / Function combo / -- 	function combo() 	     -- Can cast Q     if (myHero:CanUseSpell(_Q) == READY) and distanceToTarget < QRange and Menu.combo.useq then  	CastSpell(_Q, ts.target)	 	end     -- Can cast W     --if (myHero:CanUseSpell(_W) == READY) and distanceToTarget < WRange and Menu.combo.usew then  	--CastSpell(_W, ts.target.x,ts.target.z) 	--end     -- Can cast E 	if (myHero:CanUseSpell(_E) == READY) and distanceToTarget < ERange and Menu.combo.usee then   	CastSpell(_E, ts.target) 	end     -- Can cast R 	if (myHero:CanUseSpell(_R) == READY) and distanceToTarget < RRange and Menu.combo.user then  	CastSpell(_R, ts.target) 	end 	-- Can AutoAttack 	if distanceToTarget < AARange and Menu.combo.aaincombo then 	myHero:Attack(ts.target) 	end end    -- / Function harass / -- 	function harass() 	 	-- Can cast Q     if (myHero:CanUseSpell(_Q) == READY) and distanceToTarget < QRange and Menu.harass.huseq then     CastSpell(_Q, ts.target) 	end     --Can cast E     if (myHero:CanUseSpell(_E) == READY) and distanceToTarget < ERange and Menu.harass.husee then     CastSpell(_E, ts.target) 	end     -- Can cast R 	if (myHero:CanUseSpell(_R) == READY) and distanceToTarget < RRange and Menu.harass.huser then 	CastSpell(_R, ts.target) 	end 	-- Can AutoAttack 	if distanceToTarget < AARange and Menu.harass.aainharass then 	myHero:Attack(ts.target)     end end       -- / Function AutoHaras / --     function AutoHarass() 	 	-- Can cast Q 	if (myHero:CanUseSpell(_Q) == READY) and distanceToTarget < Qrange and Menu.harass.AutoHarass then 	CastSpell(_Q, ts.target)    end     --Can cast E     if (myHero:CanUseSpell(_E) == READY) and distanceToTarget < ERange and Menu.harass.AutoHarass then     CastSpell(_E, ts.target) 	end 	-- Can cast R 	if (myHero:CanUseSpell(_R) == READY) and distanceToTarget < RRange and Menu.harass.AutoHarass then  	CastSpell(_R, ts.target) 	end 	-- Can AutoAttack 	if distanceToTarget < AARange and Menu.harass.aainharass then 	myHero:Attack(ts.target) 	end end  	function AutoIgnite(enemy) 	-- / Functtion Simple Auto Ignite / -- 	---> 		if enemy.health <= iDmg and GetDistanceSqr(enemy) <= 600*600 then 			if iReady then CastSpell(ignite, enemy) end 		end 	end 	---< 	-- / Function killsteal / -- 	--function killsteal 	 	--local health = enemy.health 	--local distance = GetDistanceSqr(enemy) 	 	--if Menu.killsteal.KS then 	 	--if health <= QDmg and (myHero:CanUseSpell(_Q) == READY) and (distance <= QRange*QRange) then 		--CastSpell(_Q, enemy) 	--elseif health <= EDmg and (myHero:CanUseSpell(_E) == READY) and (distance <= ERange*ERange) then 		--CastSpell (_E,enemy) 	--elseif health <= (QDmg + EDmg) and (myHero:CanUseSpell(_Q) == READY) and (myHero:CanUseSpell(_E) == READY) and (distance <= ERange*ERange) then 		--CastSpell(_Q, enemy) 		--CastSpell(_E, enemy) 		     --- drawing Ranges   function Draw() 	--- drawing Ability Ranges --- 	---> 	if not myHero.dead then 	end 	if not Menu.drawing.DisableDrawing then 	end 	-- Draw Q Range     if Menu.drawing.drawq and (myHero:CanUseSpell(_Q) == READY) then 		DrawCircle(myHero.x, myHero.y, myHero.z, QRange, 0x111111) 	end 	-- Draw W Range 	if Menu.drawing.drawe and (myHero:CanUseSpell(_E) == READY) then 		DrawCircle(myHero.x, myHero.y, myHero.z, ERange, 0x111111)     end 	-- Draw R Range 	if Menu.drawing.drawr and (myHero:CanUseSpell(_R) == READY) then 		DrawCircle(myHero.x, myHero.x, myHero.z, RRange, 0x111111)     end 	-- Draw AutoAttack Range 	if Menu.drawing.drawaa then  	    DrawCircle(myHero.x, myHero.x, myHero.z, AARange, 0x111111) 		end 	end ---< drawing Ability Ranges