Minecraft Steve Lava platformer Escape from the nether

Instructions: Up arrow to fly up. You will slowly fall down. < and > to move. Avoid touching the lava. Click flag before pressing play. For the levels that have no lava, it is an invisible level. Look at the outline of the scene somewhere. It is not to scale but gives you an idea of what it is. Good luck beating the last level. Get to the nether portal on each level

@Stage\n\nwhen I receive [next level v]\nswitch backdrop to (pick random (2) to (5))\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [1]> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (50)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (download \(97\) v)\n\nwhen I receive [restart v]\nswitch backdrop to (download \(97\) v)\n\nset [level v] to [0]\n\nchange [color v] effect by (25)\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        if <not <touching (up v)?>> then\n            change [y v] by (10)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        if <not <touching (left v)?>> then\n            change [x v] by (-5)\n            switch costume to (costume2 v)\n        end\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        if <not <touching (right v)?>> then\n            change [x v] by (5)\n            switch costume to (costume1 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (x) y: (y)\nend\n\nwhen flag clicked\nforever\n    if <not <touching (floor v)?>> then\n        change [y v] by (-5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        broadcast (die v)\n    end\nend\n\nwhen I receive [die v]\nif <(level) = [1]> then\n    show\n    set [x v] to [-180]\n    set [y v] to [-140]\n    set size to (100) %\nend\nif <(level) = [2]> then\n    set [x v] to [-210]\n    set [y v] to [-160]\nend\nif <(level) = [3]> then\n    set [x v] to [-185]\n    set [y v] to [-160]\nend\nif <(level) = [4]> then\n    set [x v] to [-200]\n    set [y v] to [200]\n    set size to (30) %\nend\nif <(level) = [5]> then\n    set [x v] to [-225]\n    set [y v] to [-170]\nend\nif <(level) = [6]> then\n    set [x v] to [-210]\n    set [y v] to [-170]\nend\nif <(level) = [7]> then\n    set [x v] to [-170]\n    set [y v] to [-130]\n    set size to (10) %\nend\nif <(level) = [8]> then\n    set [x v] to [-195]\n    set [y v] to [-160]\n    set size to (50) %\nend\nif <(level) = [9]> then\n    set [y v] to [-150]\n    set [x v] to [-170]\nend\nif <(level) = [10]> then\n    set [x v] to [-200]\n    set [y v] to [-100]\n    set size to (20) %\nend\nif <(level) = [11]> then\n    set [y v] to [-100]\n    set [x v] to [200]\nend\nif <(level) = [12]> then\n    set size to (35) %\n    set [y v] to [0]\n    set [x v] to [-200]\nend\nif <(level) = [13]> then\n    set [y v] to [-80]\n    set [x v] to [-200]\n    set size to (60) %\nend\nif <(level) = [14]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\n    set size to (20) %\nend\nif <(level) = [15]> then\n    set [y v] to [-100]\n    set [x v] to [-200]\n    set size to (50) %\nend\nif <(level) = [16]> then\n    set [y v] to [-100]\n    set [x v] to [-200]\nend\nif <(level) = [17]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\nif <(level) = [18]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\nif <(level) = [19]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\nif <(level) = [20]> then\n    set size to (20) %\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\n\nturn left (15) degrees\nif <not <touching (sprite2 v)?>> then\n\nturn right (15) degrees\n\nchange [x v] by (-10)\n\nchange [y v] by (-10)\n\nnext costume\n\nwhen I receive [next level v]\nif <(level) = [1]> then\n    show\n    set [x v] to [-180]\n    set [y v] to [-140]\n    set size to (100) %\nend\nif <(level) = [2]> then\n    set [x v] to [-210]\n    set [y v] to [-160]\n    set size to (50) %\nend\nif <(level) = [3]> then\n    set [x v] to [-185]\n    set [y v] to [-160]\nend\nif <(level) = [4]> then\n    set [x v] to [-200]\n    set [y v] to [200]\n    set size to (30) %\nend\nif <(level) = [5]> then\n    set [x v] to [-225]\n    set [y v] to [-170]\nend\nif <(level) = [6]> then\n    set [x v] to [-210]\n    set [y v] to [-170]\nend\nif <(level) = [7]> then\n    set [x v] to [-170]\n    set [y v] to [-130]\n    set size to (10) %\nend\nif <(level) = [8]> then\n    set [x v] to [-195]\n    set [y v] to [-160]\n    set size to (50) %\nend\nif <(level) = [9]> then\n    set [y v] to [-150]\n    set [x v] to [-170]\nend\nif <(level) = [10]> then\n    set [x v] to [-200]\n    set [y v] to [-100]\n    set size to (20) %\nend\nif <(level) = [11]> then\n    set [y v] to [0]\n    set [x v] to [0]\nend\nif <(level) = [12]> then\n    set size to (35) %\n    set [y v] to [0]\n    set [x v] to [-200]\nend\nif <(level) = [13]> then\n    set [y v] to [-80]\n    set [x v] to [-200]\n    set size to (60) %\nend\nif <(level) = [14]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\n    set size to (20) %\nend\nif <(level) = [15]> then\n    set [y v] to [-100]\n    set [x v] to [-200]\n    set size to (50) %\nend\nif <(level) = [16]> then\n    set [y v] to [-100]\n    set [x v] to [-200]\nend\nif <(level) = [17]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\nif <(level) = [18]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\nif <(level) = [19]> then\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\nif <(level) = [20]> then\n    set size to (20) %\n    set [y v] to [-150]\n    set [x v] to [-200]\nend\n\nwait (1) seconds\nbroadcast (die v)\n\nchange size by (20)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [recording2 v] until done\nend\n\nwhen [j v] key pressed\nbroadcast (next level v)\nchange [level v] by (1)\n\ngo to x: (-225) y: (-184)\nrepeat until <([y position v] of [sprite2 v]) < (x)>\n\nturn left (15) degrees\ngo to (random position v)\nturn left (15) degrees\nturn left (15) degrees\ngo to (random position v)\ngo to (random position v)\n\ngo to (random position v)\n\ngo to x: (65) y: (-183)\n\n@Sprite2\n\nset [y v] to [0]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [3]> then\n        wait (0.5) seconds\n        change y by (20)\n        wait (0.5) seconds\n        change y by (-20)\n    end\nend\n\nwhen flag clicked\n\n\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        change y by (100)\n        wait (1) seconds\n        change y by (-100)\n        wait (1) seconds\n    else\n        go to x: (-1) y: (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        show\n        switch costume to (level 1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (level 2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (level 3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (level 4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (level 5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (level 6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (level 7 v)\n    end\n    if <(level) = [8]> then\n        switch costume to (level 8 v)\n    end\n    if <(level) = [9]> then\n        switch costume to (level 9 v)\n    end\n    if <(level) = [10]> then\n        switch costume to (level 10 v)\n    end\n    if <(level) = [11]> then\n        switch costume to (level 11 v)\n    end\n    if <(level) = [12]> then\n        switch costume to (level 12 v)\n    end\n    if <(level) = [13]> then\n        switch costume to (level 13 v)\n    end\n    if <(level) = [14]> then\n        switch costume to (level 14 v)\n    end\n    if <(level) = [15]> then\n        switch costume to (level 15 v)\n        set [ghost v] effect to (100)\n    end\n    if <(level) = [16]> then\n        set [ghost v] effect to (100)\n        switch costume to (level 16 v)\n    end\n    if <(level) = [17]> then\n        set [ghost v] effect to (100)\n        switch costume to (level 17 v)\n    end\n    if <(level) = [18]> then\n        set [ghost v] effect to (100)\n        switch costume to (level 18 v)\n    end\n    if <(level) = [19]> then\n        set [ghost v] effect to (100)\n        switch costume to (level 19 v)\n    end\n    if <(level) = [20]> then\n        change [ghost v] effect by (-100)\n        switch costume to (level 20 v)\n    end\n    if <(level) = [21]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [18]> or <<<(level) = [8]> or <(level) = [14]>> or <(level) = [15]>>> then\n        turn left (3) degrees\n    else\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nhide\n\nchange [ghost v] effect by (-100)\n\nwhen flag clicked\nhide\n\nwhen I receive [restart v]\nset [level v] to [0]\nhide\n\nshow variable [level v]\n\ngo to x: (-1) y: (-20)\n\ngo to (random position v)\n\ngo to (random position v)\n\n@floor\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\nend\n\n@left\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\nend\n\n@up\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\nend\n\n@right\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <([costume # v] of [sprite2 v]) = [15]> then\n        show\n        switch costume to (pre v)\n        go to x: (-3) y: (-232)\n    end\n    if <([costume # v] of [sprite2 v]) = [16]> then\n        show\n        switch costume to (level 1 v)\n        go to x: (6) y: (-224)\n    end\n    if <([costume # v] of [sprite2 v]) = [17]> then\n        show\n        switch costume to (level 2 v)\n        go to x: (-7) y: (13)\n    end\n    if <([costume # v] of [sprite2 v]) = [18]> then\n        show\n        switch costume to (costume1 v)\n        go to x: (-364) y: (-1)\n    end\n    if <([costume # v] of [sprite2 v]) = [19]> then\n        show\n        switch costume to (costume2 v)\n    end\n    if <([costume # v] of [sprite2 v]) = [20]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\n@nether portal\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        change [level v] by (1)\n        broadcast (next level v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [0]> then\n        set size to (50) %\n        go to x: (191) y: (-6)\n    end\n    if <(level) = [1]> then\n        set size to (50) %\n        go to x: (182) y: (-113)\n    end\n    if <(level) = [2]> then\n        set size to (50) %\n        go to x: (182) y: (-113)\n    end\n    if <(level) = [3]> then\n        set size to (50) %\n        go to x: (182) y: (-113)\n    end\n    if <(level) = [4]> then\n        set size to (50) %\n        go to x: (188) y: (109)\n    end\n    if <(level) = [5]> then\n        set size to (10) %\n        go to x: (-45) y: (-164)\n    end\n    if <(level) = [6]> then\n        set size to (20) %\n        go to x: (210) y: (148)\n    end\n    if <(level) = [8]> then\n        set size to (20) %\n        go to x: (0) y: (40)\n    end\n    if <(level) = [9]> then\n        set size to (20) %\n        go to x: (201) y: (-153)\n    end\n    if <(level) = [10]> then\n        set size to (20) %\n        go to x: (-96) y: (-34)\n    end\n    if <(level) = [11]> then\n        set size to (50) %\n        go to x: (79) y: (71)\n    end\n    if <(level) = [12]> then\n        set size to (20) %\n        go to x: (180) y: (108)\n    end\n    if <(level) = [13]> then\n        set size to (50) %\n        go to x: (-187) y: (65)\n    end\n    if <(level) = [14]> then\n        set size to (50) %\n        go to x: (181) y: (105)\n    end\n    if <(level) = [16]> then\n        set size to (50) %\n        go to x: (174) y: (99)\n    end\n    if <(level) = [17]> then\n        set size to (50) %\n        go to x: (184) y: (-111)\n    end\n    if <(level) = [18]> then\n        set size to (50) %\n        go to x: (184) y: (-111)\n    end\n    if <(level) = [19]> then\n        set size to (40) %\n        go to x: (102) y: (126)\n    end\n    if <(level) = [20]> then\n        set size to (40) %\n        go to x: (193) y: (117)\n    end\n    if <(level) = [21]> then\n        set size to (40) %\n        go to x: (193) y: (-100)\n    end\nend\n\n\n\nwhen flag clicked\nset [level v] to [0]\n\nwhen flag clicked\nforever\n    if <(level) = [21]> then\n        switch costume to (download - 2019-05-10t115511 v)\n    else\n        switch costume to (download \(96\) v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [22]> then\n        broadcast (restart v)\n    end\nend\n\nwhen I receive [restart v]\ngo to x: (191) y: (-6)\n\n@play\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (next level v)\nhide\n\nwhen I receive [restart v]\nshow\n\n@front steve\n\nwhen flag clicked\nshow\nforever\n    point in direction (90)\n    go to x: (-188) y: (-3)\n    repeat until <touching (nether portal v)?>\n        change x by (3)\n        turn right (3) degrees\n    end\nend\n\nwhen I receive [next level v]\nhide\n\nwhen flag clicked\n\nwhen I receive [restart v]\nshow\n\n@Sprite4\n\n