Minecraft Platformer WITHER UPDATE

Instructions:       if you would press ❤ and⭐ it would make my day\n_____________________________________________\nThank you guys for 30 hearts! I cant believe a game I have made would get this far and now look at me. Thank you for supporting me to update this game and to \n                                         continue \n                                          scratch!\n_____________________________________________\nNOTICE: Hello guys now this update is good but its not like the Mob update 2 and 1 nor the spooky event. But \nthis update is different from the others, very different. The only sad part is that this update only has 1 NEW THING and just 2 bug fixes. Sorry for the wait and not so massive update.\n\nWITHER UPDATE: 1 new mob! The Wither. The wither is not like the others, but its very cool. The Wither can explode stuff and kill you that way. No hitting, just explosions. 2 bug fixes, the first is where you can get achievements forever even if you got the achivement once it would still give you it. But now you can only get them once which is better than before thinking that i havn't  fixed it since mod update 1?. The second bug fix is where the moon would not show at night! Again this have not been fixed since the spooky update. That's it, very small:(\n\n                        a other project like this... \n         https://scratch.mit.edu/projects/727193722/\n_____________________________________________\n                   enjoy your adventure in Minecraft!\n                                \n                    list of minecraft platformer games: \n---------------------------------------------------------------------------------\n       part 2: https://scratch.mit.edu/projects/857011145/

@Stage\n\nwhen flag clicked\nrepeat until <(3) = [16]>\n    switch backdrop to (背景1 v)\n    wait (25) seconds\n    switch backdrop to (背景4 v)\n    wait (25) seconds\n    switch backdrop to (背景3 v)\n    wait (45) seconds\n    switch backdrop to (背景4 v)\n    wait (25) seconds\nend\n\nwhen flag clicked\nbroadcast (start v)\nswitch backdrop to (背景1 v)\nrepeat until <(3) = [16]>\n    play sound [my band song v] until done\nend\n\nwhen I receive [code 1 v]\nforever\n    switch backdrop to (背景3 v)\nend\n\nwhen I receive [code 2 v]\nforever\n    switch backdrop to (背景4 v)\nend\n\nswitch backdrop to (背景5 v)\n\nwhen I receive [it da cookie land!!! v]\nforever\n    switch backdrop to (backdrop1 v)\nend\n\nset [3 v] to [17]\n\nwhen flag clicked\nforever\n    if <(3) = [17]> then\n        repeat until <(3) = [18]>\n            switch backdrop to (wither fight v)\n            play sound [the Wither v] until done\n        end\n    end\nend\n\nforever\n    play sound [my band song v] until done\nend\n\nrepeat until <(3) = [18]>\n\n@Lag helper 1.0\n\nshow variable [world record v]\n\n@swords\n\nwhen I receive [start v]\nwait until <(3) = [11]>\nset [10 v] to [0]\nwait until <(3) = [17]>\nset [10 v] to [0]\nwait until <(3) = [21]>\nset [10 v] to [0]\n\nwhen I receive [start v]\nwait until <(3) = [10]>\nset [10 v] to [1]\nwait until <touching (steve v)?>\nset [10 v] to [0]\n\nwhen I receive [start v]\nwait until <(3) = [16]>\nset [10 v] to [1]\nwait until <touching (steve v)?>\nset [10 v] to [0]\n\nwhen I receive [start v]\nwait until <(3) = [20]>\nset [10 v] to [1]\nwait until <touching (steve v)?>\nset [10 v] to [0]\n\nwhen I receive [start v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (3)\n    if <touching (steve v)?> then\n        set [16 v] to (costume [name v])\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    change size by ([cos v] of (8) )\nend\n\nwhen I receive [start v]\nwait until <(3) = [16]>\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [start v]\nwait until <(3) = [20]>\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [start v]\nchange [☁ 遊んでくれた人 v] by (1)\n\n@steve\n\nwhen flag clicked\nforever\n    if <<not <(7) = [0]>> and <<touching (map v)?> and <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(18) = [0]>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(18) = [0]>>>>>> then\n        play sound (pick random (5) to (6)) until done\n    end\nend\n\nwhen I receive [start v]\nset [7 v] to [20]\nset [x2 v] to [0]\nset [y2 v] to [0]\nset [x3 v] to [0.9]\nset [3 v] to [1]\nset [4 v] to [0.7]\nset [2 v] to [13]\nset [12 v] to [1]\nset [13 v] to [0.9]\nset [15 v] to [5]\nset [14 v] to [10]\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\ngo to [front v] layer\nset [x2 v] to [0]\nset [y2 v] to [0]\nclear graphic effects\ngo to x: (-200) y: (-80)\nshow\nforever\n    if <<not <(7) = [0]>> and <(12) = [1]>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(18) = [0]>>> then\n            point in direction (-90)\n            if <<touching (water v)?> or <touching (lava v)?>> then\n                change [x2 v] by ((0) - ((4) / (2)))\n            else\n                change [x2 v] by ((0) - (4))\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(18) = [0]>>> then\n            point in direction (90)\n            if <<touching (water v)?> or <touching (lava v)?>> then\n                change [x2 v] by ((4) / (2))\n            else\n                change [x2 v] by (4)\n            end\n        end\n        set [x2 v] to ((x2) * (13))\n        change x by (x2)\n        if <touching (map v)?> then\n            change y by (1)\n            if <touching (map v)?> then\n                change y by (1)\n                if <touching (map v)?> then\n                    change y by (1)\n                    if <touching (map v)?> then\n                        change y by (1)\n                        if <touching (map v)?> then\n                            change y by (1)\n                            if <touching (map v)?> then\n                                change y by (1)\n                                if <touching (map v)?> then\n                                    change x by ((0) - (x2))\n                                    change y by (-5)\n                                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(18) = [0]>>> then\n                                        if <not <touching (water v)?>> then\n                                            if <(x2) > [0]> then\n                                                set [x2 v] to ((0) - (15))\n                                            else\n                                                set [x2 v] to (15)\n                                            end\n                                            set [y2 v] to (14)\n                                        end\n                                    else\n                                        set [x2 v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y2 v] by ((0) - (x3))\n        if <<touching (water v)?> and <(y2) < [-2]>> then\n            broadcast (water v)\n            set [y2 v] to [-2]\n        end\n        change y by (y2)\n        if <touching (map v)?> then\n            change y by ((0) - (y2))\n            set [y2 v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(18) = [0]>>>> then\n            set [y2 v] to [4]\n        else\n            if <touching (map v)?> then\n                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(18) = [0]>>> then\n                    set [y2 v] to (2)\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I receive [start v]\nwait (0.3) seconds\nforever\n    if <<[225] < (x position)> and <not <(3) = [30]>>> then\n        NEXT\n    end\nend\n\ndefine NEXT\nbroadcast (next v)\nset [x2 v] to [0]\nset [y2 v] to [100]\nset [12 v] to [0]\nwait (0.4) seconds\nchange [3 v] by (1)\nwait (0.1) seconds\nset [x2 v] to [0]\nset [y2 v] to [0]\ngo to x: (-200) y: (-80)\nwait (2) seconds\nset [12 v] to [1]\n\nwhen I receive [start v]\nforever\n    if <touching (lava v)?> then\n        repeat until <not <touching (lava v)?>>\n            if <not <(7) = [0]>> then\n                change [7 v] by (-9)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (lava v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(7) < [0.01]> then\n        broadcast (XYX# v)\n        set [7 v] to [0]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(7) = [0]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-200) y: (0)\n        set [ghost v] effect to (0)\n        point in direction (90)\n        set [7 v] to [20]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (zombie v)?> then\n        start sound [う v]\n        change [7 v] by (-8)\n        broadcast (1XY v)\n        if <(x position) < (5)> then\n            set [x2 v] to [-10]\n            set [y2 v] to [10]\n        else\n            set [x2 v] to [10]\n            set [y2 v] to [10]\n        end\n        wait (0.35) seconds\n    end\nend\n\nwhen I receive [1xy v]\nrepeat (10)\n    switch costume to (スティーブ やられた v)\nend\n\nwhen I receive [start v]\nforever\n    if <(y position) < [-180]> then\n        repeat until <(7) < [0.01]>\n            change [7 v] by (-20)\n            start sound [う v]\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (idk v)?> then\n        repeat until <not <touching (idk v)?>>\n            if <not <(7) = [0]>> then\n                change [7 v] by (-7)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (lava v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen flag clicked\nif <(username) = [yourrude564]> then\n\nwhen flag clicked\nforever\n    if <touching (sun/moon v)?> then\n        broadcast (sun v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (idk2 v)?> then\n        repeat until <not <touching (idk2 v)?>>\n            if <not <(7) = [0]>> then\n                change [7 v] by (-2)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (idk2 v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (creeper v)?> then\n        repeat until <not <touching (creeper v)?>>\n            if <not <(7) = [0]>> then\n                change [7 v] by (-5)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.7) seconds\n        end\n    else\n        if <not <touching (creeper v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (skeleton v)?> then\n        repeat until <not <touching (skeleton v)?>>\n            if <not <(7) = [0]>> then\n                change [7 v] by (-3)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.55) seconds\n        end\n    else\n        if <not <touching (skeleton v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\n@map\n\nwhen I receive [start v]\nforever\n    switch costume to (3)\nend\n\nset [3 v] to [21]\n\nset [world record v] to [0]\n\nwhen I receive [it da cookie land!!! v]\nforever\n    switch costume to (コスチューム23 v)\nend\n\n@health\n\nwhen I receive [start v]\ngo to [front v] layer\nforever\n    if <<<<<<<<<(7) = [10]> or <(7) = [9]>> or <(7) = [8]>> or <(7) = [7]>> or <(7) = [6]>> or <(7) = [5]>> or <(7) = [4]>> or <(7) = [3]>> or <(7) = [2]>> then\n        broadcast (close to death v)\n    end\n    switch costume to ((7) + (1))\nend\n\nwhen flag clicked\nforever\n    if <(NEXT) = [true]> then\n        switch costume to ((7) + (1))\n    end\nend\n\ndefine NEXT\nset [next v] to [true]\nwait (0.1) seconds\nset [next v] to [false]\n\nwhen I receive [cacti v]\nchange [7 v] by (-3)\n\n@sword\n\nwhen I receive [next v]\nset size to (100) %\nclear graphic effects\nshow\n\nwhen flag clicked\nforever\n    if <[100] < (direction)> then\n        point in direction (100)\n    end\n    if <(direction) < [-100]> then\n        point in direction (-100)\n    end\nend\n\nwhen I receive [start v]\ngo to [front v] layer\nset [17 v] to [0]\nforever\n    switch costume to (16)\n    if <[0] < ([direction v] of [steve v])> then\n        set [11 v] to [右]\n        go to x: (([x position v] of [steve v]) + (23)) y: (([y position v] of [steve v]) + (-5))\n        if <(17) = [0]> then\n            point in direction (-100)\n        end\n    else\n        set [11 v] to [左]\n        go to x: (([x position v] of [steve v]) + (-23)) y: (([y position v] of [steve v]) + (-5))\n        if <(17) = [0]> then\n            point in direction (100)\n        end\n    end\nend\n\nwhen I receive [start v]\nset [16 v] to [1]\nforever\n    if <(11) = [右]> then\n        switch costume to ((16) + (1))\n    else\n        switch costume to (16)\n    end\nend\n\nwhen I receive [attack v]\nset [17 v] to [1]\nif <(11) = [右]> then\n    repeat (4)\n        turn right (15) degrees\n    end\nelse\n    repeat (4)\n        turn left (15) degrees\n    end\nend\nset [17 v] to [0]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (attack v)\n    end\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen I receive [attack v]\nif <(username) = [yourrude564]> then\n    set [17 v] to [1]\n    if <(11) = [右]> then\n        repeat (4)\n            turn right (15) degrees\n        end\n    else\n        repeat (4)\n            turn left (15) degrees\n        end\n    end\n    set [17 v] to [0]\nend\n\nwhen I receive [start v]\nif <(username) = [yourrude564]> then\n    set [16 v] to [9]\n    forever\n        if <(11) = [右]> then\n            switch costume to ((16) + (1000))\n        else\n            switch costume to (16)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [yourrude564]> then\n        if <key (space v) pressed?> then\n            broadcast (attack v)\n        end\n    end\nend\n\n@Next!\n\nwhen I receive [next v]\nset [color v] effect to (pick random (-250) to (250))\ngo to [front v] layer\nhide\nstart sound [High Whoosh v]\nclone [1]\nwait (0.05) seconds\nclone [2]\nwait (0.05) seconds\nclone [3]\nwait (0.05) seconds\nclone [4]\nwait (0.05) seconds\nclone [5]\n\ndefine clone (cloneid)\nswitch costume to (cloneid)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <<(costume [number v]) = [3]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>>>>> then\n    go to x: (468) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    wait (2.2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    set [move v] to [OK]\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (2.1) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    wait (2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.9) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [5]> then\n    wait (1.8) seconds\n    repeat until <[330] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\n\ndefine NEXT\nset [next v] to [true]\nwait (0.1) seconds\nset [next v] to [false]\n\n@lava\n\nwhen I receive [start v]\nforever\n    switch costume to (3)\nend\n\n@comments\n\nwhen I receive [start v]\nforever\n    switch costume to (3)\nend\n\nset [3 v] to [17]\n\n@water\n\nwhen I receive [start v]\ngo to [front v] layer\nforever\n    switch costume to (3)\n    set [ghost v] effect to (40)\nend\n\nwhen I receive [start v]\nforever\n    if <touching (steve v)?> then\n        go to [front v] layer\n    end\nend\n\nwhen flag clicked\nif <touching (steve v)?> then\n    broadcast (water v)\nend\n\nwhen I receive [it da cookie land!!! v]\nforever\n    switch costume to (costume1 v)\nend\n\n@(๑•̀ㅂ•́)و✧\n\nwhen I receive [xxx# v]\nshow\nstop [all v]\n\nwhen I receive [start v]\nforever\n    if <(1) > [10]> then\n        broadcast (XXX# v)\n    end\nend\n\nwhen I receive [start v]\nset [1 v] to [0]\nforever\n    change [1 v] by (1)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\nforever\n    wait (0.01) seconds\n    set [1 v] to [0]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide variable [world record v]\nhide variable [time v]\nwait (0.01) seconds\nwait until <(3) = [23]>\nset [time v] to ((round ((timer) * (10))) / (10))\nwait (0.01) seconds\nif <(3) = [23]> then\n    if <(time) < (World Record)> then\n        wait (0.01) seconds\n        if <not <(World Record) < (time)>> then\n            set [world record v] to (time)\n            broadcast (reset v)\n        end\n    end\nend\nwait (2.5) seconds\nif <(3) = [23]> then\n    show variable [world record v]\n    show variable [time v]\nend\n\nwhen I receive [reset v]\nif <not <(World Record) < (time)>> then\n    wait () seconds\n    if <not <(World Record) < (time)>> then\n        wait () seconds\n        set [world record v] to (time)\n    end\nend\n\n@title\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@idk2\n\nwhen I receive [start v]\nforever\n    switch costume to (3)\nend\n\n@Slime Particles\n\nwhen flag clicked\nhide\n\nwhen I receive [slime death v]\nrepeat (2)\n    Particles\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (9))\nset [ghost v] effect to (0)\nset [color v] effect to (pick random (-5) to (5))\nset [brightness v] effect to (pick random (-30) to (45))\ngo to x: (SLIME X) y: (SLIME Y)\nshow\nset [xv v] to (pick random (-8) to (8))\nset [yv v] to (pick random (5) to (20))\nrepeat until <touching (map v)?>\n    change [yv v] by (-2)\n    set [xv v] to ((xv) * (0.9))\n    set [yv v] to ((yv) * (0.9))\n    change x by (xv)\n    change y by (yv)\n    if <touching (map v)?> then\n        change y by (1)\n        if <touching (map v)?> then\n            change y by (1)\n            if <touching (map v)?> then\n                change y by (1)\n                if <touching (map v)?> then\n                    change y by (1)\n                    if <touching (map v)?> then\n                        change y by (1)\n                        if <touching (map v)?> then\n                            change y by (1)\n                            if <touching (map v)?> then\n                                change y by (1)\n                                if <touching (map v)?> then\n                                    change y by (1)\n                                    if <touching (map v)?> then\n                                        change y by (1)\n                                        if <touching (map v)?> then\n                                            change y by (1)\n                                            if <touching (map v)?> then\n                                                change y by (1)\n                                                if <touching (map v)?> then\n                                                    change y by (1)\n                                                else\n                                                    change y by (-1)\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\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine Particles\nrepeat (4)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(複製対策) = [1]> then\n    delete this clone\nend\nset [複製対策 v] to [1]\n\n@Tutorial\n\nwhen flag clicked\nshow\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set [18 v] to [1]\n        set [ghost v] effect to (10)\n        if <mouse down?> then\n            broadcast (attack v)\n            wait (0.1) seconds\n            wait until <not <mouse down?>>\n        end\n    else\n        set [ghost v] effect to (70)\n        set [18 v] to [0]\n    end\nend\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\nforever\n    if <(3) = [2]> then\n        switch costume to (コスチューム2 v)\n    end\nend\n\n@Arrow1\n\n@Sprite1\n\n@zombie\n\nwhen I start as a clone\nset [hp v] to [20]\nforever\n    if <<touching (sword v)?> and <(17) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            set [ゾンビx v] to [10]\n            set [ゾンビy v] to [10]\n        else\n            set [ゾンビx v] to [-10]\n            set [ゾンビy v] to [10]\n        end\n        change [hp v] by ([costume name v] of [sword v])\n        if <(HP) < [0.01]> then\n            switch costume to (player2 v)\n            start sound [倒した v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (4)\n                change [ghost v] effect by (25)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [攻撃 v]\n                switch costume to (player2 v)\n            else\n                start sound [攻撃2 v]\n                switch costume to (player2 v)\n            end\n            wait until <(17) = [0]>\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(7) = [0]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            point in direction (-90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [steve v])> then\n            point in direction (90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by (1)\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                change y by (1)\n                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                    change y by (1)\n                    if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                        change y by (1)\n                        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                            change y by (1)\n                            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                change y by (1)\n                                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (water v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    set [ゾンビy v] to [12]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nif <(3) = [5]> then\n    go to x: (300) y: (0)\nend\nif <(3) = [7]> then\n    go to x: (300) y: (0)\nend\n\nwhen I start as a clone\nswitch costume to (player v)\nforever\n    set [5 v] to (x position)\n    set [6 v] to (y position)\nend\n\nwhen I receive [xyx# v]\nrepeat (10)\n    delete this clone\nend\nif <(3) = [5]> then\n    create clone of (_myself_ v)\nend\nif <(3) = [7]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(3) = [14]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nif <(3) = [17]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    if <touching (lava v)?> then\n        change [hp v] by (-3)\n        if <(HP) < [0.01]> then\n            start sound [倒した v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [攻撃 v]\n            else\n                start sound [攻撃2 v]\n            end\n        end\n        wait (0.25) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (lava v)?> then\n        switch costume to (player2 v)\n    else\n        if <(17) = [0]> then\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    wait (pick random (5) to (7)) seconds\n    if <(pick random (1) to (3)) = [1]> then\n        play sound [zombie1 v] until done\n    else\n        if <(pick random (1) to (2)) = [1]> then\n            play sound [zombie2 v] until done\n        else\n            play sound [zombie3 v] until done\n        end\n    end\nend\n\nwhen I receive [start v]\nset [9 v] to [0]\nwait (1) seconds\nset [9 v] to [1]\n\nwhen I start as a clone\nif <(9) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nforever\n    wait until <(3) = [5]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait until <(3) = [7]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(3) = [14]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwait until <(3) = [17]>\ngo to x: (250) y: (150)\n\nwait (0.5) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait (1) seconds\ncreate clone of (_myself_ v)\n\nwhen I receive [it da cookie land!!! v]\nforever\n    switch costume to (costume1 v)\nend\n\n@creeper\n\nwhen I start as a clone\nset [hp v] to [10]\nforever\n    if <<touching (sword v)?> and <(17) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            set [ゾンビx v] to [10]\n            set [ゾンビy v] to [10]\n        else\n            set [ゾンビx v] to [-10]\n            set [ゾンビy v] to [10]\n        end\n        change [hp v] by ([costume name v] of [sword v])\n        if <(HP) < [0.01]> then\n            switch costume to (player2 v)\n            start sound [creeper hurt1 v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (4)\n                change [ghost v] effect by (25)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [creeper hurt1 v]\n                switch costume to (player2 v)\n            else\n                start sound [creeper death1 v]\n                switch costume to (player2 v)\n            end\n            wait until <(17) = [0]>\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(7) = [0]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            point in direction (-90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [steve v])> then\n            point in direction (90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by (1)\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                change y by (1)\n                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                    change y by (1)\n                    if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                        change y by (1)\n                        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                            change y by (1)\n                            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                change y by (1)\n                                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (water v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    set [ゾンビy v] to [12]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nif <(3) = [3]> then\n    go to x: (300) y: (0)\nend\nif <(3) = [7]> then\n    go to x: (300) y: (0)\nend\n\nwhen I start as a clone\nswitch costume to (player v)\nforever\n    set [5 v] to (x position)\n    set [6 v] to (y position)\nend\n\nwhen I receive [xyx# v]\nrepeat (10)\n    delete this clone\nend\nif <(3) = [3]> then\n    create clone of (_myself_ v)\nend\nif <(3) = [12]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    if <touching (lava v)?> then\n        change [hp v] by (-3)\n        if <(HP) < [0.01]> then\n            start sound [creeper death1 v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [creeper death1 v]\n            else\n                start sound [creeper death2 v]\n            end\n        end\n        wait (0.25) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (lava v)?> then\n        switch costume to (player2 v)\n    else\n        if <(17) = [0]> then\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(pick random (1) to (2)) = [1]> then\n        play sound [creeper1 v] until done\n        wait (3.5) seconds\n    else\n        if <(pick random (1) to (2)) = [2]> then\n            play sound [creeper2 v] until done\n            wait (3.5) seconds\n        end\n    end\nend\n\nwhen I receive [start v]\nset [9 v] to [0]\nwait (1) seconds\nset [9 v] to [1]\n\nwhen I start as a clone\nif <(9) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nforever\n    wait until <(3) = [3]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait until <(3) = [12]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [it da cookie land!!! v]\nforever\n    switch costume to (costume1 v)\nend\n\n@skeleton\n\nwhen I start as a clone\nset [hp v] to [30]\nforever\n    if <<touching (sword v)?> and <(17) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            set [ゾンビx v] to [10]\n            set [ゾンビy v] to [10]\n        else\n            set [ゾンビx v] to [-10]\n            set [ゾンビy v] to [10]\n        end\n        change [hp v] by ([costume name v] of [sword v])\n        if <(HP) < [0.01]> then\n            switch costume to (player2 v)\n            start sound [creeper hurt1 v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (4)\n                change [ghost v] effect by (25)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [skeleton hurt1 v]\n                switch costume to (player2 v)\n            else\n                start sound [skeleton hurt2 v]\n                switch costume to (player2 v)\n            end\n            wait until <(17) = [0]>\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(7) = [0]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            point in direction (-90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [steve v])> then\n            point in direction (90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by (1)\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                change y by (1)\n                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                    change y by (1)\n                    if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                        change y by (1)\n                        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                            change y by (1)\n                            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                change y by (1)\n                                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (water v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    set [ゾンビy v] to [12]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nif <(3) = [3]> then\n    go to x: (300) y: (0)\nend\nif <(3) = [7]> then\n    go to x: (300) y: (0)\nend\n\nwhen I start as a clone\nswitch costume to (player v)\nforever\n    set [5 v] to (x position)\n    set [6 v] to (y position)\nend\n\nwhen I receive [xyx# v]\nrepeat (10)\n    delete this clone\nend\nif <(3) = [2]> then\n    create clone of (_myself_ v)\nend\nif <(3) = [7]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(3) = [14]> then\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    if <touching (lava v)?> then\n        change [hp v] by (-3)\n        if <(HP) < [0.01]> then\n            start sound [skeleton hurt1 v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [skeleton hurt1 v]\n            else\n                start sound [skeleton hurt2 v]\n            end\n        end\n        wait (0.25) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (lava v)?> then\n        switch costume to (player2 v)\n    else\n        if <(17) = [0]> then\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(pick random (1) to (2)) = [1]> then\n        play sound [skeleton idle1 v] until done\n        wait (3.5) seconds\n    else\n        if <(pick random (1) to (2)) = [2]> then\n            play sound [skeleton idle2 v] until done\n            wait (3.5) seconds\n        end\n    end\nend\n\nwhen I receive [start v]\nset [9 v] to [0]\nwait (1) seconds\nset [9 v] to [1]\n\nwhen I start as a clone\nif <(9) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nforever\n    wait until <(3) = [2]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait until <(3) = [7]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(3) = [14]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [it da cookie land!!! v]\nforever\n    switch costume to (costume1 v)\nend\n\n@wither\n\nwhen I start as a clone\nset [hp v] to [300]\nstart sound [Summoning Wither v]\nforever\n    if <<touching (sword v)?> and <(17) = [1]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            set [ゾンビx v] to [10]\n            set [ゾンビy v] to [10]\n        else\n            set [ゾンビx v] to [-10]\n            set [ゾンビy v] to [10]\n        end\n        change [hp v] by ([costume name v] of [sword v])\n        if <(HP) < [0.01]> then\n            switch costume to (player2 v)\n            start sound [creeper hurt1 v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            go to x: (0) y: (0)\n            repeat (8)\n                switch costume to (death anim v)\n                next costume\n                wait (2) seconds\n            end\n            hide\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [Wither hurt 1 v]\n                switch costume to (player2 v)\n            else\n                start sound [Wither hurt 2 v]\n                switch costume to (player2 v)\n            end\n            wait until <(17) = [0]>\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(7) = [0]>> then\n        if <([x position v] of [steve v]) < (x position)> then\n            point in direction (-90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [steve v])> then\n            point in direction (90)\n            if <touching (water v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by (1)\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                change y by (1)\n                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                    change y by (1)\n                    if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                        change y by (1)\n                        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                            change y by (1)\n                            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                change y by (1)\n                                if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [steve v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (water v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (map v)?> or <touching (消える地面 v)?>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (water v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (map v)?> or <touching (消える地面 v)?>> then\n                if <(y position) < ([y position v] of [steve v])> then\n                    set [ゾンビy v] to [12]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nif <(3) = [3]> then\n    go to x: (300) y: (0)\nend\nif <(3) = [7]> then\n    go to x: (300) y: (0)\nend\n\nwhen I start as a clone\nswitch costume to (player v)\nforever\n    set [5 v] to (x position)\n    set [6 v] to (y position)\nend\n\nwhen I receive [xyx# v]\nrepeat (10)\n    delete this clone\nend\nif <(3) = [17]> then\n    go to x: (250) y: (150)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    if <touching (water v)?> then\n        change [hp v] by (5)\n        wait (10) seconds\n        if <(HP) < [0.01]> then\n            start sound [Wither heal 1 v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [Wither heal 1 v]\n            else\n                start sound [Wither heal 2 v]\n            end\n        end\n        wait (0.25) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (lava v)?> then\n        switch costume to (player2 v)\n    else\n        if <(17) = [0]> then\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(pick random (1) to (4)) = [1]> then\n        play sound [Wither Idle 1 v] until done\n        wait (6.5) seconds\n    else\n        if <(pick random (1) to (4)) = [2]> then\n            play sound [Wither Idle 2 v] until done\n            wait (6.5) seconds\n        end\n    end\n    if <(pick random (1) to (4)) = [3]> then\n        play sound [Wither Idle 3 v] until done\n        wait (6.5) seconds\n    else\n        if <(pick random (1) to (4)) = [4]> then\n            play sound [Wither Idle 4 v] until done\n            wait (6.5) seconds\n        end\n    end\nend\n\nwhen I receive [start v]\nset [9 v] to [0]\nwait (1) seconds\nset [9 v] to [1]\n\nwhen I start as a clone\nif <(9) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nforever\n    wait until <(3) = [17]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    stop [this script v]\nend\n\nwhen I receive [it da cookie land!!! v]\nforever\n    switch costume to (costume1 v)\nend\n\nset [3 v] to [17]\n\nwhen flag clicked\nforever\n    if <(HP) = [0]> then\n        play sound [Wither death v] until done\n    end\nend\n\nhide\n\nrepeat (4)\n    change [ghost v] effect by (25)\nend\n\nset [3 v] to [17]\n\nset [3 v] to [17]\n\n@achivements\n\nwhen flag clicked\nswitch costume to (1 v)\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (100)\nswitch costume to (0 v)\nforever\n    stop [this script v]\nend\n\nwhen I receive [1xy v]\nswitch costume to (2 v)\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (100)\nswitch costume to (0 v)\nforever\n    stop [this script v]\nend\n\nwhen I receive [water v]\nswitch costume to (3 v)\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (100)\nswitch costume to (0 v)\nforever\n    stop [this script v]\nend\n\nwhen [m v] key pressed\nswitch costume to (5 v)\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (100)\nswitch costume to (0 v)\nforever\n    stop [this script v]\nend\n\nwhen I receive [5 v]\nswitch costume to (6 v)\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (100)\nswitch costume to (0 v)\nforever\n    stop [this script v]\nend\n\nwhen flag clicked\nif <<(16) = [9]> or <(16) = [10]>> then\n    switch costume to (4 v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (2) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    set [ghost v] effect to (100)\n    switch costume to (0 v)\nend\nforever\n    stop [this script v]\nend\n\nwhen flag clicked\nif <(3) = [23]> then\n    wait (5) seconds\n    switch costume to (7 v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (2) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    set [ghost v] effect to (100)\nend\nforever\n    stop [this script v]\nend\n\nwhen I receive [sun v]\nswitch costume to (8 v)\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (100)\nforever\n    stop [this script v]\nend\n\nwhen flag clicked\nif <(current [month v]) = [10]> then\n    wait (5) seconds\n    switch costume to (9 v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (2) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    set [ghost v] effect to (100)\n    switch costume to (0 v)\nend\n\nwhen flag clicked\nif <(current [month v]) = [12]> then\n    switch costume to (10 v)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (2) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    set [ghost v] effect to (100)\n    switch costume to (0 v)\nend\n\nwhen flag clicked\n\n\n@codes\n\nwhen [m v] key pressed\nswitch costume to (costume1 v)\nask [whats the secret code?] and wait\nif <(answer) = [Mob Update]> then\n    broadcast (Code 1 v)\nend\nif <(answer) = [1000 Views]> then\n    switch costume to (costume4 v)\nend\nif <(answer) = [Beautiful]> then\n    broadcast (Code 2 v)\nend\nif <(answer) = [500 Views]> then\n    forever\n        switch costume to (costume2 v)\n    end\nend\nif <(answer) = [501 Views]> then\n    forever\n        switch costume to (costume3 v)\n    end\nend\nif <(answer) = [2000 Views]> then\n    forever\n        switch costume to (costume5 v)\n    end\nend\nif <(answer) = [It da cookie land!]> then\n    forever\n        broadcast (It da cookie land!!! v)\n    end\nend\nif <(answer) = [lovey dubys]> then\n    forever\n        broadcast (Love! v)\n    end\nend\nif <<<<<<<(answer) = [501 Views]> or <(answer) = [500 Views]>> or <(answer) = [Beautiful]>> or <(answer) = [1000 Views]>> or <(answer) = [Mob Update]>> or <(answer) = [2000 Views]>> or <(answer) = [It da cookie land!]>> then\n    broadcast (5 v)\nend\n\nplay sound [Total Drama World Tour - Boyfriend Kisser2 v] until done\n\nplay sound [Total Drama World Tour - Boyfriend Kisser v] until done\n\nstart sound [recording1 v]\n\n@close to death\n\nwhen flag clicked\nset [brightness v] effect to (0)\nhide\n\nwhen I receive [close to death v]\nshow\n\nwhen I receive [xyx# v]\nhide\n\nrepeat (2)\n\nchange [brightness v] effect by (5)\n\nset [brightness v] effect to (0)\n\n@Sun/Moon\n\nwhen flag clicked\ngo to x: (175) y: (125)\nset size to (100) %\nforever\n    if <<(backdrop [number v]) = [2]> or <(backdrop [number v]) = [3]>> then\n        switch costume to (costume1 v)\n    end\n    if <(backdrop [number v]) = [4]> then\n        switch costume to (costume2 v)\n    end\nend\n\n@BAN MESSAGES\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(username) = [LAZYboi94]> then\n        switch costume to (costume2 v)\n        go to [front v] layer\n        stop all sounds\n        wait (3) seconds\n        stop [all v]\n    end\n    if <(username) = [yeetusmaximuscoder]> then\n        switch costume to (costume2 v)\n        go to [front v] layer\n        stop all sounds\n        wait (3) seconds\n        stop [all v]\n    end\n    if <(username) = [lighting_0489]> then\n        switch costume to (costume2 v)\n        go to [front v] layer\n        stop all sounds\n        wait (3) seconds\n        stop [all v]\n    end\nend\n\n@Love!\n\nwhen flag clicked\nhide\n\ndefine Clones (clones)\nrepeat (clones)\n    create clone of (_myself_ v)\nend\nshow\n\nwhen I start as a clone\nset [ghost v] to (pick random (2) to (4))\nswitch costume to (heart v)\nset [ghost v] effect to (Ghost)\nset size to (pick random (50) to (75)) %\nchange [color v] effect by (pick random (0) to (50))\nset [x speed clone v] to (pick random (10) to (-10))\nset [y speed clone v] to (pick random (15) to (-10))\nrepeat until <touching (_edge_ v)?>\n    change x by (X speed clone)\n    change y by (Y speed clone)\n    point in direction ((X speed clone) * (Y speed clone))\n    change [y speed clone v] by (-1)\n    change [x speed clone v] by ((X speed clone) * (0.99))\n    change [ghost v] effect by ((Ghost) * (1.05))\nend\n\nforever\n    go to (random position v)\nend\n\nwhen I receive [love! v]\nhide\ngo to x: (0) y: (0)\nforever\n    go to (random position v)\n    forever\n        if <(answer) = [lovey dubys]> then\n            Clones [1]\n            wait until <not <(answer) = [lovey dubys]>>\n        end\n    end\nend\n\n@Crash\n\nwhen flag clicked\nhide\n\ndefine Clones (clones)\nrepeat (clones)\n    create clone of (_myself_ v)\nend\nshow\n\nwhen I start as a clone\nset [ghost v] to (pick random (2) to (4))\nswitch costume to (heart v)\nset [ghost v] effect to (Ghost)\nset size to (pick random (50) to (75)) %\nchange [color v] effect by (pick random (0) to (50))\nset [x speed clone v] to (pick random (10) to (-10))\nset [y speed clone v] to (pick random (15) to (-10))\nrepeat until <touching (_edge_ v)?>\n    change x by (X speed clone)\n    change y by (Y speed clone)\n    point in direction ((X speed clone) * (Y speed clone))\n    change [y speed clone v] by (-1)\n    change [x speed clone v] by ((X speed clone) * (0.99))\n    change [ghost v] effect by ((Ghost) * (1.05))\nend\n\nforever\n    go to (random position v)\nend\n\nwhen [q v] key pressed\nhide\ngo to x: (0) y: (0)\nforever\n    go to (random position v)\n    forever\n        if <key (q v) pressed?> then\n            Clones ((1000000000000000000000000000000000000000000000000000000000000000000000000000000) * (1000000000000000000000000000000000000000000000000000000000000000000000000000000))\n            wait until <not <key (q v) pressed?>>\n        end\n    end\nend\n\n