Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. require("libs.Utils")
  2. require("libs.VectorOp")
  3.  
  4. --[[
  5. 0 1 0 1 0 0 1 1
  6. 0 1 1 0 1 1 1 1 ____ __ __
  7. 0 1 1 1 0 0 0 0 / __/__ ___ / / __ __/ /__ ___ __
  8. 0 1 1 0 1 0 0 0 _\ \/ _ \/ _ \/ _ \/ // / / _ `/\ \ /
  9. 0 1 1 1 1 0 0 1 /___/\___/ .__/_//_/\_, /_/\_,_//_\_\
  10. 0 1 1 0 1 1 0 0 /_/ /___/
  11. 0 1 1 0 0 0 0 1
  12. 0 1 1 1 1 0 0 0
  13.  
  14. Illusion Delta Split v1.0a
  15.  
  16. Changelog:
  17. v1.0a:
  18. - Added Chat Detection
  19.  
  20. v1.0:
  21. - Release
  22.  
  23. ]]
  24.  
  25.  
  26. function Tick(tick)
  27. if not PlayingGame() then
  28. return
  29. end
  30.  
  31. local phantoms = entityList:GetEntities({classId = me.classId, controllable = true, team = me.team, illusion = true, alive = true})
  32.  
  33. if #phantoms == 0 then
  34. return
  35. end
  36.  
  37. if not client.chat and IsKeyDown(string.byte("V")) and SleepCheck() then
  38. local alpha = vectorOp:GetXYAngle(client.mousePosition - me.position)
  39. local dAlpha = 2*math.pi/(#phantoms + 1)
  40. me:Move(client.mousePosition)
  41. for i,v in ipairs(phantoms) do
  42. v:Move(v.position + vectorOp:UnitVectorFromXYAngle(alpha + dAlpha*i)*50)
  43. for d=100,550,225 do
  44. v:Move(v.position + vectorOp:UnitVectorFromXYAngle(alpha + dAlpha*i)*d, true)
  45. end
  46. end
  47. Sleep(5000)
  48. end
  49. end
  50.  
  51. script:RegisterEvent(EVENT_TICK,Tick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement