Minecraft (UNFAIR) platformer
@Stage\n\nwhen flag clicked\nset [sound on v] to [1]\nset [level 10 v] to [0]\nset [level 9 v] to [0]\nset [number of deaths v] to [0]\nset [level 5 v] to [0]\nset [level 2 v] to [0]\nforever\n    if <(backdrop [number v]) = [1]> then\n        switch backdrop to (mccloud v)\n    end\n    if <<key (r v) pressed?> and <(level 10) = [1]>> then\n        broadcast (die v)\n        broadcast (level 14 v)\n    else\n        if <<key (r v) pressed?> and <(level 9) = [1]>> then\n            broadcast (level 9 die v)\n        else\n            if <<key (r v) pressed?> and <(level 5) = [1]>> then\n                broadcast (level 5 die v)\n            else\n                if <key (r v) pressed?> then\n                    broadcast (die v)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [level 5 v]\nset [level 5 v] to [1]\n\nwhen I receive [level 6 v]\nset [level 5 v] to [0]\n\nwhen I receive [level 10 v]\nset [level 9 v] to [0]\n\nwhen I receive [level 9 die v]\nbroadcast (level 9 v)\nbroadcast (die v)\n\nwhen I receive [level 15 v]\nset [level 10 v] to [0]\n\nwhen I receive [die v]\nif <(level 10) = [1]> then\n    broadcast (level 14 v)\nend\n\nwhen I receive [level 14 v]\nset [level 10 v] to [1]\n\nwhen I receive [pressed level 10 2 v]\nset [level 10 v] to [1]\n\nwhen I receive [level 11 v]\nset [level 10 v] to [0]\n\n@steve\n\nwhen I receive [die v]\ngo to x: (-218) y: (-81)\nchange [number of deaths v] by (1)\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        stop [this script v]\n    else\n        if <(sound on) = [1]> then\n            play sound [oof v] until done\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [level 2 v]\nbroadcast (die v)\n\nwhen I receive [level 3 v]\nbroadcast (die v)\n\nwhen I receive [level 4 v]\nbroadcast (die v)\n\nwhen I receive [level 5 v]\ngo to x: (-218) y: (80)\n\nwhen I receive [level 5 die v]\ngo to x: (-241) y: (55)\nplay sound [oof v] until done\nchange [number of deaths v] by (1)\n\nwhen I receive [level 7 v]\nbroadcast (die v)\n\nwhen I receive [level 6 v]\nbroadcast (die v)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen I receive [level 11 v]\nif <(number of deaths) = [9]> then\n    say [Good Job! You only died once!] for (2) seconds\nend\n\nwhen I receive [level 11 v]\ngo to x: (-209) y: (-43)\n\nwhen I receive [sound off v]\nset volume to (0) %\n\nwhen I receive [sound on v]\nset volume to (100) %\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\nwhen I receive [end v]\nset [fall v] to [end]\n\nwhen flag clicked\nforever\n    if <<touching (level 14 water 1 v)?> or <touching (level 15 water  v)?>> then\n        switch costume to (download \(41\)2 v)\n        wait (0.1) seconds\n        switch costume to (download \(41\) v)\n        wait until <not <<touching (level 14 water 1 v)?> or <touching (level 15 water  v)?>>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<<touching (level 14 water 1 v)?> or <touching (level 15 water  v)?>> or <touching (level 16 magma v)?>>> then\n        switch costume to (download \(41\) v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (level 14 water 1 v)?> then\n        start sound [Splash v]\n        wait until <not <touching (level 14 water 1 v)?>>\n    end\nend\n\nstop all sounds\n\nwhen I receive [level 8 v]\nbroadcast (die v)\n\nbroadcast (die v)\n\nwhen flag clicked\nforever\n    if <touching (level 16 magma v)?> then\n        broadcast (fire v)\n    end\nend\n\nwhen I receive [fire v]\nrepeat (20)\n    switch costume to (download \(41\)3 v)\n    switch costume to (download \(41\)3 v)\n    switch costume to (download \(41\)3 v)\n    switch costume to (download \(41\)3 v)\nend\nbroadcast (die v)\n\nwhen flag clicked\nshow\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    set [xpos v] to (x position)\n    set [ypos v] to (y position)\nend\n\nwhen flag clicked\nforever\n    set [direction of steve v] to (direction)\nend\n\nwhen flag clicked\nset volume to (100) %\nswitch costume to (download \(41\) v)\nset rotation style [left-right v]\nset size to (50) %\nshow\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-201) y: (-85)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change x by (6)\n        if <touching (level 16 soulsand v)?> then\n            change x by (-2.5)\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (-6)\n            end\n        else\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (-6)\n            end\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change x by (-6)\n        if <touching (level 16 soulsand v)?> then\n            change x by (2.5)\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (6)\n            end\n        else\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (6)\n            end\n        end\n    end\n    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n        change y by (1)\n        if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n            change y by (1)\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change y by (1)\n                if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                    change y by (1)\n                    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                        change y by (1)\n                        if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                start sound [Boing v]\n                                set [yv v] to [10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (YV)\n    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n        change y by ((YV) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            start sound [Boing v]\n            set [yv v] to [12.5]\n        end\n    end\n    change y by (1)\n    if <(y position) < [-170]> then\n        broadcast (die v)\n    end\nend\n\nwhen I receive [animation end v]\nshow\nbroadcast (die v)\n\nwhen I receive [level 18 v]\nhide\n\n@levels\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (level 1 v)\n\nwhen flag clicked\nset size to (100) %\n\nwhen I receive [level 2 v]\nswitch costume to (level 2 v)\n\nwhen I receive [level 3 v]\nswitch costume to (level 3 v)\n\nwhen I receive [level 4 v]\nswitch costume to (level 4 v)\n\nwhen I receive [level 5 v]\nbroadcast (level 5 die v)\nswitch costume to (level 5 v)\n\nwhen I receive [level 6 v]\nswitch costume to (level 6 v)\n\nwhen I receive [touched v]\nswitch costume to (level 11 touched v)\n\nwhen I receive [level 7 v]\nswitch costume to (level 7 v)\n\nwhen I receive [level 8 v]\nswitch costume to (level 8 v)\n\nwhen I receive [button pushed v]\nswitch costume to (level 8 button pushed v)\n\nwhen I receive [level 9 v]\nswitch costume to (level 9 v)\n\nwhen I receive [pressed- level 10 v]\nswitch costume to (level 14 path 1 activated v)\n\nwhen I receive [level 10 v]\nswitch costume to (level 10 v)\n\nwhen I receive [level 10 v]\nset [level 10 v] to [1]\n\nwhen I receive [pressed level 10 2 v]\nswitch costume to (level 14 path 2 activated v)\n\nwhen I receive [level 11 v]\nforever\n    switch costume to (level 11 v)\n    if <(level 12) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 12 v]\nset [level 12 v] to [1]\nswitch costume to (level 12 v)\n\nwhen I receive [level 13 v]\nswitch costume to (level 13 v)\n\nwhen I receive [pressed level 10 2 v]\nswitch costume to (level 14 path 2 activated v)\n\nwhen I receive [level 14 v]\nswitch costume to (level 14 v)\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [end]> then\n        broadcast (end v)\n    end\nend\n\nwhen I receive [level 15 v]\nswitch costume to (level 15 v)\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [level 16 v]\nswitch costume to (level 16 v)\n\nwhen I receive [lv 11 v]\nswitch costume to (level 11 v)\n\nwhen I receive [level 17 v]\nswitch costume to (level 17 v)\n\nwhen I receive [level 18 v]\nswitch costume to (level 18 v)\n\nwhen I receive [end!! v]\nswitch costume to (end!! v)\n\nwhen flag clicked\nshow\n\nwhen [timer v] > (0.4)\nhide\n\n@level 1 trap\n\nwhen flag clicked\nshow\nforever\n    if <touching (steve v)?> then\n        switch costume to (download \(42\)2 v)\n        go to [front v] layer\n        wait (1) seconds\n        switch costume to (costume1 v)\n        go to [back v] layer\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 2 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen flag clicked\ngo to x: (0) y: (-92)\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 2 trap\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 3 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen flag clicked\nhide\ngo to x: (-107) y: (-92)\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\n\nwhen I receive [level 2 v]\nshow\nforever\n    if <touching (steve v)?> then\n        switch costume to (download \(42\)2 v)\n        go to [front v] layer\n        wait (1) seconds\n        switch costume to (costume1 v)\n        go to [back v] layer\n        broadcast (die v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 3 trap\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 4 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen flag clicked\nhide\ngo to x: (-2) y: (-54)\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\n\nwhen I receive [level 3 v]\nshow\nforever\n    if <touching (steve v)?> then\n        switch costume to (download \(42\)2 v)\n        go to [front v] layer\n        wait (1) seconds\n        switch costume to (costume1 v)\n        go to [back v] layer\n        broadcast (die v)\n    end\nend\n\n@level 5 trap\n\nwhen I receive [level 5 v]\nshow\nforever\n    if <touching (steve v)?> then\n        switch costume to (costume1 v)\n        go to [front v] layer\n        wait (0.5) seconds\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n        go to [back v] layer\n        broadcast (level 5 die v)\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (-3)\n\nwhen I receive [level 6 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen [timer v] > (0.4)\nhide\n\n@level 5 path\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [level 5 v]\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\n\nwhen I receive [level 6 v]\ngo to [back v] layer\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [fall down v]\nhide\n\n@level 11 trap\n\nwhen I receive [level 11 v]\nforever\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n\nwhen flag clicked\nhide\ngo to x: (-5) y: (-113)\n\nwhen I receive [level 12 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 11 v]\nshow\n\nwhen I receive [fall down v]\nrepeat (5)\n    change y by (-7)\nend\nrepeat (5)\n    change y by (-9)\nend\nrepeat (5)\n    change y by (-11)\nend\nwait (0.05) seconds\n\nwhen I receive [level 11 v]\nforever\n    if <touching (steve v)?> then\n        broadcast (fall down v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [fall down v]\nhide\n\n@level 11 trap base\n\nwhen I receive [level 11 v]\nforever\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n\nwhen flag clicked\nhide\ngo to x: (-5) y: (-113)\n\nwhen I receive [level 12 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 11 v]\nshow\n\nwhen I receive [fall down v]\nrepeat (5)\n    change y by (-9)\nend\nrepeat (5)\n    change y by (-11)\nend\nrepeat (5)\n    change y by (-13)\nend\nbroadcast (die v)\nwait (0.05) seconds\nbroadcast (touched v)\n\nwhen I receive [level 11 v]\nforever\n    if <touching (steve v)?> then\n        change [fall v] by (1)\n        broadcast (fall down v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [fall down v]\nhide\n\n@portal\n\nwhen flag clicked\nshow\ngo to x: (208) y: (-66)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 2 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 2 v]\nbroadcast (die v)\nstop [other scripts in sprite v]\nshow\ngo to x: (210) y: (-63)\nwait (0.5) seconds\nforever\n    if <touching (steve v)?> then\n        go to x: (211) y: (-77)\n        broadcast (die v)\n        broadcast (level 3 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 3 v]\nbroadcast (die v)\nstop [other scripts in sprite v]\nshow\ngo to x: (209) y: (-62)\nwait (0.5) seconds\nforever\n    if <touching (steve v)?> then\n        broadcast (die v)\n        broadcast (level 4 v)\n        wait (0.05) seconds\n        go to x: (-200) y: (142)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 4 v]\nbroadcast (die v)\nstop [other scripts in sprite v]\nshow\ngo to x: (-200) y: (142)\nwait (0.5) seconds\nforever\n    if <touching (steve v)?> then\n        broadcast (level 5 v)\n        go to x: (204) y: (-93)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 5 v]\nbroadcast (level 5 die v)\nstop [other scripts in sprite v]\nshow\ngo to x: (204) y: (-93)\nwait (0.5) seconds\nforever\n    if <touching (steve v)?> then\n        broadcast (level 6 v)\n        go to x: (200) y: (-52)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 6 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (200) y: (-52)\nwait (0.5) seconds\nforever\n    if <touching (steve v)?> then\n        broadcast (level 7 v)\n        go to x: (-217) y: (146)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 7 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (-217) y: (146)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 8 v)\n        go to x: (200) y: (-52)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 8 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (200) y: (-52)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 9 v)\n        go to x: (-215) y: (-95)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 9 touched v]\nstop [other scripts in sprite v]\nwait (3) seconds\nshow\ngo to x: (-215) y: (-95)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 10 v)\n        go to x: (194) y: (-58)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [level 10 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (194) y: (-58)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 11 v)\n        go to x: (209) y: (-29)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 11 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (209) y: (-29)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 12 v)\n        go to x: (-144) y: (83)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 12 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (-144) y: (83)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 13 v)\n        go to x: (-144) y: (83)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 13 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (207) y: (-10)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 14 v)\n        go to x: (196) y: (-51)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [end v]\nhide\n\nwhen I receive [level 14 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (71) y: (-77)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 15 v)\n        go to x: (207) y: (-10)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 15 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (199) y: (98)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 16 v)\n        go to x: (207) y: (-10)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 16 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (199) y: (-73)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 17 v)\n        go to x: (207) y: (-10)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 17 v]\nstop [other scripts in sprite v]\nshow\ngo to x: (199) y: (-63)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 18 v)\n        go to x: (199) y: (-63)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 18 v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [herbrine dead v]\nshow\ngo to x: (199) y: (-63)\nforever\n    if <touching (steve v)?> then\n        broadcast (END!! v)\n        go to x: (207) y: (-10)\n        broadcast (die v)\n        stop [this script v]\n    end\nend\n\n@level 7 trap 1\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (-131) y: (-129)\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\n@level 7 trap 2\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (47) y: (-23)\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\n@level 7 trap 3\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (47) y: (-40)\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen I receive [level 7 v]\nshow\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@level 7 trap 4\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (47) y: (-40)\n\n@level 7 trap 5\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (52) y: (-26)\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 7 trap 6\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (35) y: (68)\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 7 trap 8\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (89) y: (-1)\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen I receive [level 7 v]\nshow\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen [timer v] > (0.4)\nhide\n\n@level 7 trap 9\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (54) y: (-57)\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 7 trap 10\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (-43) y: (-56)\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 7 trap 11\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (55) y: (-15)\n\nwhen [timer v] > (0.4)\nhide\n\n@level 7 trap 12\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (85) y: (-29)\n\nwhen I receive [level 8 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 7 v]\nshow\n\nwhen I receive [level 7 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\n\n@level 8 trap\n\nwhen I receive [level 8 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 9 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 8 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\ngo to [front v] layer\n\nwhen flag clicked\nhide\ngo to x: (30) y: (-14)\n\nwhen [timer v] > (0.4)\nhide\n\n@ level 8 button\n\nwhen flag clicked\nhide\nswitch costume to (button v)\n\nwhen I receive [level 8 v]\nshow\nforever\n    if <touching (steve v)?> then\n        broadcast (button pushed v)\n        switch costume to (button pushed v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 9 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen [timer v] > (0.4)\nhide\n\n@level 9 trap 1\n\nwhen I receive [level 9 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 9 die v)\n    end\nend\n\nwhen I receive [level 10 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 9 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\npoint in direction (90)\ngo to x: (30) y: (-61)\n\nwhen flag clicked\nforever\n    move (10) steps\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [158]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) < [-132]> then\n        point in direction (90)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 9 trap 2\n\nwhen I receive [level 9 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 9 die v)\n    end\nend\n\nwhen I receive [level 10 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 9 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\npoint in direction (90)\ngo to x: (32) y: (-7)\n\nwhen flag clicked\nforever\n    move (5) steps\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [85]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) < [-155]> then\n        point in direction (90)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 9 trap 3\n\nwhen I receive [level 9 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 9 die v)\n    end\nend\n\nwhen I receive [level 10 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 9 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\npoint in direction (90)\ngo to x: (-90) y: (-7)\n\nwhen flag clicked\nforever\n    move (7) steps\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [85]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) < [-155]> then\n        point in direction (90)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 9 trap 4\n\nwhen I receive [level 9 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 9 die v)\n    end\nend\n\nwhen I receive [level 10 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 9 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\npoint in direction (90)\ngo to x: (-30) y: (101)\n\nwhen flag clicked\nforever\n    move (5) steps\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [120]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) < [-155]> then\n        point in direction (90)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 9 trap 5\n\nwhen I receive [level 9 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 9 die v)\n    end\nend\n\nwhen I receive [level 10 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 9 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\npoint in direction (90)\ngo to x: (70) y: (101)\n\nwhen flag clicked\nforever\n    move (7) steps\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [120]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) < [-155]> then\n        point in direction (90)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 9 trap 6\n\nwhen I receive [level 9 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 9 die v)\n    end\nend\n\nwhen I receive [level 10 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 9 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\npoint in direction (90)\ngo to x: (130) y: (101)\n\nwhen flag clicked\nforever\n    move (3) steps\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [120]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) < [-155]> then\n        point in direction (90)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@portal2\n\nwhen I receive [level 9 v]\nset [level 9 v] to [1]\nwait (1) seconds\nshow\ngo to x: (205) y: (147)\nforever\n    if <touching (steve v)?> then\n        broadcast (level 9 touched v)\n        go to x: (205) y: (149)\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 9 touched v]\nwait (0.05) seconds\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen [timer v] > (0.4)\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 11 v]\nwait (0.05) seconds\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 10 v]\nwait (0.05) seconds\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@level 14 trap 1\n\nwhen I receive [level 14 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 10 v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 15 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 14 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (-1)\n\nwhen [timer v] > (0.4)\nhide\n\n@level 12 slime 2\n\nwhen flag clicked\ngo to x: (-120) y: (-78)\nhide\n\nwhen I receive [level 12 v]\nshow\ngo to [back v] layer\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen I receive [level 13 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@level 14 trap 2\n\nwhen I receive [level 14 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 14 v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 15 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 14 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (92) y: (151)\n\nwhen [timer v] > (0.4)\nhide\n\n@level 14 trap 3\n\nwhen I receive [level 14 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (level 14 v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 15 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 14 v]\nshow\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (95) y: (-27)\n\nwhen [timer v] > (0.4)\nhide\n\n@level 14 path 1\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\npoint in direction (90)\n\nwhen I receive [level 14 v]\nshow\nforever\n    if <touching (steve v)?> then\n        broadcast (pressed- level 10 v)\n    end\nend\n\nwhen I receive [level 15 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@level 14 path 2\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen I receive [level 14 v]\nshow\nforever\n    if <touching (steve v)?> then\n        broadcast (pressed level 10 2 v)\n    end\nend\n\nwhen I receive [level 15 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@cover\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nset size to (100) %\n\nwhen I receive [level 14 v]\ngo to [front v] layer\nshow\n\nwhen I receive [pressed level 10 2 v]\nhide\n\nwhen I receive [level 15 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@level 6+12 slime\n\nwhen flag clicked\nset size to (100) %\ngo to x: (-27) y: (-56)\nhide\n\nwhen I receive [level 6 v]\ngo to [back v] layer\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [18]\n    end\nend\n\nwhen I receive [level 7 v]\nhide\n\nwhen I receive [level 12 v]\nshow\ngo to x: (-27) y: (-71)\nset size to (120) %\n\nwhen I receive [level 13 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@level 12 slime 3\n\nwhen flag clicked\ngo to x: (75) y: (-87)\nhide\n\nwhen I receive [level 12 v]\ngo to [back v] layer\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen I receive [level 13 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@level 12 slime 4\n\nwhen flag clicked\ngo to x: (166) y: (-71)\nhide\n\nwhen I receive [level 12 v]\ngo to [back v] layer\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen I receive [level 13 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@SKIP Button\n\nwhen flag clicked\nshow\ngo to x: (-60) y: (130)\n\nwhen I receive [level 2 v]\nshow\ngo to x: (-60) y: (130)\n\nwhen I receive [level 3 v]\nshow\ngo to x: (-59) y: (142)\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> or <key (e v) pressed?>> then\n        if <([costume # v] of [levels v]) = [1]> then\n            broadcast (level 2 v)\n            wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n        else\n            if <([costume # v] of [levels v]) = [2]> then\n                broadcast (level 3 v)\n                wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n            else\n                if <([costume # v] of [levels v]) = [3]> then\n                    broadcast (level 4 v)\n                    wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                else\n                    if <([costume # v] of [levels v]) = [4]> then\n                        broadcast (die v)\n                        broadcast (level 5 v)\n                        wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                    else\n                        if <([costume # v] of [levels v]) = [5]> then\n                            broadcast (level 6 v)\n                            wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                        else\n                            if <([costume # v] of [levels v]) = [6]> then\n                                broadcast (level 7 v)\n                                wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                            else\n                                if <([costume # v] of [levels v]) = [7]> then\n                                    broadcast (level 8 v)\n                                    wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                                else\n                                    if <([costume # v] of [levels v]) = [8]> then\n                                        broadcast (die v)\n                                        broadcast (level 9 v)\n                                        wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                                    else\n                                        if <([costume # v] of [levels v]) = [9]> then\n                                            broadcast (level 9 v)\n                                            wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                                        else\n                                            if <([costume # v] of [levels v]) = [10]> then\n                                                broadcast (die v)\n                                                broadcast (level 10 v)\n                                                wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                                            else\n                                                if <([costume # v] of [levels v]) = [11]> then\n                                                    broadcast (level 11 v)\n                                                    broadcast (lv 11 v)\n                                                    broadcast (die v)\n                                                    stop [this script v]\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwait (1) seconds\n\nwhen I receive [level 4 v]\nshow\ngo to x: (302) y: (124)\n\nwhen I receive [level 5 v]\nshow\ngo to [front v] layer\ngo to x: (227) y: (-21)\n\nwhen I receive [level 6 v]\nshow\ngo to [front v] layer\ngo to x: (300) y: (130)\n\nwhen I receive [level 7 v]\nshow\ngo to [front v] layer\ngo to x: (-70) y: (50)\n\nwhen I receive [level 8 v]\nshow\ngo to [front v] layer\ngo to x: (-70) y: (50)\n\nwhen I receive [level 9 v]\nshow\ngo to [back v] layer\ngo to x: (-65) y: (-90)\n\nwhen I receive [level 10 v]\nshow\ngo to [front v] layer\ngo to x: (-65) y: (140)\n\nwhen I receive [level 11 v]\nshow\ngo to [front v] layer\ngo to x: (300) y: (140)\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\nwhen I receive [level 12 v]\nshow\ngo to [front v] layer\ngo to x: (-65) y: (140)\n\nwhen I receive [level 13 v]\nshow\ngo to [front v] layer\ngo to x: (-65) y: (140)\n\nwhen I receive [lv 11 v]\nforever\n    broadcast (level 11 v)\n    if <(stop) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 11 v]\nset [lv 11 v] to [1]\nwait (1) seconds\n\nwhen flag clicked\nset [stop v] to [0]\nset [lv 11 v] to [0]\n\nwhen flag clicked\nforever\n    if <(lv 11) = [1]> then\n        set [stop v] to [1]\n    end\nend\n\nwhen I receive [level 11 v]\nforever\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> or <key (e v) pressed?>> then\n        if <([costume # v] of [levels v]) = [12]> then\n            broadcast (level 12 v)\n            broadcast (die v)\n            wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n        else\n            if <([costume # v] of [levels v]) = [13]> then\n                broadcast (level 12 v)\n                broadcast (die v)\n                wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n            else\n                if <([costume # v] of [levels v]) = [14]> then\n                    broadcast (level 13 v)\n                    broadcast (die v)\n                    wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                else\n                    if <([costume # v] of [levels v]) = [15]> then\n                        broadcast (die v)\n                        broadcast (level 14 v)\n                        wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                    else\n                        if <([costume # v] of [levels v]) = [16]> then\n                            broadcast (die v)\n                            broadcast (level 15 v)\n                            set [level 10 v] to [0]\n                            wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                        else\n                            if <([costume # v] of [levels v]) = [17]> then\n                                broadcast (die v)\n                                broadcast (level 15 v)\n                                set [level 10 v] to [0]\n                                wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                            else\n                                if <([costume # v] of [levels v]) = [18]> then\n                                    broadcast (die v)\n                                    broadcast (level 15 v)\n                                    set [level 10 v] to [0]\n                                    wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                                else\n                                    if <([costume # v] of [levels v]) = [19]> then\n                                        broadcast (die v)\n                                        broadcast (level 16 v)\n                                        wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                                    else\n                                        if <([costume # v] of [levels v]) = [20]> then\n                                            broadcast (die v)\n                                            broadcast (level 17 v)\n                                            wait until <<not <mouse down?>> and <not <key (e v) pressed?>>>\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 12 trap\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (-9) y: (70)\n\nwhen I receive [level 13 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 12 v]\nshow\n\nwhen I receive [level 12 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 13 slime 1\n\nwhen flag clicked\nset size to (100) %\ngo to x: (-211) y: (-103)\nhide\n\nwhen I receive [level 13 v]\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen I receive [level 14 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 13 slime 2\n\nwhen flag clicked\ngo to x: (-58) y: (80)\nhide\n\nwhen I receive [level 13 v]\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen I receive [level 14 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 13 slime 3\n\nwhen flag clicked\nset size to (100) %\ngo to x: (36) y: (-6)\nhide\n\nwhen I receive [level 13 v]\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen I receive [level 14 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 13 slime 4\n\nwhen flag clicked\nset size to (100) %\ngo to x: (131) y: (78)\nhide\n\nwhen I receive [level 13 v]\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen I receive [level 14 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 13 trap 1\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (-66) y: (171)\n\nwhen I receive [level 14 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 13 v]\nshow\n\nwhen I receive [level 13 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 13 trap 2\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [level 14 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 13 v]\nshow\n\nwhen I receive [level 13 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 13 trap 3\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (non spike v)\n\nwhen I receive [level 13 v]\nshow\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 14 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@sound button\n\nwhen flag clicked\ngo to x: (36) y: (28)\nswitch costume to (모양 1 v)\n\nwhen flag clicked\nshow\nbroadcast (sound on v)\nforever\n    if <(costume [number v]) = [1]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (sound off v)\n            next costume\n            wait until <not <mouse down?>>\n        end\n    end\n    if <(costume [number v]) = [2]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (sound on v)\n            next costume\n            wait until <not <mouse down?>>\n        end\n    end\nend\n\nwait until <not <touching (mouse-pointer v)?>>\n\nwhen [timer v] > (0.4)\nhide\n\nwhen I receive [level 2 v]\ngo to x: (36) y: (28)\n\nwhen I receive [level 3 v]\ngo to x: (-311) y: (-7)\n\nwhen I receive [level 4 v]\ngo to x: (-87) y: (50)\n\nwhen I receive [level 6 v]\ngo to x: (-312) y: (-53)\n\nwhen I receive [level 5 v]\ngo to x: (-38) y: (19)\n\nwhen I receive [level 7 v]\ngo to x: (-310) y: (-193)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [level 8 v]\ngo to x: (-310) y: (8)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [level 9 v]\ngo to x: (-302) y: (61)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [level 10 v]\ngo to x: (19) y: (50)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [level 11 v]\ngo to x: (-300) y: (50)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [level 13 v]\ngo to x: (19) y: (50)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    show\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\nwhen I receive [level 12 v]\ngo to x: (19) y: (50)\nforever\n    go to [back v] layer\nend\n\n@sound control\n\nwhen I receive [sound on v]\nset [sound on v] to [1]\nset volume to (100) %\nforever\n    if <(sound on) = [0]> then\n        set volume to (0) %\n        stop [this script v]\n    end\nend\n\nwhen I receive [sound off v]\nset [sound on v] to [0]\nforever\n    set volume to (0) %\n    if <(sound on) = [1]> then\n        set volume to (100) %\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [sound on v] to [1]\nstop [other scripts in sprite v]\nset volume to (100) %\nswitch backdrop to (start v)\nswitch backdrop to (mccloud v)\nforever\n    play sound [Undertale_Bossfight_Medley v] until done\n    change volume by (-60)\n    play sound [Undertale  Megalovania v] until done\n    change volume by (60)\nend\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\nwhen I receive [end v]\nplay sound [Undertale_Bossfight_Medley v] until done\nchange volume by (-40)\nplay sound [Undertale  Megalovania v] until done\nchange [pitch v] effect by (40)\nwait (100) seconds\nstop all sounds\nbroadcast (end!! v) and wait\n\nwhen I receive [end!! v]\nforever\n    play sound [Undertale_Bossfight_Medley v] until done\n    change volume by (-40)\n    play sound [Undertale  Megalovania v] until done\n    change [pitch v] effect by (40)\nend\n\n@level 13 trap 4\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (non spike v)\n\nwhen I receive [level 13 v]\nshow\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 14 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 13 trap 5\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (non spike v)\n\nwhen I receive [level 13 v]\nshow\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        play sound [roblox-death-sound-effect-opNTQCf4R v] until done\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen I receive [level 14 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\nwhen I receive [level 15 v]\nhide\n\n@level 13 trap 6\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (non spike v)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [level 14 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 13 v]\nshow\n\nwhen I receive [level 13 v]\nforever\n    if <touching (steve v)?> then\n        switch costume to (spike v)\n        wait (1) seconds\n        switch costume to (non spike v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nforever\n    if <([costume name v] of [levels v]) = [end]> then\n        hide\n    end\nend\n\n@level 14 Water 1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [level 10 v]\nshow\nforever\n    if <not <([costume name v] of [levels v]) = [level 10]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [touching water v]\nforever\n    if <<touching (steve v)?> and <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n        set [yv v] to [5]\n        go to [back v] layer\n        go [forward v] (2) layers\n    end\n    if <<touching (steve v)?> and <<key (s v) pressed?> or <key (down arrow v) pressed?>>> then\n        set [yv v] to [-3]\n        go to [back v] layer\n        go [forward v] (2) layers\n    end\nend\n\nforever\n\nwhen flag clicked\nforever\n    if <touching (steve v)?> then\n        broadcast (touching water v)\n        set [yv v] to [-1]\n    end\nend\n\n@level 15 Water \n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [level 15 v]\ngo to [back v] layer\nshow\n\nwhen I receive [touching water v]\nforever\n    if <<touching (steve v)?> and <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n        set [yv v] to [5]\n        go to [back v] layer\n        go [forward v] (2) layers\n    end\n    if <<touching (steve v)?> and <<key (s v) pressed?> or <key (down arrow v) pressed?>>> then\n        set [yv v] to [-3]\n        go to [back v] layer\n        go [forward v] (2) layers\n    end\nend\n\nforever\n\nwhen flag clicked\nforever\n    if <touching (steve v)?> then\n        broadcast (touching water v)\n        set [yv v] to [-1]\n    end\nend\n\nwhen I receive [level 16 v]\nhide\n\n@magma bubbles\n\nwhen flag clicked\nhide\n\nwhen I receive [level 15 v]\ngo to x: (-40) y: (28)\nshow\nforever\n    wait (0.05) seconds\n    next costume\nend\n\nsay (costume [name v])\n\nwhen I receive [level 15 v]\nshow\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [-2.5]\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [level 16 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@magma bubbles2\n\nwhen flag clicked\nhide\n\nwhen I receive [level 15 v]\ngo to x: (-25) y: (-60)\nshow\nforever\n    wait (0.05) seconds\n    next costume\nend\n\nwhen I receive [level 15 v]\nforever\n    if <touching (steve v)?> then\n        set [yv v] to [7]\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [level 16 v]\nhide\n\nwhen [timer v] > (0.4)\nhide\n\n@level 11 trap2\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [level 16 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 15 v]\nshow\n\nwhen I receive [level 15 v]\nforever\n    go to [front v] layer\n    if <touching (steve v)?> then\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a2 v)\n        wait (1) seconds\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 11 trap3\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [level 16 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 15 v]\nshow\n\nwhen I receive [level 15 v]\nforever\n    go to [front v] layer\n    if <touching (steve v)?> then\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a2 v)\n        wait (1) seconds\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 11 trap4\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0.5)\n\nwhen I receive [level 16 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 15 v]\nshow\n\nwhen I receive [level 15 v]\nforever\n    go to [front v] layer\n    if <touching (steve v)?> then\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a2 v)\n        wait (1) seconds\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 11 trap5\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [level 16 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [level 15 v]\nshow\n\nwhen I receive [level 15 v]\nforever\n    go to [front v] layer\n    if <touching (steve v)?> then\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a2 v)\n        wait (1) seconds\n        switch costume to (d4f3lgm-0af4c54a-559c-4f78-a479-7dc2f1e9f07a4 v)\n        broadcast (die v)\n    end\nend\n\nwhen [timer v] > (0.4)\nhide\n\n@level 16 soulsand\n\nwhen flag clicked\nhide\n\nwhen I receive [level 16 v]\nshow\ngo to x: (0) y: (0)\n\nwhen I receive [level 17 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@level 16 magma\n\nwhen flag clicked\nhide\n\nwhen I receive [level 16 v]\nshow\ngo to x: (0) y: (0)\n\nwhen I receive [level 17 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen [timer v] > (0.4)\nhide\n\n@sign\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [level 17 v]\nshow\nforever\n    if <touching (steve v)?> then\n        broadcast (sign touch v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [sign touch v]\nsay [HEY! Do NOT go beyond this point.]\nwait (2) seconds\nsay [Herobrine lives here.-->]\nwait (2) seconds\nforever\n    go to [back v] layer\n    if <not <touching (steve v)?>> then\n        say [Hey! Where are you going?!]\n    end\nend\n\nwhen I receive [level 18 v]\nhide\n\n@herobrine\n\nwhen flag clicked\nhide\nforever\n    next costume\n    wait (pick random (0.03) to (0.15)) seconds\nend\n\nwhen I receive [stevejump v]\nwait (pick random (1) to (2)) seconds\nstart sound [Boing v]\nset [yvherobrine v] to (pick random (5) to (10))\n\nwhen I receive [level 18 v]\nset [level 18 v] to [1]\nset volume to (100) %\nswitch costume to (download \(41\) v)\nset rotation style [left-right v]\nset size to (50) %\nhide\n\nwhen I receive [level 18 v]\nforever\n    set [direction of herobrine v] to (direction)\nend\n\nwhen I receive [die v]\ngo to x: (201) y: (-85)\n\nwhen I receive [herobrine hit! v]\nchange [herobrine hit v] by (1)\n\nwhen [timer v] > (0.4)\nhide\n\nwhen flag clicked\nhide variable [direction of herobrine v]\nhide variable [direction of steve v]\nhide variable [fall v]\nhide variable [herobrine hit v]\nhide variable [level 2 v]\nhide variable [level 5 v]\nhide variable [level 9 v]\nhide variable [level 10 v]\nhide variable [level 12 v]\nhide variable [level 18 v]\nhide variable [lv 11 v]\nhide variable [number of deaths v]\nhide variable [sound on v]\nhide variable [stop v]\nhide variable [xv v]\nhide variable [xpos v]\nhide variable [ypos v]\nhide variable [yv v]\nhide variable [yvherobrine v]\n\nwhen [timer v] > (0.4)\nhide variable [direction of herobrine v]\nhide variable [direction of steve v]\nhide variable [fall v]\nhide variable [herobrine hit v]\nhide variable [level 2 v]\nhide variable [level 5 v]\nhide variable [level 9 v]\nhide variable [level 10 v]\nhide variable [level 12 v]\nhide variable [level 18 v]\nhide variable [lv 11 v]\nhide variable [number of deaths v]\nhide variable [sound on v]\nhide variable [stop v]\nhide variable [xv v]\nhide variable [xpos v]\nhide variable [ypos v]\nhide variable [yv v]\nhide variable [yvherobrine v]\n\nwhen I receive [level 18 v]\nforever\n    if <(herobrine hit) = [3]> then\n        broadcast (herbrine dead v)\n    end\nend\n\nwhen I receive [animation end v]\nshow\nset [xv v] to [0]\nset [yvherobrine v] to [0]\ngo to x: (-201) y: (-85)\nforever\n    if <(xpos) > (x position)> then\n        point in direction (90)\n        change x by (4)\n        if <touching (level 16 soulsand v)?> then\n            change x by (-2.5)\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (-4)\n            end\n        else\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (-4)\n            end\n        end\n    end\n    if <(xpos) < (x position)> then\n        point in direction (-90)\n        change x by (-4)\n        if <touching (level 16 soulsand v)?> then\n            change x by (2.5)\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (4)\n            end\n        else\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change x by (4)\n            end\n        end\n    end\n    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n        change y by (1)\n        if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n            change y by (1)\n            if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                change y by (1)\n                if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                    change y by (1)\n                    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                        change y by (1)\n                        if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n                            change y by (-5)\n                            if <(ypos) > (y position)> then\n                                broadcast (stevejump v)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yvherobrine v] by (-1)\n    change y by (YVHEROBRINE)\n    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n        change y by ((YVHEROBRINE) * (-1))\n        set [yvherobrine v] to [0]\n    end\n    change y by (-1)\n    if <<touching (levels v)?> or <touching (level 11 trap base v)?>> then\n        if <(ypos) > (y position)> then\n            broadcast (stevejump v)\n        end\n    end\n    change y by (1)\n    if <(y position) < [-170]> then\n        broadcast (die v)\n    end\nend\n\nwhen flag clicked\nset [herobrine hit v] to [0]\nset [level 18 v] to [0]\nset [xv v] to [0]\nset [yvherobrine v] to [0]\nforever\n    go to x: (-201) y: (-85)\n    if <(level 18) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [herbrine dead v]\nwait (1) seconds\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@stevesword\n\nwhen flag clicked\nhide\nset size to (100) %\nset rotation style [left-right v]\n\nwhen I receive [level 18 v]\ngo to [back v] layer\nhide\nforever\n    go to (steve v)\n    move (25) steps\nend\n\nwhen I receive [level 18 v]\nforever\n    if <(direction of steve) = [90]> then\n        point in direction (90)\n    end\n    if <(direction of steve) = [-90]> then\n        point in direction (-90)\n    end\nend\n\nwhen I receive [steveswipe v]\nnext costume\nwait (0.7) seconds\nnext costume\n\nwhen I receive [level 18 v]\nforever\n    if <key (space v) pressed?> then\n        broadcast (steveswipe v)\n        wait (2) seconds\n    end\nend\n\nwhen I receive [steveswipe v]\nforever\n    if <<([costume # v] of [herobrinesword v]) = [2]> and <touching (herobrinesword v)?>> then\n        broadcast (ting v)\n        wait (1) seconds\n    else\n        if <touching (herobrine v)?> then\n            broadcast (HEROBRINE HIT! v)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen I receive [ting v]\nplay sound [Swords_Collide-Sound_Explorer-2015600826 v] until done\n\nwhen I receive [animation end v]\nshow\n\nsay (herobrine hit) for (2) seconds\n\n@herobrinesword\n\nwhen flag clicked\nhide\nset size to (100) %\nset rotation style [left-right v]\n\nwhen I receive [level 18 v]\ngo to [back v] layer\nhide\nforever\n    go to (herobrine v)\n    move (25) steps\nend\n\nwhen I receive [level 18 v]\nforever\n    if <(direction of herobrine) = [90]> then\n        point in direction (90)\n    end\n    if <(direction of herobrine) = [-90]> then\n        point in direction (-90)\n    end\nend\n\nwhen I receive [heroswipe v]\nnext costume\nwait (0.7) seconds\nnext costume\n\nwhen I receive [heroswipe v]\nrepeat (pick random (10) to (25))\n    if <<([costume # v] of [stevesword v]) = [2]> and <touching (stevesword v)?>> then\n        broadcast (ting v)\n        wait (1) seconds\n    else\n        if <touching (steve v)?> then\n            broadcast (die v)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen I receive [animation end v]\nshow\n\nwhen I receive [animation end v]\nforever\n    if <(herobrine hit) = [3]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [animation end v]\nforever\n    wait (pick random (2) to (4)) seconds\n    broadcast (heroswipe v)\nend\n\n@animation\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [level 18 v]\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\nrepeat (29)\n    next costume\nend\nwait (1) seconds\nrepeat (88)\n    next costume\nend\nbroadcast (animation end v)\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n
w,a,s,d/arrow keys to move. \nGo to the portal. \nR to restart!\nE/or skip button to skip\nIf the portal does not work, it's probably fake.\nBe sure to hit ❤️, ⭐ and maybe follow please :)\nTHUMBNAIL MADE BY @GoldenPC611