A Platformer

Instructions: Use arrow keys to move\nPass all levels you are a LEGEND (not really there really easy levels)\n (c:

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [home v]\nswitch backdrop to (backdrop1 v)\nhide variable [regular time v]\nhide variable [opposite time v]\nhide variable [turned arrow key time v]\n\nwhen I receive [highscore v]\nswitch backdrop to (backdrop18 v)\n\nset [username v] to [0]\n\nwhen I receive [new regular platformer v]\nstop all sounds\n\nwhen I receive [pick level v]\nrepeat (11)\n\nplay sound [Mushroom Theme.mp3 v] until done\nset volume to (500) %\n\n@images\n\nwhen this sprite clicked\nbroadcast (pick level v)\n\nwhen I receive [pick level v]\nhide\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset size to (70) %\n\nwhen I receive [highscore v]\nhide\n\nwhen I receive [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (10)\n        wait (1) seconds\n        set size to (70) %\n    end\nend\n\nwhen I receive [lolololololol v]\nhide\n\nwhen I receive [new regular platformer v]\nrepeat (4)\n    hide\nend\n\n@download (2)\n\nwhen flag clicked\nshow\nset size to (25) %\ngo to x: (189) y: (-135)\n\nwhen I receive [pick level v]\nhide\n\nwhen I receive [highscore v]\nhide\n\nwhen I receive [home v]\nshow\n\nwhen I receive [new regular platformer v]\nrepeat (10)\n    switch backdrop to (backdrop10 v)\nend\n\n@images2\n\nwhen flag clicked\nshow\nset size to (60) %\ngo to x: (-156) y: (0)\ngo to [front v] layer\nhide variable [☁ high score for opposite platformer v]\nhide variable [☁ highscore for turned arrow keys platformer v]\nhide variable [☁ highscore for regular platformer v]\n\nwhen this sprite clicked\nbroadcast (highscore v)\nhide\nshow variable [☁ highscore for turned arrow keys platformer v]\nshow variable [☁ high score for opposite platformer v]\nshow variable [☁ highscore for regular platformer v]\n\nwhen I receive [pick level v]\nhide\n\nwhen I receive [home v]\nshow\n\nwhen flag clicked\nif <(round (days since 2000)) > (☁ DaysSince2000)> then\n    set [☁ dayssince2000 v] to (round (days since 2000))\n    set [☁ highscore for regular platformer v] to [1000]\n    set [☁ high score for opposite platformer v] to [1000]\n    set [☁ highscore for turned arrow keys platformer v] to [1000]\nend\n\nwhen I receive [home v]\nhide variable [☁ highscore for regular platformer v]\nhide variable [☁ high score for opposite platformer v]\nhide variable [☁ highscore for turned arrow keys platformer v]\n\n@Sprite1\n\nwhen I receive [pick level v]\nshow\ngo to x: (-10) y: (-14)\nset [tp of game v] to [0]\nswitch costume to (costume1 v)\nwait (0.3) seconds\nchange [tp of game v] by (1)\n\nwhen I receive [regular plat. v]\nrepeat (100)\n    wait (0.01) seconds\n    delete this clone\nend\n\nwhen flag clicked\nhide variable [tp of game v]\nswitch backdrop to (backdrop1 v)\nhide\nset [tp of game v] to [0]\n\nwhen this sprite clicked\nif <(tp of game) = [1]> then\n    repeat until <(Regular Time) = [1]>\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set [regular time v] to [0]\n            set [end regular time v] to [0]\n            switch backdrop to (backdrop2 v)\n            broadcast (regular plat. v)\n        end\n    end\nend\nif <(tp of game) = [2]> then\n    repeat until <(opposite time) = [1]>\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set [opposite time v] to [0]\n            set [opposite end time v] to [0]\n            switch backdrop to (backdrop10 v)\n            broadcast (opposite plat. v)\n        end\n    end\nend\nif <(tp of game) = [3]> then\n    repeat until <(Turned arrow key time) = [1]>\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set [end turned time v] to [0]\n            set [turned arrow key time v] to [0]\n            switch backdrop to (backdrop2 v)\n            broadcast (turned arrow plat. v)\n        end\n    end\nend\nhide\n\nwhen flag clicked\nforever\n    hide variable [regular time v]\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (50)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [regular plat. v]\nforever\n    if <touching color (#ff0000)?> then\n        change [deaths v] by (1)\n        start sound [roblox-death-sound-effect.mp3 v]\n        go to x: (-176) y: (-67)\n    end\n    if <touching color (#9a0000)?> then\n        change [deaths v] by (1)\n        start sound [roblox-death-sound-effect.mp3 v]\n        go to x: (-176) y: (-67)\n    end\nend\n\nwhen I receive [regular plat. v]\nset [tp of game v] to [0]\nset [regular time v] to [0]\nshow variable [regular time v]\ngo to x: (-176) y: (-67)\nshow\nswitch costume to (costume3 v)\nset size to (50) %\nset size to (100) %\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume4 v)\n        change [xv v] by (-0.5)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume3 v)\n        change [xv v] by (0.5)\n    end\n    change x by (Xv)\n    set [xv v] to ((Xv) * (0.9))\n    if <touching color (#7f7f7f)?> then\n        change y by (0.5)\n        if <touching color (#7f7f7f)?> then\n            change y by (0.5)\n            if <touching color (#7f7f7f)?> then\n                change y by (0.5)\n                if <touching color (#7f7f7f)?> then\n                    change y by (0.5)\n                    if <touching color (#7f7f7f)?> then\n                        change y by (0.5)\n                        if <touching color (#7f7f7f)?> then\n                            change y by (0.5)\n                            if <touching color (#7f7f7f)?> then\n                                change y by (0.5)\n                                if <touching color (#7f7f7f)?> then\n                                    change y by (0.5)\n                                    if <touching color (#7f7f7f)?> then\n                                        if <key (up arrow v) pressed?> then\n                                            start sound [Mario Jump v]\n                                            if <(Xv) > [0]> then\n                                                start sound [Mario Jump v]\n                                                set [xv v] to [-7]\n                                            else\n                                                start sound [Mario Jump v]\n                                                set [xv v] to [7]\n                                            end\n                                            set [yv v] to [10]\n                                        else\n                                            start sound [Mario Jump v]\n                                            set [xv v] to ((Xv) * (-1.3))\n                                            change x by (Xv)\n                                            set [xv v] to [0]\n                                            change x by ((Xv) / (5))\n                                        end\n                                        change y by (-4)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-0.5)\n    change y by (Yv)\n    if <touching color (#7f7f7f)?> then\n        set [yv v] to ((Yv) * (-0.25))\n        change y by (Yv)\n        if <touching color (#7f7f7f)?> then\n            change y by (Yv)\n            if <touching color (#7f7f7f)?> then\n                change y by (Yv)\n                if <touching color (#7f7f7f)?> then\n                    change y by (Yv)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching color (#7f7f7f)?> and <key (up arrow v) pressed?>> then\n        set [yv v] to [7]\n    end\n    change y by (1)\n    if <(x position) > [235]> then\n        go to x: (-176) y: (-67)\n        switch backdrop to (next backdrop v)\n    end\n    if <(backdrop [name v]) = [backdrop9]> then\n        wait (3) seconds\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nhide variable [regular time v]\nhide variable [tp of game v]\nhide variable [end regular time v]\nhide variable [opposite time v]\nhide variable [opposite end time v]\nhide variable [deaths v]\nhide variable [turned arrow key time v]\nhide variable [end turned time v]\nhide variable [☁ highscore for regular platformer v]\nset [xv v] to [0]\nset [deaths v] to [0]\n\nwhen I receive [new regular platformer v]\nforever\n    if <touching color (#001966)?> then\n        change [deaths v] by (1)\n        play sound [laser2 v] until done\n        go to x: (-208) y: (-17)\n    end\nend\n\nwhen I receive [regular plat. v]\nrepeat until <(backdrop [name v]) = [backdrop9]>\n    wait (1) seconds\n    change [regular time v] by (1e-7)\nend\nwait (2) seconds\nset [end regular time v] to (Regular Time)\nbroadcast (finish for regular plat. v)\nhide variable [regular time v]\n\nwhen I receive [turned arrow plat. v]\nrepeat until <(backdrop [name v]) = [backdrop9]>\n    wait (1) seconds\n    change [turned arrow key time v] by (1)\nend\nwait (2) seconds\nset [end turned time v] to (Turned arrow key time)\nbroadcast (finish for turned arrow keys v)\nhide variable [regular time v]\n\nwhen I receive [turned arrow plat. v]\nforever\n    if <touching color (#ff0000)?> then\n        change [deaths v] by (1)\n        play sound [roblox-death-sound-effect.mp3 v] until done\n        go to x: (-176) y: (-67)\n    end\n    if <touching color (#d50000)?> then\n        change [deaths v] by (1)\n        play sound [roblox-death-sound-effect.mp3 v] until done\n        go to x: (-176) y: (-67)\n    end\nend\n\nwhen I receive [finish for regular plat. v]\nif <(end regular time) < (☁ Highscore for regular platformer)> then\n    set [☁ highscore for regular platformer v] to (end regular time)\nend\n\nwhen I receive [finish for opposite plat.l v]\nif <(opposite end time) < (☁ High score for opposite platformer)> then\n    set [☁ high score for opposite platformer v] to (opposite end time)\nend\n\nwhen I receive [finish for turned arrow keys v]\nif <(end turned time) < (☁ Highscore for turned arrow keys platformer)> then\n    set [☁ highscore for turned arrow keys platformer v] to (end turned time)\nend\n\nwhen I receive [home v]\nhide\n\nwhen I receive [opposite plat. v]\nrepeat until <(backdrop [name v]) = [backdrop17]>\n    wait (1) seconds\n    change [opposite time v] by (1)\nend\nwait (2) seconds\nset [opposite end time v] to (opposite time)\nbroadcast (finish for opposite plat.l v)\n\nwhen I receive [new regular platformer v]\nwait (1) seconds\nswitch backdrop to (backdrop10 v)\nset [tp of game v] to [0]\nset [regular time v] to [0]\nshow variable [regular time v]\ngo to x: (-209) y: (-18)\nshow\nswitch costume to (costume1 v)\nset size to (50) %\nset size to (100) %\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume4 v)\n        change [xv v] by (-0.5)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume3 v)\n        change [xv v] by (0.5)\n    end\n    change x by (Xv)\n    set [xv v] to ((Xv) * (0.9))\n    if <touching color (#00ff55)?> then\n        change y by (0.5)\n        if <touching color (#00ff55)?> then\n            change y by (0.5)\n            if <touching color (#00ff55)?> then\n                change y by (0.5)\n                if <touching color (#00ff55)?> then\n                    change y by (0.5)\n                    if <touching color (#00ff55)?> then\n                        change y by (0.5)\n                        if <touching color (#00ff55)?> then\n                            change y by (0.5)\n                            if <touching color (#00ff55)?> then\n                                change y by (0.5)\n                                if <touching color (#00ee4f)?> then\n                                    change y by (0.5)\n                                    if <touching color (#08ee54)?> then\n                                        if <key (up arrow v) pressed?> then\n                                            set volume to (50) %\n                                            start sound [Mario Jump v]\n                                            if <(Xv) > [0]> then\n                                                start sound [Mario Jump v]\n                                                set [xv v] to [-7]\n                                            else\n                                                start sound [Mario Jump v]\n                                                set [xv v] to [7]\n                                            end\n                                            set [yv v] to [10]\n                                        else\n                                            start sound [Mario Jump v]\n                                            set [xv v] to ((Xv) * (-1.3))\n                                            change x by (Xv)\n                                            set [xv v] to [0]\n                                            change x by ((Xv) / (5))\n                                        end\n                                        change y by (-4)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-0.5)\n    change y by (Yv)\n    if <touching color (#00ff55)?> then\n        set [yv v] to ((Yv) * (-0.25))\n        change y by (Yv)\n        if <touching color (#00ff55)?> then\n            change y by (Yv)\n            if <touching color (#00ff55)?> then\n                change y by (Yv)\n                if <touching color (#00ff55)?> then\n                    change y by (Yv)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching color (#00ff55)?> and <key (up arrow v) pressed?>> then\n        set [yv v] to [7]\n    end\n    change y by (1)\n    if <(x position) > [235]> then\n        go to x: (-176) y: (-67)\n        switch backdrop to (next backdrop v)\n    end\n    if <(backdrop [name v]) = [backdrop9]> then\n        wait (3) seconds\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#6600cc)?> then\n        broadcast (new regular platformer v)\n    end\n    if <touching color (#002699)?> then\n        broadcast (new regular platformer v)\n    end\n    if <touching color (#990072)?> then\n        broadcast (new regular platformer v)\n    end\n    if <touching color (#7f00ff)?> then\n        broadcast (new regular platformer v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00bf)?> then\n        broadcast (lava v)\n    end\n    if <touching color (#ccffff)?> then\n        broadcast (lava stuff v)\n    end\n    if <touching color (#666600)?> then\n        broadcast (wooooooooo victory v)\n    end\n    if <touching (sprite11 v)?> then\n        broadcast (broadcast boss battle v)\n    end\n    if <touching color (#6723ff)?> then\n        broadcast (hmmmmmmm... v)\n    end\n    if <touching (sprite8 v)?> then\n        go to x: (196) y: (-77)\n    end\n    if <touching color (#002697)?> then\n        broadcast (too much broadcasts v)\n    end\n    if <touching color (#ff4949)?> then\n        broadcast (squidward v)\n    end\nend\n\n@Sprite3\n\nwhen I receive [finish for opposite plat.l v]\nbroadcast (home v)\n\nwhen I receive [finish for regular plat. v]\nbroadcast (home v)\n\nwhen I receive [finish for turned arrow keys v]\nbroadcast (home v)\n\nwhen flag clicked\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        switch backdrop to (backdrop1 v)\n        broadcast (home v)\n    end\nend\n\nwhen flag clicked\nset [regular time v] to [0]\nset [end regular time v] to [0]\nset [opposite time v] to [0]\nset [opposite end time v] to [0]\nset [turned arrow key time v] to [0]\nset [end turned time v] to [0]\ngo to x: (300) y: (-280)\nhide\n\nwhen flag clicked\n\nwhen I receive [home v]\ngo to x: (296) y: (-236)\nhide\n\nwhen I receive [highscore v]\nshow\ngo to x: (152) y: (-103)\nset size to (90) %\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (36) y: (-31)\nhide\n\nwhen I receive [lava v]\nswitch costume to (costume1 v)\nshow\nforever\n    switch costume to (costume2 v)\n    wait (0.2) seconds\n    switch costume to (costume3 v)\n    wait (0.2) seconds\n    switch costume to (costume4 v)\n    wait (0.2) seconds\n    switch costume to (costume5 v)\n    wait (0.2) seconds\n    switch costume to (costume6 v)\n    wait (0.2) seconds\n    switch costume to (costume7 v)\n    wait (0.2) seconds\n    switch costume to (costume8 v)\n    wait (0.2) seconds\n    switch costume to (costume9 v)\n    wait (0.2) seconds\n    switch costume to (costume10 v)\n    wait (0.2) seconds\n    switch costume to (costume11 v)\n    wait (0.2) seconds\n    switch costume to (costume12 v)\n    wait (0.2) seconds\n    switch costume to (costume1 v)\nend\n\nwhen I receive [wooooooooo victory v]\nhide\n\nwhen I receive [wooooooooo victory v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [lava v]\nhide\n\nwhen I receive [lava stuff v]\nshow\n\nwhen I receive [wooooooooo victory v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen I receive [lava v]\nshow\n\nwhen I receive [wooooooooo victory v]\nhide\n\n@Sprite7\n\nwhen flag clicked\nhide\ngo to x: (73) y: (-6)\n\nwhen I receive [broadcast boss battle v]\nswitch costume to (costume1 v)\nshow\nforever\n    wait (0.2) seconds\n    next costume\n    change [costume v] by (1)\n    if <(COSTUME) = [34]> then\n        wait (0.2) seconds\n        switch costume to (costume11 v)\n        wait (0.2) seconds\n        switch costume to (costume12 v)\n        wait (0.2) seconds\n        switch costume to (costume13 v)\n        wait (0.2) seconds\n        switch costume to (costume14 v)\n        wait (0.2) seconds\n        switch costume to (costume15 v)\n        wait (0.2) seconds\n        switch costume to (costume16 v)\n        wait (0.2) seconds\n        switch costume to (costume17 v)\n        wait (0.2) seconds\n        switch costume to (costume18 v)\n        wait (0.2) seconds\n        switch costume to (costume19 v)\n    end\n    if <touching (sprite9 v)?> then\n        broadcast (OOOOOOF! v)\n    end\nend\n\nwhen I receive [hmmmmmmm... v]\nhide\n\n@Sprite8\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [hmmmmmmm... v]\nshow\nforever\n    if <key (space v) pressed?> then\n        switch costume to (costume2 v)\n        wait (0.5) seconds\n        switch costume to (costume3 v)\n        wait (0.5) seconds\n        switch costume to (costume4 v)\n        wait (0.5) seconds\n        switch costume to (costume5 v)\n        wait (0.5) seconds\n        switch costume to (costume6 v)\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [woooooo actualy the victory! v]\nhide\n\n@Sprite9\n\nwhen flag clicked\npoint towards (sprite10 v)\nhide\nforever\n    go to (sprite8 v)\n    if <key (space v) pressed?> then\n        show\n        wait (2.5) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n        move (22) steps\n        wait (0) seconds\n    end\nend\n\nwhen I receive [woooooo actualy the victory! v]\nhide\n\n@Sprite10\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [hmmmmmmm... v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (sprite9 v)?> then\n        switch costume to (costume2 v)\n        wait (0.2) seconds\n        switch costume to (costume3 v)\n        wait (0.2) seconds\n        switch costume to (costume4 v)\n        wait (0.2) seconds\n        switch costume to (costume5 v)\n        wait (0.2) seconds\n        switch costume to (costume6 v)\n        wait (0.2) seconds\n        switch costume to (costume7 v)\n        wait (0.2) seconds\n        switch costume to (costume8 v)\n        wait (0.2) seconds\n        broadcast (WOOOOOO ACTUALY THE VICTORY! v)\n    end\nend\n\n@Sprite11\n\nwhen I receive [broadcast boss battle v]\nhide\n\nwhen flag clicked\ngo to x: (-1) y: (1)\nhide\n\nwhen I receive [too much broadcasts v]\nshow\n\n@Sprite12\n\nwhen I receive [new regular platformer v]\nrepeat (10)\n\nplay sound [Europe - The Final Countdown.mp3 v] until done\n\nstop all sounds\n\n@Sprite13\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [squidward v]\nshow\nwait (1) seconds\nswitch costume to (costume2 v)\nwait (1) seconds\nswitch costume to (costume3 v)\nwait (0.8) seconds\nswitch costume to (costume4 v)\nwait (0.8) seconds\nswitch costume to (costume5 v)\nwait (0.8) seconds\nswitch costume to (costume6 v)\nwait (0.8) seconds\nswitch costume to (costume7 v)\nwait (0.8) seconds\nswitch costume to (costume8 v)\nwait (0.8) seconds\nswitch costume to (costume9 v)\nwait (0.8) seconds\nswitch costume to (costume10 v)\nwait (0.8) seconds\nswitch costume to (costume11 v)\nwait (0.8) seconds\nswitch costume to (costume12 v)\nwait (5) seconds\nswitch costume to (costume13 v)\nwait (0.8) seconds\nswitch costume to (costume14 v)\nwait (0.8) seconds\nswitch costume to (costume15 v)\nwait (0.8) seconds\nswitch costume to (costume16 v)\nwait (0.8) seconds\nswitch costume to (costume17 v)\nwait (0.8) seconds\nswitch costume to (costume18 v)\nwait (0.8) seconds\nswitch costume to (costume19 v)\nwait (0.8) seconds\nswitch costume to (costume20 v)\nwait (0.8) seconds\nswitch costume to (costume21 v)\nwait (0.8) seconds\nswitch costume to (costume22 v)\nwait (0.8) seconds\nswitch costume to (costume23 v)\nwait (0.8) seconds\nswitch costume to (costume24 v)\nwait (0.8) seconds\nswitch costume to (costume25 v)\n\n