Hello this is my first script by now you should know how to install scripts and this just a basic script which i didn't really test that much. If you find any bugs just report him in this thread.
Just hold spacebar it will use Q and W and Ult but when i tested ult it sometime bugged it will try to add better ult. But my coding experience is very limited and i'm still learning.
-- CONSTANTS local RANGE_Q = 1150 local RANGE_W = 1000 local RANGE_R = 1500 local Ezreal = nil local EzrealPos = nil function AfterObjectLoopEvent(myHer0) Ezreal = myHer0 EzrealPos = GetOrigin(Ezreal) local position = GetCurrentTarget() DrawText("Ezreal by RedBekkem is loaded, GL HF!",24,10,0,0xffff00ff); if KeyIsDown(0x20) then if CanUseSpell(localHero, _Q) == READY then target = GetTarget(localHero, RANGE_Q) if target then local pI = GetPredictionForPlayer(p1, target, GetMoveSpeed(target), 1700, 250, RANGE_Q, 50, true, true) if pI and pI.HitChance == 1 then CastSkillShot(_Q, pI.PredPos.x, pI.PredPos.y, pI.PredPos.z) end end end end if CanUseSpell(localHero, _W) == READY then target = GetTarget(localHero, RANGE_W) if target then local pI = GetPredictionForPlayer(p1, target, GetMoveSpeed(target), 1700, 250, RANGE_W, 50, true, true) if pI and pI.HitChance == 1 then CastSkillShot(_W, pI.PredPos.x, pI.PredPos.y, pI.PredPos.z) end end end end if CanUseSpell(localHero, _R) == READY then target = GetTarget(localHero, RANGE_R) if target then local pI = GetPredictionForPlayer(p1, target, GetMoveSpeed(target), 1700, 250, RANGE_R, 50, true, true) if pI and pI.HitChance == 1 then CastSkillShot(_R, pI.PredPos.x, pI.PredPos.y, pI.PredPos.z) end end end function ValidTarget(position, range) range = range or math.huge if GetOrigin(position) == nil or IsDead(position) or GetTeam(position) == GetTeam(Ezreal) or not IsDistance(position, 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 EzrealPos local dx = p1.x - p2.x local dz = (p1.z or p1.y) - (p2.z or p2.y) return dx*dx + dz*dz end