Magma - A Platformer

Instructions: Please remember to love, favourite, and share this game. \n\nUse the arrow keys to move. Basic stuff. Press and hold the jump and right arrow key at the same time to wall jump. Also basic. Don't touch the blue. Red gets you to the next level.\n\n If you get stuck, press R to reset.\n\nHave fun!\n\n═══════✔️UPDATE LOG✔️════════\n20/12/2018 - Start of developing\n23/01/2019 - Released\n26/01/2019 - Bug Fixes\n28/01/2019 - Intro Update\n29/01/2019 - 10 Favourites! Thanks, @IZZYMAGILL for the 10th fave! Level 11 finished.\n03/02/19 - Logo update - By @Hemkernator\n13/02/2019 - Level 12 Done. Enjoy! (I made it for no reason BTW)\n16/02/2019 - 20 Faves! Thank you @GoodMan13579 for the 20th fave! New level!\n12/04/2019 - Just checked again; Got to work on one more level! Thank you so much for 42 faves!\n01/05/2019 - 62 loves and 51 Faves!!! Thanks, everyone! Event is released! \n19/05/2019 - Event ended.\n07/06/2019 - Changed end page, and entered a competition. \n08/06/2019 - 55 FAVES???!!!! Thank you!\n24/07/2019 - Changed and added a 'story' to it. :D\n02/08/2019 - Nup. The story is weird. just normal for now.\n03/11/2019 - Bug fixes\n31/3/2020 - Bug fixes\n16/5/2020 - More bug fixes\n════════_AlphaReturns_════════\n\nHey! I'm _AlphaReturns_, A keen coder and a huge Robloxian. I play Pokemon and ROBLOX

@Stage\n\nwhen I receive [start v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nnext backdrop\nclear graphic effects\n\nwhen flag clicked\nbroadcast (_alphareturns_ v)\n\nwhen I receive [homepage v]\nswitch backdrop to (start v)\n\nwhen I receive [finish v]\nswitch backdrop to (finished! v)\n\n@Intro 1\n\nwhen I receive [_alphareturns_ v]\nset [clonetype v] to [0]\nreset timer\nswitch backdrop to (_alphareturns_ v)\nrepeat (5)\n    change [clonetype v] by (1)\n    create clone of (_myself_ v)\n    wait (0.15) seconds\nend\n\nwhen I start as a clone\nif <<(CloneType) > [0]> and <(CloneType) < [10]>> then\n    show\n    go to x: (0) y: (0)\n    switch costume to ((CloneType) + (1))\n    set [ghost v] effect to (100)\n    set size to (10) %\n    if <(CloneType) = [26]> then\n        go to [front v] layer\n    end\n    point in direction (0)\n    repeat (50)\n        change size by (((100) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n        change [ghost v] effect by (-4)\n    end\n    set size to (100) %\n    wait until <(timer) > [4.5]>\n    repeat (20)\n        change size by (((125) - (size)) / (6))\n    end\n    repeat (50)\n        change size by (((10) - (size)) / (8))\n        change [ghost v] effect by (4)\n    end\n    broadcast (outro v)\n    delete this clone\nend\n\nwhen flag clicked\nset [clonetype v] to [0]\nhide\ngo to x: (0) y: (0)\nswitch costume to (_alphareturns_ v)\nset [ghost v] effect to (100)\nset size to (150) %\npoint in direction (0)\n\n@Music\n\nwhen I receive [_alphareturns_ v]\nplay sound [Free Intro Music for your Video v] until done\nbroadcast (homepage v)\n\nwhen I receive [homepage v]\nforever\n    play sound [Bubbles In The Sky Roblox Bubble Gum Simulator - \(Original Soundtrack\) by BSlick v] until done\nend\n\n@Magma\n\nwhen I receive [reset v]\ngo to x: (-208) y: (0)\n\nwhen [r v] key pressed\nbroadcast (reset v)\n\nwhen I receive [start v]\ngo to x: (-208) y: (0)\nplaform\n\nwhen flag clicked\nhide\nforever\n    if <touching color (#00a1ff)?> then\n        broadcast (reset v)\n    end\n    if <touching color (#ff6666)?> then\n        broadcast (next level v)\n        broadcast (start v)\n    end\n    if <touching color (#ffce00)?> then\n        broadcast (finish v)\n    end\nend\n\ndefine plaform\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n        switch costume to (costume1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#989898)?> then\n        change y by (1)\n        if <touching color (#989898)?> then\n            change y by (1)\n            if <touching color (#989898)?> then\n                change y by (1)\n                if <touching color (#989898)?> then\n                    change y by (1)\n                    if <touching color (#989898)?> then\n                        change x by ((Xv) * (-1))\n                        change y by (-4)\n                        if <key (up arrow v) pressed?> then\n                            if <(Xv) > [0]> then\n                                set [xv v] to [-5]\n                            else\n                                set [xv v] to [5]\n                            end\n                            set [yv v] to [10]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#989898)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#989898)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [finish v]\nhide\n\n@Play \n\nwhen I receive [homepage v]\nset size to (100) %\nshow\ngo to x: (70) y: (-86)\nforever\n    repeat (50)\n        change size by (0.5)\n    end\n    repeat (50)\n        change size by (-0.5)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (start v)\nglide (0.25) secs to x: (19) y: (-180)\nhide\n\n@Intro 2\n\nwhen I receive [_alphareturns_ v]\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nwait (7) seconds\nrepeat (50)\n    wait (0.01) seconds\n    change [ghost v] effect by (-5)\nend\nrepeat (50)\n    wait (0.01) seconds\n    change [ghost v] effect by (2)\nend\nhide\n\n@EXTRAS - HIDDEN\n\n@Thumbnail\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen [t v] key pressed\nif <(username) = [_AlphaReturns_]> then\n    show\nend\n\n@timer\n\nwhen flag clicked\n\nwhen I receive [start v]\nrepeat until <color (#ff6666) is touching (#facc00)?>\n    wait (0.1) seconds\nend\n\nif <touching color (#ffce00)?> then\n\nreset timer\nforever\n    go to (magma v)\nend\n\nwhen [timer v] > (10)\n\n