Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. m = nil
  2. function OnLoad()
  3. m = minionManager(MINION_ENEMY, 2000, player, MINION_SORT_HEALTH_ASC)
  4. print("Loaded Minionscript 1.0")
  5. print(myHero.y)
  6. end
  7.  
  8. function OnTick()
  9. m:update()
  10. end
  11.  
  12. function OnDraw()
  13. for index, minion in pairs(m.objects) do
  14. if minion.health <= myHero.damage then
  15. DrawCircle3D(minion.x, minion.y, minion.z, 100, 3, ARGB(255,25,255,18))
  16. end
  17. end
  18. for i=1, heroManager.iCount do
  19. local h = heroManager:GetHero(i)
  20. DrawCircle3D(h.x, h.y, h.z, 100, 2, ARGB(255,255,0,0))
  21. DrawText3D(h.charName, h.x, h.y, h.z, 12, ARGB(255,25,255,18), true)
  22. DrawHitBox(h, 2, ARGB(255,255,0,0))
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement