Heres the code , dont know how to fix it:/(it sutters , looks like an obvious scripter)
reticles = {}
function CatchAxe()
for i, reticle in pairs(reticles) do
Reticlepos = GetOrigin(reticle)
if IOW:Mode() == "Combo" then
if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangecombo:Value() and DravenMenu.CatchAxe.Combo:Value() then
IOW.attacksEnabled = false
MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
IOW.forceTarget = target
return
end
if IOW:Mode() == "Harass" then
if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangeharass:Value() and DravenMenu.CatchAxe.Harass:Value() then
IOW.attacksEnabled = false
MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
IOW.forceTarget = target
return
end
if IOW:Mode() == "LaneClear" then
if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangelaneclear:Value() and DravenMenu.CatchAxe.LaneClear:Value() then
IOW.attacksEnabled = false
MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
return
end
if IOW:Mode() == "LastHit" then
if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangelasthit:Value() and DravenMenu.CatchAxe.LastHit:Value() then
IOW.attacksEnabled = false
MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
return
end
end
end
--thanks cloud
OnCreateObj(function(Object)
if GetObjectBaseName(Object) == "Draven_Base_Q_reticle_self.troy" then
table.insert(reticles, Object)
end
end)
OnDeleteObj(function(Object)
myHer0 = GetOrigin(myHero)
if GetObjectBaseName(Object) == "Draven_Base_Q_reticle_self.troy" then
table.remove(reticles, 1)
end
end)
Sign In
Create Account

Back to top
Report







