Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require("libs.Utils")
- require("libs.VectorOp")
- --[[
- 0 1 0 1 0 0 1 1
- 0 1 1 0 1 1 1 1 ____ __ __
- 0 1 1 1 0 0 0 0 / __/__ ___ / / __ __/ /__ ___ __
- 0 1 1 0 1 0 0 0 _\ \/ _ \/ _ \/ _ \/ // / / _ `/\ \ /
- 0 1 1 1 1 0 0 1 /___/\___/ .__/_//_/\_, /_/\_,_//_\_\
- 0 1 1 0 1 1 0 0 /_/ /___/
- 0 1 1 0 0 0 0 1
- 0 1 1 1 1 0 0 0
- Illusion Delta Split v1.0a
- Changelog:
- v1.0a:
- - Added Chat Detection
- v1.0:
- - Release
- ]]
- function Tick(tick)
- if not PlayingGame() then
- return
- end
- local phantoms = entityList:GetEntities({classId = me.classId, controllable = true, team = me.team, illusion = true, alive = true})
- if #phantoms == 0 then
- return
- end
- if not client.chat and IsKeyDown(string.byte("V")) and SleepCheck() then
- local alpha = vectorOp:GetXYAngle(client.mousePosition - me.position)
- local dAlpha = 2*math.pi/(#phantoms + 1)
- me:Move(client.mousePosition)
- for i,v in ipairs(phantoms) do
- v:Move(v.position + vectorOp:UnitVectorFromXYAngle(alpha + dAlpha*i)*50)
- for d=100,550,225 do
- v:Move(v.position + vectorOp:UnitVectorFromXYAngle(alpha + dAlpha*i)*d, true)
- end
- end
- Sleep(5000)
- end
- end
- script:RegisterEvent(EVENT_TICK,Tick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement