石で道を切り開けMinecraft  platformer Mobile（モバイル対応）
@Stage\n\nwhen flag clicked\nrepeat (10)\n    play sound [bgm v] until done\nend\n\n@ prayer\n\nwhen flag clicked\nforever\n    if <(ポインター表示) = [0]> then\n        switch costume to (みぎ v)\n        go to x: (-210) y: (-90)\n        show\n        set size to (10) %\n        go to [front v] layer\n        show\n        set [x v] to [0]\n        set [y v] to [0]\n        point in direction (90)\n        go to x: (-210) y: (150)\n        go to x: (-210) y: (-35)\n        forever\n            set rotation style [left-right v]\n            if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n                switch costume to (ひだり v)\n                change [x2 v] by (-0.8)\n            end\n            if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n                switch costume to (みぎ v)\n                change [x2 v] by (0.8)\n            end\n            if <not <<key (left arrow v) pressed?> or <<key (right arrow v) pressed?> or <mouse down?>>>> then\n                switch costume to (みぎ v)\n            end\n            set [x2 v] to ((X2) * (0.9))\n            change x by (X2)\n            if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                change y by (2)\n                if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                    change y by (2)\n                    if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                        change y by (2)\n                        if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                            change y by (2)\n                            if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                                change y by (1.0)\n                                if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                                    change x by ((X2) * (-1))\n                                    change y by (-5)\n                                    if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                        if <(X2) > [0]> then\n                                            set [x2 v] to [-7]\n                                        else\n                                            set [x2 v] to [7]\n                                        end\n                                        set [y2 v] to [15]\n                                    else\n                                        set [x2 v] to [0.0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            change y by (-1)\n            if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                    start sound [ニュッ2 v]\n                    set [y2 v] to [15]\n                end\n            end\n            change y by (1)\n            change [y2 v] by (-1)\n            change y by (Y2)\n            if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                change y by ((Y2) * (-1))\n                set [y2 v] to [0]\n            end\n            if <(x position) > [240]> then\n                broadcast (次 v)\n                change [ステージ v] by (1)\n                hide\n                set [x2 v] to [0]\n                wait (1.4) seconds\n                go to x: (-175) y: (-84)\n                show\n            end\n            if <<<touching (スプライト3 v)?> or <touching (スプライト2 v)?>> or <<(y position) < [-174]> or <touching (ゾンビ v)?>>> then\n                set [x2 v] to [0]\n                set [y2 v] to [0]\n                start sound [Oops v]\n                repeat (20)\n                    change [ghost v] effect by (20)\n                end\n                go to x: (-175) y: (-85)\n                repeat (20)\n                    change [ghost v] effect by (-8)\n                end\n            end\n            if <touching (バネ v)?> then\n                set [y2 v] to [20]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nplay sound [魔王魂  v] until done\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to ( prayer v)\nset [ghost v] effect to (0)\nrepeat (3)\n    change [ghost v] effect by (26)\nend\ndelete this clone\n\nwhen I receive [石　ぽん v]\nwait (0.1) seconds\nif <(ポインター表示) = [1]> then\n    repeat until <(ポインター表示) = [0]>\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ポインター表示) = [0]> then\n    if <(ポインター表示) = [1]> then\nend\n\nwhen I receive [prayer動けサボるな v]\nswitch costume to (みぎ v)\nshow\nset size to (10) %\ngo to [front v] layer\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        switch costume to (ひだり v)\n        change [x2 v] by (-0.8)\n    end\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (みぎ v)\n        change [x2 v] by (0.8)\n    end\n    if <not <<key (left arrow v) pressed?> or <<key (right arrow v) pressed?> or <mouse down?>>>> then\n        switch costume to (みぎ v)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n        change y by (2)\n        if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n            change y by (2)\n            if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                change y by (2)\n                if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                    change y by (2)\n                    if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                        change y by (1.0)\n                        if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n                            change x by ((X2) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                if <(X2) > [0]> then\n                                    set [x2 v] to [-7]\n                                else\n                                    set [x2 v] to [7]\n                                end\n                                set [y2 v] to [15]\n                            else\n                                set [x2 v] to [0.0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n        if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            start sound [ニュッ2 v]\n            set [y2 v] to [15]\n        end\n    end\n    change y by (1)\n    change [y2 v] by (-1)\n    change y by (Y2)\n    if <<touching (スプライト1 v)?> or <touching (石　ブロック v)?>> then\n        change y by ((Y2) * (-1))\n        set [y2 v] to [0]\n    end\n    if <(x position) > [240]> then\n        broadcast (次 v)\n        change [ステージ v] by (1)\n        hide\n        set [x2 v] to [0]\n        wait (1.4) seconds\n        go to x: (-175) y: (-84)\n        show\n    end\n    if <<<touching (スプライト3 v)?> or <touching (スプライト2 v)?>> or <<touching (ゾンビ v)?> or <(y position) < [-174]>>> then\n        set [x2 v] to [0]\n        set [y2 v] to [0]\n        start sound [Oops v]\n        repeat (20)\n            change [ghost v] effect by (20)\n        end\n        go to x: (-175) y: (-85)\n        repeat (20)\n            change [ghost v] effect by (-8)\n        end\n    end\n    if <touching (バネ v)?> then\n        set [y2 v] to [20]\n    end\nend\n\nwhen I receive [右 v]\nrepeat (100)\n    switch costume to (みぎ v)\n    wait (0.00001) seconds\nend\n\n@スプライト3\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\nforever\n    if <(ステージ) = [1]> then\n        switch costume to (コスチューム1 v)\n        show\n        go to x: (-18) y: (-92)\n    end\n    if <(ステージ) = [9]> then\n        show\n        go to x: (72) y: (-88)\n    end\n    if <(ステージ) = [12]> then\n        go to x: (59) y: (-39)\n        switch costume to (コスチューム2 v)\n        show\n        set [ghost v] effect to (100)\n    end\nend\n\nwhen I receive [次 v]\nhide\n\n@剣\n\nwhen flag clicked\n\npoint in direction (90)\nset [剣表示 v] to [0]\ngo [forward v] (3) layers\nhide\n\nwhen I receive [ぽち　（剣） v]\n\npoint in direction (90)\nset [剣表示 v] to [1]\nshow\nrepeat until <(剣表示) = [0]>\n    go to ( prayer v)\nend\n\nwhen I receive [ぽち　剣　2 v]\n\npoint in direction (90)\nrepeat (6)\n    turn right (15) degrees\nend\nif <touching (ゾンビ v)?> then\n    broadcast (ゾンビ体力down v)\nend\nrepeat (6)\n    turn left (15) degrees\nend\n\n@スプライト1\n\nwhen flag clicked\nif <(costume [number v]) = [1]> then\n    broadcast (針 v)\nelse\n    broadcast (隠す v)\nend\n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [次 v]\nnext costume\n\n@スプライト4\n\nwhen flag clicked\ngo to x: (500) y: (0)\nhide\n\nwhen I receive [次 v]\ngo to [front v] layer\nshow\nglide (0.6) secs to x: (-90) y: (0)\nstart sound [ポップ v]\nwait (0.5) seconds\nglide (0.6) secs to x: (500) y: (0)\nhide\n\n@スプライト2\n\nwhen flag clicked\ngo [backward v] (5) layers\n\n@ポインター\n\nwhen I receive [石　ぽん v]\nshow\nset [ポインター表示 v] to [1]\nrepeat until <(ポインター表示) = [0]>\n    go to (mouse-pointer v)\nend\n\nwhen flag clicked\nhide\nset [ポインター表示 v] to [0]\n\nwhen I receive [石　ぽん v]\nwait (0.5) seconds\nwait until <not <mouse down?>>\nif <not <mouse down?>> then\n    set [ポインター表示 v] to [0]\n    broadcast (prayer動けサボるな v)\n    hide\nend\n\n@石　ブロック\n\nwhen I start as a clone\nshow\nrepeat until <(ポインター表示) = [0]>\n    go to (ポインター v)\n    if <(ポインター表示) = [0]> then\n        go to (ポインター v)\n    end\nend\n\nwhen I receive [石　ぽん v]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\n\nwhen flag clicked\nerase all\nhide\n\nstamp\n\nwhen I receive [次 v]\ndelete this clone\n\nerase all\n\nhide\n\n@石　ブロックボタン\n\nwhen flag clicked\nwait (0.1) seconds\nshow variable [タイム v]\nset [タイム v] to [0]\nhide variable [使った石の数 v]\nset [使った石の数 v] to [0]\nhide variable [☁ 世界記録 v]\n\nwhen this sprite clicked\nchange [使った石の数 v] by (1)\nbroadcast (石　ぽん v)\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(ステージ) = [12]> then\n        show variable [使った石の数 v]\n        show variable [☁ 世界記録 v]\n        if <<(タイム) < (☁ 世界記録)> or <(タイム) = [0]>> then\n            set [☁ 世界記録 v] to (タイム)\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    wait (1) seconds\n    change [タイム v] by (1)\nend\n\nwhen [timer v] > (0)\nwait (0.1) seconds\nhide variable [タイム v]\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    reset timer\nend\n\n@剣ボタン\n\nwhen flag clicked\ngo [forward v] (1) layers\n\nwhen this sprite clicked\n\nwhen this sprite clicked\n\nif <(剣表示) = [1]> then\n    broadcast (ぽち　剣　2 v)\nend\n\nbroadcast (右 v)\nbroadcast (ぽち　（剣） v)\n\n@体力\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [体力ダウン v]\n\nwait (1.5) seconds\n\nwait (0.1) seconds\nnext costume\nif <(costume [number v]) = [11]> then\n    broadcast (game Over v)\nend\n\n@ゾンビ\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\nforever\n    if <(ステージ) = [12]> then\n        show\n        glide (2) secs to x: (-129) y: (-128)\n        switch costume to (ゾンビ2 v)\n        point in direction (-90)\n        glide (2) secs to x: (115) y: (-128)\n        switch costume to (ゾンビ v)\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (50) y: (-102)\nforever\n    if <(ステージ) = [1]> then\n        show\n        glide (1) secs to x: (50) y: (-102)\n        switch costume to (ゾンビ2 v)\n        point in direction (-90)\n        glide (1) secs to x: (147) y: (-102)\n        switch costume to (ゾンビ v)\n    end\nend\n\nwhen I receive [次 v]\nhide\n\n@DF5634FA-6AB7-4FDB-876C-7D707BEF3957\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [12]> then\n        show\n        go to x: (pick random (-113) to (-117)) y: (pick random (-27) to (-30))\n    end\nend\n\n@61FB1AA0-E5E0-4B9E-8FC2-4651E236B816\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [12]> then\n        show\n        go to x: (pick random (113) to (117)) y: (pick random (-27) to (-30))\n    end\nend\n\n@さむね\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\nset [☁ 世界記録 v] to [150]\n\n
__________________☆大画面推奨☆___________________\n作者の記録:タイム89秒　使った石の数　3\nーーーーーーーーーーー使い方ーーーーーーーーーーーー結構裏技あるけどコメ欄には、書かないようにね♫\n拡散よろしく一つのスタジオにでも載してくれれば、\nフォロー又は、⭐️❤️押すよ〜！　まだまだ続く…↓↓↓↓↓\n題名そしてサムネのとおり、、、\n石ブロックを置いて進むプラットフォーマーです！\nですが、制限をつけました。1ステージにつき\n石ブロック8個までしか使えません！\nそして、最後にタイムと、使った石の数と世界記録が出ますが、世界記録が0とバグっています。治し方がわかる人は、コメント欄で教えて下さい！\nーーーーーーーーーーーQ&AーーーーーーーーーーーーQ・石を置いたら自分が消えましたこれは何故ですか？\nA・リスポーンした時に石を置いたのだと思います。\nその時早送り、幽霊の効果が100なのだと思います。\n旗を押してやり直すか、動いて見てもう一回ﾀﾋねば、\n自分がまた、見えるようになります！\nQ・石が、9個も置けません！\nA・どこかでダブルタップしたんだと思います！\nQ・リミックスOKですか？\nA・全然OKです。しかし何かは変えてください！\nQ・石は、消せますか？\nA・無理です消す必要ありません！気をつけてやる‼︎\nQ・トラブル発生！\nA・旗押してね、（圧）\n\n