Copy and paste following and save it as "testscript1.lua"
This script is somewhat decent, I just wanted to contribute :^)
local Akali = nil local AkaliPos = nil function AfterObjectLoopEvent(myHer0) Akali = myHer0 AkaliPos = GetOrigin(Akali) local noob = GetCurrentTarget() DrawText("Akali by Axe has been successfuly loaded!",24,10,0,0xffff00ff); if KeyIsDown(0x20) then if ValidTarget(noob, 800) then if CanUseSpell(Akali, _R) == READY and IsDistance(noob, 700) then CastTargetSpell(noob, _R) end if CanUseSpell(Akali, _Q) == READY and IsDistance(noob, 600) then CastTargetSpell(noob, _Q) end if CanUseSpell(Akali, _E) == READY and IsDistance(noob, 300) then CastTargetSpell(noob, _E) end end end end function ValidTarget(noob, range) range = range or math.huge if GetOrigin(noob) == nil or IsDead(noob) or GetTeam(noob) == GetTeam(Akali) or not IsDistance(noob, range) then return false end return true end function IsDistance(p1,r) return GetDistance(GetOrigin(p1)) < r*r end function GetDistance(p1,p2) p2 = p2 or AkaliPos local dx = p1.x - p2.x local dz = (p1.z or p1.y) - (p2.z or p2.y) return dx*dx + dz*dz end
Credits to Inspired (he inspered me) and Deftsu