Unfinished Platformer Game

Instructions: A little Lightcube has been trapped inside the cave. Luckily, he is always shining and has the ability to light up dark areas. But unfortunately, he can't find the way out of the cave. Help a little Lightcube get out of here by finding the exit, jump past the pits and avoid the obstacles.\n\n◀️ Control ▶️\nLeft, Right Arrow key = Move\nUp Arrow key = Jump

@Stage\n\n@Sprite3\n\n@Sprite1\n\nwhen I receive [skip v]\nnext backdrop\ngo to x: (-196) y: (-81)\n\nwhen I receive [message1 v]\ngo to x: (-196) y: (-81)\n\nwhen [s v] key pressed\nnext backdrop\ngo to x: (-196) y: (-81)\n\nwhen [r v] key pressed\ngo to x: (-196) y: (-81)\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset rotation style [left-right v]\nshow\nset volume to (100) %\nswitch costume to (costume1 v)\ngo to x: (-196) y: (-81)\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 (right arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#ff2424)?> then\n        change y by (1)\n    end\n    if <touching color (#ff2424)?> then\n        change y by (1)\n    end\n    if <touching color (#ff2424)?> then\n        change y by (1)\n    end\n    if <touching color (#ff2424)?> then\n        change y by (1)\n    end\n    if <touching color (#ff2424)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> 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 color (#ff2424)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching color (#ff2424)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching color (#59d427)?> or <touching color (#cd7d2f)?>> then\n        switch costume to (costume2 v)\n        wait (0.1) seconds\n        switch costume to (costume1 v)\n        go to x: (-196) y: (-81)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-196) y: (-81)\n    end\n    if <(y position) < [-180]> then\n        go to x: (-196) y: (-81)\n    end\nend\n\nwhen I receive [hjkuygbnmhgb ddd v]\ngo to x: (-196) y: (-133)\n\nwhen I receive [hhhh v]\nswitch backdrop to (next backdrop v)\ngo to x: (-196) y: (-133)\n\nwhen flag clicked\nwait (5) seconds\nforever\n    play sound [Vexento - Pixel Party v] until done\nend\n\n@thumbnail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\ngo to x: (11) y: (-28)\n\nwhen flag clicked\nwait (5) seconds\n\nbroadcast (hello v)\n\nchange size by (-10)\n\n@Sprite2\n\nshow\ngo to [front v] layer\ngo to x: (-42) y: (-18)\n\nwhen flag clicked\nhide\n\nchange size by (10)\n\n@detector\n\nwhen flag clicked\npoint in direction (90)\nhide\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (0.5) seconds\nshow\ngo to x: (0) y: (-100)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\ngo [forward v] (2000) layers\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [loved__ v] to [1]\n            end\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [faved___ v] to [1]\n            end\n        end\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (36) y: (28)\nshow\nwait (5) seconds\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\nset volume to (100) %\nstart sound [FLIGHT v]\nset [clones v] to [0]\nreset timer\nrepeat (8)\n    change [clones v] by (1)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nwait until <(timer) > [3]>\nrepeat (20)\n    change volume by (-7)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nif <<(Clones) > [0]> and <(Clones) < [9]>> then\n    show\n    go to x: (0) y: (0)\n    switch costume to (Clones)\n    set [ghost v] effect to (100)\n    point in direction (0)\n    set size to (99999999) %\n    repeat (50)\n        change size by (((125) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n        change [ghost v] effect by (-4)\n    end\nend\n\nwhen I start as a clone\nwait until <(timer) > [4]>\nrepeat (50)\n    change size by (((175) - (size)) / (8))\n    change [ghost v] effect by (4)\nend\nhide\n\nwhen flag clicked\ngo to [front v] layer\n\n@skip\n\nwhen this sprite clicked\nbroadcast (hhhh v)\n\nswitch backdrop to (next backdrop v)\n\nwhen flag clicked\nhide\nwait (4) seconds\nshow\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\nwait (4) seconds\nshow\n\nwhen this sprite clicked\nbroadcast (hjkuygbnmhgb ddd v)\n\ngo to x: (-222) y: (-160)\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n