✂Draw , a platformer !✏

Instructions: ✏Welcome to the Draw's Platformer !✏\n\npart 2 : https://scratch.mit.edu/projects/487272393/\n100% possible\n16 levels ( Hummm...  )\n\n400 Likes !!\n#1 of french trendings ! (All)\n\n⭐INSTRUCTIONS⭐\n- for move ←↑→\n- for draw , click !\n\n\nMusic : Elektronomika - Breeze\nUpdate 1 : added levels and dangers\nUpdate 2 : ??? :)\n\nBye !\n\n@clemJ72 love and fav !\n@remixsuper_test love ans fav !\n@remixsuper love and fav !\nthanks for 120 followers !\n\n\n#All #Games\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (arrière plan3 v)\nforever\n    if <<<<(level) = [1]> or <<(level) = [2]> or <<(level) = [3]> or <(level) = [4]>>>> or <(level) = [5]>> or <<(level) = [10]> or <(level) = [9]>>> then\n        switch backdrop to (arrière plan1 v)\n    end\n    if <<<(level) = [6]> or <<(level) = [7]> or <<(level) = [8]> or <(level) = [9]>>>> or <(level) = [10]>> then\n        switch backdrop to (arrière plan2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Elektronomia - Breeze \[NCS Release\] v] until done\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [10]> or <(level) = [9]>> then\n        switch backdrop to (arrière plan1 v)\n    end\nend\n\n@Player\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <(x position) > [240]> then\n        broadcast (new level v)\n        change [level v] by (1)\n    end\nend\n\nwhen I receive [new level v]\nif <not <(level) = [16]>> then\n    go to x: (-207) y: (70)\nend\nif <(level) = [16]> then\n    go to x: (0) y: (70)\nend\n\nwhen flag clicked\nbroadcast (play v)\n\nwhen I receive [play v]\nset volume to (80) %\nhide\nshow\ngo to x: (-207) y: (70)\nforever\n    set [x v] to [0]\n    set [y v] to [0]\n    forever\n        change [y v] by (-1)\n        set [x v] to ((x) * (0.9))\n        if <key (right arrow v) pressed?> then\n            change [x v] by (1)\n        end\n        if <key (left arrow v) pressed?> then\n            change [x v] by (-1)\n        end\n        change x by (x)\n        if <<touching (plateforms v)?> or <touching color (#fb00e6)?>> then\n            change y by (1)\n        end\n        if <<touching (plateforms v)?> or <touching color (#fb00e6)?>> then\n            change y by (1)\n        end\n        if <<touching (plateforms v)?> or <touching color (#fb00e6)?>> then\n            change y by (1)\n        end\n        if <<touching (plateforms v)?> or <touching color (#fb00e6)?>> then\n            change y by (1)\n        end\n        if <<touching (plateforms v)?> or <touching color (#fb00e6)?>> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <key (up arrow v) pressed?> then\n                set [y v] to [8]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-4]\n                else\n                    set [x v] to [4]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (y)\n        if <<touching (plateforms v)?> or <<touching color (#00b543)?> or <touching color (#fb00e6)?>>> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<key (up arrow v) pressed?> and <<touching (plateforms v)?> or <touching color (#fb00e6)?>>> then\n            broadcast (jump v)\n            change [y v] by (14)\n        end\n        change y by (1)\n        if <<not <<(level) = [5]> or <(level) = [13]>>> or <(level) = [16]>> then\n            if <(y position) < [-179]> then\n                broadcast (play v)\n            end\n        else\n            if <(y position) < [-179]> then\n                change [level v] by (1)\n                broadcast (new level v)\n            end\n        end\n        if <touching (dangers v)?> then\n            broadcast (play v)\n            start sound [uuhhh\(1\) v]\n        end\n        if <touching (bounce v)?> then\n            change [y v] by (32)\n        end\n        if <(level) = [8]> then\n            if <(y position) > [175]> then\n                change [level v] by (1)\n                broadcast (new level v)\n            end\n        end\n        if <(level) = [16]> then\n            if <(x position) < [-230]> then\n                change [level v] by (1)\n                broadcast (new level v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(level) = [16]> then\n        stop all sounds\n        play sound [Tada v] until done\n        stop [this script v]\n    end\nend\n\nwhen I receive [jump v]\nwait (0.01) seconds\nplay sound [Jump2 v] until done\n\nplay sound [uuhhh\(1\) v] until done\n\n@plateforms\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\n\nwhen I receive [new level v]\nnext costume\n\n@pen\n\nwhen I receive [play v]\nset pen size to (15)\nerase all\nwait (0.02) seconds\nforever\n    if <not <(level) = [5]>> then\n        pen up\n        if <mouse down?> then\n            if <touching (protect player v)?> then\n                pen up\n            else\n                pen down\n            end\n        end\n        go to x: (mouse x) y: (mouse y)\n    else\n        pen up\n    end\nend\n\nwhen flag clicked\nbroadcast (play v)\n\nwhen I receive [new level v]\nerase all\n\nwhen flag clicked\nforever\n    set pen color to (#fb00e6)\nend\n\nif <<<<(level) = [1]> or <<(level) = [2]> or <<(level) = [3]> or <(level) = [4]>>>> or <(level) = [5]>> or <<(level) = [10]> or <(level) = [9]>>> then\n    set pen color to (#00b543)\nend\nif <<(level) = [6]> or <<(level) = [7]> or <(level) = [8]>>> then\nend\n\n@restart level\n\nwhen I receive [play v]\nshow\ngo to x: (-187) y: (-140)\nset size to (35) %\nforever\n    go to [front v] layer\n    point in direction (90)\n    change size by (((35) - (size)) / (5))\n    if <touching (mouse-pointer v)?> then\n        change size by (((40) - (size)) / (5))\n        point in direction ((90) + (([cos v] of ((timer) * (300)) ) * (10)))\n        if <mouse down?> then\n            change size by (((20) - (size)) / (5))\n            broadcast (play v)\n        end\n    end\nend\n\n@demo\n\nwhen I receive [play v]\ngo to x: (0) y: (0)\nswitch costume to (demo 1 v)\nshow\nforever\n    if <(level) = [2]> then\n        switch costume to (demo 12 v)\n        repeat (11)\n            wait (.1) seconds\n            next costume\n        end\n        hide\n        stop [this script v]\n    end\nend\n\n@dangers\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\n\nwhen I receive [new level v]\ngo to [front v] layer\nnext costume\n\n@bounce\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\n\nwhen I receive [new level v]\ngo to [front v] layer\ngo [backward v] (1) layers\nnext costume\n\n@deco\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\n\nwhen I receive [new level v]\ngo to [front v] layer\ngo [backward v] (1) layers\nnext costume\n\n