Advertisement
ScarletKing

bullet

Jul 11th, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. task fire{
  2. let x = 0;
  3. let dir = 0;
  4. loop{
  5. while(x<72){
  6. CreateShotA(1,GetEnemyX+50*cos(dir),GetEnemyY+50*sin(dir),30);
  7. SetShotDataA(1,0,0,dir,0,0,0,AQUA01);
  8. SetShotDataA(1,20,2,dir,2,0,2,AQUA01);
  9. SetShotDataA(1,180,2,rand(1,360),4,0,2,AQUA02);
  10.  
  11. FireShot(1);
  12.  
  13. dir+=360/4;
  14. x++;
  15. }
  16. x=0;
  17. dir=0;
  18. wait(60);
  19.  
  20. yield;
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement