Minecraft platformer 5 Sea  

Instructions: これ本当は2/10日に共有されたものです\n報告乱用で消されてた...\n❤と⭐を押せば無敵になれます！\n”Press ❤ and ⭐ to become invincible!\n報告乱用で消されたのでコピー共有（）\nサブ垢@_-kashiwa-_をフォローしてね！！！\nサブ垢の作品\nhttps://scratch.mit.edu/projects/960972332/\n溺死ゾンビとガーディアンは自作です\n旗は二回押してください！バグります！！！\n今回は海のマインクラフトプラットフォーマー(5)を作りました！！\n❤と⭐、フォロー、拡散をよろしくお願いします。\n《操作方法》\n矢印キーまたはタップで操作します。\nスペースキーでトライデントを振れます\n敵に当たるか呼吸ゲージがなくなると死にます()\n《クレジット》\nBGM：@-xaf-\n一部コスチューム：@kuri-pa-2、@griffpatch

@Stage\n\nwhen flag clicked\nstop all sounds\nclear sound effects\nforever\n    play sound [Nautilus v] until done\nend\n\nwhen flag clicked\nforever\n    if <(水存在する) = [0]> then\n        switch backdrop to (水中 v)\n    else\n        switch backdrop to (blue sky 2  v)\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nset [すてえじ v] to [1]\n初期\nforever\n    if <touching (みず v)?> then\n        ブロック名 [0.7] [3] [-0.1] [7] [0.8]\n    else\n        ブロック名 [1] [14] [-1] [7] [0.9]\n    end\nend\n\ndefine ブロック名 (x) (y) (重力) (壁) (なめらか)\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    point in direction (90)\n    change [x v] by (x)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    point in direction (-90)\n    change [x v] by ((x) - ((x) + (x)))\nend\nset [x v] to ((X) * (なめらか))\nchange x by (X)\nchange [y v] by (重力)\nchange y by (Y)\nif <touching (地面 v)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\n    if <touching (みず v)?> then\nend\nif <touching (みず v)?> then\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n        set [y v] to (y)\n    end\nend\nif <touching (地面 v)?> then\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                end\n            end\n        end\n    end\n    change y by (1)\nend\nif <touching (地面 v)?> then\n    change y by (-5)\n    change x by ((X) * (-1))\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n        set [y v] to (y)\n        set [x v] to ((壁) - (<[0] < (X)> * (14)))\n    else\n        set [x v] to [0]\n    end\nend\nif <[230] < (x position)> then\n    if <<(すてえじ) = [11]> and <[0] < (エルダーの力が嗚呼嗚呼あ)>> then\nend\nif <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n    if <touching (みず v)?> then\n        set [y v] to ((y) - ((y) + (y)))\n    end\nend\n\ndefine 初期\nset [y v] to [0]\nset [x v] to [0]\ngo to x: (-220) y: (100)\nif <<(♥) = [1]> and <(★) = [1]>> then\n    switch costume to (コスチューム1  v)\nelse\n    switch costume to (普通 v)\nend\n\nwhen flag clicked\nforever\n    if <(ギャー) = [1]> then\n        switch costume to (スティーブ やられた v)\n        start sound [j v]\n        change [hp v] by (-1)\n        wait (0.5) seconds\n        switch costume to (普通 v)\n    end\nend\n\nwhen flag clicked\nwait until <(Hp) < [0]>\nstop [all v]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [3]> then\nend\n\nwhen I receive [♥と★ v]\nswitch costume to (コスチューム1  v)\n\n@みず\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\nshow\nset [水存在する v] to [0]\nwait until <(すてえじ) = [12]>\nset [水存在する v] to [1]\nswitch costume to (コスチューム2 v)\ngo to [back v] layer\n\n@bubbles0\n\nwhen flag clicked\nset [ギャー v] to [0]\nset [jj v] to [21]\nshow\nforever\n    switch costume to ((jj) + (1))\nend\n\nwhen flag clicked\nforever\n    if <(水存在する) = [0]> then\n        wait (1) seconds\n        change [jj v] by (-1)\n    else\n        change [jj v] by (0)\n    end\nend\n\n\n\nwhen flag clicked\nwait until <(jj) < [0]>\nset [ギャー v] to [1]\nbroadcast (ffffffff v)\nhide\n\nwhen I receive [メッセージ1 v]\nset [ギャー v] to [0]\nset [hp v] to [20]\nset [jj v] to [21]\nshow\n\nshow\n\nwhen flag clicked\nwait until <(水存在する) = [1]>\nhide\n\nwhen I receive [メッセージ1 v]\nwait until <(jj) < [0]>\nset [ギャー v] to [1]\nbroadcast (ffffffff v)\nhide\n\n@health0\n\nwhen flag clicked\nset [hp v] to [20]\nforever\n    switch costume to ((Hp) + (1))\nend\n\n@地面\n\nwhen flag clicked\nforever\n    switch costume to (すてえじ)\nend\n\n@ぞんび\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    wait until <(すてえじ) = [3]>\n    create clone of (_myself_ v)\n    wait until <(すてえじ) = [5]>\n    create clone of (_myself_ v)\n    wait until <(すてえじ) = [7]>\n    create clone of (_myself_ v)\n    wait until <(すてえじ) = [8]>\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (220) y: (0)\nset [ゾンビ hp v] to [20]\nshow\nset rotation style [left-right v]\nforever\n    if <(x position) < ([x position v] of [スプライト1 v])> then\n        change [ゾンビx v] by (0.4)\n        point in direction (90)\n    end\n    if <([x position v] of [スプライト1 v]) < (x position)> then\n        change [ゾンビx v] by (-0.4)\n        point in direction (-90)\n    end\n    set [ゾンビx v] to ((ゾンビX) * (0.8))\n    change x by (ゾンビX)\n    if <touching (地面 v)?> then\n        change y by ((() + (1)) * (5))\n        if <touching (地面 v)?> then\n            change x by ((ゾンビX) * (-1))\n            change y by (-5)\n            if <(y position) < ([x position v] of [スプライト1 v])> then\n                if <(ゾンビX) < [0]> then\n                    set [ゾンビx v] to [6]\n                else\n                    set [ゾンビx v] to [-6]\n                end\n                set [ゾンビy v] to [4]\n            else\n                set [ゾンビx v] to [0]\n            end\n        end\n    end\n    if <touching (みず v)?> then\n        change [ゾンビy v] by (-0.05)\n    else\n        change [ゾンビy v] by (-1)\n    end\n    change y by (ゾンビY)\n    if <touching (地面 v)?> then\n        change y by ((ゾンビY) * (-1))\n        set [ゾンビy v] to [0]\n    end\n    if <(y position) < ([y position v] of [スプライト1 v])> then\n        set [ゾンビy v] to [4]\n    end\nend\n\nwhen I receive [しんじゃった v]\nset [jj v] to [21]\ngo to x: (220) y: (0)\n\nwhen flag clicked\nswitch costume to (ぞんび v)\n\nwhen I receive [こーげき v]\n\nrepeat (2)\n\nwhen [space v] key pressed\nif <touching (とらいでんと v)?> then\n    change [ゾンビ hp v] by (-5)\n    if <(x position) < ([x position v] of [スプライト1 v])> then\n        set [ゾンビx v] to [-10]\n        set [ゾンビy v] to [5]\n    else\n        set [ゾンビx v] to [10]\n        set [ゾンビy v] to [5]\n    end\n    if <(ゾンビ HP) < [0]> then\n        start sound [しｎ v]\n        switch costume to (ぞび v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (1) to (2))\n        switch costume to (ぞび v)\n        wait (0.1) seconds\n        switch costume to (ぞんび v)\n    end\nend\n\nwhen I receive [メッセージ1 v]\ndelete this clone\n\n@とらいでんと\n\nwhen flag clicked\nforever\n    if <(すてえじ) < [6]> then\n        hide\n    else\n        show\n    end\n    if <<not <touching (スプライト1 v)?>> and <(すてえじ) < [7]>> then\n        go to x: (0) y: (-60)\n    else\n        point in direction ([direction v] of [スプライト1 v])\n        if <([direction v] of [スプライト1 v]) = [90]> then\n            go to x: (([x position v] of [スプライト1 v]) + (40)) y: ([y position v] of [スプライト1 v])\n        else\n            go to x: (([x position v] of [スプライト1 v]) - (40)) y: ([y position v] of [スプライト1 v])\n        end\n    end\n    if <key (space v) pressed?> then\n        switch costume to ( v)\n        repeat (3)\n            next costume\n        end\n        repeat (3)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\n@ガーディアン\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    wait until <(すてえじ) = [8]>\n    create clone of (_myself_ v)\n    wait until <(すてえじ) = [10]>\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (240) y: (0)\nset [zonbihp v] to [20]\nshow\nset rotation style [left-right v]\nforever\n    if <(x position) < ([x position v] of [スプライト1 v])> then\n        change [zonbix v] by (0.4)\n        point in direction (90)\n    end\n    if <([x position v] of [スプライト1 v]) < (x position)> then\n        change [zonbix v] by (-0.4)\n        point in direction (-90)\n    end\n    set [zonbix v] to ((zonbix) * (0.8))\n    change x by (zonbix)\n    if <touching (地面 v)?> then\n        change y by ((() + (1)) * (5))\n        if <touching (地面 v)?> then\n            change x by ((zonbix) * (-1))\n            change y by (-5)\n            if <(y position) < ([x position v] of [スプライト1 v])> then\n                if <(zonbix) < [0]> then\n                    set [zonbix v] to [6]\n                else\n                    set [zonbix v] to [-6]\n                end\n                set [zonbiy v] to [4]\n            else\n                set [zonbix v] to [0]\n            end\n        end\n    end\n    if <touching (みず v)?> then\n        change [zonbiy v] by (-0.1)\n    else\n        change [zonbiy v] by (-1)\n    end\n    change y by (zonbiy)\n    if <touching (地面 v)?> then\n        change y by ((zonbiy) * (-1))\n        set [zonbiy v] to [0]\n    end\n    if <(y position) < ([y position v] of [スプライト1 v])> then\n        set [zonbiy v] to [4]\n    end\nend\n\nwhen I receive [しんじゃった v]\nset [jj v] to [21]\ngo to x: (220) y: (0)\n\nwhen flag clicked\nswitch costume to (ぞんび v)\n\nwhen I receive [こーげき v]\n\nrepeat (2)\n\nwhen [space v] key pressed\nif <touching (とらいでんと v)?> then\n    change [zonbihp v] by (-5)\n    if <(x position) < ([x position v] of [スプライト1 v])> then\n        set [zonbix v] to [-10]\n        set [zonbiy v] to [5]\n    else\n        set [zonbix v] to [10]\n        set [zonbiy v] to [5]\n    end\n    if <(zonbihp) < [0]> then\n        start sound [j v]\n        switch costume to (ぞび v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (1) to (2))\n        switch costume to (ぞび v)\n        wait (0.1) seconds\n        switch costume to (ぞんび v)\n    end\nend\n\nwhen I receive [メッセージ1 v]\ndelete this clone\n\n@エルダーガーディアん\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    wait until <(すてえじ) = [11]>\n    create clone of (_myself_ v)\n    wait until <(すてえじ) = [14444444444]>\nend\n\nwhen I start as a clone\ngo to x: (240) y: (0)\nset [エルダーの力が嗚呼嗚呼あ v] to [50]\nshow\nset rotation style [left-right v]\nforever\n    if <(x position) < ([x position v] of [スプライト1 v])> then\n        change [zonbix v] by (0.4)\n        point in direction (90)\n    end\n    if <([x position v] of [スプライト1 v]) < (x position)> then\n        change [zonbix v] by (-0.4)\n        point in direction (-90)\n    end\n    set [zonbix v] to ((zonbix) * (0.8))\n    change x by (zonbix)\n    if <touching (地面 v)?> then\n        change y by ((() + (1)) * (5))\n        if <touching (地面 v)?> then\n            change x by ((zonbix) * (-1))\n            change y by (-5)\n            if <(y position) < ([x position v] of [スプライト1 v])> then\n                if <(zonbix) < [0]> then\n                    set [zonbix v] to [6]\n                else\n                    set [zonbix v] to [-6]\n                end\n                set [zonbiy v] to [4]\n            else\n                set [zonbix v] to [0]\n            end\n        end\n    end\n    if <touching (みず v)?> then\n        change [zonbiy v] by (-0.1)\n    else\n        change [zonbiy v] by (-1)\n    end\n    change y by (zonbiy)\n    if <touching (地面 v)?> then\n        change y by ((zonbiy) * (-1))\n        set [zonbiy v] to [0]\n    end\n    if <(y position) < ([y position v] of [スプライト1 v])> then\n        set [zonbiy v] to [4]\n    end\nend\n\nwhen I receive [しんじゃった v]\nset [jj v] to [21]\ngo to x: (220) y: (0)\n\nwhen flag clicked\nswitch costume to (ぞんび v)\n\nwhen I receive [こーげき v]\n\nrepeat (2)\n\nwhen [space v] key pressed\nif <touching (とらいでんと v)?> then\n    change [エルダーの力が嗚呼嗚呼あ v] by (-5)\n    if <(x position) < ([x position v] of [スプライト1 v])> then\n        set [zonbix v] to [-10]\n        set [zonbiy v] to [3]\n    else\n        set [zonbix v] to [10]\n        set [zonbiy v] to [3]\n    end\n    if <(エルダーの力が嗚呼嗚呼あ) < [0]> then\n        start sound [j v]\n        switch costume to (ぞび v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (1) to (2))\n        switch costume to (ぞび v)\n        wait (0.1) seconds\n        switch costume to (ぞんび v)\n    end\nend\n\nwhen I receive [メッセージ1 v]\ndelete this clone\n\n@スプライト3\n\nwhen flag clicked\n\nrepeat until <<(♥) = [1]> and <(★) = [1]>>\n    hide\n    go to x: (0) y: (-150)\n    show\n    glide (1) secs to x: (0) y: (0)\n    wait (pick random (1) to (10)) seconds\n    glide (1) secs to x: (0) y: (-150)\n    hide\nend\nhide\n\n@スプライト2\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\n\n@Detector\n\nwhen flag clicked\nhide\nset [★ v] to [0]\nset [♥ v] to [0]\nset [どっち v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [どっち v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(♥) = [1]> and <(★) = [1]>>\nbroadcast (♥と★ v)\n\nwhen I start as a clone\nif <(どっち) = [0]> then\n    go to x: (-15) y: (0)\n    set [♥ v] to [0]\n    switch costume to (love v)\n    forever\n        set [♥? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [♥ v] to [1]\n        end\n    end\nend\nif <(どっち) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [★ v] to [0]\n    forever\n        set [星? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [★ v] to [1]\n        end\n    end\nend\n\n