Grey - a platformer

Instructions: Hello! Instructions in game....not mobile friendly yet \nSTORY: You are a square who is on an adventure in a grey world.\nPress the heart and the star for less lag.\nSPAM DAT GREEN FLAG!!!!\nAND....GO FOLLOW @SOPHII-!!!!!!!!!!! >:D\n~all levels are possible~

@Stage\n\nwhen flag clicked\nset [ghost v] effect to (75)\n\n@player :D\n\nwhen flag clicked\ngo to x: (214) y: (115)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume4 v)\nshow\ngo to x: (-177) y: (12)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        switch costume to (costume2 v)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        switch costume to (costume4 v)\n    end\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    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) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching (ground v)?>> then\n        start sound [Jump v]\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching (dies v)?> then\n        start sound [Crunch v]\n        change [deaths v] by (1)\n        change [☁ total deaths v] by (1)\n        go to x: (-177) y: (12)\n    end\n    if <(x position) > [223]> then\n        broadcast (nxtlvl v)\n        go to x: (-217) y: (-20)\n    end\nend\n\nwhen [c v] key pressed\nnext costume\n\nwhen flag clicked\nset [deaths v] to [0]\nshow variable [deaths v]\nshow variable [☁ total deaths v]\nforever\n    play sound [TheFatRat - Epic \[Jackpot EP Track 2\].mp3 v] until done\nend\n\n@ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [level v] to [1]\n\nwhen I receive [nxtlvl v]\nnext costume\nchange [level v] by (1)\n\n@text\n\nwhen flag clicked\nswitch costume to (costume4 v)\n\nwhen I receive [nxtlvl v]\nnext costume\n\n@Sprite1\n\nwhen I start as a clone\ngo to [front v] layer\ngo [forward v] (5) layers\ngo to x: (240) y: (0)\npoint in direction (180)\nset rotation style [all around v]\nchange y by (pick random (-240) to (240))\nswitch costume to (5 v)\nshow\nset [ghost v] effect to (50)\nset size to (pick random (5) to (100)) %\nrepeat (40)\n    turn right (4) degrees\n    change x by ((size) * (-0.1))\nend\nrepeat until <touching (_edge_ v)?>\n    turn right (4) degrees\n    change x by ((size) * (-0.1))\nend\ndelete this clone\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    create clone of (_myself_ v)\nend\n\n@dies\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [nxtlvl v]\nnext costume\n\n@level\n\nwhen flag clicked\npoint in direction (90)\nforever\n    repeat (5)\n        turn right (5) degrees\n    end\n    repeat (5)\n        turn right (3) degrees\n    end\n    repeat (5)\n        turn right (1) degrees\n    end\n    repeat (5)\n        turn right (-1) degrees\n    end\n    repeat (5)\n        turn right (-3) degrees\n    end\n    repeat (5)\n        turn right (-5) degrees\n    end\n    repeat (5)\n        turn right (-5) degrees\n    end\n    repeat (5)\n        turn right (-3) degrees\n    end\n    repeat (5)\n        turn right (-1) degrees\n    end\n    repeat (5)\n        turn right (1) degrees\n    end\n    repeat (5)\n        turn right (3) degrees\n    end\n    repeat (5)\n        turn right (5) degrees\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (200) y: (144)\nrepeat until <(Level) = [13]>\n    switch costume to (Level)\nend\nif <(Level) = [13]> then\n    hide\nend\n\n@thumbnail\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n