Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local wayPointManager = WayPointManager()
- local enemyHeroes = GetEnemyHeroes()
- local allyHeroes = GetAllyHeroes()
- local scripters = {}
- local maxClicks = 0
- function OnDraw()
- if enemyHeroes and #enemyHeroes > 1 then
- for i, enemy in ipairs(enemyHeroes) do
- if enemy.charName == "Vayne" then
- if wayPointManager:GetWayPointChangeRate(enemy, 1) > maxClicks then
- maxClicks = wayPointManager:GetWayPointChangeRate(enemy, 1)
- end
- end
- if wayPointManager:GetWayPointChangeRate(enemy, 1) > 12 then
- table.insert(scripters, enemy)
- table.remove(enemyHeroes, i)
- i = i - 1
- end
- end
- else
- enemyHeroes = nil
- end
- if allyHeroes and #allyHeroes > 1 then
- for i, ally in ipairs(allyHeroes) do
- if ally.charName == "Vayne" then
- if wayPointManager:GetWayPointChangeRate(ally, 1) > maxClicks then
- maxClicks = wayPointManager:GetWayPointChangeRate(ally, 1)
- end
- end
- if wayPointManager:GetWayPointChangeRate(ally, 1) > 12 then
- table.insert(scripters, ally)
- table.remove(allyHeroes, i)
- i = i - 1
- end
- end
- else
- allyHeroes = nil
- end
- for i, cheater in ipairs(scripters) do
- DrawText(cheater.charName, 16, 10, 10 + (10 * i), ARGB(255, 255, 255, 255))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement