Colors || a platformer [2] 
@Stage\n\nwhen flag clicked\nforever\n    if <(Lev) = [6]> then\n        switch backdrop to (backdrop1 v)\n    else\n        if <(Lev) = [7]> then\n            switch backdrop to (backdrop1 v)\n        else\n            if <(Lev) = [8]> then\n                switch backdrop to (backdrop1 v)\n            else\n                switch backdrop to (blue sky v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (blue sky v)\n\n@persona\n\nwhen flag clicked\nbroadcast (Player to x -200 y 0 v) and wait\nset [lev v] to [1]\n\nwhen I receive [player to x -200 y 0 v]\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\n\ndefine (x) x\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x v] by (x)\n    set [right or left arrow pressed -> <- v] to [right arrow]\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x v] by ((x) * (-1))\n    set [right or left arrow pressed -> <- v] to [left arrow]\nend\nset [x v] to ((X) * (0.7))\nchange x by (X)\nif <touching (ground v)?> then\n    set [slope v] to [0]\n    repeat until <<(Slope) = [32]> or <not <touching (ground v)?>>>\n        change y by (1)\n        change [slope v] by (4)\n    end\n    if <touching (ground v)?> then\n        change y by (((Slope) * (-1)) * (0.25))\n        repeat ([abs v] of (X) )\n            if <touching (ground v)?> then\n                change x by (([abs v] of (X) ) / ((X) * (-1)))\n            end\n        end\n        set [x v] to [0]\n    end\nend\nchange y by (Y)\nif <touching (ground v)?> then\n    repeat ([abs v] of (Y) )\n        if <touching (ground v)?> then\n            change y by (([abs v] of (Y) ) / ((Y) * (-1)))\n        end\n    end\n    if <(Cling to ceiling) = [false]> then\n        if <<<(([abs v] of (Y) ) / (Y)) = [-1]> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <not <touching (water v)?>>> then\n            set [y v] to [15]\n        else\n            set [y v] to [0]\n        end\n    else\n        if <(Cling to ceiling) = [true]> then\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <not <touching (water v)?>>> then\n                set [y v] to [15]\n            else\n                set [y v] to [0]\n            end\n        end\n    end\nelse\n    change [y v] by (-1)\nend\n\nwhen flag clicked\nset [lev v] to [1]\nstop all sounds\nset volume to (80) %\nforever\n    if <(Lev) < [20]> then\n        play sound [Tobu - Infectious \(Original Mix\).mp3 v] until done\n    else\n        if <(Lev) < [42]> then\n            set volume to (100) %\n            play sound [Inferno3 v] until done\n            repeat until <[41] < (Lev)>\n                play sound [Inferno2 v] until done\n            end\n        else\n            play sound [Awesome SONG - OMFG - Happy v] until done\n        end\n    end\nend\n\nwhen flag clicked\nwait until <(Lev) = [20]>\nrepeat (16)\n    change volume by (-5)\n    wait (0.02) seconds\nend\nwait (1) seconds\nstop all sounds\nset volume to (100) %\nwait until <(Lev) = [42]>\nhide variable [lev v]\nrepeat (20)\n    change volume by (-5)\n    wait (0.01) seconds\nend\nwait (0.05) seconds\nstop all sounds\nset volume to (100) %\n\nwhen flag clicked\nforever\n    if <[235] < (x position)> then\n        if <not <(Lev) = [20]>> then\n            change [lev v] by (1)\n            broadcast (Player to x -200 y 0 v) and wait\n        else\n            if <(ball) = [hide]> then\n                change [lev v] by (1)\n                broadcast (Player to x -200 y 0 v) and wait\n            end\n        end\n        if <not <(Lev) = [40]>> then\n    end\n    if <touching (spickle v)?> then\n        broadcast (Player to x -200 y 0 v) and wait\n    end\n    if <(y position) < [-179]> then\n        broadcast (Player to x -200 y 0 v) and wait\n    end\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <key (n v) pressed?> then\n        if <not <<<<(Lev) = [19]> or <(Lev) = [20]>> or <<(Lev) = [39]> or <(Lev) = [40]>>> or <(Lev) = [22]>>> then\n            broadcast (Player to x -200 y 0 v) and wait\n            change [lev v] by (1)\n            wait (0.5) seconds\n        end\n    end\nend\n\nwhen flag clicked\nshow\nshow variable [lev v]\nbroadcast (Player to x -200 y 0 v) and wait\nforever\n    [2.6] x\nend\n\nwhen flag clicked\nforever\n    if <(Lev) > [41]> then\n        go to [back v] layer\n        hide\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (boiing v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nswitch costume to (persona yellow v)\nforever\n    if <(Lev) = [1]> then\n        switch costume to (persona pink v)\n    end\n    if <(Lev) = [21]> then\n        switch costume to (persona blue v)\n    end\n    if <(Lev) = [41]> then\n        switch costume to (persona red v)\n    end\n    if <(Lev) > [41]> then\n        go to [back v] layer\n        hide\n    end\nend\n\ndefine Water effect\nif <<touching (water v)?> and <not <touching (ground v)?>>> then\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        change [y v] by (1)\n    else\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            change [y v] by (-1)\n        end\n    end\nend\nif <<touching (water v)?> and <not <touching (ground v)?>>> then\n    change [y v] by (0.95)\n    if <<touching (water v)?> and <not <touching (ground v)?>>> then\n        change [y v] by (0.25)\n    end\nelse\n    if <touching (water v)?> then\n        change [y v] by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    Water effect\nend\n\nwhen flag clicked\nset [cling to ceiling v] to [false]\nwait until <(Lev) = [40]>\nwait until <(ball) = [show]>\nwait until <(ball) = [hide]>\nset [cling to ceiling v] to [true]\n\nset [cling to ceiling v] to [true]\n\n@ground\n\nwhen flag clicked\nshow\nrepeat until <(Lev) > [41]>\n    switch costume to (Lev)\nend\ngo to [back v] layer\nhide\nhide variable [lev v]\nstop [other scripts in sprite v]\nstop [this script v]\n\n@spickle\n\nwhen flag clicked\nshow\nrepeat until <(Lev) > [41]>\n    switch costume to (Lev)\nend\ngo to [back v] layer\nhide\n\n@boiing\n\nwhen flag clicked\nforever\n    if <(Lev) = [4]> then\n        show\n        switch costume to (1boing v)\n    else\n        if <(Lev) = [9]> then\n            show\n            switch costume to (2boing v)\n        else\n            if <(Lev) = [17]> then\n                show\n                switch costume to (3boing v)\n            else\n                if <(Lev) = [18]> then\n                    show\n                    switch costume to (4boing v)\n                else\n                    if <(Lev) = [25]> then\n                        show\n                        switch costume to (7boing2 v)\n                    else\n                        if <(Lev) = [27]> then\n                            show\n                            switch costume to (7boing3 v)\n                        else\n                            if <(Lev) = [33]> then\n                                show\n                                switch costume to (7boing4 v)\n                            else\n                                if <(Lev) = [37]> then\n                                    show\n                                    switch costume to (7boing5 v)\n                                else\n                                    hide\n                                    go to [back v] layer\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set y to (0)\n    if <touching (persona v)?> then\n        change y by (-10)\n        repeat (10)\n            change y by (1)\n        end\n        set y to (0)\n    end\nend\n\n@Balls\n\nwhen flag clicked\nset [ball v] to [hide]\ngo to x: (0) y: (-80)\nset size to (100) %\ngo to [back v] layer\nhide\n\nwhen flag clicked\nforever\n    wait until <(Lev) = [20]>\n    set [ball v] to [show]\n    switch costume to (costume3 v)\n    wait until <(Lev) = [40]>\n    set [ball v] to [show]\n    switch costume to (costume4 v)\nend\n\nwhen flag clicked\nforever\n    change [8* v] by (8)\n    change [5* v] by (5)\n    change [2* v] by (2)\n    set [sin v] to (([sin v] of (5*) ) * (20))\nend\n\nwhen flag clicked\nforever\n    if <(ball) = [show]> then\n        show\n    end\n    if <(ball) = [hide]> then\n        hide\n        go to [back v] layer\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (persona v)?> then\n        set [ball v] to [hide]\n        hide\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Lev) > [41]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset [clone difference v] to [1]\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\nset [ball v] to [hide]\nset size to (100) %\nforever\n    if <<(Lev) = [20]> or <(Lev) = [40]>> then\n        set size to (((sin) * (0.7)) + (100)) %\n        set y to ((-70) + (([sin v] of (2*) ) * (10)))\n        if <<(Lev) = [20]> or <(Lev) = [40]>> then\n            if <(Lev) = [20]> then\n                switch costume to (costume3 v)\n                go to [front v] layer\n                go [backward v] (2) layers\n                if <touching (persona v)?> then\n                    set [ball v] to [hide]\n                    hide\n                    create clone of (_myself_ v)\n                end\n                if <(Lev) = [40]> then\n                    switch costume to (costume4 v)\n                    go to [front v] layer\n                    go [backward v] (2) layers\n                    if <touching (persona v)?> then\n                        set [ball v] to [hide]\n                        hide\n                        create clone of (_myself_ v)\n                        broadcast (lazer v)\n                    end\n                end\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nif <(Lev) = [1]> then\n    if <(clone difference) = [1]> then\n        set [clone difference v] to [2]\n        show\n        set size to (50) %\n        go to [front v] layer\n        switch costume to (costume1 v)\n        go to x: (210) y: (150)\n        forever\n            if <touching (persona v)?> then\n                set [ghost v] effect to (70)\n            else\n                set [ghost v] effect to (35)\n                forever\n                    set size to ((([sin v] of (2*) ) * (8)) + (50)) %\n                end\n            end\n        end\n    end\n    if <(clone difference) = [2]> then\n        show\n        set size to (50) %\n        go to [front v] layer\n        switch costume to (costume2 v)\n        go to x: (170) y: (150)\n        forever\n            if <touching (persona v)?> then\n                set [ghost v] effect to (70)\n            else\n                set [ghost v] effect to (35)\n                forever\n                    set size to ((([sin v] of (2*) ) * (8)) + (50)) %\n                end\n            end\n        end\n    end\nelse\n    if <(Lev) = [20]> then\n        show\n        set size to (50) %\n        go to [front v] layer\n        switch costume to (costume3 v)\n        glide (1) secs to x: (130) y: (150)\n        forever\n            if <touching (persona v)?> then\n                set [ghost v] effect to (70)\n            else\n                set [ghost v] effect to (35)\n                forever\n                    set size to ((([sin v] of (2*) ) * (8)) + (50)) %\n                end\n            end\n        end\n    else\n        if <(Lev) = [40]> then\n            show\n            set size to (50) %\n            go to [front v] layer\n            switch costume to (costume4 v)\n            glide (1) secs to x: (90) y: (150)\n            forever\n                if <touching (persona v)?> then\n                    set [ghost v] effect to (70)\n                else\n                    set [ghost v] effect to (35)\n                    forever\n                        set size to ((([sin v] of (2*) ) * (8)) + (50)) %\n                    end\n                end\n            end\n        end\n    end\nend\n\n@ligiht\n\nwhen flag clicked\nrepeat until <(Lev) = [42]>\n    go to [back v] layer\n    if <key (space v) pressed?> then\n        show\n        go to (persona v)\n    else\n        hide\n    end\nend\nstop [this script v]\n\n@ShOioty bawl\n\nwhen I start as a clone\nshow\ngo to (persona v)\nif <(right or left arrow pressed -> <-) = [right arrow]> then\n    repeat until <(x position) > [230]>\n        move (12) steps\n    end\n    delete this clone\nend\nif <(right or left arrow pressed -> <-) = [left arrow]> then\n    repeat until <(x position) < [-230]>\n        move (-12) steps\n    end\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    hide\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (f v) pressed?> then\n        create clone of (_myself_ v)\n        wait (0.34) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Lev) < [21]> then\n        switch costume to (pwink bawly v)\n    end\n    if <<(Lev) > [20]> and <[41] > (Lev)>> then\n        switch costume to (bwuw bawly v)\n    else\n        if <(Lev) > [40]> then\n            switch costume to (wed bawly v)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (emeny v)?> then\n        broadcast (emeny ded v)\n        delete this clone\n    end\n    if <touching (emeny2 v)?> then\n        delete this clone\n    end\n    if <touching (boss3 v)?> then\n        wait (0) seconds\n        delete this clone\n    end\n    if <touching (boss4 v)?> then\n        wait (0) seconds\n        delete this clone\n    end\nend\n\n@boss3\n\nwhen I start as a clone\nshow\nswitch costume to (spikelay v)\ngo to [back v] layer\ngo to x: (boss x position) y: ((boss y position) - (50))\nrepeat until <<(x position) < [-225]> or <(Lev) < [19]>>\n    if <[19] < (Lev)> then\n        delete this clone\n    else\n        point towards (persona v)\n        if <[125] > (x position)> then\n            move (4) steps\n        end\n        if <(x position) > [125]> then\n            move (50) steps\n        end\n    end\nend\ndelete this clone\n\nwhen flag clicked\nhide variable [boss hp v]\nhide\nwait until <(Lev) = [19]>\nshow variable [boss hp v]\ngo to x: (142) y: (-53)\nshow\nswitch costume to (boass v)\npoint in direction (90)\nrepeat until <[19] < (Lev)>\n    if <(Lev) = [19]> then\n        create clone of (_myself_ v)\n        wait (1) seconds\n    else\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (persona v)?> then\n        set [boss hp v] to [10]\n        broadcast (Player to x -200 y 0 v)\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    set [boss x position v] to (x position)\n    set [boss y position v] to (y position)\nend\n\nwhen I start as a clone\nforever\n    if <[19] < (Lev)> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset [boss hp v] to [10]\nforever\n    if <touching (persona v)?> then\n        set [boss hp v] to [10]\n        broadcast (Player to x -200 y 0 v) and wait\n    end\n    if <(Lev) = [19]> then\n        switch costume to (boass v)\n        show\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (shoioty bawl v)?> then\n        wait (0) seconds\n        delete this clone\n    end\nend\n\nwhen I receive [hit boss v]\nchange [boss hp v] by (-1)\n\nwhen flag clicked\nforever\n    if <touching (shoioty bawl v)?> then\n        change [boss hp v] by (-1)\n        set [ball ded v] to [ded]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Boss HP) = [0]> then\n        hide variable [boss hp v]\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Boss HP) = [0]> then\n        hide variable [boss hp v]\n        delete this clone\n    end\nend\n\nwhen flag clicked\nrepeat until <(Lev) = [20]>\n    wait until <(Boss HP) = [5]>\n    set [boss change possition v] to [p2]\n    set [boss hp v] to [10]\n    glide (0.5) secs to x: (142) y: (40)\n    repeat until <(boss change possition) = [p1]>\n        if <[10] > (Boss HP)> then\n            wait (4) seconds\n            change [boss hp v] by (1)\n        end\n    end\nend\n\nwhen I receive [player to x -200 y 0 v]\ngo to x: (142) y: (-53)\nif <(Lev) = [19]> then\n    set [boss hp v] to [10]\n    set [boss change possition v] to [p1]\nend\n\n@emeny\n\nwhen flag clicked\nhide variable [emeny health v]\nset [emeny health v] to [3]\nhide\nwait (0.0000001) seconds\nhide variable [emeny health v]\nset [emeny health v] to [3]\nhide\n\nwhen I receive [emeny ded v]\nif <(Emeny health) > [1]> then\n    change [emeny health v] by (-1)\nelse\n    hide variable [emeny health v]\n    hide\nend\n\nwhen flag clicked\nrepeat until <(Lev) = [13]>\n    hide\nend\nshow variable [emeny health v]\nshow\ngo to x: (168) y: (-89)\nrepeat until <(Lev) = [14]>\n    set y to (([y position v] of [persona v]) + (23))\nend\nhide\nstop [this script v]\n\nwhen flag clicked\nhide\nwait (0.0000001) seconds\nhide\nwait until <(Lev) = [13]>\nshow variable [emeny health v]\ngo to x: (168) y: (-89)\nshow\nwait (0.0000001) seconds\ngo to x: (168) y: (-89)\nshow variable [emeny health v]\nshow\nrepeat until <(Lev) = [14]>\n    if <touching (persona v)?> then\n        set [emeny health v] to [3]\n        broadcast (Player to x -200 y 0 v)\n        set x to (168)\n    end\nend\nhide\nstop [this script v]\n\nwhen flag clicked\nwait until <(Lev) = [13]>\nrepeat until <(Lev) = [14]>\n    move (-5) steps\nend\nstop [this script v]\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        go to x: (168) y: (-89)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Lev) = [14]> then\n        hide variable [emeny health v]\n        hide\n    end\nend\n\n@Missile2\n\nwhen flag clicked\nhide\nwait until <(Lev) = [20]>\nwait until <(ball) = [hide]>\nrepeat until <(Lev) = [43]>\n    if <key (c v) pressed?> then\n        create clone of (_myself_ v)\n        wait (7.5) seconds\n    end\nend\n\nwait until <(ball) = [show]>\n\nwhen I start as a clone\nshow\nif <(Lev) > [40]> then\n    switch costume to (costume2 v)\nelse\n    switch costume to (costume1 v)\nend\npoint in direction (0)\ngo to (persona v)\nglide (0.3) secs to x: (x position) y: ((y position) + (25))\nrepeat (20)\n    turn right (4.5) degrees\n    move (4) steps\nend\nif <<(Lev) = [22]> and <([costume # v] of [emeny2 v]) = [1]>> then\n    point towards (emeny2 v)\n    repeat until <<touching (emeny2 v)?> or <touching (_edge_ v)?>>\n        move (6) steps\n    end\n    broadcast (emeny ded v) and wait\n    delete this clone\nelse\n    if <<(Lev) = [39]> and <not <(Boss HP) < [1]>>> then\n        point towards (boss4 v)\n        repeat until <<touching (boss4 v)?> or <touching (_edge_ v)?>>\n            move (6) steps\n        end\n        if <[10] < (Boss HP)> then\n            change [boss hp v] by (-10)\n        else\n            set [boss hp v] to [0]\n        end\n        delete this clone\n    else\n        repeat until <touching (_edge_ v)?>\n            move (3.5) steps\n        end\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    show\nend\n\n@emeny2\n\nwhen flag clicked\npoint in direction (90)\nset [emeny2 ded v] to [alive]\nswitch costume to (costume1 v)\nhide\nwait until <(Lev) = [22]>\ngo to x: (168) y: (-89)\nshow\nrepeat until <(Lev) = [23]>\n    if <touching (persona v)?> then\n        broadcast (Player to x -200 y 0 v)\n    end\nend\nhide\nstop [this script v]\n\nwhen I receive [emeny ded v]\nif <(Lev) = [22]> then\n    set [emeny2 ded v] to [ded]\n    hide\n    switch costume to (costume2 v)\nend\n\nwhen flag clicked\nwait until <(Lev) = [22]>\nwait (3) seconds\nrepeat until <(Lev) = [23]>\n    if <(emeny2 ded) = [alive]> then\n        create clone of (_myself_ v)\n        wait (3) seconds\n    end\nend\nhide\nstop [this script v]\n\nwhen I start as a clone\nshow\nswitch costume to (costume2 v)\ngo to x: (168) y: (-89)\npoint in direction (-90)\nrepeat until <<<touching (persona v)?> or <touching (_edge_ v)?>> or <touching (shoioty bawl v)?>>\n    move (4) steps\nend\nif <touching (persona v)?> then\n    broadcast (Player to x -200 y 0 v)\n    delete this clone\nelse\n    delete this clone\nend\n\n@Water\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(Lev) = [28]> then\n        show\n        switch costume to (costume1 v)\n    else\n        if <(Lev) = [29]> then\n            show\n            switch costume to (costume2 v)\n        else\n            if <(Lev) = [30]> then\n                show\n                switch costume to (costume3 v)\n            else\n                if <(Lev) = [32]> then\n                    show\n                    switch costume to (costume4 v)\n                else\n                    hide\n                    go to [back v] layer\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set y to ((([sin v] of (8*) ) * (10)) * (0.5))\nend\n\n@boss4\n\nwhen I start as a clone\nshow\nswitch costume to (spikelay v)\ngo to [back v] layer\ngo to x: (boss x position) y: ((boss y position) - (50))\nrepeat until <<(x position) < [-225]> or <[39] < (Lev)>>\n    if <[39] < (Lev)> then\n        delete this clone\n    else\n        point towards (persona v)\n        if <[125] > (x position)> then\n            move (4) steps\n        end\n        if <(x position) > [125]> then\n            move (25) steps\n        end\n    end\nend\ndelete this clone\n\nwhen flag clicked\nhide variable [boss hp v]\nhide\nwait until <(Lev) = [39]>\nshow variable [boss hp v]\ngo to x: (142) y: (49)\nshow\nswitch costume to (boass v)\npoint in direction (90)\nrepeat until <[39] < (Lev)>\n    if <(Lev) = [39]> then\n        create clone of (_myself_ v)\n        wait (0.75) seconds\n    else\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    set [boss x position v] to (x position)\n    set [boss y position v] to (y position)\nend\n\nwhen I start as a clone\nforever\n    if <touching (shoioty bawl v)?> then\n        wait (0) seconds\n        delete this clone\n    end\n    if <[39] < (Lev)> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nwait until <(Lev) = [39]>\nset [boss hp v] to [50]\nforever\n    if <touching (persona v)?> then\n        broadcast (Player to x -200 y 0 v) and wait\n        if <(Lev) = [39]> then\n            change [boss hp v] by (1)\n            if <[50] < (Boss HP)> then\n                set [boss hp v] to [50]\n            end\n        end\n    end\n    if <(Lev) = [39]> then\n        switch costume to (boass v)\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [hit boss v]\nchange [boss hp v] by (-1)\n\nwhen flag clicked\nforever\n    if <touching (shoioty bawl v)?> then\n        change [boss hp v] by (-1)\n        set [ball ded v] to [ded]\n    end\nend\n\nwhen flag clicked\nwait until <(Lev) = [39]>\nforever\n    if <(Boss HP) < [1]> then\n        hide variable [boss hp v]\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Boss HP) < [1]> then\n        hide variable [boss hp v]\n        delete this clone\n    end\nend\n\nwhen I receive [player to x -200 y 0 v]\ngo to x: (142) y: (49)\n\nwhen flag clicked\nset [boss hp v] to [10]\nforever\n    if <(Boss HP) < [50]> then\n        if <(Lev) = [39]> then\n            wait (2.5) seconds\n            change [boss hp v] by (1)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (persona v)?> then\n        broadcast (Player to x -200 y 0 v)\n        delete this clone\n    end\nend\n\nwhen flag clicked\ndelete this clone\n\n@thoenail\n\nwhen flag clicked\nhide\n\nhide\ngo to [back v] layer\nshow variable [lev v]\n\nshow\ngo to [front v] layer\nhide variable [lev v]\nhide variable [boss hp v]\n\nhide\ngo to [back v] layer\nshow variable [lev v]\nshow variable [boss hp v]\n\n@emd skreen\n\nwhen flag clicked\nhide\nwait (0) seconds\nhide\nrepeat until <(Lev) > [41]>\n    hide\nend\nshow\n\nshow\n\n@LoFavLow\n\nwhen flag clicked\npoint in direction (90)\nshow variable [lev v]\nhide\nwait (0) seconds\nhide\nrepeat until <(Lev) > [41]>\n    hide\nend\nshow\npoint in direction (90)\nhide variable [lev v]\nforever\n    point in direction ((([sin v] of ((8*) * (1.5)) ) * (10)) + (90))\nend\n\n@counter - levels\n\nwhen flag clicked\nset [-idclone v] to [0]\nhide\n\nwhen I start as a clone\nset size to (50) %\ngo to [front v] layer\nshow\nclear graphic effects\nset [brightness v] effect to (-100)\nset y to (-157)\npoint in direction (90)\n\ndefine gen clones\nrepeat (10)\n    change [-idclone v] by (1)\n    create clone of (_myself_ v)\nend\nset [-idclone v] to [man]\n\nwhen I start as a clone\n\nwhen I receive [tick v]\nif <not <(-idClone) = [man]>> then\n    if <((length of (Lev)) + (1)) > (-idClone)> then\n        show\n        switch costume to (letter (-idClone) of (Lev))\n        set x to ((-240) + ((-idClone) * (20)))\n        set y to ((160) + ([sin v] of ((timer) * (1000)) ))\n        point in direction ((90) + (([sin v] of ((timer) * (200)) ) * (9)))\n        set [brightness v] effect to (-100)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngen clones\nforever\n    broadcast (Tick v)\nend\n\nwhen flag clicked\nforever\n    hide variable [lev v]\nend\n\n
DOUBLE CLICK GREEN FLAG!!!!!!!!!!\nPart 1: https://scratch.mit.edu/projects/400364304/\nPart 3: https://scratch.mit.edu/projects/551205351/\n➠ Arrow keys or WASD to move\n➠ N to skip\n➠ Space for light\n➠ F to shoot\n➠ C for missile ➠ Unlocked at lvl 20\nPlease report any bugs or improvements in the comments. Thanks!\nHave fun!\n\nif it lags use turbowarp: https://turbowarp.org/551098381\n\nI'm #80 on trending! WHAT! - July 26, 2021