Cube platformer

Instructions: hello this is my very first platformer project i'm sorry for the beug!\n\noperation: useful the arrows to move forward!\n\nI have been working on this project for 3 months I hope you enjoy this project and have fun !!!\n\ndo not hesitate to:\n-follow me\n- liked\n-favorite\n- shared this project\n\nand see you later in the next bye project!\n-------------------------------------------------------------------------\ncoucou voici mon tous premier projet platformer je suis désolé pour les beug!\n\nfonctionnement : utile les flèches pour avancer !\n\nje travaille sur ce projet depuis 3 mois j espere que ce projet vous plaira et amusez vous bien !!!\n\nn hésite pas a:\n-me suivre\n-a liké\n-a mettre en favoris\n- a partagé ce projet \n\net je vous dit a plus tard dans prochain projet bye!\n

@Stage\n\n@Sprite1\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite3\n\n@Sprite4\n\nwhen I start as a clone\nchange [ghost v] effect by (50)\nwait (0.2) seconds\nchange [ghost v] effect by (25)\nwait (0.2) seconds\nchange [ghost v] effect by (25)\ndelete this clone\n\nwhen I receive [start v]\nset [gravité v] to [0]\nforever\n    Gravité\nend\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\ngo to x: (-15) y: (-101)\nset size to (100) %\n\nwhen flag clicked\nforever\n    if <touching color (#77cdd7)?> then\n        broadcast (next level v)\n        go to x: (-208) y: (-46)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching color (#7a00ff)?> then\n        repeat (20)\n            change y by (20)\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    wait (0.1) seconds\n    next costume\nend\n\nwhen flag clicked\ngo to x: (-2) y: (-62)\n\nwhen I receive [couleur plus v]\nchange [color v] effect by (10)\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (15) y: (20)\nforever\n    if <key (right arrow v) pressed?> then\n        change [x velocity v] by (1)\n    end\n    if <key (left arrow v) pressed?> 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 color (#53ff34)?> then\n        change y by (1)\n        if <touching color (#53ff34)?> then\n            change y by (1)\n            if <touching color (#53ff34)?> then\n                change y by (1)\n                if <touching color (#53ff34)?> then\n                    change y by (1)\n                    if <touching color (#53ff34)?> then\n                        if <touching color (#53ff34)?> then\n                            change x by ((x velocity) * (-1))\n                            change x by (-5)\n                            if <key (up arrow v) pressed?> 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                        change y by (1)\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 color (#53ff34)?> 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 color (#53ff34)?> then\n        if <key (up arrow v) pressed?> then\n            change [y velocity v] by (15)\n        end\n    end\n    if <touching color (#ff0000)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [ghost v] effect to (0)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (15) y: (20)\n    end\n    if <touching color (#ffffff)?> then\n        broadcast (next level v)\n    end\nend\n\nwhen flag clicked\n\nchange y by (1)\nif <(x position) > [230]> then\n    set [x velocity v] to [0]\n    set [y velocity v] to [0]\n    go to x: (15) y: (20)\nend\n\nwhen I receive [next level v]\ngo to x: (5) y: (29)\n\nhide\n\nwhen flag clicked\nforever\n    play sound [Odesong v] until done\nend\n\n@Sprite2\n\npoint in direction (-60)\n\npoint in direction (-165)\n\nwhen flag clicked\nhide\n\nshow\n\n