Minecraft Platformer Overworld Version Part Two
@Stage\n\n@player\n\nwhen flag clicked\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        change [x v] by (-1)\n        switch costume to (steve 2 v)\n    end\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        change [x v] by (1)\n        switch costume to (steve 1 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (ground v)?> 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 (ground v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nset [level v] to [0]\nset [deaths v] to [0]\ngo to x: (-53) y: (-115)\n\nwhen I receive [next level v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <touching (phantom v)?> then\n        change [deaths v] by (1)\n        go to x: (-53) y: (-115)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mob2 v)?> then\n        change [deaths v] by (1)\n        go to x: (-53) y: (-115)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (soil v)?> then\n        go to x: (-217) y: (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (enderman v)?> then\n        change [deaths v] by (1)\n        go to x: (-53) y: (-115)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (arrow v)?> then\n        change [deaths v] by (1)\n        go to x: (-53) y: (-115)\n    end\nend\n\nwhen flag clicked\nset [level v] to [0]\nforever\n    if <(level) = [8]> then\nend\n\nwhen [r v] key pressed\ngo to x: (-53) y: (-115)\n\nwhen flag clicked\nhide variable [skip level v]\nset [skip level v] to [no]\n\nwhen [s v] key pressed\nif <not <(level) = [8]>> then\n    go to x: (-217) y: (-20)\n    broadcast (NEXT LEVEL v) and wait\n    set [skip level v] to [yes]\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nrepeat (10)\n    set [world record v] to (☁ world record)\n    if <(world record) = [27]> then\n        set [☁ world record by v] to [silver_black-2009]\n    end\n    set [world record by v] to (☁ world record by)\n    hide variable [☁ world record v]\n    hide variable [☁ world record by v]\nend\nforever\n    if <(level) = [8]> then\n        if <<(timer:) < (world record)> and <(skip level) = [no]>> then\n            set [world record v] to (timer:)\n            set [world record by v] to (username)\n            set [☁ world record v] to (timer:)\n            set [☁ world record by v] to (username)\n        end\n    end\nend\n\n@ground\n\nwhen flag clicked\nswitch costume to (grass v)\n\nwhen I receive [next level v]\nnext costume\n\ndefine higher score (higher score)\n\nforever\n    if <(timer:) > (☁ Highscore)> then\n        set [☁ highscore v] to (timer:)\n    end\n    if <(☁ Highscore) < (timer:)> then\n        set [☁ highscore v] to (☁ Highscore)\n    end\n    if <(higher score) > (☁ Highscore)> then\n        set [☁ highscore v] to (timer:)\n        add (timer:) to [cloud v]\n    end\nend\n\nadd (☁ Highscore) to [cloud v]\nadd <(☁ Highscore) = [50]> to [cloud v]\nforever\n    if <(timer:) > (☁ Highscore)> then\n        set [☁ highscore v] to (timer:)\n    end\n    if <(level) = [9]> then\n        stop [this script v]\n    end\nend\n\ndefine Cloud\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\nend\n\n@soil\n\n@thumb\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nshow variable [timer: v]\nset [timer: v] to [-1]\n\nwhen flag clicked\nforever\n    play sound [minecraft song v] until done\nend\n\n@enderman\n\nwhen flag clicked\nforever\n    if <(level) = [0]> then\n        show\n        glide (1) secs to x: (pick random (-200) to (200)) y: (-45)\n        hide\n        go to x: (pick random (-200) to (200)) y: (-45)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    end\nend\n\n@phantom\n\nwhen flag clicked\nrepeat (10)\n    hide\nend\nforever\n    if <(level) = [1]> then\n        show\n        go to x: (150) y: (0)\n        glide (1) secs to x: (0) y: (0)\n        hide\n        wait (2) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        hide\n    end\nend\n\n@スケルトン\n\nwhen flag clicked\nrepeat (10)\n    hide\nend\nforever\n    if <(level) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        go to x: (60) y: (-52)\n        show\n    end\nend\n\n@arrow\n\nwhen flag clicked\nrepeat (10)\n    hide\nend\nforever\n    if <(level) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        go to x: (18) y: (-30)\n        show\n        glide (0.3) secs to x: (47) y: (-30)\n        glide (0.5) secs to x: (-200) y: (-30)\n        hide\n        wait (0.7) seconds\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (0) y: (100)\nforever\n    if <(level) = [8]> then\n        hide\n    else\n        show\n    end\nend\n\n
Instructions\narrow keys to move\ndodge the enemies and their deadly weapons\nPress r to restart the level\nmake it to the end