Robot platformer

Instructions: utilisez les fleches pour vous déplacer \nprenez les clés pour passez au niveau supérieur \net amusez vous :D

@Stage\n\nwhen flag clicked\nforever\n    play sound [illuminati-song-roblox-remix v] until done\n    set volume to (50) %\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <(x position) > [235]> then\n        if <(backdrop [name v]) = [backdrop11]> then\n            set [open2 v] to [0]\n        end\n        set [open v] to [0]\n        switch backdrop to (next backdrop v)\n        go to x: (-220) y: (0)\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nset rotation style [left-right v]\nset volume to (100) %\nchange volume by (-85)\nshow\nswitch costume to (costume1 v)\nclear graphic effects\nswitch backdrop to (backdrop2 v)\ngo to x: (-220) y: (-100)\nforever\n    go to [front v] layer\n    if <key (right arrow v) pressed?> then\n        change [pour aller de gauche à droite v] by (1)\n        point in direction (90)\n    else\n        if <key (left arrow v) pressed?> then\n            change [pour aller de gauche à droite v] by (-1)\n            point in direction (-90)\n        end\n    end\n    set [pour aller de gauche à droite v] to ((Pour aller de gauche à droite) * (0.9))\n    change x by (Pour aller de gauche à droite)\n    if <<touching color (#009933)?> or <<touching color (#234cff)?> or <touching color (#ff9400)?>>> then\n        change y by (1)\n        if <<touching color (#009933)?> or <<touching color (#234cff)?> or <touching color (#ff9400)?>>> then\n            change y by (1)\n            if <<touching color (#009933)?> or <<touching color (#234cff)?> or <touching color (#ff9400)?>>> then\n                change y by (1)\n                if <<touching color (#009933)?> or <<touching color (#234cff)?> or <touching color (#ff9400)?>>> then\n                    change y by (1)\n                end\n                if <<touching color (#009933)?> or <<touching color (#234cff)?> or <touching color (#ff9400)?>>> then\n                    change y by (1)\n                end\n            end\n        end\n    end\n    if <<touching color (#995900)?> or <<touching color (#ffe42e)?> or <touching color (#ff9400)?>>> then\n        change x by ((Pour aller de gauche à droite) * (-1))\n        change y by (-5)\n        if <key (up arrow v) pressed?> then\n            if <(Pour aller de gauche à droite) > [0]> then\n                set [pour aller de gauche à droite v] to [-5]\n            else\n                set [pour aller de gauche à droite v] to [5]\n            end\n            set [pour aller de haut en bas v] to [10]\n        else\n            set [pour aller de haut en bas v] to [0]\n        end\n    end\n    change [pour aller de haut en bas v] by (-1)\n    change y by (Pour aller de haut en bas)\n    if <<touching color (#995900)?> or <<touching color (#009933)?> or <touching color (#234cff)?>>> then\n        change y by ((Pour aller de haut en bas) * (-1))\n        set [pour aller de haut en bas v] to [0]\n        switch costume to (costume1 v)\n    end\n    change y by (-1)\n    if <touching color (#009933)?> then\n        if <key (up arrow v) pressed?> then\n            set [pour aller de haut en bas v] to [15]\n            switch costume to (costume2 v)\n        end\n    end\n    change y by (1)\n    if <<touching color (#990000)?> or <<(y position) < [-170]> or <touching color (#666666)?>>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n            wait (0) seconds\n        end\n        go to x: (-220) y: (0)\n        repeat (10)\n            change [ghost v] effect by (-10)\n            wait (0) seconds\n        end\n        set [open v] to [0]\n        set [open2 v] to [0]\n        set [open3 v] to [0]\n    end\nend\n\n@Lutin1\n\nwhen flag clicked\nset [open v] to [0]\nforever\n    if <(backdrop [name v]) = [backdrop2]> then\n        go to x: (0) y: (-143)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop3]> then\n        go to x: (0) y: (-80)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop4]> then\n        go to x: (115) y: (-135)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop5]> then\n        go to x: (163) y: (-132)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop6]> then\n        go to x: (4) y: (-14)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop7]> then\n        go to x: (-227) y: (96)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop8]> then\n        go to x: (48) y: (-139)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop9]> then\n        go to x: (-80) y: (-69)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop10]> then\n        go to x: (209) y: (-133)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop11]> then\n        go to x: (-146) y: (-69)\n        if <(open) = [0]> then\n            show\n        end\n    end\n    if <(backdrop [name v]) = [backdrop12]> then\n        go to x: (19) y: (-40)\n        if <(open) = [0]> then\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        hide\n        set [open v] to [1]\n    end\nend\n\n@Lutin2\n\nwhen flag clicked\ngo to [front v] layer\nset [open v] to [0]\nhide\nforever\n    create clone of (_myself_ v)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nif <(open) = [0]> then\n    clear graphic effects\n    show\n    go to x: (([x position v] of [lutin1 v]) + (pick random (-10) to (10))) y: ([y position v] of [lutin1 v])\n    repeat (20)\n        change y by (1)\n        change [ghost v] effect by (5)\n    end\nend\ndelete this clone\n\n@Lutin3\n\nwhen flag clicked\nhide\nset [open2 v] to [0]\nforever\n    if <(backdrop [name v]) = [backdrop11]> then\n        if <(open2) = [0]> then\n            show\n        end\n        go to x: (-218) y: (144)\n    end\n    if <(backdrop [name v]) = [backdrop12]> then\n        if <(open2) = [0]> then\n            show\n        end\n        go to x: (-218) y: (144)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        hide\n        set [open2 v] to [1]\n    end\nend\n\n@Lutin4\n\nwhen flag clicked\ngo to [front v] layer\nset [open v] to [0]\nhide\nforever\n    if <(backdrop [name v]) = [backdrop11]> then\n        create clone of (_myself_ v)\n        wait (0.2) seconds\n    end\nend\n\nwhen I start as a clone\nif <(open2) = [0]> then\n    clear graphic effects\n    show\n    go to x: (([x position v] of [lutin3 v]) + (pick random (-10) to (10))) y: ([y position v] of [lutin3 v])\n    repeat (20)\n        change y by (1)\n        change [ghost v] effect by (5)\n    end\nend\ndelete this clone\n\n@Lutin5\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [backdrop5]> then\n        switch costume to (costume2 v)\n        go to x: (292) y: (161)\n        if <(open) = [0]> then\n            go to [front v] layer\n            clear graphic effects\n        end\n    end\n    if <(backdrop [name v]) = [backdrop6]> then\n        switch costume to (costume4 v)\n        go to x: (290) y: (47)\n        if <(open) = [0]> then\n            go to [front v] layer\n            clear graphic effects\n        end\n    end\n    if <(backdrop [name v]) = [backdrop7]> then\n        switch costume to (costume3 v)\n        go to x: (290) y: (57)\n        if <(open) = [0]> then\n            go to [front v] layer\n            clear graphic effects\n        end\n    end\n    if <<(backdrop [name v]) = [backdrop2]> or <<(backdrop [name v]) = [backdrop3]> or <<(backdrop [name v]) = [backdrop4]> or <<(backdrop [name v]) = [backdrop8]> or <<(backdrop [name v]) = [backdrop9]> or <<(backdrop [name v]) = [backdrop10]> or <<(backdrop [name v]) = [backdrop11]> or <(backdrop [name v]) = [backdrop12]>>>>>>>> then\n        switch costume to (costume1 v)\n        go to x: (292) y: (33)\n        if <(open) = [0]> then\n            go to [front v] layer\n            clear graphic effects\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(open) = [1]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    end\nend\n\n@Lutin6\n\nwhen flag clicked\nhide\nset [open2 v] to [0]\nforever\n    if <(backdrop [name v]) = [backdrop11]> then\n        show\n        switch costume to (costume1 v)\n        go to x: (-139) y: (25)\n        if <(open2) = [0]> then\n            go to [front v] layer\n            clear graphic effects\n        end\n    end\n    if <(backdrop [name v]) = [backdrop12]> then\n        show\n        switch costume to (costume1 v)\n        go to x: (-139) y: (25)\n        if <(open2) = [0]> then\n            go to [front v] layer\n            clear graphic effects\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(open2) = [1]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n    end\nend\n\n@Lutin7\n\nwhen flag clicked\nhide\nset [open3 v] to [0]\nforever\n    if <(backdrop [name v]) = [backdrop12]> then\n        go to x: (-146) y: (-66)\n        if <(open3) = [0]> then\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        hide\n        set [open3 v] to [1]\n    end\nend\n\n@Lutin8\n\nwhen flag clicked\ngo to [front v] layer\nset [open3 v] to [0]\nhide\nforever\n    if <(backdrop [name v]) = [backdrop12]> then\n        create clone of (_myself_ v)\n        wait (0.2) seconds\n    end\nend\n\nwhen I start as a clone\nif <(open3) = [0]> then\n    clear graphic effects\n    show\n    go to x: (([x position v] of [lutin7 v]) + (pick random (-10) to (10))) y: ([y position v] of [lutin7 v])\n    repeat (20)\n        change y by (1)\n        change [ghost v] effect by (5)\n    end\nend\ndelete this clone\n\n@Lutin9\n\nwhen flag clicked\nhide\nset [open3 v] to [0]\nforever\n    if <(backdrop [name v]) = [backdrop12]> then\n        show\n        switch costume to (costume1 v)\n        go to x: (55) y: (-30)\n        if <(open3) = [0]> then\n            go to [front v] layer\n            clear graphic effects\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(open3) = [1]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n    end\nend\n\n@Lutin10\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\n\n