Colorless A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nforever\n    if <(Level) = [13]> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    play sound [Imagine Dragons - Thunder v] until done\nend\n\nwhen flag clicked\nhide variable [time v]\nset [time v] to [0]\n\nwhen I receive [start v]\nforever\n    wait (1) seconds\n    change [time v] by (1)\n    if <(Level) = [13]> then\n        show variable [time v]\n        stop [this script v]\n    end\nend\n\nset [level v] to [10]\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nbroadcast (Restart v)\n\nwhen I receive [restart v]\ngo to x: (-219) y: (62)\n\nwhen flag clicked\nforever\n    if <(Level) = [13]> then\n        change [color v] effect by (10)\n        switch costume to (costume2 v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [color v] effect by (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nset [level v] to [10]\n\nwhen I receive [start v]\nshow\nbroadcast (Restart v)\nset [level v] to [1]\nshow\nswitch costume to (costume1 v)\nset [x vel v] to [0]\nforever\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (1)\n    end\n    set [x vel v] to ((x vel) * (0.9))\n    change x by (x vel)\n    if <<touching (level v)?> or <touching (sprite1 v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (sprite1 v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (sprite1 v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (sprite1 v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (sprite1 v)?>> then\n        change y by (-4)\n        change x by ((x vel) * (-1))\n        if <key (up arrow v) pressed?> then\n            if <(x vel) > <<<touching (level v)?> or <touching (sprite1 v)?>> or <touching (sprite1 v)?>>> then\n                set [x vel v] to [-10]\n            else\n                set [x vel v] to [10]\n            end\n            set [y vel v] to [15]\n        else\n            set [x vel v] to [0]\n        end\n    end\n    change [y vel v] by (-1)\n    change y by (y vel)\n    if <<touching (level v)?> or <touching (sprite1 v)?>> then\n        change y by ((y vel) - ((y vel) * (2)))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <<<touching (level v)?> or <touching (sprite1 v)?>> and <key (up arrow v) pressed?>> then\n        set [y vel v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [238]> then\n        change [level v] by (1)\n        broadcast (Next Level v)\n    end\n    if <touching (spikes  v)?> then\n        broadcast (Restart v)\n    end\n    if <touching (bounce v)?> then\n        set [y vel v] to [19]\n    end\n    if <touching (lava v)?> then\n        broadcast (Restart v)\n    end\nend\n\n@Level\n\nwhen flag clicked\nhide\n\nset [level v] to [10]\n\nwhen I receive [start v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (Level)\nend\n\n@Spikes \n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (Level)\nend\n\nset [level v] to [0]\n\n@Bounce\n\nwhen I start as a clone\nforever\n    show\n    if <touching (player v)?> then\n        switch costume to (crouch v)\n    else\n        switch costume to (idle v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nif  then\n    delete this clone\nend\nif <(Level) = [4]> then\n    Clone at [-125] [105]\nend\nif <(Level) = [9]> then\n    Clone at [-122] [-58]\nend\n\ndefine Clone at (x pos) (y pos)\ngo to x: (x pos) y: (y pos)\ncreate clone of (_myself_ v)\n\n@Enemy moving\n\nwhen flag clicked\nhide\ngo to x: (237) y: (-3)\nforever\n    if <(Level) = [20]> then\n        show\n        switch costume to (costume1 v)\n        repeat (35)\n            change x by (-10)\n        end\n        switch costume to (costume2 v)\n        repeat (35)\n            change x by (10)\n        end\n    end\nend\n\nwhen I receive [next level v]\nif <(Level) = [20]> then\n    show\nelse\n    hide\nend\n\n@Boss\n\ndefine Restart\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (165) y: (39)\n\ndefine Phisyics\nif <(x position) < ([x position v] of [player v])> then\n    switch costume to (costume2 v)\n    change [x v] by (2)\nend\nif <([x position v] of [player v]) < (x position)> then\n    switch costume to (costume1 v)\n    change [x v] by (-2)\nend\nchange x by (x)\nif <touching (level v)?> then\n    change x by ((x) * (-1))\n    if <((y position) - (25)) < ([y position v] of [player v])> then\n        if <(x) > [0]> then\n            set [x v] to [-10]\n            set [y v] to [10]\n        else\n            set [x v] to [10]\n            set [y v] to [10]\n        end\n    else\n        set [x v] to [0]\n    end\nelse\n    set [x v] to ((x) * (0.8))\nend\nchange y by (y)\nif <touching (level v)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\n    if <key (up arrow v) pressed?> then\n        if <(Jumping?) = [y]> then\n            set [y v] to [12]\n            set [jumping? v] to [n]\n        end\n    end\nelse\n    change [y v] by (-1)\n    set [jumping? v] to [y]\nend\n\nwhen flag clicked\ngo to x: (215) y: (40)\nRestart\nset [level v] to [1]\nforever\n    if <(Boss Health) = [0]> then\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [restart danger! v]\nRestart\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    if <(Level) = [12]> then\n        Phisyics\n        show\n        show\n        if <touching color (#989898)?> then\n            change [boss health v] by (-10)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset [boss health v] to [100]\nforever\n    if <touching (player v)?> then\n        broadcast (Restart v)\n    end\n    if <(Boss Health) = [0]> then\n        hide\n    end\nend\n\nwhen I receive [restart v]\ngo to x: (165) y: (39)\n\nwhen flag clicked\nset [boss health v] to [100]\nforever\n    if <(Boss Health) = [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nset [boss health v] to [100]\nforever\n    if <(Boss Health) = [0]> then\n        hide\n    end\nend\n\n@HealthBar\n\nwhen I receive [restart v]\ngo to x: (215) y: (0)\n\nwhen flag clicked\nhide\nset [boss health v] to [100]\nforever\n    if <(Boss Health) = [100]> then\n        switch costume to (costume1 v)\n    end\n    if <(Boss Health) = [90]> then\n        switch costume to (costume2 v)\n    end\n    if <(Boss Health) = [70]> then\n        switch costume to (costume3 v)\n    end\n    if <(Boss Health) = [60]> then\n        switch costume to (costume4 v)\n    end\n    if <(Boss Health) = [50]> then\n        switch costume to (costume5 v)\n    end\n    if <(Boss Health) = [30]> then\n        switch costume to (costume6 v)\n    end\n    if <(Boss Health) = [20]> then\n        switch costume to (costume7 v)\n    end\n    if <(Boss Health) = [10]> then\n        switch costume to (costume7 v)\n    end\n    if <(Boss Health) = [5]> then\n        switch costume to (costume8 v)\n    end\n    if <(Boss Health) = [0]> then\n        switch costume to (costume9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (([x position v] of [boss v]) + (5)) y: (([y position v] of [boss v]) + (60))\n    if <(Level) = [12]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Boss Health) = [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Boss Health) = [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Boss Health) = [0]> then\n        hide\n    end\nend\n\n@Enemy\n\ndefine Restart\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (180) y: (90)\n\ndefine Phisyics\nif <(x position) < ([x position v] of [player v])> then\n    switch costume to (costume2 v)\n    change [x v] by (2)\nend\nif <([x position v] of [player v]) < (x position)> then\n    switch costume to (costume1 v)\n    change [x v] by (-2)\nend\nchange x by (x)\nif <touching (level v)?> then\n    change x by ((x) * (-1))\n    if <((y position) - (25)) < ([x position v] of [player v])> then\n        if <(x) > [0]> then\n            set [x v] to [-10]\n            set [y v] to [10]\n        else\n            set [x v] to [10]\n            set [y v] to [10]\n        end\n    else\n        set [x v] to [0]\n    end\nelse\n    set [x v] to ((x) * (0.8))\nend\nchange y by (y)\nif <touching (level v)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\n    if <key (up arrow v) pressed?> then\n        if <(Jumping?) = [y]> then\n            set [y v] to [12]\n            set [jumping? v] to [n]\n        end\n    end\nelse\n    change [y v] by (-1)\n    set [jumping? v] to [y]\nend\n\nwhen flag clicked\nRestart\nset [level v] to [1]\n\nwhen I receive [restart danger! v]\nRestart\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        go to [front v] layer\n        Phisyics\n        show\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nshow\nset size to (50) %\ngo to (danger! v)\nrepeat (20)\n    go to [back v] layer\n    change size by (-5)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        broadcast (Restart v)\n    end\nend\n\nwhen I receive [restart v]\ngo to x: (180) y: (90)\n\n@Player2\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nbroadcast (Restart v)\n\nwhen I receive [restart v]\ngo to x: (-219) y: (62)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(Level) = [13]> then\n        hide\n        delete this clone\n    end\nend\n\nwhen I receive [start v]\nshow\nbroadcast (Restart v)\nset [level v] to [1]\nshow\nswitch costume to (costume2 v)\nset [x vel v] to [0]\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [x vel v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume2 v)\n        change [x vel v] by (1)\n    end\n    set [x vel v] to ((x vel) * (0.9))\n    change x by (x vel)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x vel) * (-1))\n        if <key (up arrow v) pressed?> then\n            if <(x vel) > [0]> then\n                set [x vel v] to [-10]\n            else\n                set [x vel v] to [10]\n            end\n            set [y vel v] to [15]\n        else\n            set [x vel v] to [0]\n        end\n    end\n    change [y vel v] by (-1)\n    change y by (y vel)\n    if <touching (level v)?> then\n        change y by ((y vel) - ((y vel) * (2)))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level v)?> and <key (up arrow v) pressed?>> then\n        set [y vel v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v)\n    end\n    if <touching (spikes  v)?> then\n        broadcast (Restart v)\n    end\n    if <touching (bounce v)?> then\n        set [y vel v] to [19]\n    end\n    if <touching (lava v)?> then\n        broadcast (Restart v)\n    end\nend\n\n@Sword\n\nwhen I receive [sword v]\nforever\n    go to (player v)\n    if <key (right arrow v) pressed?> then\n        change x by (1)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change x by (-1)\n        set rotation style [left-right v]\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\ngo to x: (17) y: (-6)\nwait until <touching (player v)?>\nforever\n    go to [front v] layer\n    if <<(Level) = [11]> or <(Level) = [12]>> then\n        broadcast (Sword v)\n        if <key (space v) pressed?> then\n            switch costume to (1 v)\n            wait (0.001) seconds\n            switch costume to (2 v)\n            wait (0.001) seconds\n            switch costume to (3 v)\n            wait (0.001) seconds\n            switch costume to (4 v)\n            wait (0.001) seconds\n            switch costume to (5 v)\n            wait (0.001) seconds\n            switch costume to (6 v)\n            wait (0.001) seconds\n            switch costume to (7 v)\n            wait (0.001) seconds\n            switch costume to (8 v)\n            wait (0.05) seconds\n            switch costume to (1 v)\n        end\n    end\nend\n\nwhen I receive [next level v]\nif <<(Level) = [11]> or <(Level) = [12]>> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\ngo to x: (17) y: (-6)\n\nset [level v] to [10]\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nif <(Level) = [12]> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nforever\n    if <(Boss Health) = [0]> then\n        hide\n    end\nend\n\nset [level v] to [10]\n\n@Trees and Snowman\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (99999999999999999999999) layers\n    if <(Level) = [13]> then\n        go to [back v] layer\n        show\n    end\nend\n\n@Intro\n\ndefine Smooth Size: (size) speed: (speed)\nrepeat until <(round (size)) = (round (size))>\n    change size by (((size) - (size)) / (speed))\nend\nset size to (size) %\n\ndefine Glide (xpos) (ypos) (speed)\nset [rawangle v] to ([acos v] of ((X) / (Distance)) )\nset [v v] to (speed)\nrepeat until <<<((ypos) - (3)) < (y position)> and <(y position) < ((ypos) + (3))>> and <<((xpos) - (3)) < (x position)> and <(x position) < ((xpos) + (3))>>>\n    change x by (((xpos) - (x position)) * ((V) / (8)))\n    change y by (((ypos) - (y position)) * ((V) / (8)))\nend\nrepeat (4)\n    change x by (((xpos) - (x position)) * ((V) / (8)))\n    change y by (((ypos) - (y position)) * ((V) / (8)))\n    set [v v] to ((V) / (1.2))\nend\n\ndefine Gradient Shockwave\ngo to x: (0) y: (0)\nset [cloneid v] to [Shockwave]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Shockwave]> then\n    switch costume to (shockwave1 v)\n    repeat (9)\n        next costume\n    end\nend\n\ndefine Shockwave (x) (y)\ngo to x: (x) y: (y)\nset [cloneid v] to [Shock]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Shock]> then\n    switch costume to (shockwave1 v)\n    repeat (9)\n        next costume\n    end\n    delete this clone\nend\n\ndefine Square\ngo to x: (0) y: (0)\nset [cloneid v] to [BigSquare]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [BigSquare]> then\n    switch costume to (bigsquare1 v)\n    repeat (18)\n        next costume\n    end\nend\n\ndefine Square (Random Position)\ngo to (random position v)\nset [cloneid v] to [Square]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Square]> then\n    switch costume to (square 1 v)\n    repeat (50)\n        next costume\n    end\nend\n\nwhen I start as a clone\nshow\n\ndefine Shockwave (Random Position)\nset size to (100) %\ngo to (random position v)\nset [cloneid v] to [Shockwave]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Disquare]> then\n    set size to (100) %\n    switch costume to (circulator v)\n    Glide (0) (0) (1)\n    wait (1) seconds\n    Smooth Size: [1093] speed: [6]\nend\n\ndefine Circulator (#)\nset [color v] effect to (pick random (0) to (100))\nset [cloneid v] to [Disquare]\nrepeat (#)\n    create clone of (_myself_ v)\n    go to (random position v)\nend\n\ndefine Circles\ngo to x: (517) y: (0)\nset [cloneid v] to [CircleColor]\nchange [color v] effect by (pick random (0) to (100))\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [CircleColor]> then\n    set size to (100) %\n    switch costume to (circulator v)\n    Glide (0) (0) (1)\n    Smooth Size: [1093] speed: [6]\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow1]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (229) (0) (2)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow2]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (154) (0) (2)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow3]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (82) (0) (2)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow4]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (8) (0) (2)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow5]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (-67) (0) (2)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow6]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (-115) (0) (2)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow7]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (-191) (0) (2)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow8]> then\n    switch costume to (arrow v)\n    go to x: (-229) y: (0)\n    Glide (-265) (0) (2)\nend\n\nwhen flag clicked\nhide\nset size to (100) %\nstart sound [Foxsky - Kirby Smash v]\nset [cloneid v] to [Arrow1]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cloneid v] to [Arrow2]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cloneid v] to [Arrow3]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cloneid v] to [Arrow4]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cloneid v] to [Arrow5]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cloneid v] to [Arrow6]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cloneid v] to [Arrow7]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cloneid v] to [Arrow8]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [cloneid v] to [Logo]\ncreate clone of (_myself_ v)\nwait (2) seconds\nset [cloneid v] to [Text]\ncreate clone of (_myself_ v)\n\ndefine Arrows\nset size to (100) %\nset [cloneid v] to [Arow1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Arow2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Arow1]> then\n    set [ghost v] effect to (0)\n    switch costume to (arow1 v)\n    go to x: (-359) y: (0)\n    Glide (0) (0) (2)\n    wait (0.5) seconds\n    Glide (359) (0) (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arow2]> then\n    set [ghost v] effect to (0)\n    switch costume to (arow2 v)\n    go to x: (359) y: (0)\n    Glide (0) (0) (2)\n    wait (0.5) seconds\n    Glide (-359) (0) (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\ndefine Shockwave Size: (#)\ngo to x: (0) y: (0)\nset size to (#) %\nset [cloneid v] to [Shockwave]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Logo]> then\n    switch costume to (logo v)\n    go to x: (0) y: (0)\n    wait (0.5) seconds\n    Gradient Shockwave\n    Up Arrow\n    Drops [100]\n    wait (1) seconds\n    Flash\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [Flash]> then\n    go to x: (0) y: (0)\n    switch costume to (flash v)\n    show\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (0)\n    repeat (10)\n        change [ghost v] effect by (-10)\n        change [brightness v] effect by (10)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n        change [brightness v] effect by (-10)\n    end\nend\n\ndefine Up Arrow\nset [cloneid v] to [UpArrow]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [UpArrow]> then\n    switch costume to (up arrow v)\n    set [ghost v] effect to (50)\n    go to x: (0) y: (-299)\n    Glide (0) (299) (2)\nend\n\ndefine Lines\ngo to x: (0) y: (0)\nset [cloneid v] to [Lines]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Lines]> then\n    switch costume to (lines1 v)\n    repeat (9)\n        next costume\n    end\nend\n\ndefine Flash\nset [cloneid v] to [Flash]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Text]> then\n    switch costume to (text v)\n    go to x: (0) y: (0)\n    repeat (2)\n        Lines\n        wait (0.5) seconds\n        Arrows\n        wait (1) seconds\n        Gradient Shockwave\n        wait (1) seconds\n        Square\n    end\n    wait (1) seconds\n    Slide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [Slide]> then\n    switch costume to (slide v)\n    go to x: (604) y: (0)\n    Glide (0) (0) (1)\n    broadcast (start v)\nend\n\ndefine Slide\nset [cloneid v] to [Slide]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Text]> then\n    switch costume to (text v)\n    go to x: (0) y: (0)\n    repeat (2)\n        Lines\n        wait (0.5) seconds\n        Arrows\n        wait (1) seconds\n        Gradient Shockwave\n        wait (1) seconds\n        Square\n    end\nend\n\ndefine Drops (#)\nset [cloneid v] to [drops]\nrepeat (#)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(CloneID) = [drops]> then\n    switch costume to (particle v)\n    set [ghost v] effect to (0)\n    go to x: (0) y: (0)\n    set [brightness v] effect to (pick random (1) to (100))\n    set [y v] to (pick random (10) to (20))\n    set size to (pick random (1) to (100)) %\n    point in direction (pick random (-90) to (90))\n    repeat until <(y position) < [-170]>\n        change [y v] by (-1)\n        change y by (Y)\n        move (6) steps\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nDrops [50]\n\nwhen I receive [start v]\ndelete this clone\n\nwhen I receive [start v]\nforever\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [start v]\nforever\n    hide\nend\n\n@Text\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (0)\nforever\n    switch costume to (Level)\n    set [ghost v] effect to (0)\n    if <touching (player v)?> then\n        change [ghost v] effect by (25)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to [back v] layer\nshow\nwait (1) seconds\nhide\n\n@Thumbnail\n\nwhen flag clicked\nhide\nforever\n    go [forward v] (99999999999) layers\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\n@Sprite3\n\nwhen flag clicked\n\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [13]> then\n        go [forward v] (9) layers\n        go to [front v] layer\n        show\n    end\nend\n\n
                      100+ like and faves :DD\n\n\n\nHello Guys , HeroOfWar here .Hope you like it @JackPigPro . I really did very much hard work so pls like fave and follow me to appreciate my hardwork :) Pls tell what was your time in the comments . Pls tell if there are any glitches .\n\n\n\n\n\n\n\n\n\n\n                   ---------------    Story line ----------------\n\n\n  The enemy boss has taken your beautiful colors . You only are left . You should kill the boss and SAVE THE WORLD !!!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nPls Love , Fave and Follow me pls :D