G2A Many GEOs
SHARE
TWEET

Untitled

BananaCupcake May 1st, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. task Shoot{
  2.       wait(50);
  3.     let angleT = 120; //Base angle faces directly right
  4.      loop(33){
  5.       let obj = CreateShotA1(ObjMove_GetX(EnemyObj), ObjMove_GetY(EnemyObj), 1, angleT, 316, 10);
  6.         angleT -= 360/33; //Increments by 60 degrees clockwise each time the block is run\
  7.         freeze(obj);
  8.         }
  9. }
  10.  
  11. task freeze(obj){
  12.   let flag = 0;
  13.   let angleT = 120;
  14.   loop(180){
  15.     task bullet(obj){
  16.      loop(10){
  17.       let obj = CreateShotA1(ObjMove_GetX(EnemyObj), ObjMove_GetY(EnemyObj), 10, angleT, 316, 10);
  18.         angleT -= 360/10;
  19.         }
  20.       while(!flag){ yield; }
  21.       ObjMove_SetSpeed(obj,0);
  22.     }
  23.     bullet(obj);
  24.     yield;
  25.   }
  26.   loop(60){yield;}
  27.   flag = true;
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top