Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --done by Laiha -- REWORKED--
- Table = { noa = 0 }
- require('Inspired')
- require('IWalk')
- AddInfo("Vayne", "Gosu Vayne:")
- AddButton("Q", "Use Q gosu logic", true)
- AddButton("E", "Use E gosu logic", true)
- AddButton("Activator", "Use Activator", true)
- OnLoop(function(myHero)
- IWalk()
- for _, unit in pairs(GetEnemyHeroes()) do
- local unitPos=GetOrigin(unit)
- local drawPos = WorldToScreen(1,unitPos.x,unitPos.y,unitPos.z)
- local damage=GetCurrentHP(unit)/(GetBaseDamage(myHero)+GetBonusDmg(myHero))
- if(GetCastLevel(myHero, _W) > 0 then
- local tdamage= damage/3
- local ndamage= damage-rdamage
- if GetCastLevel(myHero, _W) == 1 then
- damage= 20 +GetMaxHP(unit)/100*4+(GetBaseDamage(myHero)+GetBonusDmg(myHero)
- elseif GetCastLevel(myHero, _W)==2
- damage= 30 +GetMaxHP(unit)/100*5+(GetBaseDamage(myHero)+GetBonusDmg(myHero)
- elseif GetCastLevel(myHero, _W)==3
- damage= 40 +GetMaxHP(unit)/100*6+(GetBaseDamage(myHero)+GetBonusDmg(myHero)
- elseif GetCastLevel(myHero, _W)==2
- damage= 50 +GetMaxHP(unit)/100*7+(GetBaseDamage(myHero)+GetBonusDmg(myHero)
- elseif GetCastLevel(myHero, _W)==2
- damage= 60 +GetMaxHP(unit)/100*8+(GetBaseDamage(myHero)+GetBonusDmg(myHero)
- end
- end
- DrawText( math.ceil(damage+0,5) .." AA to kill",20,drawPos.x,drawPos.y,0xffffffff)
- local vectorx = unitPos.x-GetOrigin(myHero).x
- local vectory = unitPos.y-GetOrigin(myHero).y
- local vectorz = unitPos.z-GetOrigin(myHero).z
- local dist= math.sqrt(vectorx^2+vectory^2+vectorz^2)
- ourcoord={x = unitPos.x + 450 * vectorx / dist ,y = unitPos.y + 450 * vectory / dist, z = unitPos.z + 450 * vectorz / dist}
- DrawCircle(ourcoord.x,ourcoord.y,ourcoord.z,25,1,1,0xffffffff)
- end
- if GetKeyValue("Combo") then
- local unit = GetTarget(1000)
- if ValidTarget(unit, 550) then
- local stacks= GotBuff(unit,"VayneSilveredBolts")
- if GetButtonValue("Q") then
- if CanUseSpell(myHero, _Q) == READY and stacks>1 then
- local mousePos=GetMousePos()
- CastSkillShot(_Q,mousePos.x,mousePos.y,mousePos.z)
- end
- end
- --if GetButtonValue("E") then
- --AddGapcloseEvent(_E, 450, unit)
- --end
- --if GetButtonValue("E") then
- --if CanUseSpell(myHero,_E) == READY and ((GetCurrentHP(myHero)/(GetMaxHP(myHero)/100))) < 26 then
- --CastTargetSpell(unit, _R)
- --end
- --end
- if GetButtonValue("Activator") then
- if GetItemSlot(myHero,3153)>0 then
- CastTargetSpell(unit, GetItemSlot(myHero,3153))
- end
- if GetItemSlot(myHero,3144)>0 then
- CastTargetSpell(unit, GetItemSlot(myHero,3144))
- end
- if GetItemSlot(myHero,3142)>0 then
- CastTargetSpell(unit, GetItemSlot(myHero,3142))
- end
- end
- end
- --if GetButtonValue("Activator") then
- --CastItem(myHero,GetItemSlot(myHero,3140))
- --CastItem(myHero,GetItemSlot(myHero,3149))
- --end
- end
- end)
- AddGapcloseEvent(_E, 450, true)
- --IM THE FIRST ONE WHO DOES THAT , GIVE ME THE HONORS SLUTS AND USE CREDITS BEFORE I FKING RAPE YOU ASSHOLE
- --OnProcessSpell(function(unit, spell)
- --if unit and unit == myHero and spell then
- --if spell.name:lower():find("attack") then
- --Table.noa=Table.noa+1
- --if Table.noa > 3 then
- --Table.noa=0
- --end
- --end
- --end
- --end)
Advertisement
Add Comment
Please, Sign In to add comment