Minecraft platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next stage v]\nnext backdrop\nif <(backdrop [number v]) = [9]> then\n    stop [this script v]\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nset size to (10) %\nswitch backdrop to (backdrop1 v)\nrender level\n\ndefine render level\nset [rendering v] to [0]\ngo to x: (-229) y: (-166)\nerase all\nshow\nrepeat (15)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    if <touching color (#ff0000)?> then\n        switch costume to (lava v)\n        stamp\n    end\n    if <touching color (#00ff55)?> then\n        switch costume to (costume1 v)\n        stamp\n    end\n    if <touching color (#cc7700)?> then\n        switch costume to (dirt v)\n        stamp\n    end\n    if <touching color (#000000)?> then\n        switch costume to (stone v)\n        stamp\n    end\n    if <touching color (#003fff)?> then\n        switch costume to (portal v)\n        stamp\n    end\n    change x by (25)\n    set x to (-228)\n    change y by (24)\nend\nhide\nset [rendering v] to [1]\n\nwhen I receive [next stage v]\nrender level\n\nwhen flag clicked\nset tempo to (100)\nforever\n    set volume to (200) %\n    play sound [MC1 v] until done\nend\n\n@head\n\nwhen flag clicked\nset size to (10) %\nshow\n\nwhen flag clicked\nset rotation style [don't rotate v]\npoint in direction (90)\npoint in direction (90)\ngo to x: (-180) y: (61)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    go to [front v] layer\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [x v] by (-0.8)\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [x v] by (0.8)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#006521)?> then\n        change y by (1)\n    end\n    if <touching color (#006521)?> then\n        change y by (1)\n    end\n    if <touching color (#006521)?> then\n        change y by (1)\n    end\n    if <touching color (#006521)?> then\n        change y by (1)\n    end\n    if <touching color (#006521)?> 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 [12]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching color (#006521)?> 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 color (#006521)?>> then\n        set [y v] to [14]\n    end\n    change y by (1)\n    if <touching color (#ff9400)?> then\n        go to x: (-212) y: (61)\n    end\n    wait until <(rendering) = [1]>\nend\n\nwhen flag clicked\nforever\n    if <touching color (#004aff)?> then\n        broadcast (next stage v)\n        go to x: (-180) y: (61)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [next stage v]\nnext costume\nif <(costume [number v]) = [11]> then\n    broadcast (thing v)\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <(rendering) = [0]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [thing v]\nwait until <(rendering) = [1]>\nshow\n\n@lava\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\n\n@Sprite4\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\n\n
im really trying to keep this project working but with every little update it seems to break. it should be working again though.\n\n