Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let num=1;
- let num2=3;
- task attack1 {
- let a = [0,0,0,0,0,0,0,0]; let b = 0;
- loop {
- ascent(i in 0..num) { ascent(j in 0..num2) {
- CreateShotA(0, GetX, GetY, 10);
- SetShotDataA(0, 0, 3, a[i]+j*360/(num2), -i, 0, 0, RED21+i);
- SetShotDataA(0, 30, 3, NULL, i/4, -1/10, -3, NULL);
- SetShotDataA(0, 90, -3, NULL, 0, 0, 0, NULL);
- SetShotDataA(0, 120, -3, NULL, 0, 1/20, 0, NULL);
- SetShotDataA(0, 180, 0, NULL, 180/10, 0, 0, NULL);
- SetShotDataA(0, 190, 0, NULL, 0, 1/50, 3, NULL);
- FireShot(0);
- } a[i]=a[i]+(i+1)*(5/2+2*sin(b)); } b+=pi; b%=360;
- wait(10);
- }
- }
- task attack2 {
- loop(7) {
- wait(180);
- num++;
- }
- wait(150);
- num2+=6;
- wait(450);
- ascent(i in 0..90) { DeleteEnemyShotInCircle(ALL, GetX, GetY, i*7); if(!(i%5)){wait(5);} }
- }
Advertisement
Add Comment
Please, Sign In to add comment