Faded - a mobile friendly platformer

Instructions: \n\n\n\n\n\n\n\n\n\nMAKING THE SEQUEL!\ndont kill me its gonna have enemies and they are really hard to code lol\n\ncheck out my fruit ninja remake:\nhttps://scratch.mit.edu/projects/471006785/\n\ncheck out my hangman remake: https://scratch.mit.edu/projects/474801722/\n\ni tried :D\n\n\n\n\nsorry its generic. hope you enjoy

@Stage\n\nwhen flag clicked\nset [the level v] to [1]\nforever\n    if <(The Level) = [11]> then\n        switch backdrop to (e v)\n    else\n        switch backdrop to (e2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Faded \[mp3clan\].mp3 v] until done\nend\n\n@Player\n\nwhen flag clicked\nset rotation style [left-right v]\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        switch costume to (player2 v)\n        set [eee v] to [-90]\n        change [x velocity v] by (-1.5)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        switch costume to (player v)\n        set [eee v] to [90]\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X velocity) * (0.85))\n    change x by (X velocity)\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 velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [-30]> and <mouse down?>>>> then\n            if <(X velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y velocity)\n    if <touching (ground v)?> then\n        change y by ((Y velocity) - ((Y velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [-30]> and <mouse down?>>>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nif <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n    switch costume to (crouch v)\nelse\n    switch costume to (player v)\nend\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    set y to (Magma)\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nforever\n    set [magma v] to [0]\n    repeat (10)\n        change [magma v] by (1)\n    end\n    repeat (20)\n        change [magma v] by (-1)\n    end\n    repeat (10)\n        change [magma v] by (1)\n    end\nend\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Player Trail\n\nwhen flag clicked\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (21)\nend\ndelete this clone\n\nwhen I receive [scroll v]\nhide\ndelete this clone\n\n@Sprite1\n\nwhen flag clicked\nforever\n    go to (player v)\n    go to [back v] layer\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <not <(The Level) = [10]>> then\n        hide\n        go to x: (4) y: (1)\n        turn right (15) degrees\n    else\n        switch costume to (costume1 v)\n        show\n        go to x: (4) y: (1)\n        turn right (15) degrees\n        if <touching (player v)?> then\n            switch costume to (costume2 v)\n            hide\n            broadcast (shuriken YES v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [shuriken yes v]\nforever\n    show\n    go to [front v] layer\n    point in direction (EEE)\n    if <<key (space v) pressed?> or <mouse down?>> then\n        create clone of (_myself_ v)\n        wait until <not <<mouse down?> or <key (space v) pressed?>>>\n    end\nend\n\nwhen I start as a clone\nrepeat until <touching (_edge_ v)?>\n    move (15) steps\n    if <touching (ground v)?> then\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [shuriken yes v]\nforever\n    go to (player v)\nend\n\n@Sprite3\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n