draw a platformer 2

Instructions: draw a platformer 2 by @-mrme-\n-----------------------------------------------------------------------------\ndraw a platformer 1\nhttps://scratch.mit.edu/projects/817134451/\ndraw a platformer 3\nhttps://scratch.mit.edu/projects/869149733/\n-----------------------------------------------------------------------------\ndraw a platformer 1 smashed 70k veiws in a week so here we go draw a platformer 2 BABY\n\ninstructions:\narrow keys to move\nmouse down to draw\nr to reset\na for achievements\n-----------------------------------------------------------------------------\nnote:\nif you add this to 15 studios and then write ''done'' in the comments you will be added to my studio.\n\n-------------------------------------------------------------------------------\ncredits\n@Debility_Kheops for the draw code\n\n\ntags\n\n#all #games #music #draw #-mrme- #platformer #stories (hehe)\n#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories#all #games #music #draw #-mrme- #platformer #stories

@Stage\n\n@end2\n\nwhen I receive [end v]\nshow\nwait (1) seconds\nglide (23) secs to x: (34) y: (61)\n\nwhen flag clicked\nhide\ngo to x: (-1) y: (-862)\n\n@end\n\nwhen I receive [end v]\nif <(all  Achievements) = [7]> then\n    add [finished all Achievements] to [achived v]\n    stop [this script v]\nend\n\nwhen I receive [40 jumps v]\nadd [40 jumps] to [achived v]\nchange [all  achievements v] by (1)\n\nwhen I receive [died to enemy v]\nadd [died to enemy] to [achived v]\nchange [all  achievements v] by (1)\n\nwhen I receive [draw done v]\nadd [draw] to [achived v]\nchange [all  achievements v] by (1)\n\nwhen I receive [20 v]\nadd [20 jumps] to [achived v]\nchange [all  achievements v] by (1)\n\nwhen I receive [10 jumps done v]\nadd [10 jumps] to [achived v]\nchange [all  achievements v] by (1)\n\nwhen flag clicked\ngo to x: (-9) y: (-13)\nset [all  achievements v] to [0]\ndelete all of [achived v]\nshow list [achived v]\nhide\n\nwhen I receive [end v]\nshow\nhide list [achived v]\n\nwhen I receive [30 jumps v]\nadd [30 jumps] to [achived v]\nchange [all  achievements v] by (1)\n\nwhen I receive [died to void v]\nadd [die to void] to [achived v]\nchange [all  achievements v] by (1)\n\nwhen I receive [end v]\nwait (14) seconds\nshow list [achived v]\n\nwhen I receive [end v]\nforever\n    show list [achievements v]\nend\n\n@ Achievements done\n\nwhen flag clicked\ngo to [front v] layer\nhide\ngo to x: (1) y: (348)\n\nwhen I receive [10 jumps done v]\nswitch costume to (10 jumps v)\nshow\nglide (0.5) secs to x: (1) y: (307)\nwait (1) seconds\nglide (1) secs to x: (1) y: (348)\nhide\n\nwhen I receive [20 v]\nswitch costume to (20 jumps v)\nshow\nglide (0.5) secs to x: (1) y: (307)\nwait (1) seconds\nglide (1) secs to x: (1) y: (348)\nhide\n\nwhen I receive [30 jumps v]\nswitch costume to (30 jumps v)\nshow\nglide (0.5) secs to x: (1) y: (307)\nwait (1) seconds\nglide (1) secs to x: (1) y: (348)\nhide\n\nwhen I receive [40 jumps v]\nswitch costume to (40 jumps v)\nshow\nglide (0.5) secs to x: (1) y: (307)\nwait (1) seconds\nglide (1) secs to x: (1) y: (348)\nhide\n\nwhen I receive [draw done v]\nswitch costume to (draw v)\nshow\nglide (0.5) secs to x: (1) y: (307)\nwait (1) seconds\nglide (1) secs to x: (1) y: (348)\nhide\n\nwhen I receive [died to enemy v]\nswitch costume to (die to enemy v)\nshow\nglide (0.5) secs to x: (1) y: (307)\nwait (1) seconds\nglide (1) secs to x: (1) y: (348)\nhide\n\nwhen I receive [died to void v]\nswitch costume to (die to void v)\nshow\nglide (0.5) secs to x: (1) y: (307)\nwait (1) seconds\nglide (1) secs to x: (1) y: (348)\nhide\n\n@enemy2\n\nwhen I receive [enemy stand still v]\nshow\ngo to x: (-56) y: (-40)\n\nwhen flag clicked\nswitch costume to (costume3 v)\nhide\n\nwhen I receive [lava v]\nswitch costume to (costume2 v)\ngo to x: (-35) y: (-76)\n\nwhen I receive [enemie 2 hide v]\nhide\n\nwhen I receive [enemies 2 1 v]\nshow\nswitch costume to (costume4 v)\ngo to x: (-62) y: (23)\n\nwhen I receive [hide link v]\nshow\nswitch costume to (costume5 v)\ngo to x: (-47) y: (-40)\n\nwhen I receive [enemy 11 v]\nshow\nswitch costume to (costume6 v)\ngo to x: (107) y: (-92)\n\nwhen I receive [13 enemies v]\nshow\nswitch costume to (costume7 v)\ngo to x: (-59) y: (-49)\n\nwhen I receive [14 enemies v]\nshow\nswitch costume to (costume8 v)\ngo to x: (-48) y: (-49)\n\ngo to x: (-54) y: (-39)\n\nwhen I receive [enemy 17 v]\nshow\nswitch costume to (costume9 v)\ngo to x: (109) y: (-35)\n\nwhen I receive [20 enemies v]\nshow\nswitch costume to (costume10 v)\ngo to x: (-59) y: (-49)\n\nwhen I receive [end v]\nhide\n\n@enemy\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (138) y: (-65)\nhide\n\nwhen I receive [enemy v]\nshow\nrepeat until <(enemy) = [1]>\n    glide (1) secs to x: (-1) y: (-65)\n    wait (0.01) seconds\n    glide (1) secs to x: (138) y: (-65)\nend\n\nwhen I receive [enemy hide v]\n\nhide\n\nwhen I receive [enemy stand still v]\nhide\n\nwhen I receive [end v]\nhide\n\n@line\n\nwhen I receive [end v]\nhide\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\n\n@Player\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 (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <<key (w v) pressed?> or <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 (platforms v)?> or <<touching color (#00b543)?> or <touching color (#654d4d)?>>> 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 (platforms v)?> or <touching color (#654d4d)?>>> 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        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\nset [die to enemy v] to [0]\nset [end v] to [0]\nhide\n\nwhen flag clicked\nforever\n    if <touching (lava v)?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (line v)?> then\n        go to x: (-207) y: (70)\n        erase all\n        broadcast (new level v)\n    end\nend\n\nwhen I receive [reset v]\ngo to x: (-207) y: (70)\n\nwhen flag clicked\nforever\n    if <touching (line 2 v)?> then\n        broadcast (new level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (line 2 for line 1 v)?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen I receive [end v]\nhide\n\nwhen I receive [end v]\nset [end v] to [1]\n\nwhen flag clicked\nforever\n    if <touching (line 3 v)?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (line start v)?> then\n        broadcast (new level v)\n    end\nend\n\nwhen I receive [new level v]\ngo to x: (-207) y: (70)\n\nwhen flag clicked\nforever\n    if <touching (enemy v)?> then\n        go to x: (-207) y: (70)\n        erase all\n        change [die to enemy v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (enemy2 v)?> then\n        go to x: (-207) y: (70)\n        erase all\n        change [die to enemy v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (line botton v)?> then\n        go to x: (-207) y: (70)\n        erase all\n        set [die to void v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen I receive [end v]\nhide\n\nwhen flag clicked\nforever\n    if <key (a v) pressed?> then\n        hide list [achievements v]\n        wait (0.3) seconds\n        wait until <key (a v) pressed?>\n        show list [achievements v]\n        wait (0.3) seconds\n    end\nend\n\nwhen flag clicked\ndelete all of [achievements v]\nadd [10 jumps] to [achievements v]\nadd [20 jumps] to [achievements v]\nadd [30 jumps] to [achievements v]\nadd [40 jumps] to [achievements v]\nadd [die to void] to [achievements v]\nadd [draw!] to [achievements v]\nadd [die to an enemy] to [achievements v]\nadd [finish all Achievements] to [achievements v]\n\nwhen flag clicked\nset [die to void v] to [0]\nset [10 sec no jump v] to [0]\nset [time stop when v] to [0]\nset [time v] to [0]\n\nwhen flag clicked\nshow list [achievements v]\nrepeat until <(time stop when) = [1]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [end v]\nset [time stop when v] to [1]\n\nwhen flag clicked\nset [10 jumps v] to [0]\nforever\n    if <key (up arrow v) pressed?> then\n        change [10 jumps v] by (1)\n        wait (0.89) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(10 jumps) = [10]> then\n        broadcast (10 jumps done v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(10 jumps) = [20]> then\n        broadcast (20 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(10 jumps) = [30]> then\n        broadcast (30 jumps v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(10 jumps) = [40]> then\n        broadcast (40 jumps v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        broadcast (draw done v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [end v]\nforever\n    if <(time) > [200]> then\n        broadcast (time under 200 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(die to enemy) = [1]> then\n        broadcast (died to enemy v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(die to void) = [1]> then\n        broadcast (died to void v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (bottum line v)?> then\n        go to x: (-207) y: (70)\n        erase all\n        change [die to void v] by (1)\n    end\nend\n\n@lava\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [lava v]\nshow\n\nwhen I receive [hide lava v]\nhide\n\nwhen I receive [end v]\nhide\n\nwhen I receive [end v]\nhide\n\n@platforms\n\nwhen flag clicked\nset [enemy v] to [0]\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        broadcast (lava v)\n    else\n        broadcast (hide lava v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (enemie 2 hide v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [7]> then\n        broadcast (enemies 2 1 v)\n    end\nend\n\nwhen flag clicked\nwait until <(costume [number v]) = [2]>\nif <(costume [number v]) = [2]> then\n    broadcast (enemy v)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (enemie 2 hide v)\n    end\nend\n\nwhen I receive [new level v]\nnext costume\n\nwhen flag clicked\nwait until <(costume [number v]) = [3]>\nif <(costume [number v]) = [3]> then\n    set [enemy v] to [1]\n    broadcast (enemy stand still v)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (link v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (hide link v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (enemy 11 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        broadcast (enemie 2 hide v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [13]> then\n        broadcast (13 enemies v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [14]> then\n        broadcast (14 enemies v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [17]> then\n        broadcast (enemy 17 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [15]> then\n        broadcast (enemie 2 hide v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [19]> then\n        broadcast (enemie 2 hide v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [20]> then\n        broadcast (20 enemies v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [21]> then\n        broadcast (end v)\n        stop [this script v]\n    end\nend\n\n@text\n\nwhen flag clicked\nshow\ngo to [front v] layer\ndelete all of [link v]\nadd [https://scratch.mit.edu/projects/817134451/] to [link v]\nshow list [link v]\nswitch costume to (costume1 v)\n\nwhen I receive [new level v]\nnext costume\n\nwhen I receive [link v]\nhide list [link v]\n\nwhen I receive [hide link v]\nshow list [link v]\n\nwhen I receive [end v]\nhide\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) = [21]>> 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 (#654d4d)\nend\n\nwhen flag clicked\nforever\n    play sound [Vexento - Pixel Party v] until done\nend\n\n@bottum line\n\nwhen flag clicked\nshow\ngo to x: (10) y: (-74)\n\nwhen I receive [end v]\nhide\n\n@thumpnail\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n