Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = nil
- function OnLoad()
- m = minionManager(MINION_ENEMY, 2000, player, MINION_SORT_HEALTH_ASC)
- print("Loaded Minionscript 1.0")
- print(myHero.y)
- end
- function OnTick()
- m:update()
- end
- function OnDraw()
- for index, minion in pairs(m.objects) do
- if minion.health <= myHero.damage then
- DrawCircle3D(minion.x, minion.y, minion.z, 100, 3, ARGB(255,25,255,18))
- end
- end
- for i=1, heroManager.iCount do
- local h = heroManager:GetHero(i)
- DrawCircle3D(h.x, h.y, h.z, 100, 2, ARGB(255,255,0,0))
- DrawText3D(h.charName, h.x, h.y, h.z, 12, ARGB(255,25,255,18), true)
- DrawHitBox(h, 2, ARGB(255,255,0,0))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement