-Climate Change- a Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [next level v]\nnext backdrop\n\n@ball\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        switch costume to (costume2 v)\n        change [x v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume1 v)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\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 <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17]\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)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [380]> then\n        start sound [Coin v]\n        go to x: (-217) y: (-20)\n        broadcast (NEXT LEVEL v)\n    end\n    if <touching color (#0053da)?> then\n        set [y v] to [19]\n        start sound [bounce v]\n    end\nend\n\nwhen flag clicked\nchange [deaths: v] by (1)\nforever\n    if <touching (water v)?> then\n        start sound [roblox death v]\n        repeat (5)\n            change [ghost v] effect by (25)\n            wait (.0009) seconds\n        end\n        set [ghost v] effect to (0)\n        go to x: (-100) y: (-20)\n    end\nend\n\nwhen flag clicked\nchange [deaths: v] by (1)\nforever\n    if <touching (oil v)?> then\n        start sound [roblox death v]\n        repeat (5)\n            change [ghost v] effect by (25)\n            wait (.0009) seconds\n        end\n        set [ghost v] effect to (0)\n        go to x: (-100) y: (-20)\n    end\nend\n\nwhen flag clicked\nchange [deaths: v] by (1)\nforever\n    if <touching (straws v)?> then\n        start sound [roblox death v]\n        repeat (6)\n            change [ghost v] effect by (25)\n            wait (.0009) seconds\n        end\n        set [ghost v] effect to (0)\n        go to x: (-100) y: (-20)\n    end\nend\n\nwhen flag clicked\nset [level v] to [0]\ngo to x: (-100) y: (-20)\n\nwhen I receive [next level v]\nchange [level v] by (1)\nset [deaths: v] to [0]\n\nwhen flag clicked\n\nwhen backdrop switches to [backdrop21 v]\nbroadcast (END v)\n\nwhen I receive [next level v]\nset [level v] to [end]\n\nwhen flag clicked\nforever\n    if <(coins) = [10]> then\nend\n\n@ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to x: (1) y: (-18)\nswitch costume to (costume1 v)\n\n@straws\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nnext costume\n\n@bouncy recycling can\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (-11) y: (-86)\n\nwhen I receive [next level v]\nnext costume\n\n@oil\n\nwhen flag clicked\nswitch costume to (costume2 v)\ngo to [back v] layer\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (50)\nforever\n    hide\n    go to x: (372) y: (28)\n    show\n    glide (4) secs to x: (-372) y: (28)\n    hide\n    next costume\nend\n\n@water\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume2 v)\nset [ghost v] effect to (20)\n\nwhen flag clicked\ngo to x: (0) y: (-163)\nforever\n    glide (.5) secs to x: (-4) y: (-194)\n    glide (.3) secs to x: (-5) y: (-209)\n    glide (.7) secs to x: (-5) y: (-130)\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    play sound [bensound-thejazzpiano v] until done\nend\n\nwhen this sprite clicked\nstop all sounds\n\nwhen flag clicked\nforever\n    set volume to (sound) %\nend\n\n@thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (0)\nrepeat (50)\n    wait (.000001) seconds\n    change [ghost v] effect by (3)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    play sound [/ - secret crates.mp3 v] until done\nend\n\n@coins\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\nset [coins v] to [0]\nforever\n    if <touching (ball v)?> then\n        change [coins v] by (1)\n        start sound [coin ding v]\n        hide\n    end\nend\n\nwhen I receive [next level v]\nnext costume\nshow\n\nwhen flag clicked\nforever\n    if <(Deaths:) = [1]> then\n        show\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <(coins) = [10]> then\n        start sound [Tada v]\n        forever\n            switch costume to (costume2 v)\n            wait (.5) seconds\n            switch costume to (costume1 v)\n            wait (.5) seconds\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (120) y: (-189)\n\n@chest\n\nwhen flag clicked\nforever\n    repeat (1)\n        if <touching (sprite5 v)?> then\n            play sound [Door Closing v] until done\n            next costume\n            play sound [Win v] until done\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen backdrop switches to [backdrop21 v]\nshow\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(coins) = [10]> then\n        show\n        forever\n            go to (mouse-pointer v)\n        end\n    end\nend\n\n
first of all, sorry, but some people haven't read all the instructions, and got confused because they already had the key, so im saying it again: PLEASE read the ENTIRE description please because some things are super important!!!!!!!!!\n\n                                            ~~~\n\nHi everyone! @wolfheart222 and I decided to do a collab platformer all about Climate Change. Climate change (a.k.a. global warming) is a very big problem in the world, so we decided to make a Platformer describing how to help, and what Climate Change actually is. I am also very very very passionate about climate change and how to stop it, so read on!\n                                             ~\n-INSTRUCTIONS-\n~double click the green flag, not for sync or anything, but because or else it will do these sounds at the end of the project, and it'll show you a key and all that. so just click the flag twice and  you're all good 2 go...\n~collect as many coins as possible to earn the key that \n  opens the chest at the final level! \n~arrow keys OR wasd keys to move.\n~you can wall-jump!!!!!!!\n~avoid plastic straws, oil, and this is only one of the  \n  levels, but avoid the rising water on it. \n~recycling bins help you jump higher.\n~please read the backdrops too, it would be really nice to know that people are actually reading about Climate \n  Change. \n~when you get the key, hover your mouse over the chest.\n~enjoy!\n\n~FACTS NOT INCLUDED IN PROJECT!~\n~The greenhouse effect is a natural process that warms the Earth's surface. When the Sun's energy reaches the Earth's atmosphere, some of it is reflected back to space and the rest is absorbed and re-radiated by greenhouse gases. The absorbed energy warms the atmosphere and the surface of the Earth. The gasses include CO2 (aka carbon), water vapor, and methane. Earth needs a steady balance of all these gasses to keep the right temperature. But smoke stacks, airplanes, and motor-powered veacles are releasing too much carbon into the atmosphere, which unbalances the greenhouse effect, and  warming the planet.  \n\n~FINAL NOTES~\n~okay, this is probably the best project i've ever made. \n  thank you so much for checking this out, and maybe \n  leaving a love and favorite? \n~also, check out global warming and climate change \n  studios like ThereIsNoPlanetB. \n~donate to charity funds to help stop pollution, and planting more trees around! or participate in protests (with a mask of course, and socially distanced) for climate change acknowledgement! \n~Thank you!\n\n#climatechange #ThereIsNoPlanetB #collab #climatechangeplatformer #BLM #collabplatformer #thereisnoplanetb #makeAchange #IJustWantMoreCake #ijustwantmorecake #me #myself #loveyourself #climate #change #platformer #platformer #platformer #platformer #platformer #wip #WIP \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ncomment: cream puffs\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nyou just wasted your time scrolling all the way down here.