Minecraft Platformer 

Instructions:                           ★★★★★ Draw ★★★★★\n\n                             ★★★How to play★★★\n- Arrow keys and WAD to move !\n- Don't touch spikes, lava, ...\n- You can draw and move on it !\n\n                                         ★Goals★\n- Up to #20 on #All\n- Up to #10 on Games\n- 10 000+ views\n- 500+ Loves And Favs\n\n          ★★★★★★★★★★Credits★★★★★★★★★★★★\n- Thanks to @JWhandle and @madrid2030 for some codes !\n- The other codes by me ! \n\n                                  ❤️ + ⭐ = Thanks\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:D

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    if <(LEVEL) = [16]> then\n        switch backdrop to (backdrop2 v)\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [1]> then\n        hide\n    end\n    if <(LEVEL) = [2]> then\n        hide\n    end\n    if <(LEVEL) = [3]> then\n        hide\n    end\n    if <(LEVEL) = [4]> then\n        show\n        go to x: (-150) y: (-90)\n    end\n    if <(LEVEL) = [5]> then\n        show\n        go to x: (-150) y: (-100)\n    end\n    if <(LEVEL) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (platformer boi v)?> then\n        wait until <not <touching (platformer boi v)?>>\n        repeat (5)\n            wait (0.001) seconds\n            next costume\n        end\n    end\nend\n\n@Platformer Boi\n\nwhen I receive [restart v]\nReset\n\nwhen flag clicked\nset size to (50) %\n\nwhen I start as a clone\nshow\nrepeat (15)\n    switch costume to (hello9 v)\n    change size by (-3)\n    change [ghost v] effect by (7)\nend\ndelete this clone\n\nwhen flag clicked\nReset\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        broadcast (Next Level v)\n    end\nend\n\nwhen I receive [previous level v]\nReset\n\nwhen I receive [next level v]\nReset\n\nwhen flag clicked\nforever\n    wait (0.005) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    if <<touching (trampoline v)?> or <<touching (trampoline2 v)?> or <<touching (trampoline3 v)?> or <touching (trampoline4 v)?>>>> then\n        set [y v] to [15]\n    end\nend\n\nwhen this sprite clicked\nchange [color v] effect by (10)\n\nwhen flag clicked\nset [color v] effect to (0)\nswitch costume to (hello5 v)\nshow\ngo to x: (-216) y: (-70)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-0.5)\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        if <[4] < (costume [number v])> then\n            change [x v] by (0.8)\n        else\n            switch costume to (hello2 v)\n            change [x v] by (0.8)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        if <[4] < (costume [number v])> then\n            change [x v] by (-0.9)\n        else\n            switch costume to (hello3 v)\n            change [x v] by (-0.9)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching (level v)?> or <touching (moving platform v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (moving platform v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (moving platform v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (moving platform v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (moving platform v)?>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <touching (moving platform v)?>> then\n                            change y by (1)\n                            if <<touching (level v)?> or <touching (moving platform v)?>> then\n                                change y by (-6)\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n                                    set [y v] to [4]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <<touching (level v)?> or <touching (moving platform v)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<<touching (level v)?> or <touching (moving platform v)?>> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>>> then\n        if <[4] < (costume [number v])> then\n            set [y v] to [10]\n        else\n            set [y v] to [10]\n            switch costume to (hello4 v)\n        end\n    end\n    change y by (0.5)\n    if <<touching (spikes v)?> or <<touching (saw1 v)?> or <<[-175] > (y position)> or <<touching (saw2 v)?> or < or >>>>> then\n        change [deaths v] by (1)\n        repeat (10)\n            change [ghost v] effect by (10)\n            wait (0.01) seconds\n        end\n        set [ghost v] effect to (0)\n        Reset\n    end\nend\n\ndefine Reset\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\ngo to x: (-216) y: (-50)\nshow\n\nwhen flag clicked\nforever\n    if <touching (zoom v)?> then\n        change [x v] by (5)\n    end\nend\n\n@Grunge\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nset [ghost v] effect to (95)\n\n@Spikes\n\nwhen I receive [previous level v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen backdrop switches to [backdrop7 v]\ngo to [front v] layer\n\nwhen flag clicked\nshow\nforever\n    switch costume to (LEVEL)\n    set size to (90) %\nend\n\n@Saw1\n\nwhen flag clicked\nforever\n    turn right (6) degrees\nend\n\nwhen flag clicked\nshow\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [1]> then\n        go to x: (-100) y: (-120)\n    end\n    if <(LEVEL) = [5]> then\n        go to x: (-65) y: (-120)\n    end\n    if <(LEVEL) = [10]> then\n        go to x: (-150) y: (150)\n    end\nend\n\n@Saw2\n\nwhen flag clicked\nforever\n    turn left (6) degrees\nend\n\nwhen flag clicked\nshow\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [1]> then\n        go to x: (100) y: (-120)\n    end\n    if <(LEVEL) = [5]> then\n        go to x: (110) y: (-120)\n    end\n    if <(LEVEL) = [10]> then\n        go to x: (10) y: (5)\n    end\n    if <(LEVEL) = [15]> then\n        go to x: (75) y: (-120)\n    end\nend\n\n@portal\n\nwhen [timer v] > (0.1)\nhide\n\nwhen flag clicked\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nshow\nrepeat (10)\n    go to [front v] layer\nend\nforever\n    turn right (3) degrees\nend\n\nwhen flag clicked\nrepeat (10)\n    clear graphic effects\nend\nforever\n    show\n    if <(LEVEL) = [1]> then\n        go to x: (200) y: (0)\n    end\n    if <(LEVEL) = [2]> then\n        go to x: (200) y: (130)\n    end\n    if <(LEVEL) = [3]> then\n        go to x: (200) y: (150)\n    end\n    if <(LEVEL) = [4]> then\n        go to x: (200) y: (20)\n    end\n    if <(LEVEL) = [5]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [6]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [7]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [8]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [9]> then\n        go to x: (200) y: (150)\n    end\n    if <(LEVEL) = [10]> then\n        go to x: (200) y: (150)\n    end\n    if <(LEVEL) = [11]> then\n        go to x: (200) y: (-20)\n    end\n    if <(LEVEL) = [12]> then\n        go to x: (200) y: (0)\n    end\n    if <(LEVEL) = [16]> then\n        set [ghost v] effect to (100)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nshow\nforever\n    turn left (3) degrees\n    go to [front v] layer\nend\n\nwhen I start as a clone\nrepeat (10)\n    clear graphic effects\nend\nforever\n    show\n    if <(LEVEL) = [1]> then\n        go to x: (200) y: (0)\n    end\n    if <(LEVEL) = [2]> then\n        go to x: (200) y: (130)\n    end\n    if <(LEVEL) = [3]> then\n        go to x: (200) y: (150)\n    end\n    if <(LEVEL) = [4]> then\n        go to x: (200) y: (20)\n    end\n    if <(LEVEL) = [5]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [6]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [7]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [8]> then\n        go to x: (200) y: (-75)\n    end\n    if <(LEVEL) = [9]> then\n        go to x: (200) y: (150)\n    end\n    if <(LEVEL) = [10]> then\n        go to x: (200) y: (150)\n    end\n    if <(LEVEL) = [11]> then\n        go to x: (200) y: (-20)\n    end\n    if <(LEVEL) = [12]> then\n        go to x: (200) y: (0)\n    end\n    if <(LEVEL) = [16]> then\n        set [ghost v] effect to (100)\n    end\nend\n\n@Decoration\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    switch costume to (LEVEL)\n    wait (0.001) seconds\nend\n\nhide\n\nwhen [space v] key pressed\nhide\n\n@Trampoline2\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [1]> then\n        hide\n    end\n    if <(LEVEL) = [2]> then\n        hide\n    end\n    if <(LEVEL) = [3]> then\n        hide\n    end\n    if <(LEVEL) = [4]> then\n        hide\n    end\n    if <(LEVEL) = [5]> then\n        show\n        go to x: (20) y: (-100)\n    end\n    if <(LEVEL) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (platformer boi v)?> then\n        wait until <not <touching (platformer boi v)?>>\n        repeat (5)\n            wait (0.001) seconds\n            next costume\n        end\n    end\nend\n\n@Level\n\nwhen flag clicked\nset [level v] to [1]\nswitch costume to (costume1 v)\nrepeat (10)\n    go to x: (0) y: (0)\n    set size to (90) %\n    go to [front v] layer\n    show\nend\nforever\n    switch costume to (LEVEL)\nend\n\nwhen I receive [next level v]\nchange [level v] by (1)\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen [space v] key pressed\n\n@Zoom\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [14]> then\n        show\n        switch costume to (costume1 v)\n    else\n        if <(LEVEL) = [15]> then\n            show\n            switch costume to (costume2 v)\n        else\n            hide\n        end\n    end\nend\n\n