Journey to 700 - A Story Platformer

Instructions: Fidget Factory\nhttps://scratch.mit.edu/projects/245177968/\n\n✰Welcome to Journey to 700!\n✰This is a story platformer about my Scratch Journey!\n✰Try your best to read it!\n✰Arrow to move\n✰"r" to restart\n✰Don't touch the Slime!!!\n✰You'll figure out the rest!\n✰Haha... Play to the end to figure something out...

@Stage\n\nwhen I receive [start v]\nswitch backdrop to (backdrop3 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nforever\n    play sound [Vexento - Lights v] until done\nend\n\n@Player\n\nwhen flag clicked\nset [ghost v] effect to (0)\npoint in direction (90)\nswitch costume to (player v)\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (-204) y: (-107)\nhide\nforever\n    change [y v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        switch costume to (player2 v)\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (player 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 color (#e5e5e5)?> then\n        change y by (1)\n        if <touching color (#e5e5e5)?> then\n            change y by (1)\n            if <touching color (#e5e5e5)?> then\n                change y by (1)\n                if <touching color (#e5e5e5)?> then\n                    change y by (1)\n                    if <touching color (#e5e5e5)?> then\n                        change y by (1)\n                        if <touching color (#e5e5e5)?> then\n                            change y by (1)\n                            if <touching color (#e5e5e5)?> then\n                                change y by (-6)\n                                if <key (up arrow v) pressed?> then\n                                    set [y v] to [10]\n                                    change x by ((x) * (-1))\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\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 (#e5e5e5)?> 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 (#e5e5e5)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#a8a892)?> then\n        broadcast (Next level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#99ffbb)?> or <touching color (#ccffdd)?>> then\n        point in direction (90)\n        create clone of (_myself_ v)\n        go to x: (-204) y: (-107)\n        set [ghost v] effect to (0)\n        set [yvelocity v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffe9cc)?> then\n        set [y v] to [15]\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-207) y: (-107)\n\nwhen I start as a clone\nclear graphic effects\nrepeat (5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching color (#ccd8ff)?> then\n        set [y v] to [-30]\n    end\nend\n\nwhen I receive [start v]\nwait (2) seconds\ngo to x: (-207) y: (-107)\nshow\n\nwhen [r v] key pressed\ngo to x: (-204) y: (-107)\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [going back... v]\nswitch costume to (costume10 v)\nclear graphic effects\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\nrepeat (40)\n    change [ghost v] effect by (-2.5)\nend\nrepeat (8)\n    switch costume to ((costume [number v]) - (1))\n    wait (0.5) seconds\nend\nbroadcast (Start v)\nclear graphic effects\nrepeat (40)\n    change [ghost v] effect by (2.5)\nend\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen flag clicked\nclear graphic effects\nrepeat (40)\n    change [ghost v] effect by (2.5)\nend\nbroadcast (Going Back... v)\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\n\n