platformer world

Instructions: 日本語は下にあるよ。☟\n≪English≫\nl　l　move it with the arrow key.\nl　ｍ　going to go back to the first stage in space key.\nl　d like to have a trend and a heart ,star ,please\nI　worked hard to make it\nAnd　also ,please follow me.☟\nhttps://scratch.mit.edu/users/karikunn/\nthis is the studio with my work.☟\nhttps://scratch.mit.edu/studios/26650448/\nAnd　look at the other pieces.\nlf　you have a bug, you can tell me in the comments section\n矢印キーで動かします！\nスペースキーでステージの最初に戻ります。\nバグがあったら言ってください。\nほかの作品も見てね\n流行入りしたいので❤★マークをお願いします((殴\n参照数だけ多い(´;ω;｀)\n不快なコメントは削除させていただきます

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景3 v)\n\nwhen I receive [メッセージ1 v]\nforever\n    play sound [ハナチャンの森 v] until done\nend\n\n@外国向け主人公\n\nwhen I start as a clone\nrepeat (8)\n    set [ghost v] effect to (50)\n    change size by (-8)\n    switch costume to (costume [number v])\nend\ndelete this clone\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム12]> then\nend\n\nwhen I receive [メッセージ1 v]\nshow\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [xv v] by (-1)\n        point in direction (-90)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (1)\n        point in direction (90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\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                    if <touching (戦いのステージ v)?> then\n                        change y by (1)\n                        if <touching (戦いのステージ v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-7]\n                                else\n                                    set [xv v] to [7]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (戦いのステージ v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            start sound [High Whoosh v]\n            switch costume to (コスチューム2 v)\n            set [yv v] to [15]\n        else\n            switch costume to (コスチューム1 v)\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (戦いのステージ v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (家ター！ v)\n        change [背景 v] by (1)\n        go to x: (-216) y: (-59)\n    end\n    if <(y position) < [-170]> then\n        start sound [power9 v]\n        go to x: (-230) y: (-60)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nshow\nforever\n    wait (0.025) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [メッセージ1 v]\nswitch backdrop to (背景1 v)\ngo to x: (-201) y: (-50)\n\nwhen I receive [メッセージ1 v]\nforever\n    if <key (space v) pressed?> then\n        go to x: (-216) y: (-59)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム12]> then\n        broadcast (thanks v)\n    end\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    if <(backdrop [number v]) = [2]> then\n        hide\n    end\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    if <touching color (#ff0000)?> then\n        start sound [power9 v]\n        go to x: (-230) y: (-60)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (大ジャンプ v)?> then\n        set [yv v] to [20]\n    end\nend\n\nstop [all v]\n\n@@nekopyon様のタイム\n\nwhen flag clicked\nhide variable [☁ ハイスコア v]\nhide\n\ndefine 書く (数字) X (x) Y (y) 大きさ (大きさ) 明るさ (明るさ) 透明度 (透明度) 色 (色)\nset [書けた?2 v] to [0]\nhide\ngo to [front v] layer\ngo to x: (x) y: (y)\nset size to (大きさ) %\nset [brightness v] effect to (明るさ)\nset [ghost v] effect to (透明度)\nset [数字の変数 v] to [0]\nrepeat (length of (数字))\n    change [数字の変数 v] by (1)\n    switch costume to (letter (数字の変数) of (数字))\n    create clone of (_myself_ v)\n    change x by ((大きさ) / (9.5))\nend\nset [書けた?2 v] to [1]\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (1) layers\nwait until <(書けた?2) = [1]>\nset [ghost v] effect to (100)\nshow\nrepeat (5)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [消せ! v]\ndelete this clone\n\nwhen I receive [はじめ v]\nタイム測る\n\ndefine タイム測る\n\nwhen I receive [タイマー再開 v]\nstop [other scripts in sprite v]\nbroadcast (消せ! v)\nhide variable [☁ ハイスコア v]\nタイム測る\n\nset [color v] effect to (色)\n\nwhen I receive [メッセージ1 v]\nforever\n    repeat until <([costume name v] of [戦いのステージ v]) = [コスチューム12]>\n        show\n        set [clearまでにかかった時間 v] to [0]\n        forever\n            書く (CLEARまでにかかった時間) X [155] Y [144] 大きさ [100] 明るさ [-500] 透明度 [-10000] 色 [❶]\n            wait (0.9) seconds\n            broadcast (消せ! v)\n            change [clearまでにかかった時間 v] by (1)\n        end\n    end\nend\n\n@@nekopyon様の表記\n\nwhen I receive [メッセージ1 v]\nclear graphic effects\ngo to x: (0) y: (-8)\npoint in direction (90)\nset [ghost v] effect to (100)\nset size to (100) %\nshow\nrepeat (10)\n    change [ghost v] effect by (-5)\nend\nrepeat until <(backdrop [number v]) = [12]>\n    change [変数 v] by (-0.5)\n    set size to (100) %\nend\nrepeat until <(backdrop [number v]) = [12]>\n    change [変数 v] by (0.5)\n    set size to (100) %\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    stop [this script v]\nend\n\nwhen I receive [メッセージ1 v]\nset [変数 v] to [0]\nforever\n    repeat (5)\n        change [変数 v] by (0.1)\n        change y by (1)\n        set size to (100) %\n    end\n    repeat (10)\n        change [変数 v] by (-0.1)\n        change y by (-1)\n        set size to (100) %\n    end\n    repeat (5)\n        change [変数 v] by (0.1)\n        change y by (1)\n        set size to (100) %\n    end\nend\n\n@戦いのステージ\n\nwhen I receive [家ター！ v]\nnext costume\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nswitch costume to (コスチューム14 v)\n\nwhen I receive [メッセージ1 v]\nswitch costume to (コスチューム1 v)\n\n@マグマバー\n\nwhen I receive [メッセージ1 v]\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム4]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム4]>> then\n        hide\n    end\nend\n\n@とげとげ\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム7]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム7]>> then\n        hide\n    end\nend\n\n@大ジャンプ\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム9]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム9]>> then\n        hide\n    end\nend\n\n@大ジャンプの恋人\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム9]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム9]>> then\n        hide\n    end\nend\n\n@ちょっと何言ってるか分かんない\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム10]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム10]>> then\n        hide\n    end\nend\n\n@マグマ上り下り\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム10]> then\n        show\n        go to x: (0) y: (0)\n        glide (2) secs to x: (0) y: (-200)\n        glide (2) secs to x: (0) y: (200)\n        glide (0.5) secs to x: (0) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム10]>> then\n        hide\n    end\nend\n\n@最悪のバー1\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム11]> then\n        show\n        go to x: (0) y: (0)\n        glide (0.5) secs to x: (0) y: (-50)\n        glide (0.5) secs to x: (0) y: (-250)\n        glide (0.5) secs to x: (0) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム11]>> then\n        hide\n    end\nend\n\n@最悪のバー2\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム11]> then\n        show\n        go to x: (0) y: (0)\n        glide (0.5) secs to x: (0) y: (-50)\n        glide (0.5) secs to x: (0) y: (-250)\n        glide (0.5) secs to x: (0) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム11]>> then\n        hide\n    end\nend\n\n@最悪のバー❸\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム11]> then\n        show\n        go to x: (0) y: (0)\n        glide (0.5) secs to x: (0) y: (-50)\n        glide (0.5) secs to x: (0) y: (-250)\n        glide (0.5) secs to x: (0) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム11]>> then\n        hide\n    end\nend\n\n@有難うございます！\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [コスチューム12]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [コスチューム12]>> then\n        hide\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (500) y: (400)\nclear graphic effects\nshow\nforever\n    switch costume to (コスチューム1 v)\n    glide (1) secs to x: (‐40) y: (50)\n    forever\n        if <<(y position) = [50]> and <(x position) = [0]>> then\n            switch costume to (コスチューム3 v)\n            go to x: (0) y: (50)\n            start sound [爆発2 v]\n            wait (1) seconds\n            forever\n                switch costume to (コスチューム2 v)\n                go to x: (0) y: (50)\n            end\n        end\n    end\nend\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト3\n\nwhen flag clicked\nhide\nwait (2) seconds\ngo to x: (500) y: (400)\nclear graphic effects\nshow\nforever\n    switch costume to (コスチューム1 v)\n    glide (1) secs to x: (36) y: (28)\n    forever\n        if <<(x position) = [36]> and <(y position) = [28]>> then\n            switch costume to (コスチューム3 v)\n            go to x: (36) y: (28)\n            start sound [爆発2 v]\n            wait (1) seconds\n            forever\n                switch costume to (コスチューム2 v)\n                go to x: (36) y: (28)\n            end\n        end\n    end\nend\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト5\n\nwhen flag clicked\nhide\nwait (4) seconds\ngo to x: (600) y: (500)\nclear graphic effects\nshow\nforever\n    switch costume to (コスチューム1 v)\n    glide (1) secs to x: (36) y: (28)\n    forever\n        if <<(x position) = [36]> and <(y position) = [28]>> then\n            switch costume to (コスチューム2 v)\n            go to x: (36) y: (28)\n            start sound [爆発2 v]\n            wait (1) seconds\n            forever\n                switch costume to (コスチューム3 v)\n                go to x: (36) y: (28)\n            end\n        end\n    end\nend\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト7\n\nwhen flag clicked\nhide\nwait (6) seconds\ngo to x: (10000) y: (500)\nclear graphic effects\nshow\nforever\n    switch costume to (コスチューム1 v)\n    glide (1) secs to x: (36) y: (28)\n    forever\n        if <<(x position) = [36]> and <(y position) = [28]>> then\n            switch costume to (コスチューム2 v)\n            go to x: (36) y: (28)\n            start sound [爆発2 v]\n            wait (1) seconds\n            forever\n                switch costume to (コスチューム3 v)\n                go to x: (36) y: (28)\n            end\n        end\n    end\nend\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト9\n\nwhen flag clicked\nhide\nwait (10) seconds\nshow\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen flag clicked\nwait (12) seconds\nbroadcast (メッセージ1 v)\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト2\n\n