Dubstep Platformer 2

Instructions:  - Move with arrow keys or WASD\n - Complete all levels\n - Enjoy

@Stage\n\nwhen flag clicked\nswitch backdrop to (start v)\nstart sound [rec1 v]\nplay sound [ToolBox3 v] until done\n\nrepeat until <mouse down?>\n\nwhen I receive [message1 v]\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nwait (0.1) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\n\nwhen I receive [start v]\nswitch backdrop to (level 1 v)\nstop all sounds\nforever\n    play sound [ToolBox v] until done\nend\n\n@Sprite1\n\nwhen I receive [message1 v]\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nwait (0.1) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\n\nwhen flag clicked\ngo to x: (35) y: (-220)\nchange y by (-25)\nset [ghost v] effect to (100)\n\n@Player1\n\nwhen flag clicked\nforever\n\nwhen I receive [start v]\npoint in direction (90)\nshow\ngo to x: (-210) y: (0)\nswitch costume to (2 v)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change y by (1)\n                            if <touching color (#000000)?> then\n                                change y by (-6)\n                                change x by ((x) * (-1))\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#000000)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000000)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if  then\n        broadcast (message1 v)\n        repeat (10)\n            change [brightness v] effect by (10)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-210) y: (0)\n        wait (0.1) seconds\n        repeat (10)\n            change [brightness v] effect by (-10)\n        end\n    end\n    if <touching (checkpoint v)?> then\n        broadcast (message1 v)\n        repeat (10)\n            change [brightness v] effect by (10)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        switch backdrop to (next backdrop v)\n        go to x: (-210) y: (0)\n        wait (0.1) seconds\n        repeat (10)\n            change [brightness v] effect by (-10)\n        end\n    end\nend\n\nwhen flag clicked\nhide\nplay sound [rec2 v] until done\n\n@Checkpoint\n\nwhen flag clicked\nforever\n    go to x: (221) y: (0)\n    set [ghost v] effect to (100)\nend\n\nwhen I receive [message1 v]\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nwait (0.1) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\nforever\n    go to x: (pick random (-240) to (240)) y: (-180)\n    show\n    create clone of (_myself_ v)\n    hide\nend\n\nwhen I start as a clone\nrepeat (50)\n    change y by (2)\n    change size by (-2)\nend\ndelete this clone\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\nforever\n    go to x: (pick random (-240) to (240)) y: (180)\n    show\n    create clone of (_myself_ v)\n    hide\nend\n\nwhen I start as a clone\nrepeat (50)\n    change y by (-2)\n    change size by (-2)\nend\ndelete this clone\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nshow\ngo to x: (-76) y: (5)\nset size to (125) %\ngo to x: (0) y: (0)\nset size to (100) %\n\nwhen I receive [start v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nbroadcast (start v)\nhide\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (2 v)\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n