Cold a platformer

Instructions: Hello ! here is a platformer like the others.\nthis one is very simple, please follow me\n100 loves !\n41th popular !!!!

@Stage\n\nset [ghost v] effect to (0)\nset [x v] to [0]\nset [y v] to [0]\nshow\nswitch costume to (costume1 v)\ngo to x: (-217) y: (156)\nforever\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((X) * (.9))\n    change x by (X)\n    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n        change y by (1)\n        if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n            change y by (1)\n            if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                change y by (1)\n                if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                    change y by (1)\n                    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                        if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                            change x by ((X) * (-1))\n                            change x by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x 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 v] by (-1)\n    change y by (Y)\n    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (14)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-217) y: (156)\n        broadcast (message1 v)\n    end\n    if <touching color (#000000)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [ghost v] effect to (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-217) y: (156)\n    end\nend\n\n@DD0B19F3-6E62-4C66-8A14-C8ECC58F920A\n\nwhen flag clicked\nset [ghost v] effect to (0)\nset [x v] to [0]\nset [y v] to [0]\nshow\nswitch costume to (costume1 v)\ngo to x: (-217) y: (156)\nforever\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((X) * (.9))\n    change x by (X)\n    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n        change y by (1)\n        if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n            change y by (1)\n            if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                change y by (1)\n                if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                    change y by (1)\n                    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                        if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n                            change x by ((X) * (-1))\n                            change x by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x 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 v] by (-1)\n    change y by (Y)\n    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#ffffff)?> or <touching color (#8d4a5f)?>> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (14)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-217) y: (156)\n        broadcast (message1 v)\n    end\n    if <touching color (#000000)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [ghost v] effect to (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-217) y: (156)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nrepeat (10)\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    play sound [Disfigure v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (-33) y: (-7)\nshow\n\nwhen I receive [message1 v]\nnext costume\n\n@Sprite2\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n