Teen titans platformer

Instructions: use the arrow keys or W A S D to move enjoy and press space to change  

@Stage\n\nwhen I receive [message1 v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop2 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop6 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop7 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop3 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop4 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop5 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop8 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop9 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop10 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop12 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop13 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop14 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop15 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop16 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop11 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop17 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop18 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop19 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop20 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop21 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop22 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop23 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [costume6 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop1 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop1 v]\nbroadcast (blah blah v)\n\nwhen backdrop switches to [backdrop24 v]\nbroadcast (blah blah v)\n\n@Sprite2\n\nwhen flag clicked\nset [y velocity v] to [0]\ngo to x: (-209) y: (62)\nset [x velocity v] to [0]\nforever\n    if <touching color (#ff0000)?> then\n        set [y velocity v] to [0]\n        go to x: (-209) y: (62)\n        set [x velocity v] to [0]\n    end\n    if <key (d v) pressed?> then\n        change [x velocity v] by (1)\n    end\n    if <key (a v) pressed?> then\n        change [x velocity v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x velocity v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((X velocity) * (0.9))\n    change x by (X velocity)\n    if <touching color (#666666)?> then\n        change y by (1)\n        if <touching color (#666666)?> then\n            change y by (1)\n            if <touching color (#666666)?> then\n                change y by (1)\n                if <touching color (#666666)?> then\n                    change y by (1)\n                    if <touching color (#666666)?> then\n                        change y by (1)\n                        if <touching color (#666666)?> then\n                            change x by ((X velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <[] > []> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [choose v] to [10]\n                            end\n                            if <key (w v) pressed?> then\n                                if <[] > []> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [choose v] to [10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y velocity)\n    if <touching color (#666666)?> then\n        change y by ((Y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#666666)?> then\n        if <key (up arrow v) pressed?> then\n            set [y velocity v] to [15]\n        end\n    end\n    if <touching color (#666666)?> then\n        if <key (w v) pressed?> then\n            set [y velocity v] to [15]\n        end\n    end\n    if <key (space v) pressed?> then\n        wait (0.2) seconds\n        next costume\n    end\n    if <touching color (#00ffff)?> then\n        broadcast (message1 v)\n    end\n    change y by (1)\nend\n\nwhen I receive [blah blah v]\ngo to x: (-209) y: (62)\n\nchange y by (1)\nif <key (space v) pressed?> then\n    wait (0.2) seconds\n    next costume\nend\nif <touching color (#00ffff)?> then\n    broadcast (message1 v)\nend\n\n@Sprite1\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [costume6 v]\ngo to x: (127) y: (-81)\nshow\nrepeat until <(backdrop [name v]) = [backdrop4]>\n    point towards (sprite2 v)\nend\nhide\n\n@Sprite4\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen backdrop switches to [backdrop8 v]\nrepeat until <(backdrop [name v]) = [backdrop4]>\n    if <(pick random (1) to (10)) = [1]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\ngo to (sprite1 v)\nshow\npoint towards (sprite2 v)\nrepeat until <touching (_edge_ v)?>\n    move (10) steps\nend\n\nwhen backdrop switches to [backdrop4 v]\nhide\ndelete this clone\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (127) y: (-81)\nshow\nrepeat until <(backdrop [name v]) = [backdrop16]>\n    point towards (sprite2 v)\nend\nhide\n\nwhen backdrop switches to [backdrop16 v]\nhide\n\n@Sprite5\n\nwhen I start as a clone\ngo to (sprite3 v)\nshow\npoint towards (sprite2 v)\nrepeat until <touching (_edge_ v)?>\n    move (10) steps\nend\n\nwhen backdrop switches to [backdrop16 v]\nhide\ndelete this clone\n\nwhen backdrop switches to [backdrop11 v]\nrepeat until <(backdrop [name v]) = [backdrop12]>\n    if <(pick random (1) to (50)) = [1]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen backdrop switches to [backdrop12 v]\nrepeat until <(backdrop [name v]) = [backdrop13]>\n    if <(pick random (1) to (45)) = [1]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen backdrop switches to [backdrop13 v]\nrepeat until <(backdrop [name v]) = [backdrop14]>\n    if <(pick random (1) to (40)) = [1]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen backdrop switches to [backdrop14 v]\nrepeat until <(backdrop [name v]) = [backdrop15]>\n    if <(pick random (1) to (35)) = [1]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen backdrop switches to [backdrop15 v]\nrepeat until <(backdrop [name v]) = [backdrop16]>\n    if <(pick random (1) to (1)) = [1]> then\n        create clone of (_myself_ v)\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nhide\n\n@Sprite7\n\nwhen flag clicked\nhide\n\n@Sprite8\n\nwhen flag clicked\nhide\n\n@Sprite9\n\nwhen flag clicked\nhide\n\n@Sprite10\n\nwhen flag clicked\nhide\n\n@Sprite11\n\nwhen backdrop switches to [backdrop17 v]\nshow\ngo to x: (1) y: (-90)\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\n@Sprite12\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop18 v]\ngo to [front v] layer\nshow\ngo to x: (-148) y: (-34)\nrepeat until <touching color (#c07d1f)?>\n    if <touching (sprite2 v)?> then\n        forever\n            go to (sprite2 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [backdrop19 v]\nif <touching (sprite2 v)?> then\n    show\nelse\n    hide\nend\n\n@Sprite13\n\nwhen backdrop switches to [backdrop18 v]\ngo to [front v] layer\nshow\ngo to x: (-40) y: (-34)\nrepeat until <touching color (#c07d1f)?>\n    if <touching (sprite2 v)?> then\n        forever\n            go to (sprite2 v)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [backdrop19 v]\nif <touching (sprite2 v)?> then\n    show\nelse\n    hide\nend\n\n@Sprite14\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop18 v]\ngo to [front v] layer\nshow\ngo to x: (10) y: (-33)\nrepeat until <touching color (#c88330)?>\n    if <touching (sprite2 v)?> then\n        forever\n            go to (sprite2 v)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop19 v]\nif <touching (sprite2 v)?> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        hide\n    end\nend\n\n@Sprite15\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop18 v]\ngo to [front v] layer\nshow\ngo to x: (-92) y: (-34)\nrepeat until <touching color (#c07d1f)?>\n    if <touching (sprite2 v)?> then\n        forever\n            go to (sprite2 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [backdrop19 v]\nif <touching (sprite2 v)?> then\n    show\nelse\n    hide\nend\n\n@Sprite16\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop19 v]\nif <touching (sprite2 v)?> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [backdrop18 v]\ngo to [front v] layer\nshow\ngo to x: (66) y: (-34)\nrepeat until <touching color (#c07d1f)?>\n    if <touching (sprite2 v)?> then\n        forever\n            go to (sprite2 v)\n        end\n    end\nend\n\n@Sprite17\n\nwhen backdrop switches to [backdrop23 v]\nif <touching (sprite2 v)?> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop23 v]\ngo to [front v] layer\nshow\ngo to x: (-40) y: (-34)\nrepeat until <touching color (#c07d1f)?>\n    if <touching (sprite2 v)?> then\n        forever\n            go to (sprite2 v)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\n@Sprite18\n\nwhen backdrop switches to [backdrop24 v]\nhide\nstop [this script v]\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop8 v]\nset size to (120) %\ngo to x: (127) y: (-81)\nshow\nrepeat until <(backdrop [name v]) = [backdrop4]>\n    point towards (sprite2 v)\nend\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\nstop [this script v]\n\n@Sprite19\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen backdrop switches to [costume6 v]\nrepeat until <(backdrop [name v]) = [backdrop4]>\n    if <(pick random (1) to (10)) = [1]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\ngo to (sprite1 v)\nset size to (120) %\nshow\npoint towards (sprite2 v)\nrepeat until <touching (_edge_ v)?>\n    move (10) steps\nend\n\nwhen backdrop switches to [backdrop24 v]\nstop [this script v]\n\nwhen backdrop switches to [backdrop2 v]\nstop [this script v]\n\nwhen backdrop switches to [backdrop2 v]\nhide\ndelete this clone\n\nwhen backdrop switches to [backdrop24 v]\nhide\ndelete this clone\n\n