Zerveorus

Circulo

Dec 17th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. function circulo(n)
  2. local x,y,a=tfm.get.room.playerList[n].x,tfm.get.room.playerList[n].x,{11,11,0,2,0,2,0,11,11}
  3. for i=1,10 do
  4. local xPos=math.cos(i)*130
  5. local yPos=math.sin(i)*130
  6. for k=-1,1 do
  7. for j=-1,1 do
  8. tfm.exec.displayParticle(a[(i%#a)+1],x+k*xPos,y+j*yPos)
  9. end
  10. end
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment