2.5D Platformer

Instructions: Controls----\nArrows,Finger.\nUpdates----\n1-Added more levels (5 & 6)\nIf you have an idea then Please tell me!!

@Stage\n\nwhen [timer v] > (0.01)\nplay sound [troyboi-amadeus v] until done\nstop [this script v]\n\nwhen flag clicked\nforever\n    play sound [Music v] until done\nend\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (-50)\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [1]>>> then\n        switch costume to (player right v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [100]>>> then\n        switch costume to (player left v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#ff4f00)?> or <touching color (#cccccc)?>> then\n        start sound (pick random (1) to (2))\n        broadcast (Respawn v)\n    end\n    if <touching color (#ff009b)?> then\n        change [yv v] by (-20)\n    end\n    if <touching color (#00533b)?> then\n        change [yv v] by (-25)\n    end\n    if <touching color (#410051)?> then\n        broadcast (Next LVL v)\n    end\nend\n\nwhen flag clicked\nshow\nset [color v] effect to (0)\nforever\n    change [color v] effect by (1)\nend\n\nwhen [timer v] > (0.01)\nhide\n\n@Platform\n\nwhen flag clicked\nswitch costume to (1 v)\nset [ghost v] effect to (100)\nbroadcast (Respawn v)\nforever\n    change [yv v] by (1)\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [1]>>> then\n        change [xv v] by (-2)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [100]>>> then\n        change [xv v] by (2)\n    end\n    set [xv v] to ((xv) * (0.8))\n    change x by (xv)\n    if <touching (player v)?> then\n        change y by (-1)\n        if <touching (player v)?> then\n            change y by (-1)\n            if <touching (player v)?> then\n                change y by (-1)\n                if <touching (player v)?> then\n                    change y by (-3)\n                    change x by ((xv) * (-1))\n                    set [xv v] to [0]\n                end\n            end\n        end\n    end\n    change y by (yv)\n    if <touching (player v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (1)\n    if <touching (player v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [50]>>> then\n            start sound [Jump v]\n            set [yv v] to [-10]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [respawn v]\ngo to x: (0) y: (-50)\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen flag clicked\nforever\n    if <(y position) > [200]> then\n        start sound (pick random (2) to (3))\n        broadcast (Respawn v)\n    end\nend\n\nwhen I receive [next lvl v]\ngo to x: (0) y: (-50)\nset [xv v] to [0]\nset [yv v] to [0]\nnext costume\n\n@2.5 D cover\n\nwhen flag clicked\nswitch costume to (1 v)\nset [camx v] to [0]\nset [cam y v] to [0]\nStart clone\n\nwhen I start as a clone\nshow\nswitch costume to (1 v)\nforever\n    go to x: (((camx) * (size)) + (shift x)) y: (((cam y) * (size)) + (shift y))\nend\n\nwhen flag clicked\nhide\nforever\n    set [camx v] to ((([x position v] of [platform v]) / (100)) + (-0.1))\n    set [cam y v] to ((([y position v] of [platform v]) / (100)) + (0.1))\nend\n\ndefine Start clone\nswitch costume to (costume2 v)\nset size to (100) %\nrepeat (40)\n    create clone of (_myself_ v)\n    change size by (1)\nend\n\nwhen I receive [next lvl v]\nnext costume\n\n@Sun\n\nwhen flag clicked\nswitch costume to (sun v)\nswitch backdrop to (sky v)\nset [sec v] to (pick random (60) to (90))\ngo to x: (0) y: (100)\npoint in direction (90)\nforever\n    turn right (0.1) degrees\nend\n\nwhen flag clicked\nforever\n    wait (sec) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    wait (sec) seconds\n    next backdrop\nend\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [next lvl v]\nnext costume\n\n@Thumbail\n\nwhen flag clicked\ngo to x: (-400) y: (0)\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.01)\nshow\nrepeat (40)\n    change x by (10)\nend\n\n