Mincraft platformer 

Instructions: You know wut to due.\n\nComplete to continue the quest!\n\nClick the green flag twice!!!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Minecraft OST - Pigstep v] until done\nend\n\n@ground\n\nwhen flag clicked\nswitch costume to (grass v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\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\n\n\nwhen I receive [die v]\ngo to x: (16) y: (-64)\n\n@soil\n\n@nether portal\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\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)\n    if <touching (nether portal v)?> then\n        go to x: (-217) y: (-20)\n        broadcast (NEXT LEVEL v) and wait\n    end\nend\n\nif <(x position) > [222]> then\n    go to x: (-217) y: (-20)\n    broadcast (NEXT LEVEL v) and wait\nend\n\nwhen flag clicked\nset [level v] to [0]\nset [deaths v] to [0]\ngo to x: (-53) y: (-115)\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        broadcast (ok 2 v)\n    end\nend\n\nwhen I receive [next level v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <touching (mob 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 <(level) = [3]> then\n        broadcast (ok time v)\n    end\nend\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 [0]\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [timer: v] by (1)\nend\n\nwhen flag clicked\nforever\n\nplay sound [minecraft song v] until done\n\n@thumb2\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 [0]\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [timer: v] by (1)\nend\n\nwhen flag clicked\nshow list [your next quest link! v]\n\nplay sound [minecraft song v] until done\n\nforever\n\nwhen I receive [die v]\n\nwhen flag clicked\nforever\n    if <(level) = [8]> then\n    end\nend\n\nhide list [your next quest link! v]\n\nhide list [your next quest link! v]\n\ndelete all of [cloud v]\n\n