Mars - A platformer (MOBILE ONLY)

Instructions: Arrow Keys to move dont touch spikes Have Fun enjoy!\nFollow@JS_Coder  and @KiwigamerHD :D\nOMG 1k visits in 3 days\n2000k In eight days:0\n25 loves!!\n50 Favs!!!!!!!\n75 FAVS!!:D WOW\n\n

@Stage\n\nwhen I receive [play v]\nwait until <<(Mobile mode y/n) = [y]> or <(Mobile mode y/n) = [n]>>\nbroadcast (Play 2 v)\n\nwhen I receive [next v]\nchange [level v] by (1)\n\n@intro\n\nwhen flag clicked\nstart sound [Vicetone - United We Dance3 v]\nswitch costume to (j v)\nhide\nswitch backdrop to (backdrop1 v)\nset size to (75) %\nset size to (2) %\npoint in direction (90)\ngo to x: (0) y: (0)\nwait (2.3) seconds\nshow\nrepeat until <(size) > [85]>\n    change size by (10)\nend\nwait (1) seconds\nglide (1) secs to x: (-110) y: (0)\nchange [cloneid v] by (1)\ncreate clone of (_myself_ v)\nwait (5) seconds\nrepeat (22)\n    turn right (12) degrees\n    change x by (10)\nend\nbroadcast (Intro1 v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change volume by (-10)\nend\nstop [other scripts in sprite v]\nbroadcast (Animation finished v)\nswitch backdrop to (backdrop2 v)\n\nwhen I start as a clone\nif <(CloneID) = [1]> then\n    set size to (100) %\n    set [ghost v] effect to (100)\n    switch costume to (j2 v)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    repeat (6)\n        change y by (5)\n    end\n    wait (.7) seconds\n    change [cloneid v] by (1)\n    create clone of (_myself_ v)\nelse\n    switch costume to (j3 v)\n    go to x: (-110) y: (-55)\n    go to [back v] layer\n    glide (.7) secs to x: (115) y: (-55)\nend\n\nwhen flag clicked\nset [cloneid v] to [0]\nset volume to (100) %\ngo to [front v] layer\nclear graphic effects\nforever\n    repeat (5)\n        change size by (2.5)\n    end\n    repeat (5)\n        change size by (-2.5)\n    end\nend\n\nwhen I receive [intro1 v]\ndelete this clone\n\nwhen I receive [intro1 v]\nforever\n    turn right (12) degrees\n    change x by (10)\nend\n\n@Title\n\nwhen flag clicked\nwait (0.001) seconds\nswitch costume to (costume1 v)\ngo to x: (-110) y: (117)\nset [timer v] to [0]\nhide\n\nwhen I receive [animation finished v]\nrepeat (7)\n    create clone of (_myself_ v)\n    change [timer v] by (1)\n    change x by (35)\n    next costume\n    wait (.5) seconds\nend\ngo to x: (236) y: (-183)\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-5)\nend\nforever\n    set y to ((110) - (([sin v] of (((timer) - ((timer) * (3))) * (275)) ) * (7)))\nend\n\nwhen I receive [play v]\ndelete this clone\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [music v]\nhide\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [costumes v]\nhide\n\n@thx\n\nwhen I receive [outro v]\nshow\npoint in direction (90)\nset size to (100) %\nforever\n    go to [front v] layer\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set y to ((-70) + (([sin v] of ((timer) * (275)) ) * (7)))\n    set x to ((0) + (([sin v] of ((timer) * (275)) ) * (7)))\nend\n\nwhen flag clicked\nwait (0.001) seconds\nhide\n\n@Play button\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (1) y: (-56)\npoint in direction (90)\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\nhide\n\nwhen I receive [animation finished v]\nwait (4.5) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-5)\nend\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen this sprite clicked\nbroadcast (Play v)\n\n@Cloud\n\nwhen flag clicked\nset [random variable1 v] to [0]\nswitch costume to (costume1 v)\nset size to (250) %\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (50) y: (-144)\npoint in direction (90)\nhide\n\nwhen I receive [animation finished v]\nwait (4.5) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-5)\nend\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Cloud v)\n\nwhen I receive [back v]\nset size to (250) %\ngo to x: (50) y: (-144)\nset [random variable1 v] to [0]\nshow\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nset [random variable1 v] to [1]\nhide\ncreate clone of (_myself_ v)\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen I receive [music v]\nhide\n\nwhen I start as a clone\nshow\nswitch costume to (costume2 v)\ngo to x: (0) y: (-40)\nforever\n    set size to (190) %\n    point in direction (90)\nend\n\nwhen I receive [back v]\ndelete this clone\n\n@Back button\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (207) y: (146)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [costumes v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen I receive [instructions v]\nshow\n\nwhen I receive [cloud v]\nshow\n\nwhen this sprite clicked\nbroadcast (Back v)\n\n@Musics\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-100) y: (-56)\npoint in direction (90)\nset [music v] to []\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\nhide\n\nwhen I receive [animation finished v]\nwait (4.5) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-5)\nend\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen this sprite clicked\nbroadcast (Music v)\n\nwhen I receive [play 2 v]\nset [volume v] to [100]\nif <(MUSIC) = []> then\n    forever\n        play sound (pick random (1) to (13)) until done\n    end\nelse\n    if <(MUSIC) = [1]> then\n        forever\n            play sound [Marshmello - Alone \(Official Music Video\).mp3 v] until done\n        end\n    else\n        if <(MUSIC) = [2]> then\n            forever\n                play sound [TheFatRat - Windfall v] until done\n            end\n        else\n            if <(MUSIC) = [3]> then\n                forever\n                    play sound [the piano music v] until done\n                end\n            else\n                if <(MUSIC) = [4]> then\n                    forever\n                        play sound [Disfigure - Blank.mp3 v] until done\n                    end\n                else\n                    if <(MUSIC) = [5]> then\n                        forever\n                            play sound [Modulation - on the move v] until done\n                        end\n                    else\n                        if <(MUSIC) = [6]> then\n                            forever\n                                play sound [COMA NA DANÇA v] until done\n                            end\n                        else\n                            if <(MUSIC) = [7]> then\n                                forever\n                                    play sound [TheFatRat - Time Lapse v] until done\n                                end\n                            else\n                                if <(MUSIC) = [8]> then\n                                    forever\n                                        play sound [Vexento - We Are One v] until done\n                                    end\n                                else\n                                    if <(MUSIC) = [9]> then\n                                        forever\n                                            play sound [Revenge v] until done\n                                        end\n                                    else\n                                        if <(MUSIC) = [10]> then\n                                            forever\n                                                play sound [Vexento - Empty v] until done\n                                            end\n                                        else\n                                            if <(MUSIC) = [11]> then\n                                                forever\n                                                    play sound [Lights \[Dream Trance\] v] until done\n                                                end\n                                            else\n                                                if <(MUSIC) = [12]> then\n                                                    forever\n                                                        play sound [Vexento - Pegasus v] until done\n                                                    end\n                                                else\n                                                    if <(MUSIC) = [13]> then\n                                                        forever\n                                                            play sound [Never gonna give you up v] until done\n                                                        end\n                                                    else\n                                                        forever\n                                                            play sound [Avicii - Levels v] until done\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [unpased v]\nset volume to (Volume) %\n\nwhen I receive [paused v]\nset volume to (0) %\n\nwhen [m v] key pressed\nset volume to (0) %\nset [volume v] to [0]\n\nwhen [u v] key pressed\nset volume to (100) %\nset [volume v] to [100]\n\n@Marshmello - Alone\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-207) y: (87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [1]\nbroadcast (Back v)\n\n@TheFatRat - Windfall\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-107) y: (87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [2]\nbroadcast (Back v)\n\n@??\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-7) y: (87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [3]\nbroadcast (Back v)\n\n@Disfigure - Blank\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (93) y: (87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [4]\nbroadcast (Back v)\n\n@Modulation - On the move\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (193) y: (87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [5]\nbroadcast (Back v)\n\n@???\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-207) y: (0)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [6]\nbroadcast (Back v)\n\n@Instructions\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-58) y: (-144)\nset [random variable2 v] to [0]\nset size to (250) %\nswitch costume to (costume1 v)\nset [ghost v] effect to (0)\nset [pixelate v] effect to (100)\nhide\n\nwhen I receive [music v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen I receive [costumes v]\nhide\n\nwhen this sprite clicked\nbroadcast (Instructions v)\n\nwhen I receive [instructions v]\nset [random variable2 v] to [1]\nhide\ncreate clone of (_myself_ v)\n\nwhen I receive [back v]\nset size to (250) %\nset [random variable2 v] to [0]\nswitch costume to (costume1 v)\nshow\n\nwhen I start as a clone\nshow\nswitch costume to (costume3 v)\n\nwhen I receive [back v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    point in direction (90)\nend\n\nwhen I start as a clone\nforever\n    set size to (100) %\n    point in direction (90)\n    go to x: (-50) y: (0)\nend\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [animation finished v]\npoint in direction (90)\nwait (4.5) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-5)\nend\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\n@TheFatRat - Time Lapse\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-107) y: (0)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [7]\nbroadcast (Back v)\n\n@Vexento - We Are One\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-7) y: (0)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [8]\nbroadcast (Back v)\n\n@Revenge\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (93) y: (0)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [9]\nbroadcast (Back v)\n\n@Vexento - Empty\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (193) y: (0)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [10]\nbroadcast (Back v)\n\n@Lights [Dream Trance]\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-207) y: (-87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [11]\nbroadcast (Back v)\n\n@Vexento - Pegasus\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-107) y: (-87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [12]\nbroadcast (Back v)\n\n@Never gonna give you up\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-7) y: (-87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [13]\nbroadcast (Back v)\n\n@Avicii - Levels\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (93) y: (-87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to [14]\nbroadcast (Back v)\n\n@Random\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (193) y: (-87)\nhide\n\nwhen I receive [animation finished v]\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\nwhen I receive [music v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nset [music v] to []\nbroadcast (Back v)\n\n@Mobile mode y/n\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (0) y: (0)\nset [cloneid v] to [0]\nset [mobile mode y/n v] to []\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [play v]\nwait (.1) seconds\nshow\nrepeat (2)\n    change [cloneid v] by (1)\n    create clone of (_myself_ v)\nend\nset [mobile mode y/n v] to []\n\nwhen I start as a clone\nshow\nif <(CloneID) = [1]> then\n    switch costume to (costume2 v)\n    go to x: (50) y: (-65)\nelse\n    switch costume to (costume3 v)\n    go to x: (-50) y: (-65)\nend\n\nwhen I receive [play 2 v]\nhide\n\nwhen I receive [play 2 v]\ndelete this clone\n\nwhen I start as a clone\nif <(CloneID) = [1]> then\n    wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n    set [mobile mode y/n v] to [y]\nelse\n    wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n    set [mobile mode y/n v] to [n]\nend\n\nwhen I start as a clone\nforever\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (-10)\n    end\nend\n\n@Costume selection\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (109) y: (-56)\npoint in direction (90)\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\nhide\n\nwhen I receive [music v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen this sprite clicked\nbroadcast (Costumes v)\n\nwhen I receive [costumes v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [cloud v]\nhide\n\nwhen I receive [animation finished v]\npoint in direction (90)\nwait (4.5) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-5)\nend\nforever\n    point in direction ((90) + (([cos v] of (((timer) - (0)) * (100)) ) * (10)))\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        change [brightness v] effect by (10)\n    end\nend\n\n@Arrow2\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (62) y: (0)\nhide\n\nwhen I receive [costumes v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nif <(My variable 2) = [0]> then\n    broadcast (Change costume +1 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [costumes selection v]) = [7]> then\n        set [my variable 2 v] to [1]\n        set [ghost v] effect to (80)\n    else\n        set [my variable 2 v] to [0]\n        clear graphic effects\n    end\nend\n\n@Arrow\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-62) y: (0)\nhide\n\nwhen I receive [costumes v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen this sprite clicked\nif <(My variable) = [0]> then\n    broadcast (Change costume -1 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [costumes selection v]) = [1]> then\n        set [my variable v] to [1]\n        set [ghost v] effect to (80)\n    else\n        set [my variable v] to [0]\n        clear graphic effects\n    end\nend\n\nwhen I receive [play v]\nstop [other scripts in sprite v]\nhide\n\n@Costumes selection\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [back v]\nhide\n\nwhen I receive [costumes v]\nshow\n\nwhen I receive [change costume +1 v]\nnext costume\n\nwhen I receive [change costume -1 v]\nswitch costume to ((costume [number v]) - (1))\n\n@Player\n\nwhen flag clicked\nwait (0.001) seconds\nset [trans. v] to [0]\nhide\n\nwhen I receive [play 2 v]\nswitch costume to ([costume # v] of [costumes selection v])\nReset\nset [dead? v] to [0]\nclear graphic effects\nshow\nwait (.2) seconds\nforever\n    if <(Paused? y/n) = [n]> then\n        if <(Trans.) = [0]> then\n            if <(Dead?) = [0]> then\n                if <(Mobile mode y/n) = [n]> then\n                    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n                        change [x v] by (1)\n                    end\n                    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n                        change [x v] by (-5)\n                    end\n                    set [x v] to ((x) * (.9))\n                    change x by (x)\n                    if <touching (level v)?> then\n                        change y by (5)\n                        if <touching (level v)?> then\n                            change y by (5)\n                            if <touching (level v)?> then\n                                change y by (5)\n                                if <touching (level v)?> then\n                                    change y by (5)\n                                    if <touching (level v)?> then\n                                        change y by (5)\n                                        if <touching (level v)?> then\n                                            change x by ((x) * (-2))\n                                            change y by (-5)\n                                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                                if <(x) > [0]> then\n                                                    set [x v] to [-10]\n                                                else\n                                                    set [x v] to [30]\n                                                end\n                                                set [y v] to [30]\n                                            else\n                                                set [x v] to [0]\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                    change y by (y)\n                    if <touching (level v)?> then\n                        change y by ((y) * (-1))\n                        set [y v] to [0]\n                    end\n                    change y by (-2)\n                    if <touching (level v)?> then\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            change [y v] by (18.5)\n                        end\n                    end\n                    change y by (2)\n                else\n                    if <<mouse down?> and <(mouse x) > (x position)>> then\n                        change [x v] by (1)\n                    end\n                    if <<mouse down?> and <(mouse x) < (x position)>> then\n                        change [x v] by (-1)\n                    end\n                    set [x v] to ((x) * (.9))\n                    change x by (x)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (1)\n                                if <touching (level v)?> then\n                                    change y by (1)\n                                    if <touching (level v)?> then\n                                        change y by (1)\n                                        if <touching (level v)?> then\n                                            change x by ((x) * (-1))\n                                            change y by (-5)\n                                            if <<mouse down?> and <(mouse y) > (y position)>> then\n                                                if <(x) > [0]> then\n                                                    set [x v] to [-5]\n                                                else\n                                                    set [x v] to [5]\n                                                end\n                                                set [y v] to [10]\n                                            else\n                                                set [x v] to [0]\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                    change [y v] by (-2)\n                    change y by (y)\n                    if <touching (level v)?> then\n                        change y by ((y) * (-1))\n                        set [y v] to [0]\n                    end\n                    change y by (-2)\n                    if <touching (level v)?> then\n                        if <<mouse down?> and <(mouse y) > (y position)>> then\n                            change [y v] by (15)\n                        end\n                    end\n                    change y by (2)\n                end\n            end\n        end\n    end\nend\n\ndefine Reset\ngo to x: (-205) y: (-90)\nset [y v] to [0]\nset [x v] to [0]\n\nwhen I receive [play 2 v]\nforever\n    if <<touching (spikes v)?> or <(y position) < [-170]>> then\n        "Animation"1\n        Reset\n        "Animation"2\n    end\n    if <<(x position) > [225]> and <not <(Level) = [11]>>> then\n        broadcast (Trans. v) and wait\n    end\nend\n\ndefine "Animation"1\nset [dead? v] to [1]\nrepeat (25)\n    change [ghost v] effect by (4)\n    change [pixelate v] effect by (4)\nend\n\ndefine "Animation"2\nrepeat (25)\n    change [ghost v] effect by (-4)\n    change [pixelate v] effect by (-4)\nend\nset [dead? v] to [0]\n\nwhen I receive [next v]\nReset\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\n@Text engine\n\nwhen flag clicked\nwait (.001) seconds\nhide\n\nwhen I receive [cloud v]\nwait (.3) seconds\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    set size to (400) %\n    go to x: (((digits) * (40)) - (88)) y: (-45)\n    if <(length of (☁ Cloud)) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (☁ Cloud))\n    end\nend\n\nwhen I receive [back v]\nhide\ndelete this clone\n\n@Gui\n\nwhen flag clicked\nforever\n    go to (mouse-pointer v)\n    Sense\nend\n\ndefine Sense\nswitch costume to (sense v)\nshow\nset [ghost v] effect to (20)\ngo to [front v] layer\nif <touching (play button v)?> then\n    switch costume to (play game v)\nelse\n    if <touching (vexento - masked heroes v)?> then\n        switch costume to (modulation- on the move v)\n    else\n        if <touching (musics v)?> then\n            switch costume to (music v)\n        else\n            if <touching (modulation - on the move v)?> then\n                switch costume to (modulation- on the move v)\n            else\n                if <touching (vexento - empty v)?> then\n                    switch costume to (vexento - empty v)\n                else\n                    if <touching (lights \[dream trance\] v)?> then\n                        switch costume to (lights \[dream trance\] v)\n                    else\n                        if <touching (random v)?> then\n                            switch costume to (random v)\n                        else\n                            if <touching (back button v)?> then\n                                switch costume to (back v)\n                            else\n                                if <touching (marshmello - alone v)?> then\n                                    switch costume to (marshmello - alone v)\n                                else\n                                    if <touching (thefatrat - windfall v)?> then\n                                        switch costume to (thefatrat - windfall  v)\n                                    else\n                                        if <<touching (?? v)?> or <touching (??? v)?>> then\n                                            switch costume to (??? v)\n                                        else\n                                            if <touching (disfigure - blank v)?> then\n                                                switch costume to (disfigure - blank v)\n                                            else\n                                                if <touching (thefatrat - time lapse v)?> then\n                                                    switch costume to (thefatrat - time lapse v)\n                                                else\n                                                    if <touching (vexento - we are one v)?> then\n                                                        switch costume to (vexento - we are one v)\n                                                    else\n                                                        if <touching (revenge v)?> then\n                                                            switch costume to (revenge v)\n                                                        else\n                                                            if <touching (vexento - pegasus v)?> then\n                                                                switch costume to (vexento - pegasus v)\n                                                            else\n                                                                if <touching (never gonna give you up v)?> then\n                                                                    switch costume to (never gonna give you up v)\n                                                                else\n                                                                    if <touching (avicii - levels v)?> then\n                                                                        switch costume to (avicii - levels v)\n                                                                    else\n                                                                        if <<touching (cloud v)?> and <(Random variable1) = [0]>> then\n                                                                            switch costume to (highscore v)\n                                                                        else\n                                                                            if <<touching (instructions v)?> and <(Random variable2) = [0]>> then\n                                                                                switch costume to (instructions v)\n                                                                            else\n                                                                                if <touching (costume selection v)?> then\n                                                                                    switch costume to (costume selection v)\n                                                                                else\n                                                                                    if <(LOL variable) = [1]> then\n                                                                                        go to [front v] layer\n                                                                                        switch costume to (resume v)\n                                                                                    else\n                                                                                        if <<touching (pause/play button v)?> and <([costume # v] of [pause/play button v]) = [1]>> then\n                                                                                            switch costume to (pause v)\n                                                                                        else\n                                                                                            hide\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (99) layers\nend\n\n@detector\n\nwhen flag clicked\nhide\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (-100)\nset [timer v] to [0]\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(Timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nset [timer v] to [0]\nrepeat until <(Timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nset [timer v] to [0]\nforever\n    go to [front v] layer\n    change [timer v] by (.097)\nend\n\n@Level\n\nwhen flag clicked\nwait (0.001) seconds\nset [level v] to [1]\nhide\n\nwhen I receive [play 2 v]\nshow\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nwait (0.001) seconds\nhide\n\nwhen I receive [play 2 v]\nshow\ngo to [back v] layer\nclear graphic effects\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [paused v]\nset [brightness v] effect to (-50)\n\nwhen I receive [unpased v]\nset [brightness v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Shadow\n\nwhen flag clicked\nset [ghost v] effect to (50)\nset rotation style [left-right v]\npoint in direction (90)\nhide\n\nwhen I receive [play 2 v]\nshow\nforever\n    go to (player v)\n    go to [back v] layer\nend\n\nwhen I receive [play 2 v]\nforever\n    if <(Dead?) = [1]> then\n        broadcast (message1 v) and wait\n    end\nend\n\nwhen I receive [message1 v]\n"Animation"1\n"Animation"2\n\ndefine "Animation"2\nrepeat (25)\n    change [ghost v] effect by (-2)\n    change [pixelate v] effect by (-2)\nend\n\ndefine "Animation"1\nrepeat (25)\n    change [ghost v] effect by (2)\n    change [pixelate v] effect by (2)\nend\n\n@Trans.\n\nwhen flag clicked\nwait (0.002) seconds\ngo to x: (-310) y: (0)\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [trans. v]\nset [trans. v] to [1]\nshow\nswitch costume to (costume2 v)\nclear graphic effects\nset x to (-310)\npoint in direction (90)\ncreate clone of (_myself_ v)\nrepeat until <(round (x position)) = [0]>\n    if <(Paused? y/n) = [n]> then\n        change x by ((x position) * ((.2) * (-1)))\n    else\n        wait until <(Paused? y/n) = [n]>\n    end\nend\nbroadcast (Next v)\n\nwhen I start as a clone\nswitch costume to (costume3 v)\nset x to (310)\nrepeat until <(round (x position)) = [0]>\n    if <(Paused? y/n) = [n]> then\n        change x by ((x position) * ((.2) * (-1)))\n    else\n        wait until <(Paused? y/n) = [n]>\n    end\nend\n\nwhen I receive [next v]\nswitch costume to (costume1 v)\nwait (1) seconds\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nset [trans. v] to [0]\n\nwhen I receive [next v]\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Pause/Play button\n\nwhen flag clicked\nforever\n    if <<(costume [number v]) = [1]> or <(costume [number v]) = [2]>> then\n        set [brightness v] effect to (0)\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] effect by (-10)\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.001) seconds\ngo to x: (-208) y: (-160)\nswitch costume to (costume1 v)\nset [lol variable v] to [0]\nset [cloneid v] to [0]\nset [paused? y/n v] to [n]\nset size to (175) %\nhide\n\nwhen I receive [play 2 v]\nshow\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    go to x: (0) y: (-65)\n    switch costume to (costume2 v)\n    set size to (350) %\n    go to [front v] layer\n    set [paused? y/n v] to [y]\n    broadcast (Paused v)\n    go to [front v] layer\n    repeat until <(Paused? y/n) = [n]>\n        if <touching (mouse-pointer v)?> then\n            set [lol variable v] to [1]\n        else\n            set [lol variable v] to [0]\n        end\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        set [lol variable v] to [0]\n        go to x: (-208) y: (-160)\n        switch costume to (costume1 v)\n        set size to (175) %\n        set [paused? y/n v] to [n]\n        clear graphic effects\n        broadcast (Unpased v)\n    end\nend\n\nwhen I start as a clone\nif <(ClOnEID) = [1]> then\n    set size to (100) %\n    go to x: (0) y: (0)\n    switch costume to (costume3 v)\n    set [ghost v] effect to (50)\n    go to [back v] layer\nelse\n    set size to (100) %\n    go to x: (0) y: (0)\n    switch costume to (costume4 v)\n    clear graphic effects\nend\n\nwhen I receive [unpased v]\ndelete this clone\n\nwhen I receive [paused v]\nset [cloneid v] to [0]\nrepeat (2)\n    change [cloneid v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(ClOnEID) = [2]> then\n    repeat until <(Paused? y/n) = [n]>\n        go to [front v] layer\n    end\nend\n\n@TB\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    show\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (18) y: (133)\nhide\nwait (20) seconds\nshow\n\nwhen this sprite clicked\nchange [level v] by (1)\n\n