Into Space {A platformer}

Instructions: WASD or arrow keys or mobile to move.\n @ADino5 made an easier version https://scratch.mit.edu/projects/351489569/  check it out!\nPropose it to be featured is you like it! https://scratch.mit.edu/studios/4228481/projects/

@Stage\n\nwhen flag clicked\nset [fisheye v] effect to (0)\nset [pixelate v] effect to (0)\nforever\n    change [color v] effect by (0.01)\nend\n\n@Clouds\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nshow\ngo to x: (500) y: (pick random (60) to (100))\nset size to (pick random (40) to (65)) %\nset [ghost v] effect to (pick random (10) to (50))\nrepeat until <[-232] > (x position)>\n    change x by (pick random (-1) to (-5))\nend\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (1) to (3)) seconds\nend\n\n@Thumb\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (stop v)\ngo to [front v] layer\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.1)\ngo to x: (0) y: (300)\nshow\nstart sound [OOF v]\nglide (0.5) secs to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    play sound [Count On Me v] until done\nend\n\nwhen flag clicked\nset [time: v] to [0]\nrepeat until <(level) = [9]>\n    change [time: v] by (0.1)\n    wait (0.1) seconds\nend\nset [highscore v] to (Time:)\n\nwhen flag clicked\nforever\n    if <(Highscore) > (☁ Cloud highscore)> then\n        set [☁ cloud highscore v] to (Highscore)\n    end\nend\n\n@Player\n\nwhen I start as a clone\nset size to (100) %\nrepeat (10)\n    change [color v] effect by (21)\n    change size by (-10)\nend\ndelete this clone\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (costume2 v)\n        change [x v] by (0.75)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (costume1 v)\n        change [x v] by (-0.75)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (-152) y: (85)\ngo to [front v] layer\npoint in direction (90)\nswitch costume to (costume1 v)\nforever\n    change [y v] by (-0.5)\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (-6)\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                                    set [y v] to [10]\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 (ground v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if <(x position) > [230]> then\n        go to x: (-207) y: (-70)\n        change [level v] by (1)\n        wait until <not <(x position) > [230]>>\n    end\n    if <(y position) < [-175]> then\n        go to x: (-207) y: (-70)\n    end\n    if <touching (spikes v)?> then\n        set [x v] to [0]\n        set [y v] to [0]\n        repeat (10)\n            change [pixelate v] effect by (10)\n        end\n        go to x: (-210) y: (-70)\n        show\n        repeat (10)\n            change [pixelate v] effect by (-10)\n        end\n    end\n    if <key (r v) pressed?> then\n        repeat (10)\n            change [pixelate v] effect by (10)\n        end\n        go to x: (-210) y: (-70)\n        show\n        repeat (10)\n            change [pixelate v] effect by (-10)\n        end\n    end\nend\n\n@Ground\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    change [color v] effect by (0.1)\nend\n\n@Spikes\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    go to x: (0) y: (0)\n    switch costume to (level)\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    change [color v] effect by (0.5)\nend\n\n@Clouds2\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nshow\ngo to x: (500) y: (pick random (60) to (100))\nset size to (pick random (40) to (65)) %\nset [ghost v] effect to (pick random (10) to (50))\nrepeat until <[-232] > (x position)>\n    change x by (pick random (-1) to (-5))\nend\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (3) seconds\nend\n\n@Clouds3\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nshow\ngo to x: (500) y: (pick random (60) to (100))\nset size to (pick random (40) to (65)) %\nset [ghost v] effect to (pick random (10) to (50))\nrepeat until <[-232] > (x position)>\n    change x by (pick random (-1) to (-5))\nend\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (1) to (3)) seconds\nend\n\n@Clouds4\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nshow\ngo to x: (500) y: (pick random (60) to (100))\nset size to (pick random (40) to (65)) %\nset [ghost v] effect to (pick random (10) to (50))\nrepeat until <[-232] > (x position)>\n    change x by (pick random (-1) to (-5))\nend\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (1) to (3)) seconds\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\ngo to x: (250) y: (21)\nforever\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\ngo to x: (259) y: (pick random (-170) to (160))\nset [color v] effect to (pick random (-50) to (50))\nset [ghost v] effect to (50)\nshow\nglide (pick random (1) to (3)) secs to x: (pick random (-170) to (160)) y: (pick random (-217) to (223))\ndelete this clone\n\n@Player2\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        go to x: (68) y: (-91)\n        show\n    end\nend\n\n