Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require("Inspired")
- require("IMenu")
- require("IWalk")
- AddInfo("Zed", "Zed:")
- AddButton("Q", "Use Q", true)
- AddButton("E", "Use E", true)
- AddButton("R", "Use R", true)
- function AfterObjectLoopEvent(myHer0)
- DrawMenu()
- IWalk()
- AutoIgnite()
- myHero = myHer0
- myHeroPos = GetOrigin(myHero)
- DrawText("Evolved Zed is Loaded, and this is my first Script EVER",24,0,0,0xffff0000);
- if GetKeyValue("Combo") then
- local unit = GetCurrentTarget()
- local currhp = GetCurrentHP(myHero)
- if ValidTarget(unit, 900) then
- if GetButtonValue("R") then
- if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 625) then
- CastTargetSpell(unit, _R)
- end
- -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
- local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,900,55,true,true)
- if GetButtonValue("Q") then
- if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
- CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
- end
- end
- if GetButtonValue("E") then
- if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 290) then
- CastTargetSpell(myHero, _E)
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement