Still didn't load after doing everything you said, copied RAW then paste. Still didn't work.
Also tried removing IOW from testscript1, didn't work.
Still didn't load after doing everything you said, copied RAW then paste. Still didn't work.
Also tried removing IOW from testscript1, didn't work.
Yes, I'm using different scripts for other champions
require 'MapPositionGOS'--require Valdorian xDLeBlanc = Menu("Leblanc", "Leblanc GODLIKE")LeBlanc:SubMenu("Keys","Keys")LeBlanc.Keys:Key("DoQ", "Q", string.byte("Q"))LeBlanc.Keys:Key("DoE", "E", string.byte("E"))LeBlanc.Keys:Key("Harass", "Harass", string.byte("X"))LeBlanc.Keys:Key("Combo", "Combo", string.byte(" "))LeBlanc:SubMenu("KS","Kill Functions")LeBlanc.KS:Boolean("KSNotes", "KS Notes", true)LeBlanc.KS:Boolean("Percent", "Percent Notes", true)LeBlanc:SubMenu("Misc","Misc")LeBlanc.Misc:Boolean("Draw", "Draw Circles", true)LeBlanc.Misc:Boolean("Move", "Move to mouse", true)--Variables--local version = 0.1local mapID = GetMapID()local lslocal targetlocal myHero = GetMyHero()local VoidStaff,multi = 1,1local xQ,xW,xE,xR,xRWlocal from,to,SUM,Wall,WallTlocal WPos,W2Pos,WPred,EPred,EPos,HPos--Tables--local KSN = {}local HNS = {}local enemies = {}local Enemy = {}local _registry = {}OnLoop(function(myHero)myHeroPos = GetOrigin(myHero)target = GetCurrentTarget()DamageCalc()EnemyHandling()SpellSequence()CheckItemCD()if LeBlanc.Keys.Harass:Value() and target then Harass() endif LeBlanc.Misc.Draw then Draw() endend)--Draw--function Draw()if not IsDead(myHero) thenlocal myHeroWorld = WorldToScreen(1,myHeroPos.x,myHeroPos.y,myHeroPos.z)if (CD(1,n,n,n,n,n,n,n,n)==1 and Mana(1,n,n)==1) or CD(0,1,n,n,n,n,n,1)==1 thenDrawCircle(GetOrigin(myHero),700,0,0,0xffff0000)endif (CD(0,n,1,n,n,0,n,n,n)==1 and Mana(0,1,n)==1) or CD(0,n,0,1,n,0,n,1)==1 thenDrawCircle(GetOrigin(myHero),600,0,0,0xffff0000)endif (CD(1,n,1,n,n,n,n,n,n)==1 and Mana(1,1,n)==1) or CD(1,n,0,1,n,n,n,1)==1 thenDrawCircle(GetOrigin(myHero),1300,0,0,0xffffff00)endif (CD(1,n,1,n,1,n,n,n,1)==1 and Mana(1,1,n)==1) or CD(1,n,1,n,n,n,n,1)==1 thenDrawCircle(GetOrigin(myHero),2000,0,0,0xffffff00)endlocal number=0if CanUseSpell(myHero,_Q)==READY and GetCastName(myHero,_R) ~= 'LeblancChaosOrbM' thenHNS[1] = {a=1,b=0,c=0,d=n,e=0,f=n,g=0,h=0,i=n, text ="Q"}HNS[2] = {a=1,b=0,c=1,d=n,e=0,f=n,g=0,h=0,i=n, text ="Q-W"}HNS[3] = {a=1,b=0,c=0,d=n,e=1,f=n,g=0,h=0,i=1, text ="Q-W®"}HNS[4] = {a=1,b=0,c=0,d=n,e=0,f=n,g=1,h=0,i=n, text ="Q-E"}HNS[5] = {a=1,b=0,c=0,d=n,e=0,f=n,g=0,h=1,i=1, text ="Q-E®"}HNS[6] = {a=1,b=0,c=1,d=n,e=0,f=n,g=1,h=0,i=n, text ="Q-W-E"}HNS[7] = {a=1,b=0,c=0,d=n,e=1,f=n,g=1,h=0,i=1, text ="Q-W®-E"}HNS[8] = {a=1,b=0,c=1,d=n,e=0,f=n,g=0,h=1,i=1, text ="Q-W-E®"}HNS[9] = {a=1,b=0,c=1,d=n,e=1,f=n,g=0,h=0,i=1, text ="Q-W-W®"}HNS[10] = {a=1,b=0,c=0,d=n,e=0,f=n,g=1,h=1,i=1, text ="Q-E-E®"}HNS[11] = {a=1,b=0,c=1,d=n,e=1,f=n,g=1,h=0,i=1, text ="Q-W-W®-E"}HNS[12] = {a=1,b=0,c=1,d=n,e=0,f=n,g=1,h=1,i=1, text ="Q-W-E-E®"}number=12elseif (CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancChaosOrbM') thenHNS[1] = {a=0,b=1,c=0,d=n,e=0,f=n,g=0,h=0,i=1, text ="Q®"}HNS[2] = {a=1,b=1,c=0,d=n,e=0,f=n,g=0,h=0,i=1, text ="Q-Q®"}HNS[3] = {a=0,b=1,c=1,d=n,e=0,f=n,g=0,h=0,i=1, text ="Q®-W"}HNS[4] = {a=0,b=1,c=0,d=n,e=0,f=n,g=1,h=0,i=1, text ="Q®-E"}HNS[5] = {a=0,b=1,c=1,d=n,e=0,f=n,g=1,h=0,i=1, text ="Q®-W-E"}HNS[6] = {a=1,b=1,c=1,d=n,e=0,f=n,g=0,h=0,i=1, text ="Q-Q®-W"}HNS[7] = {a=1,b=1,c=0,d=n,e=0,f=n,g=1,h=0,i=1, text ="Q-Q®-E"}HNS[8] = {a=1,b=1,c=1,d=n,e=0,f=n,g=1,h=0,i=1, text ="Q-Q®-W-E"}number=8elseif CanUseSpell(myHero,_W)==READY or (CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancSlideM') thenHNS[1] = {a=0,b=0,c=1,d=n,e=0,f=n,g=0,h=0,i=n, text ="W"}HNS[2] = {a=0,b=0,c=0,d=n,e=1,f=n,g=0,h=0,i=1, text ="W®"}HNS[3] = {a=0,b=0,c=1,d=n,e=1,f=n,g=0,h=0,i=1, text ="W-W®"}HNS[4] = {a=0,b=0,c=1,d=n,e=0,f=n,g=1,h=0,i=n, text ="W-E"}HNS[5] = {a=0,b=0,c=0,d=n,e=1,f=n,g=1,h=0,i=1, text ="W®-E"}HNS[6] = {a=0,b=0,c=1,d=n,e=0,f=n,g=0,h=1,i=1, text ="W-E®"}HNS[7] = {a=0,b=0,c=1,d=n,e=1,f=n,g=1,h=0,i=1, text ="W-W®-E"}HNS[8] = {a=0,b=0,c=1,d=n,e=0,f=n,g=1,h=1,i=1, text ="W-E-E®"}number=8elseHNS[1] = {a=0,b=0,c=0,d=n,e=0,f=n,g=1,h=0,i=n, text ="E"}HNS[2] = {a=0,b=0,c=0,d=n,e=0,f=n,g=0,h=1,i=1, text ="E®"}HNS[3] = {a=0,b=0,c=0,d=n,e=0,f=n,g=1,h=1,i=1, text ="E-E®"}number=3endfor v=1,number doif CD(HNS[v].a,HNS[v].b,HNS[v].c,HNS[v].d,HNS[v].e,HNS[v].f,HNS[v].g,HNS[v].h,HNS[v].i)==1 and Mana(HNS[v].a,HNS[v].c,HNS[v].g)==1 thenDrawText(HNS[v].text,15,myHeroWorld.x,myHeroWorld.y,0xffffff00)breakendendendend--harass--function Harass()WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1450,250,600,250,false,true)if mapID==SUMMONERS_RIFT thenif MapPosition:inWall({x=WPred.PredPos.x,y=0,z=WPred.PredPos.z})==true thenWall = 1elseWall = 0endelse--No Other Maps Supported atmWall=0endif LeBlanc.Keys.Harass:Value() and GOS:GetDistance(target)<=700 thenif CD(1,n,1,n,n,n,n,n,n)==1 and Mana(1,1,n)==1 then Q(target)elseif CD(n,n,1,n,n,n,n,n,n)==1 and Mana(n,1,n)==1 and Wall==0 then W(target)elseif CD(n,n,n,1,n,n,n,n,n)==1 then W2()endendend--Damage Calc--function DamageCalc()xQ = GetCastLevel(myHero,_Q)*25+30+.4*GetBonusAP(myHero)xW = GetCastLevel(myHero,_W)*40+45+.6*GetBonusAP(myHero)xE = GetCastLevel(myHero,_E)*25+15+.5*GetBonusAP(myHero)xR = GetCastLevel(myHero,_R)*100+.65*GetBonusAP(myHero)xRW = GetCastLevel(myHero,_R)*150+.975*GetBonusAP(myHero)end--ITEM CD--function CheckItemCD()if GetItemSlot(myHero,3135)>0 thenVoidStaff=0.65elseVoidStaff=1endend--Enemy Handling--function EnemyHandling()for i,enemy in pairs(GOS:GetEnemyHeroes()) doif #enemies~= 5 thenlocal entry = {hero = CheckEnemy(GetObjectName(enemy))}if entry.hero == nil thendrawPos= GetOrigin(enemy)textPos= WorldToScreen(1,drawPos.x,drawPos.y,drawPos.z)Enemy = {hero = enemy, name = GetObjectName(enemy), maxHealth = GetMaxHP(enemy)*((100+(((GetMagicResist(enemy)*VoidStaff)-GetMagicPenFlat(myHero))*GetMagicPenPercent(myHero)))/100)+GetHPRegen(enemy)*6 ,health = GetCurrentHP(enemy)*((100+(((GetMagicResist(enemy)*VoidStaff)-GetMagicPenFlat(myHero))*GetMagicPenPercent(myHero)))/100)+GetHPRegen(enemy)*6, Pos ={x=drawPos.x,y=drawPos.y,z=drawPos.z}, Text={x=textPos.x,y=textPos.y,z=textPos.z}}table.insert(enemies, Enemy)elseif entry.hero ~= enemy thenentry.hero = enemyendendendif #enemies > 0 thenfor i,enemy in ipairs(enemies) doif enemy == nil or enemy.hero == nil or not enemy thentable.remove(enemies,i)elseif enemy.name == nil or GetObjectName(enemy.hero):find(enemy.name) == nil thentable.remove(enemies,i)elseif IsVisible(enemy.hero) thendrawPos = GetOrigin(enemy.hero)textPos = WorldToScreen(1,drawPos.x,drawPos.y,drawPos.z)if GetCurrentHP(enemy.hero)*((100+(((GetMagicResist(enemy.hero)*VoidStaff)-GetMagicPenFlat(myHero))*GetMagicPenPercent(myHero)))/100)+GetHPRegen(enemy.hero)*6 ~= enemy.health thenenemy.health = GetCurrentHP(enemy.hero)*((100+(((GetMagicResist(enemy.hero)*VoidStaff)-GetMagicPenFlat(myHero))*GetMagicPenPercent(myHero)))/100)+GetHPRegen(enemy.hero)*6endif GetMaxHP(enemy.hero)*((100+(((GetMagicResist(enemy.hero)*VoidStaff)-GetMagicPenFlat(myHero))*GetMagicPenPercent(myHero)))/100)+GetHPRegen(enemy.hero)*6 ~= enemy.maxHealth thenenemy.maxHealth = GetMaxHP(enemy.hero)*((100+(((GetMagicResist(enemy.hero)*VoidStaff)-GetMagicPenFlat(myHero))*GetMagicPenPercent(myHero)))/100)+GetHPRegen(enemy.hero)*6endif enemy.Pos.x~= drawPos.x thenenemy.Pos.x=drawPos.xenemy.Pos.y=drawPos.yenemy.Pos.z=drawPos.zendif enemy.Text.x~= textPos.x thenenemy.Text.x=textPos.xenemy.Text.y=textPos.yendendendendendend--Spell Sequence--function SpellSequence()if LeBlanc.Misc.Move and (LeBlanc.Keys.Combo:Value() or LeBlanc.Keys.Harass:Value()) thenMoveToMouse()endif #enemies > 0 thenfor i,enemy in ipairs(enemies) doif Valid(enemy.hero) thenif GOS:GetDistance(enemy.hero)<=2000 thenEPred = GetPredictionForPlayer(GetOrigin(myHero),enemy.hero,GetMoveSpeed(enemy.hero),1550,150,950,55,true,true)WPred = GetPredictionForPlayer(GetOrigin(myHero),enemy.hero,GetMoveSpeed(enemy.hero),1450,250,600,250,false,true)if mapID==SUMMONERS_RIFT thenif MapPosition:inWall({x=WPred.PredPos.x,y=0,z=WPred.PredPos.z})==true thenWall = 1elseWall = 0endelse--No Other Maps Supported atmWall=0endif EPred.HitChance==1 thenBlock=0elseBlock=1end--ULTI CDKSN[1] = {a=1,b=0,c=0,d=n,e=0,f=n,g=0,h=0,i=n, Dist=0, Block=0, Wall=0, Damage= xQ,text ="Q"}KSN[2] = {a=1,b=n,c=1,d=n,e=n,f=n,g=n,h=n,i=n, Dist=0, Block=0, Wall=1, Damage= xQ*2+xW,text ="Q-W"}KSN[3] = {a=1,b=n,c=n,d=n,e=n,f=n,g=1,h=n,i=n, Dist=0, Block=1, Wall=0, Damage= xQ*2+xE*multi,text ="Q-E"}KSN[4] = {a=1,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=n, Dist=0, Block=1, Wall=1, Damage= xQ*2+xW+xE*multi,text ="Q-W-E"}KSN[5] = {a=1,b=0,c=1,d=n,e=n,f=0,g=n,h=0,i=n, Dist=1, Block=0, Wall=1, Damage= xQ,text ="W-Q Long "}KSN[6] = {a=1,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=n, Dist=1, Block=1, Wall=1, Damage= xQ*2+xE*multi,text ="W-E-Q Long "}KSN[7] = {a=0,b=0,c=1,d=n,e=0,f=n,g=0,h=0,i=n, Dist=0, Block=0, Wall=1, Damage= xW,text ="W"}KSN[8] = {a=0,b=0,c=0,d=n,e=0,f=n,g=1,h=0,i=n, Dist=0, Block=1, Wall=0, Damage= xE*multi,text ="E"}KSN[9] = {a=n,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=n, Dist=0, Block=1, Wall=1, Damage= xW+xE*multi,text ="W-E"}KSN[10] = {a=0,b=0,c=1,d=n,e=n,f=0,g=1,h=0,i=n, Dist=1, Block=1, Wall=1, Damage= xE*multi,text ="W-E Long "}--ULTI READY, ULTI Q, NO EKSN[11] = {a=0,b=1,c=0,d=n,e=0,f=n,g=0,h=0,i=1, Dist=0, Block=0, Wall=0, Damage= xR,text ="Q®"}KSN[12] = {a=1,b=n,c=0,d=n,e=n,f=n,g=0,h=n,i=1, Dist=0, Block=0, Wall=0, Damage= xQ*2+xR,text ="Q-Q®"}KSN[13] = {a=1,b=1,c=0,d=n,e=0,f=n,g=0,h=0,i=1, Dist=0, Block=0, Wall=0, Damage= xQ+xR*2,text ="Q®-Q"}KSN[14] = {a=n,b=1,c=1,d=n,e=0,f=n,g=n,h=0,i=1, Dist=0, Block=0, Wall=1, Damage= xR*2+xW,text ="Q®-W"}KSN[15] = {a=0,b=1,c=1,d=n,e=0,f=0,g=n,h=0,i=1, Dist=1, Block=0, Wall=1, Damage= xR,text ="W-Q® Long "}KSN[16] = {a=1,b=n,c=1,d=n,e=n,f=n,g=n,h=n,i=1, Dist=1, Block=0, Wall=1, Damage= xQ*2+xR,text ="W-Q-Q® Long "}KSN[17] = {a=1,b=1,c=1,d=n,e=0,f=n,g=n,h=0,i=1, Dist=1, Block=0, Wall=1, Damage= xR*2+xQ,text ="W-Q®-Q Long "}KSN[18] = {a=1,b=n,c=1,d=n,e=n,f=n,g=n,h=n,i=1, Dist=0, Block=0, Wall=1, Damage= xQ*2+xR*2+xW,text ="Q-Q®-W"}KSN[19] = {a=1,b=1,c=1,d=n,e=0,f=n,g=n,h=0,i=1, Dist=0, Block=0, Wall=1, Damage= xQ*2+xR*2+xW,text ="Q®-Q-W"}--ULTI READY, ULTI Q, AND EKSN[20] = {a=1,b=n,c=n,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=0, Damage= xQ*2+xR*2+xE*multi,text ="Q-Q®-E"}KSN[21] = {a=n,b=1,c=n,d=n,e=0,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=0, Damage= xR*2+xE*multi,text ="Q®-E"}KSN[22] = {a=n,b=1,c=1,d=n,e=0,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=1, Damage= xR*2+xW+xE*multi,text ="Q®-W-E"}KSN[23] = {a=1,b=1,c=n,d=n,e=0,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=0, Damage= xQ*2+xR*2+xE*multi,text ="Q®-Q-E"}KSN[24] = {a=1,b=1,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xR*2+xW+xE*multi,text ="Q-Q®-W-E"}KSN[25] = {a=1,b=1,c=1,d=n,e=0,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xR*2+xW+xE*multi,text ="Q®-Q-W-E"}KSN[26] = {a=0,b=1,c=1,d=n,e=0,f=n,g=1,h=0,i=1, Dist=1, Block=1, Wall=1, Damage= xR*2+xE*multi,text ="W-E-Q® Long "}KSN[27] = {a=1,b=1,c=1,d=n,e=0,f=n,g=1,h=0,i=1, Dist=1, Block=1, Wall=1, Damage= xE*multi+xR*2+xQ*2,text ="W-Q®-Q-E Long "}KSN[28] = {a=1,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=1, Block=1, Wall=1, Damage= xE*multi+xR*2+xQ*2,text ="W-Q-Q®-E Long "}--ULTI READY, ULTI W, NO EKSN[29] = {a=1,b=0,c=n,d=n,e=1,f=n,g=n,h=0,i=1, Dist=0, Block=0, Wall=1, Damage= xQ*2+xRW,text ="Q-W®"}KSN[30] = {a=1,b=n,c=1,d=n,e=n,f=n,g=n,h=n,i=1, Dist=0, Block=0, Wall=1, Damage= xQ*2+xW+xRW,text ="Q-W-W®"}KSN[31] = {a=1,b=0,c=1,d=n,e=1,f=n,g=n,h=0,i=1, Dist=0, Block=0, Wall=1, Damage= xQ*2+xW+xRW,text ="Q-W®-W"}KSN[32] = {a=1,b=0,c=1,d=n,e=n,f=n,g=0,h=0,i=1, Dist=1, Block=0, Wall=1, Damage= xQ*2+xRW,text ="Q-W-W® Long"}KSN[33] = {a=0,b=0,c=0,d=n,e=1,f=n,g=0,h=0,i=1, Dist=0, Block=0, Wall=1, Damage= xRW,text ="W®"}KSN[34] = {a=0,b=n,c=1,d=n,e=n,f=n,g=0,h=n,i=1, Dist=0, Block=0, Wall=1, Damage= xW+xRW,text ="W-W®"}KSN[35] = {a=0,b=0,c=1,d=n,e=1,f=n,g=0,h=0,i=1, Dist=0, Block=0, Wall=1, Damage= xW+xRW,text ="W®-W"}--KSN[36] = {a=1,b=0,c=1,d=n,e=n,f=n,g=0,h=0,i=1, Dist=2, Block=0, Wall=2, Damage= xQ,text ="Q-W-W® Very Long"}KSN[37] = {a=0,b=0,c=1,d=n,e=n,f=n,g=0,h=0,i=1, Dist=1, Block=0, Wall=1, Damage= xRW,text ="W-W® Long "}--ULTI READY, ULTI W, AND EKSN[38] = {a=1,b=0,c=n,d=n,e=1,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xRW+xE*multi,text ="Q-W®-E"}KSN[39] = {a=1,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xW+xRW+xE*multi,text ="Q-W-W®-E"}KSN[40] = {a=1,b=0,c=1,d=n,e=1,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xW+xRW+xE*multi,text ="Q-W®-W-E"}KSN[41] = {a=1,b=0,c=1,d=n,e=n,f=n,g=1,h=0,i=1, Dist=1, Block=1, Wall=1, Damage= xQ*2+xRW+xE*multi,text ="Q-W-W®-E Long"}--KSN[42] = {a=1,b=0,c=1,d=n,e=n,f=n,g=1,h=0,i=1, Dist=2, Block=2, Wall=2, Damage= xQ*2+xE*multi,text ="Q-W-W®-E Very Long"}KSN[43] = {a=n,b=0,c=n,d=n,e=1,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=1, Damage= xRW+xE*multi,text ="W®-E"}KSN[44] = {a=n,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=1, Damage= xW+xRW+xE*multi,text ="W-W®-E"}KSN[45] = {a=n,b=0,c=1,d=n,e=1,f=n,g=1,h=0,i=1, Dist=0, Block=1, Wall=1, Damage= xW+xRW+xE*multi,text ="W®-W-E"}KSN[46] = {a=0,b=0,c=1,d=n,e=n,f=n,g=1,h=0,i=1, Dist=1, Block=1, Wall=1, Damage= xRW+xE*multi,text ="W-W®-E Long"}--KSN[47] = {a=0,b=0,c=1,d=n,e=n,f=n,g=1,h=0,i=1, Dist=2, Block=2, Wall=2, Damage= xE*multi,text ="W-W®-E Very Long"}--ULTI READY, UTLI E, AND W, AND QKSN[48] = {a=1,b=0,c=1,d=n,e=0,f=n,g=n,h=1,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xW+xR*multi,text ="Q-W-E®"}KSN[49] = {a=1,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xW+xE*multi+xR*multi,text ="Q-W-E-E®"}KSN[50] = {a=1,b=0,c=1,d=n,e=0,f=n,g=1,h=1,i=1, Dist=0, Block=1, Wall=1, Damage= xQ*2+xW+xE*multi+xR*multi,text ="Q-W-E-E®"}KSN[51] = {a=1,b=0,c=1,d=n,e=0,f=n,g=0,h=n,i=1, Dist=1, Block=1, Wall=1, Damage= xQ*2+xR*multi,text ="W-Q-E® Long "}KSN[52] = {a=1,b=0,c=1,d=n,e=0,f=n,g=1,h=1,i=1, Dist=1, Block=1, Wall=1, Damage= xE*multi+xR*multi+xQ*2,text ="W-Q-E®-E Long "}KSN[53] = {a=1,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=1, Block=1, Wall=1, Damage= xE*multi+xR*multi+xQ*2,text ="W-Q-E-E® Long "}--ULTI READY, ULTI E, AND W, NO QKSN[54] = {a=n,b=0,c=1,d=n,e=0,f=n,g=n,h=1,i=1, Dist=0, Block=1, Wall=1, Damage= xW+xE*multi,text ="W-E®"}KSN[55] = {a=n,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=1, Damage= xW+xE*multi+xR*multi,text ="W-E-E®"}KSN[56] = {a=n,b=0,c=1,d=n,e=0,f=n,g=1,h=1,i=1, Dist=0, Block=1, Wall=1, Damage= xW+xE*multi+xR*multi,text ="W-E®-E"}KSN[57] = {a=0,b=0,c=1,d=n,e=0,f=0,g=0,h=1,i=1, Dist=1, Block=1, Wall=1, Damage= xR*multi,text ="W-E® Long "}KSN[58] = {a=0,b=n,c=1,d=n,e=n,f=n,g=1,h=n,i=1, Dist=1, Block=1, Wall=1, Damage= xE*multi+xR*multi,text ="W-E-E® Long "}KSN[59] = {a=0,b=0,c=1,d=n,e=0,f=n,g=1,h=1,i=1, Dist=1, Block=1, Wall=1, Damage= xE*multi+xR*multi,text ="W-E®-E Long "}--ULTI READY, UTLI E, NO WKSN[60] = {a=1,b=0,c=n,d=n,e=0,f=n,g=n,h=1,i=1, Dist=0, Block=1, Wall=0, Damage= xQ*2+xR*multi,text ="Q-E®"}KSN[61] = {a=1,b=n,c=n,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=0, Damage= xQ*2+xE*multi+xR*multi,text ="Q-E-E®"}KSN[62] = {a=1,b=0,c=n,d=n,e=0,f=n,g=1,h=1,i=1, Dist=0, Block=1, Wall=0, Damage= xQ*2+xE*multi+xR*multi,text ="Q-E®-E"}KSN[63] = {a=0,b=0,c=0,d=n,e=0,f=n,g=0,h=1,i=1, Dist=0, Block=1, Wall=0, Damage= xE*multi,text ="E®"}KSN[64] = {a=0,b=n,c=0,d=n,e=n,f=n,g=1,h=n,i=1, Dist=0, Block=1, Wall=0, Damage= xE*multi+xR*multi,text ="E-E®"}KSN[65] = {a=0,b=0,c=0,d=n,e=0,f=n,g=1,h=1,i=1, Dist=0, Block=1, Wall=0, Damage= xE*multi+xR*multi,text ="E®-E"}if CanUseSpell(myHero,_R)~=READY thenfrom=1to=10elseif CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancChaosOrbM' and CanUseSpell(myHero,_E)~=READY thenfrom=11to=19elseif CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancChaosOrbM' and CanUseSpell(myHero,_E)==READY thenfrom=20to=28elseif CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancSlideM' and CanUseSpell(myHero,_E)~=READY thenfrom=29to=37elseif CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancSlideM' and CanUseSpell(myHero,_E)==READY thenfrom=38to=47elseif CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancChaosOrbM' and CanUseSpell(myHero,_W)==READY and CanUseSpell(myHero,_Q)==READY thenfrom=48to=53elseif CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancChaosOrbM' and CanUseSpell(myHero,_W)==READY and CanUseSpell(myHero,_Q)~=READY thenfrom=54to=59elseif CanUseSpell(myHero,_R)==READY and GetCastName(myHero,_R) == 'LeblancSoulShackleM' thenfrom=60to=65endfor v=from,to doif CD(KSN[v].a,KSN[v].b,KSN[v].c,KSN[v].d,KSN[v].e,KSN[v].f,KSN[v].g,KSN[v].h,KSN[v].i)==1 and Mana(KSN[v].a,KSN[v].c,KSN[v].g)==1 and enemy.health<KSN[v].Damage thenDrawCircle(enemy.Pos.x,enemy.Pos.y,enemy.Pos.z,100,10,0,0xffffff00)if KSN[v].Dist==1 and GOS:GetDistance(enemy.hero)>700 and GOS:GetDistance(enemy.hero)<=1300 and LeBlanc.KS.KSNotes thenif (KSN[v].Block==1 and Block==1) or (KSN[v].Wall==1 and Wall==1) thenDrawText(KSN[v].text..' KILL (BLOCKED)',15,enemy.Text.x,enemy.Text.y,0xffff0000)elseDrawText(KSN[v].text..' KILL',15,enemy.Text.x,enemy.Text.y,0xffffff00)endbreakelseif KSN[v].Dist==0 and GOS:GetDistance(enemy.hero)<700 and LeBlanc.KS.KSNotes thenif (KSN[v].Block==1 and Block==1) or (KSN[v].Wall==1 and Wall==1) thenDrawText(KSN[v].text..' KILL (BLOCKED)',15,enemy.Text.x,enemy.Text.y,0xffff0000)elseDrawText(KSN[v].text..' KILL',15,enemy.Text.x,enemy.Text.y,0xffffff00)endbreakendelseif to==10 thenSUM= math.max(KSN[1].Damage*CD(KSN[1].a,KSN[1].b,KSN[1].c,KSN[1].d,KSN[1].e,KSN[1].f,KSN[1].g,KSN[1].h,KSN[1].i)*Mana(KSN[1].a,KSN[1].c,KSN[1].g),KSN[2].Damage*CD(KSN[2].a,KSN[2].b,KSN[2].c,KSN[2].d,KSN[2].e,KSN[2].f,KSN[2].g,KSN[2].h,KSN[2].i)*Mana(KSN[2].a,KSN[2].c,KSN[2].g),KSN[3].Damage*CD(KSN[3].a,KSN[3].b,KSN[3].c,KSN[3].d,KSN[3].e,KSN[3].f,KSN[3].g,KSN[3].h,KSN[3].i)*Mana(KSN[3].a,KSN[3].c,KSN[3].g),KSN[4].Damage*CD(KSN[4].a,KSN[4].b,KSN[4].c,KSN[4].d,KSN[4].e,KSN[4].f,KSN[4].g,KSN[4].h,KSN[4].i)*Mana(KSN[4].a,KSN[4].c,KSN[4].g),KSN[5].Damage*CD(KSN[5].a,KSN[5].b,KSN[5].c,KSN[5].d,KSN[5].e,KSN[5].f,KSN[5].g,KSN[5].h,KSN[5].i)*Mana(KSN[5].a,KSN[5].c,KSN[5].g),KSN[6].Damage*CD(KSN[6].a,KSN[6].b,KSN[6].c,KSN[6].d,KSN[6].e,KSN[6].f,KSN[6].g,KSN[6].h,KSN[6].i)*Mana(KSN[6].a,KSN[6].c,KSN[6].g),KSN[7].Damage*CD(KSN[7].a,KSN[7].b,KSN[7].c,KSN[7].d,KSN[7].e,KSN[7].f,KSN[7].g,KSN[7].h,KSN[7].i)*Mana(KSN[7].a,KSN[7].c,KSN[7].g),KSN[8].Damage*CD(KSN[8].a,KSN[8].b,KSN[8].c,KSN[8].d,KSN[8].e,KSN[8].f,KSN[8].g,KSN[8].h,KSN[8].i)*Mana(KSN[8].a,KSN[8].c,KSN[8].g),KSN[9].Damage*CD(KSN[9].a,KSN[9].b,KSN[9].c,KSN[9].d,KSN[9].e,KSN[9].f,KSN[9].g,KSN[9].h,KSN[9].i)*Mana(KSN[9].a,KSN[9].c,KSN[9].g),KSN[10].Damage*CD(KSN[10].a,KSN[10].b,KSN[10].c,KSN[10].d,KSN[10].e,KSN[10].f,KSN[10].g,KSN[10].h,KSN[10].i)*Mana(KSN[10].a,KSN[10].c,KSN[10].g))elseif to==19 thenSUM= math.max(KSN[11].Damage*CD(KSN[11].a,KSN[11].b,KSN[11].c,KSN[11].d,KSN[11].e,KSN[11].f,KSN[11].g,KSN[11].h,KSN[11].i)*Mana(KSN[11].a,KSN[11].c,KSN[11].g),KSN[12].Damage*CD(KSN[12].a,KSN[12].b,KSN[12].c,KSN[12].d,KSN[12].e,KSN[12].f,KSN[12].g,KSN[12].h,KSN[12].i)*Mana(KSN[12].a,KSN[12].c,KSN[12].g),KSN[13].Damage*CD(KSN[13].a,KSN[13].b,KSN[13].c,KSN[13].d,KSN[13].e,KSN[13].f,KSN[13].g,KSN[13].h,KSN[13].i)*Mana(KSN[13].a,KSN[13].c,KSN[13].g),KSN[14].Damage*CD(KSN[14].a,KSN[14].b,KSN[14].c,KSN[14].d,KSN[14].e,KSN[14].f,KSN[14].g,KSN[14].h,KSN[14].i)*Mana(KSN[14].a,KSN[14].c,KSN[14].g),KSN[15].Damage*CD(KSN[15].a,KSN[15].b,KSN[15].c,KSN[15].d,KSN[15].e,KSN[15].f,KSN[15].g,KSN[15].h,KSN[15].i)*Mana(KSN[15].a,KSN[15].c,KSN[15].g),KSN[16].Damage*CD(KSN[16].a,KSN[16].b,KSN[16].c,KSN[16].d,KSN[16].e,KSN[16].f,KSN[16].g,KSN[16].h,KSN[16].i)*Mana(KSN[16].a,KSN[16].c,KSN[16].g),KSN[17].Damage*CD(KSN[17].a,KSN[17].b,KSN[17].c,KSN[17].d,KSN[17].e,KSN[17].f,KSN[17].g,KSN[17].h,KSN[17].i)*Mana(KSN[17].a,KSN[17].c,KSN[17].g),KSN[18].Damage*CD(KSN[18].a,KSN[18].b,KSN[18].c,KSN[18].d,KSN[18].e,KSN[18].f,KSN[18].g,KSN[18].h,KSN[18].i)*Mana(KSN[18].a,KSN[18].c,KSN[18].g),KSN[19].Damage*CD(KSN[19].a,KSN[19].b,KSN[19].c,KSN[19].d,KSN[19].e,KSN[19].f,KSN[19].g,KSN[19].h,KSN[19].i)*Mana(KSN[19].a,KSN[19].c,KSN[19].g))elseif to==28 thenSUM= math.max(KSN[20].Damage*CD(KSN[20].a,KSN[20].b,KSN[20].c,KSN[20].d,KSN[20].e,KSN[20].f,KSN[20].g,KSN[20].h,KSN[20].i)*Mana(KSN[20].a,KSN[20].c,KSN[20].g),KSN[21].Damage*CD(KSN[21].a,KSN[21].b,KSN[21].c,KSN[21].d,KSN[21].e,KSN[21].f,KSN[21].g,KSN[21].h,KSN[21].i)*Mana(KSN[21].a,KSN[21].c,KSN[21].g),KSN[22].Damage*CD(KSN[22].a,KSN[22].b,KSN[22].c,KSN[22].d,KSN[22].e,KSN[22].f,KSN[22].g,KSN[22].h,KSN[22].i)*Mana(KSN[22].a,KSN[22].c,KSN[22].g),KSN[23].Damage*CD(KSN[23].a,KSN[23].b,KSN[23].c,KSN[23].d,KSN[23].e,KSN[23].f,KSN[23].g,KSN[23].h,KSN[23].i)*Mana(KSN[23].a,KSN[23].c,KSN[23].g),KSN[24].Damage*CD(KSN[24].a,KSN[24].b,KSN[24].c,KSN[24].d,KSN[24].e,KSN[24].f,KSN[24].g,KSN[24].h,KSN[24].i)*Mana(KSN[24].a,KSN[24].c,KSN[24].g),KSN[25].Damage*CD(KSN[25].a,KSN[25].b,KSN[25].c,KSN[25].d,KSN[25].e,KSN[25].f,KSN[25].g,KSN[25].h,KSN[25].i)*Mana(KSN[25].a,KSN[25].c,KSN[25].g),KSN[26].Damage*CD(KSN[26].a,KSN[26].b,KSN[26].c,KSN[26].d,KSN[26].e,KSN[26].f,KSN[26].g,KSN[26].h,KSN[26].i)*Mana(KSN[26].a,KSN[26].c,KSN[26].g),KSN[27].Damage*CD(KSN[27].a,KSN[27].b,KSN[27].c,KSN[27].d,KSN[27].e,KSN[27].f,KSN[27].g,KSN[27].h,KSN[27].i)*Mana(KSN[27].a,KSN[27].c,KSN[27].g),KSN[28].Damage*CD(KSN[28].a,KSN[28].b,KSN[28].c,KSN[28].d,KSN[28].e,KSN[28].f,KSN[28].g,KSN[28].h,KSN[28].i)*Mana(KSN[28].a,KSN[28].c,KSN[28].g))elseif to==37 thenSUM= math.max(KSN[29].Damage*CD(KSN[29].a,KSN[29].b,KSN[29].c,KSN[29].d,KSN[29].e,KSN[29].f,KSN[29].g,KSN[29].h,KSN[29].i)*Mana(KSN[29].a,KSN[29].c,KSN[29].g),KSN[30].Damage*CD(KSN[30].a,KSN[30].b,KSN[30].c,KSN[30].d,KSN[30].e,KSN[30].f,KSN[30].g,KSN[30].h,KSN[30].i)*Mana(KSN[30].a,KSN[30].c,KSN[30].g),KSN[31].Damage*CD(KSN[31].a,KSN[31].b,KSN[31].c,KSN[31].d,KSN[31].e,KSN[31].f,KSN[31].g,KSN[31].h,KSN[31].i)*Mana(KSN[31].a,KSN[31].c,KSN[31].g),KSN[32].Damage*CD(KSN[32].a,KSN[32].b,KSN[32].c,KSN[32].d,KSN[32].e,KSN[32].f,KSN[32].g,KSN[32].h,KSN[32].i)*Mana(KSN[32].a,KSN[32].c,KSN[32].g),KSN[33].Damage*CD(KSN[33].a,KSN[33].b,KSN[33].c,KSN[33].d,KSN[33].e,KSN[33].f,KSN[33].g,KSN[33].h,KSN[33].i)*Mana(KSN[33].a,KSN[33].c,KSN[33].g),KSN[34].Damage*CD(KSN[34].a,KSN[34].b,KSN[34].c,KSN[34].d,KSN[34].e,KSN[34].f,KSN[34].g,KSN[34].h,KSN[34].i)*Mana(KSN[34].a,KSN[34].c,KSN[34].g),KSN[35].Damage*CD(KSN[35].a,KSN[35].b,KSN[35].c,KSN[35].d,KSN[35].e,KSN[35].f,KSN[35].g,KSN[35].h,KSN[35].i)*Mana(KSN[35].a,KSN[35].c,KSN[35].g),--KSN[36].Damage*CD(KSN[36].a,KSN[36].b,KSN[36].c,KSN[36].d,KSN[36].e,KSN[36].f,KSN[36].g,KSN[36].h,KSN[36].i)*Mana(KSN[36].a,KSN[36].c,KSN[36].g),KSN[37].Damage*CD(KSN[37].a,KSN[37].b,KSN[37].c,KSN[37].d,KSN[37].e,KSN[37].f,KSN[37].g,KSN[37].h,KSN[37].i)*Mana(KSN[37].a,KSN[37].c,KSN[37].g))elseif to==47 thenSUM= math.max(KSN[38].Damage*CD(KSN[38].a,KSN[38].b,KSN[38].c,KSN[38].d,KSN[38].e,KSN[38].f,KSN[38].g,KSN[38].h,KSN[38].i)*Mana(KSN[38].a,KSN[38].c,KSN[38].g),KSN[39].Damage*CD(KSN[39].a,KSN[39].b,KSN[39].c,KSN[39].d,KSN[39].e,KSN[39].f,KSN[39].g,KSN[39].h,KSN[39].i)*Mana(KSN[39].a,KSN[39].c,KSN[39].g),KSN[40].Damage*CD(KSN[40].a,KSN[40].b,KSN[40].c,KSN[40].d,KSN[40].e,KSN[40].f,KSN[40].g,KSN[40].h,KSN[40].i)*Mana(KSN[40].a,KSN[40].c,KSN[40].g),KSN[41].Damage*CD(KSN[41].a,KSN[41].b,KSN[41].c,KSN[41].d,KSN[41].e,KSN[41].f,KSN[41].g,KSN[41].h,KSN[41].i)*Mana(KSN[41].a,KSN[41].c,KSN[41].g),--KSN[42].Damage*CD(KSN[42].a,KSN[42].b,KSN[42].c,KSN[42].d,KSN[42].e,KSN[42].f,KSN[42].g,KSN[42].h,KSN[42].i)*Mana(KSN[42].a,KSN[42].c,KSN[42].g),KSN[43].Damage*CD(KSN[43].a,KSN[43].b,KSN[43].c,KSN[43].d,KSN[43].e,KSN[43].f,KSN[43].g,KSN[43].h,KSN[43].i)*Mana(KSN[43].a,KSN[43].c,KSN[43].g),KSN[44].Damage*CD(KSN[44].a,KSN[44].b,KSN[44].c,KSN[44].d,KSN[44].e,KSN[44].f,KSN[44].g,KSN[44].h,KSN[44].i)*Mana(KSN[44].a,KSN[44].c,KSN[44].g),KSN[45].Damage*CD(KSN[45].a,KSN[45].b,KSN[45].c,KSN[45].d,KSN[45].e,KSN[45].f,KSN[45].g,KSN[45].h,KSN[45].i)*Mana(KSN[45].a,KSN[45].c,KSN[45].g),KSN[46].Damage*CD(KSN[46].a,KSN[46].b,KSN[46].c,KSN[46].d,KSN[46].e,KSN[46].f,KSN[46].g,KSN[46].h,KSN[46].i)*Mana(KSN[46].a,KSN[46].c,KSN[46].g))--KSN[47].Damage*CD(KSN[47].a,KSN[47].b,KSN[47].c,KSN[47].d,KSN[47].e,KSN[47].f,KSN[47].g,KSN[47].h,KSN[47].i)*Mana(KSN[47].a,KSN[47].c,KSN[47].g))elseif to==53 thenSUM= math.max(KSN[48].Damage*CD(KSN[48].a,KSN[48].b,KSN[48].c,KSN[48].d,KSN[48].e,KSN[48].f,KSN[48].g,KSN[48].h,KSN[48].i)*Mana(KSN[48].a,KSN[48].c,KSN[48].g),KSN[49].Damage*CD(KSN[49].a,KSN[49].b,KSN[49].c,KSN[49].d,KSN[49].e,KSN[49].f,KSN[49].g,KSN[49].h,KSN[49].i)*Mana(KSN[49].a,KSN[49].c,KSN[49].g),KSN[50].Damage*CD(KSN[50].a,KSN[50].b,KSN[50].c,KSN[50].d,KSN[50].e,KSN[50].f,KSN[50].g,KSN[50].h,KSN[50].i)*Mana(KSN[50].a,KSN[50].c,KSN[50].g),KSN[51].Damage*CD(KSN[51].a,KSN[51].b,KSN[51].c,KSN[51].d,KSN[51].e,KSN[51].f,KSN[51].g,KSN[51].h,KSN[51].i)*Mana(KSN[51].a,KSN[51].c,KSN[51].g),KSN[52].Damage*CD(KSN[52].a,KSN[52].b,KSN[52].c,KSN[52].d,KSN[52].e,KSN[52].f,KSN[52].g,KSN[52].h,KSN[52].i)*Mana(KSN[52].a,KSN[52].c,KSN[52].g),KSN[53].Damage*CD(KSN[53].a,KSN[53].b,KSN[53].c,KSN[53].d,KSN[53].e,KSN[53].f,KSN[53].g,KSN[53].h,KSN[53].i)*Mana(KSN[53].a,KSN[53].c,KSN[53].g))elseif to==59 thenSUM= math.max(KSN[54].Damage*CD(KSN[54].a,KSN[54].b,KSN[54].c,KSN[54].d,KSN[54].e,KSN[54].f,KSN[54].g,KSN[54].h,KSN[54].i)*Mana(KSN[54].a,KSN[54].c,KSN[54].g),KSN[55].Damage*CD(KSN[55].a,KSN[55].b,KSN[55].c,KSN[55].d,KSN[55].e,KSN[55].f,KSN[55].g,KSN[55].h,KSN[55].i)*Mana(KSN[55].a,KSN[55].c,KSN[55].g),KSN[56].Damage*CD(KSN[56].a,KSN[56].b,KSN[56].c,KSN[56].d,KSN[56].e,KSN[56].f,KSN[56].g,KSN[56].h,KSN[56].i)*Mana(KSN[56].a,KSN[56].c,KSN[56].g),KSN[57].Damage*CD(KSN[57].a,KSN[57].b,KSN[57].c,KSN[57].d,KSN[57].e,KSN[57].f,KSN[57].g,KSN[57].h,KSN[57].i)*Mana(KSN[57].a,KSN[57].c,KSN[57].g),KSN[58].Damage*CD(KSN[58].a,KSN[58].b,KSN[58].c,KSN[58].d,KSN[58].e,KSN[58].f,KSN[58].g,KSN[58].h,KSN[58].i)*Mana(KSN[58].a,KSN[58].c,KSN[58].g),KSN[59].Damage*CD(KSN[59].a,KSN[59].b,KSN[59].c,KSN[59].d,KSN[59].e,KSN[59].f,KSN[59].g,KSN[59].h,KSN[59].i)*Mana(KSN[59].a,KSN[59].c,KSN[59].g))elseif to==65 thenSUM= math.max(KSN[60].Damage*CD(KSN[60].a,KSN[60].b,KSN[60].c,KSN[60].d,KSN[60].e,KSN[60].f,KSN[60].g,KSN[60].h,KSN[60].i)*Mana(KSN[60].a,KSN[60].c,KSN[60].g),KSN[61].Damage*CD(KSN[61].a,KSN[61].b,KSN[61].c,KSN[61].d,KSN[61].e,KSN[61].f,KSN[61].g,KSN[61].h,KSN[61].i)*Mana(KSN[61].a,KSN[61].c,KSN[61].g),KSN[62].Damage*CD(KSN[62].a,KSN[62].b,KSN[62].c,KSN[62].d,KSN[62].e,KSN[62].f,KSN[62].g,KSN[62].h,KSN[62].i)*Mana(KSN[62].a,KSN[62].c,KSN[62].g),KSN[63].Damage*CD(KSN[63].a,KSN[63].b,KSN[63].c,KSN[63].d,KSN[63].e,KSN[63].f,KSN[63].g,KSN[63].h,KSN[63].i)*Mana(KSN[63].a,KSN[63].c,KSN[63].g),KSN[64].Damage*CD(KSN[64].a,KSN[64].b,KSN[64].c,KSN[64].d,KSN[64].e,KSN[64].f,KSN[64].g,KSN[64].h,KSN[64].i)*Mana(KSN[64].a,KSN[64].c,KSN[64].g),KSN[65].Damage*CD(KSN[65].a,KSN[65].b,KSN[65].c,KSN[65].d,KSN[65].e,KSN[65].f,KSN[65].g,KSN[65].h,KSN[65].i)*Mana(KSN[65].a,KSN[65].c,KSN[65].g))endendif LeBlanc.KS.Percent thenif Round(((enemy.health-SUM)/enemy.maxHealth*100),0)>0 thenDrawText("\n\n" .. Round(((enemy.health-SUM)/enemy.maxHealth*100),0) .. "%",15,enemy.Text.x,enemy.Text.y,0xffffff00)breakelseif Round(((enemy.health-SUM)/enemy.maxHealth*100),0)<=0 thenDrawText("\n\n"..KSN[v].text.." KILL",15,enemy.Text.x,enemy.Text.y,0xffffff00)breakendendendendendendendif LeBlanc.Keys.Combo:Value() and Valid(target) and not IsDead(myHero) thenif GOS:GetDistance(target)<=2000 thenlocal targetPos = GetOrigin(target)local targetHP = ( GetCurrentHP(target)*((100+(((GetMagicResist(target)*VoidStaff)-GetMagicPenFlat(myHero))*GetMagicPenPercent(myHero)))/100)+GetHPRegen(target)*6)EPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1550,150,950,55,true,true)WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1450,250,600,250,false,true)if mapID==SUMMONERS_RIFT thenif MapPosition:inWall({x=WPred.PredPos.x,y=0,z=WPred.PredPos.z})==true thenWallT = 1elseWallT = 0endelse--No other maps supported atmWallT=0endif GOS:GetDistance(target)<=700 then--killable--normalif (CD(1,0,0,n,0,n,0,0,n)==1 and Mana(1,0,0)==1 orCD(1,n,0,n,n,n,0,n,1)==1 and Mana(1,0,0)==1 orCD(1,n,1,n,n,n,n,n,n)==1 and Mana(1,1,0)==1 orCD(1,0,n,n,0,n,n,0,n)==1 and Mana(1,0,0)==1 orCD(1,n,n,n,n,n,1,n,n)==1 and Mana(1,0,1)==1 orCD(1,n,1,n,n,n,1,n,n)==1 and Mana(1,1,1)==1 orCD(1,0,n,n,0,n,1,0,n)==1 and Mana(1,0,1)==1 orCD(1,0,1,n,0,n,n,0,n)==1 and Mana(1,1,0)==1 orCD(1,n,1,n,n,n,n,n,1)==1 and Mana(1,1,0)==1 orCD(1,n,n,n,n,n,1,n,1)==1 and Mana(1,0,1)==1 orCD(1,0,1,n,0,n,1,0,n)==1 and Mana(1,1,1)==1 orCD(1,n,1,n,n,n,1,n,1)==1 and Mana(1,1,1)==1 orCD(1,0,1,n,0,n,1,1,1)==1 and Mana(1,1,1)==1) thenQ(target)elseif (CD(0,1,0,n,0,n,0,0,1)==1 and Mana(0,0,0)==1 orCD(1,1,0,n,0,n,0,0,1)==1 and Mana(1,0,0)==1 orCD(n,1,1,n,0,n,n,0,1)==1 and Mana(0,1,0)==1 orCD(n,1,n,n,0,n,1,0,1)==1 and Mana(0,0,1)==1 orCD(n,1,1,n,0,n,1,0,1)==1 and Mana(0,1,1)==1 orCD(0,1,1,n,0,n,n,0,1)==1 and Mana(0,1,0)==1 orCD(1,1,1,n,0,n,n,0,1)==1 and Mana(1,1,0)==1 orCD(0,1,n,n,0,n,1,0,1)==1 and Mana(0,0,1)==1 orCD(1,1,n,n,0,n,1,0,1)==1 and Mana(1,0,1)==1 orCD(1,1,1,n,n,n,1,n,1)==1 and Mana(1,1,1)==1 orCD(1,1,1,n,0,n,1,0,1)==1 and Mana(1,1,1)==1) thenQR(target)elseif (CD(0,0,1,n,0,n,0,0,0)==1 and Mana(0,1,0)==1 orCD(0,n,1,n,n,n,0,n,1)==1 and Mana(0,1,0)==1 orCD(0,n,1,n,n,n,n,n,0)==1 and Mana(0,1,0)==1 orCD(n,0,1,n,0,n,n,0,0)==1 and Mana(0,1,0)==1 orCD(n,n,1,n,n,n,1,n,0)==1 and Mana(0,1,1)==1 orCD(0,n,1,n,n,n,1,n,0)==1 and Mana(0,1,1)==1 orCD(n,0,1,n,0,n,1,0,0)==1 and Mana(0,1,1)==1 orCD(0,0,1,n,0,n,n,0,0)==1 and Mana(0,1,0)==1 orCD(n,n,1,n,n,n,1,n,1)==1 and Mana(0,1,1)==1 orCD(0,0,1,n,0,n,1,0,0)==1 and Mana(0,1,1)==1 orCD(0,n,1,n,n,n,1,n,1)==1 and Mana(0,1,1)==1 orCD(0,1,1,n,0,n,1,0,1)==1 and Mana(0,1,1)==1) and WallT==0 thenW(target)elseif (CD(0,0,0,n,1,n,0,0,1)==1 and Mana(0,0,0)==1 orCD(0,0,1,n,1,n,0,0,1)==1 and Mana(0,1,0)==1 orCD(1,0,n,n,1,n,n,0,1)==1 and Mana(1,0,0)==1 orCD(n,0,n,n,1,n,1,0,1)==1 and Mana(0,0,1)==1 orCD(1,0,n,n,1,n,1,0,1)==1 and Mana(1,0,1)==1 orCD(1,0,1,n,1,n,n,0,1)==1 and Mana(1,1,0)==1 orCD(n,0,0,n,1,n,1,0,1)==1 and Mana(0,0,1)==1 orCD(n,0,1,n,1,n,1,0,1)==1 and Mana(0,1,1)==1 orCD(0,0,0,n,1,n,1,n,1)==1 and Mana(0,0,1)==1 orCD(1,0,1,n,1,n,1,0,1)==1 and Mana(1,1,1)==1) and WallT==0 thenWR(target)elseif (CD(0,0,0,n,0,n,1,0,n)==1 and Mana(0,0,1)==1 orCD(0,n,0,n,n,n,1,n,1)==1 and Mana(0,0,1)==1 orCD(0,n,n,n,n,n,1,n,n)==1 and Mana(0,0,1)==1 orCD(n,0,n,n,0,n,1,0,0)==1 and Mana(0,0,1)==1 orCD(n,n,0,n,n,n,1,n,n)==1 and Mana(0,0,1)==1 orCD(n,0,0,n,0,n,1,0,0)==1 and Mana(0,0,1)==1 orCD(0,0,n,n,0,n,1,0,0)==1 and Mana(0,0,1)==1 orCD(0,n,0,n,n,n,1,n,n)==1 and Mana(0,0,1)==1 orCD(n,0,0,n,0,n,1,0,0)==1 and Mana(0,0,1)==1 orCD(0,0,0,n,0,n,1,n,0)==1 and Mana(0,0,1)==1) and EPred.HitChance==1 thenE(target)elseif (CD(0,0,0,n,0,n,0,1,1)==1 and Mana(0,0,0)==1 orCD(0,0,0,n,0,n,1,1,1)==1 and Mana(0,0,1)==1 orCD(1,0,n,n,0,n,n,1,1)==1 and Mana(1,0,0)==1 orCD(n,0,1,n,0,n,n,1,1)==1 and Mana(0,1,0)==1 orCD(1,0,1,n,0,n,n,1,1)==1 and Mana(1,1,0)==1 orCD(1,0,n,n,0,n,1,1,1)==1 and Mana(1,0,1)==1 orCD(n,0,1,n,0,n,1,1,1)==1 and Mana(0,1,1)==1 orCD(0,0,0,n,1,n,1,0,1)==1 and Mana(0,0,1)==1 orCD(0,0,0,n,0,n,0,1,1)==1 and Mana(0,0,0)==1) and EPred.HitChance==1 thenER(target)endelseif GOS:GetDistance(target)>700 thenif CD(1,n,1,n,n,n,1,n,n)==1 and Mana(1,1,0)==1 and WallT==0 then WL(target) endendendif CD(0,0,0,1,0,1,0,0,1)==1 or CD(0,0,0,0,0,1,0,0,1)==1 thenWR2()elseif CD(0,0,0,1,0,0,0,0,0)==1 thenW2()endendif Valid(target) and not IsDead(myHero) thenif LeBlanc.Keys.DoQ:Value() and Valid(target) and GOS:GetDistance(target)<=700 thenif CD(1,n,n,n,n,n,n,n,n)==1 and Mana(1,n,n)==1 then Q(target)elseif CD(n,1,n,n,n,n,n,n,1)==1 and Mana(n,n,n)==1 then QR(target)endendif LeBlanc.Keys.DoE:Value() and Valid(target) and GOS:GetDistance(target)<=950 thenif CD(n,n,n,n,n,n,1,n,n)==1 and Mana(n,n,1)==1 then E(target)elseif CD(n,n,n,n,n,n,n,1,1 )==1 and Mana(n,n,n)==1 then ER(target)endendendend--Mana Handling--function Mana(a,b,c) --Q,W,R only have manaif a == 1 thena = 40+(GetCastLevel(myHero,_Q)*10)elsea = 0endif b == 1 thenb = 75+(GetCastLevel(myHero,_W)*5)elseb = 0endif c == 1 thenc = 80elsec = 0endif GetCurrentMana(myHero) > a+b+c thenreturn 1elsereturn 0endend--CD Handling--function CD(a,b,c,d,e,f,g,h,i)--Qif GetCastName(myHero,_Q) == 'LeblancChaosOrb' and GetCastLevel(myHero,_Q)>= 1 and CanUseSpell(myHero, _Q)==READY thenQ1RDY = 1elseQ1RDY = 0end--RQif GetCastName(myHero,_R) == 'LeblancChaosOrbM' and GetCastLevel(myHero,_R)>= 1 and CanUseSpell(myHero, _R)==READY thenQ2RDY = 1elseQ2RDY = 0end--Wif GetCastName(myHero,_W) == 'LeblancSlide' and GetCastLevel(myHero,_W)>= 1 and CanUseSpell(myHero, _W)==READY thenW1RDY = 1elseW1RDY = 0end--W2if GetCastName(myHero,_W) == 'leblancslidereturn' and GetCastLevel(myHero,_W)>= 1 and CanUseSpell(myHero, _W)==READY thenW2RDY = 1elseW2RDY = 0end--RWif GetCastName(myHero,_R) == 'LeblancSlideM' and GetCastLevel(myHero,_R)>= 1 and CanUseSpell(myHero, _R)==READY thenW3RDY = 1elseW3RDY = 0end--RW2if GetCastLevel(myHero,_R)>= 1 and GetCastName(myHero,_R) ~= 'leblancslidereturnm' and CanUseSpell(myHero, _R)==READY thenW4RDY = 1elseW4RDY = 0end--Eif GetCastName(myHero,_E) == 'LeblancSoulShackle' and GetCastLevel(myHero,_E)>= 1 and CanUseSpell(myHero, _E)==READY thenE1RDY = 1elseE1RDY = 0end--REif GetCastName(myHero,_R) == 'LeblancSoulShackleM' and GetCastLevel(myHero,_R)>= 1 and CanUseSpell(myHero, _R)==READY thenE2RDY = 1elseE2RDY = 0endif GetCastLevel(myHero,_R)>= 1 and CanUseSpell(myHero, _R)==READY thenRRDY = 1elseRRDY = 0endif (Q1RDY == a or a == n) and (Q2RDY == b or b == n) and (W1RDY == c or c == n) and (W2RDY == d or d == n) and (W3RDY == e or e == n) and (W4RDY == f or f == n) and (E1RDY == g or g == n) and (E2RDY == h or h == n) and (RRDY == i or i == n) thenreturn 1elsereturn 0endend--Move to Mouse--function MoveToMouse()MoveToXYZ(GetMousePos())end--Check Enemy--function CheckEnemy(name)if #enemies > 0 thenfor i,enemy in ipairs(enemies) doif enemy.hero and enemy.hero~= nil and GetObjectName(enemy.hero):find(name) then return enemy endendendreturn nilend--Round--function Round(val, decimal)if (decimal) thenreturn math.floor( (val * 10 ^ decimal) + 0.5) / (10 ^ decimal)elsereturn math.floor(val + 0.5)endend--Spell functions--function Q(o)CastTargetSpell(o,_Q)endfunction QR(o)CastTargetSpell(o,_R)endfunction W(o)WPred = GetPredictionForPlayer(GetOrigin(myHero),o,GetMoveSpeed(o),1450,250,600,250,false,true)if WPred.HitChance==1 thenCastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)endendfunction W2(o)CastSpell(_W)endfunction WR(o)WPred = GetPredictionForPlayer(GetOrigin(myHero),o,GetMoveSpeed(o),1450,250,600,250,false,true)if WPred.HitChance==1 thenCastSkillShot(_R,WPred.PredPos.x,Wpred.PredPos.y,WPred.PredPos.z)endendfunction WR2(o)CastSpell(_R)endfunction E(o)EPred = GetPredictionForPlayer(GetOrigin(myHero),o,GetMoveSpeed(o),1550,150,950,55,true,true)if EPred.HitChance==1 thenCastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)endendfunction ER(o)EPred = GetPredictionForPlayer(GetOrigin(myHero),o,GetMoveSpeed(o),1550,150,950,55,true,true)if EPred.Hithance==1 thenCastSkillShot(_R,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)endendfunction WL(o)local Pos=GetOrigin(o)if GetCastName(myHero,_W)~= 'leblancslidereturn' thenCastSkillShot(_W,Pos.x,Pos.y,Pos.z)endend--Check for lastSpell--OnProcessSpell(function(unit, spell)if unit and spell and GetObjectName(unit) == GetObjectName(myHero) thenif spell.name == 'LeblancChaosOrb' then ls = 'Q' endif spell.name == 'LeblancChaosOrbM' then ls = 'QR' endif spell.name == 'LeblancSlide' then ls = 'W' endif spell.name == 'LeblancSoulShackle' then ls = 'E' endif spell.name == 'LeblancSlideM' then ls = 'WR' endif spell.name == 'LeblancSoulShackleM' then ls = 'ER' endendend)--Valid targetfunction Valid(unit)if unit and not IsDead(unit) and IsTargetable(unit) and not IsImmune(unit) and IsVisible(unit) thenreturn trueelsereturn falseendendfunction GetDistanceXYZ(x,z,x2,z2)if (x and z and x2 and z2)~=nil thena=x2-xb=z2-zif (a and ~=nil thena2=a*ab2=b*bif (a2 and b2)~=nil thenreturn math.sqrt(a2+b2)elsereturn 99999endelsereturn 99999endendendfunction CheckEnemy(name)if #enemies > 0 thenfor i,enemy in ipairs(enemies) doif enemy.hero and enemy.hero~= nil and GetObjectName(enemy.hero):find(name) then return enemy endendendreturn nilend
Leblanc.lua
v19
update it to 21 and try again, i dont have any probs, do you also have mappositiongos and mapposition and mapposiiton bushes, wals and 2d geometry in your folder.
and check every script of them if they are right coded.
It works with IOW except farming for me, I can't get it to farm at all, other than that the combo executes flawlessly for me, amazing job.
Damn, really can't make it work. Even updated Inspired. It's not loading for me, I have all the files I need.
same.. getting the error in loading LUA in the begining
if required "LeBlanc" at testscript
if dont require testscript1
there will be nothing happen and nothing loaded
testes at inspired v19 and v21
dont u have require? pcall
show me your leblanc and testacript
Yes all the scripts are here
and i also got the lua of
MapPositionGOS
MapPosition_walls_1_1
MapPosition_bushes_1
MapPosition
2DGeometry
in testscript 1
dont call require Leblanc when u got pcall.
whats your inspired version. do you see ingame menu top left corner?
as i said i tried both situation w/ and w/o the require leblanc
and i also tried inspired v19 and v23
i saw the menu but w/o yours
thanks
do you got teamviewer?
nice! keep going!!
its ok yesterday but now I got error
Fixed IsImmune.
IsImmune(object) is now IsImmune(object, myHero)
http://postimg.org/image/okzpnvc3n/ please fix this i never fixed this error.
0 members, 3 guests, 0 anonymous users