Cave Platformer

Instructions: -------------------------Description---------------------------\nHi guys! :D\nWelcome to my new awesome platformer game!\n\nIf I we can reach 100❤️ I will make custom clickers, platformers and animations for u guys... you just need to message me and tell me what you would like. :)\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (pozadí1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nforever\n    play sound [90-09--999999999 v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (100) %\n    wait until <key (m v) pressed?>\n    wait until <not <key (m v) pressed?>>\n    set volume to (0) %\n    wait until <key (m v) pressed?>\n    wait until <not <key (m v) pressed?>>\nend\n\n@Level\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (kostým4 v)\nshow\ngo to x: (0) y: (0)\n\n@Obstacles\n\nwhen flag clicked\nshow\nswitch costume to (kostým1 v)\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nset [level v] to [1]\n\n@thumb\n\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nshow\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nforever\n    go to (player v)\n    if <(backdrop [number v]) = [10]> then\n        go to x: (0) y: (0)\n        switch costume to (costume2 v)\n        set [ghost v] effect to (80)\n    end\nend\n\nset [ghost v] effect to (50)\n\n@Sprite3\n\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\n\nwhen flag clicked\nshow\nforever\n    change [color v] effect by (5)\nend\n\nwhen I receive [start v]\nhide\n\n@Sprite2\n\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\n\nwhen flag clicked\nshow\nforever\n    next costume\nend\n\nwhen this sprite clicked\nbroadcast (start v)\nhide\n\nwhen flag clicked\nforever\n    play sound [1 Min Chill Lofi Beat 'Mystical' Prod v] until done\nend\n\n@Player\n\nwhen flag clicked\nrepeat (80)\n    change [color v] effect by (1)\nend\nforever\n    change [color v] effect by (5)\nend\n\ndefine script\nchange y by (1)\ngo to [front v] layer\nif <(x position) = [241]> then\n    broadcast (next level v)\n    Start Position\nend\nif <(x position) = [-241]> then\n    set [x_vel v] to [0]\nend\nif <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        switch costume to (right-up v)\n    else\n        switch costume to (up v)\n    end\nelse\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        switch costume to (right v)\n    else\n        switch costume to (no v)\n    end\nend\nchange [y_vel v] by (-1)\nif <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n    point in direction (90)\n    change [x_vel v] by (1)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n    point in direction (-90)\n    change [x_vel v] by (-1)\nend\nset [x_vel v] to ((x_vel) * (.9))\nchange x by (x_vel)\nif <<touching (level v)?> or <touching (move v)?>> then\n    change y by (1)\n    if <<touching (level v)?> or <touching (move v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (move v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (move v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (move v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (move v)?>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <touching (move v)?>> then\n                            change y by (-6)\n                            change x by ((x_vel) * (-1))\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                change x by (0)\n                                set [y_vel v] to [10]\n                                if <(x_vel) > [0]> then\n                                    set [x_vel v] to [-7]\n                                else\n                                    set [x_vel v] to [7]\n                                end\n                            else\n                                set [x_vel v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y_vel)\nif <<touching (level v)?> or <touching (move v)?>> then\n    change y by ((y_vel) * (-1))\n    set [y_vel v] to [0]\nend\nchange y by (-1)\nif <<<touching (level v)?> or <touching (move v)?>> and <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n    set [y_vel v] to [12]\nend\nif <<touching (obstacles v)?> or <(y position) < [-175]>> then\n    Start Position\nend\nif <touching (trampoline v)?> then\n    set [y_vel v] to [20]\nend\n\ndefine Start Position\nset [y_vel v] to [0]\nset [x_vel v] to [0]\nset size to (100) %\ngo to x: (-220) y: (0)\n\nwhen I receive [start v]\nshow\nStart Position\ngo to [front v] layer\nshow\nset rotation style [left-right v]\nforever\n    script\nend\n\nwhen flag clicked\nhide\n\n