The Valley- a multiplayer scrolling platformer (Collab)

Instructions: ━━━ ICEY 3 PLATFORMER ━━━\nControls: Arrow Keys/WASD & Mobile Support\nPress [Space] To Swing Your Katana\nPART 1: https://scratch.mit.edu/projects/887236150\nPART 2: https://scratch.mit.edu/projects/888436355\n━━━━━━━━━━━━━━━━━\n\n➤ Like & Star for a chance at a free follow!\n\nComment if you want Part 4\nWhile you're waiting for part 4, make sure to check out Parts 1 & 2\nI will look at all of your remixes\n\nHave Fun!

@Stage\n\n@Player\n\nwhen flag clicked\nstart sound [Inferno v]\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-214) y: (-90)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (level v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [160]> then\n        change [level v] by (1)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-214) y: (-91)\n    end\nend\n\nwhen flag clicked\nif <touching (level v)?> then\n    change x by ((x velocity) * (-1))\n    change y by (-5)\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-214) y: (-97)\n    else\n        go to x: (x position) y: (y position)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        forever\n            set [level v] to [10]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\ngo to [back v] layer\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Level)\n    go to [back v] layer\nend\n\nwhen flag clicked\nset [level v] to [1]\n\n@Thumbnail\n\nwhen flag clicked\ngo to [back v] layer\nset [ghost v] effect to (100)\n\n@Skip Button\n\nwhen this sprite clicked\nchange [level v] by (1)\n\n