The Avengers || A Platformer || Collaboration

Instructions: Hello Tony, Bruce, Steve, and Natasha...\nI, Nick Fury, would like to recruit you to be part of the Avengers. Loki has gained access to the unlimited power of an energy cube called the Tesseract as well as controlling and brainwashing some of our best agents and scientists. Along the way many people may be able to help you, but it is up to you to get it back. Your mission- Get the tesseract- defeat Loki, end of story. Don't fail me.

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen backdrop switches to [backdrop16 v]\nbroadcast (Hide v)\n\n@AvEnGeRrRrR\n\nwhen flag clicked\nset size to (40) %\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if  then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (.85))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17.4]\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    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> and <touching (ground v)?>> or <<mouse down?> and <<(mouse y) > (y position)> and <touching (ground v)?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [215]> then\n        go to x: (-57) y: (-136)\n        broadcast (NEXT LEVEL v)\n    end\n    if <touching (aliens v)?> then\n        go to x: (-201) y: (-122)\n    end\n    if <touching (loki v)?> then\n        go to x: (-201) y: (-122)\n    end\n    if <touching (spikes v)?> then\n        go to x: (-201) y: (-122)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (danger v)?> then\n        go to x: (-157) y: (-88)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-186) y: (-61)\n\nwhen flag clicked\nswitch costume to (normal right v)\nnext backdrop\n\nwhen flag clicked\nhide\nforever\n    if  then\n        change [x v] by (-1)\n    end\nend\n\nwhen flag clicked\ngo to x: (-184) y: (-90)\n\nwhen [space v] key pressed\nnext costume\n\nwhen I receive [hahah v]\nshow\n\nwhen flag clicked\nforever\n    play sound [TheAvengers v] until done\nend\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (ground v)\n\n@Aliens\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@SPIKES\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Loki\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@THUMBNAIL\n\nwhen flag clicked\nchange [ghost v] effect by (100)\nbroadcast (hahah v) and wait\n\n