Key platformer

Instructions: English is below\n- 日本語 -\n⚑矢印キーやタップで操作しよう！\n⚑障害物を避けて鍵をゲットしてクリアしよう！\n⚑世界記録を目指して頑張ろう！\n⚑拡散もしよう((((\n⚑あとフォローもしよう(((\n- - - - - - - -\n- English -\n⚑Use the arrow keys or tap to operate!!\n⚑Avoid obstacles and get the key to clear the game!!\n⚑Let's do our best to aim for the world record!!\n\n- credit -\nBGM / @-xaf-様\nMobile Mark / @takogori様\nTurbo mode judgment / @Pikurin様

@Stage\n\nwhen flag clicked\nforever\n    switch backdrop to (背景1 v)\n    play sound [Starship v] until done\n    play sound [The Next Thing I Knew v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (音量) %\nend\n\n@No turbo mode\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nreset timer\nwait (0) seconds\nif <(timer) = [0]> then\n    show\n    switch costume to (ターボモードになりました v)\n    go to x: (0) y: (0)\n    stop [all v]\nend\n\nwhen I receive [タイトル表示 v]\nhide\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [タイトル表示 v]\nshow\n\n@スプライト5\n\nwhen I receive [お疲れ様ズラ v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [タイトル表示 v]\nhide\n\n@ｼﾞﾒﾝ\n\nwhen I receive [ステージ次だよーん v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム2 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nset [タイム/time v] to [0]\nforever\n    set ["" v] to (costume [number v])\nend\n\nwhen I receive [タイトル表示 v]\nhide\n\n@👤\n\nwhen flag clicked\nshow\nset rotation style [left-right v]\nset size to (20) %\nset [ghost v] effect to (0)\ngo to x: (-200) y: (100)\ngo [backward v] (1) layers\nforever\n    switch costume to (コスチューム1 v)\n    動作\nend\n\nif <(1234) = [0]> then\n\ndefine 動作\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n    change [x v] by (-1)\n    point in direction (-90)\nend\nif <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n    change [x v] by (1.1)\n    point in direction (90)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <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 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 ((x) * (-1))\n                                    change y by (-8)\n                                    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n                                        if <(x) > [0]> then\n                                            set [x v] to [-7]\n                                        else\n                                            set [x v] to [7]\n                                        end\n                                        set [y v] to [14]\n                                    else\n                                        set [x v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (-1)\nif <touching (ｼﾞﾒﾝ v)?> then\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n        set [y v] to [14]\n    end\nend\nchange y by (1)\nchange [y v] by (-1)\nchange y by (y)\nif <touching (ｼﾞﾒﾝ v)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nif <touching (スプライト7 v)?> then\n    set [鍵ゲット v] to [1]\nend\nif <<touching (スプライト6 v)?> and <(鍵ゲット) = [1]>> then\n    はーい、死んだー\n    broadcast (ステージ次だよーん v)\n    go to x: (-200) y: (100)\n    hide\nend\nif <<touching (邪魔者 v)?> or <[-173] > (y position)>> then\n    はーい、死んだー\nend\n\ndefine はーい、死んだー\nset [鍵ゲット v] to [0]\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\nset [変数 v] to [0]\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (100)\npoint in direction (90)\nset [変数 v] to [9999]\nshow\n\nwhen I receive [ステージ次だよーん v]\nshow\nset [鍵ゲット v] to [0]\n\nwhen I receive [タイトル表示 v]\nhide\n\n@スコア\n\nwhen flag clicked\nwait (0) seconds\nhide variable [タイム/time v]\nhide variable [☁ 世界記録 v]\nforever\n    wait (1) seconds\n    if <[7] < (ステージ)> then\n        broadcast (お疲れ様ズラ v)\n        stop [this script v]\n    end\n    change [タイム/time v] by (1)\nend\n\nwhen I receive [お疲れ様ズラ v]\nshow variable [☁ 世界記録 v]\nshow variable [タイム/time v]\nif <(タイム/Time) < (☁ 世界記録)> then\n    set [☁ 世界記録 v] to (タイム/Time)\nend\n\nwhen I receive [タイトル表示 v]\nhide variable [タイム/time v]\nhide variable [☁ 世界記録 v]\n\n@スプライト7\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\nset [ステージ v] to [1]\nset [鍵ゲット v] to [0]\nset size to (100) %\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    repeat (40)\n        change size by (0.25)\n    end\n    repeat (40)\n        change size by (-0.25)\n    end\nend\n\nwhen I receive [ステージ次だよーん v]\nchange [ステージ v] by (1)\nset [鍵ゲット v] to [0]\n\ndefine ブロック名\nif <(鍵ゲット) = [1]> then\n    if <([direction v] of [👤 v]) = [90]> then\n        go to x: (([x position v] of [👤 v]) - (20)) y: ([y position v] of [👤 v])\n    else\n        go to x: (([x position v] of [👤 v]) + (20)) y: ([y position v] of [👤 v])\n    end\nelse\n    go to x: (鍵のx座標) y: (鍵のy座標)\nend\n\nwhen flag clicked\nforever\n    鍵\n    ブロック名\nend\n\ndefine 鍵\nset [鍵のx座標 v] to (item (ステージ) of [鍵の位置x v])\nset [鍵のy座標 v] to (item (ステージ) of [鍵の位置y v])\n\nwhen flag clicked\ndelete all of [鍵の位置x v]\nadd [120] to [鍵の位置x v]\nadd [200] to [鍵の位置x v]\nadd [0] to [鍵の位置x v]\nadd [170] to [鍵の位置x v]\nadd [100] to [鍵の位置x v]\nadd [0] to [鍵の位置x v]\nadd [200] to [鍵の位置x v]\n\nwhen flag clicked\ndelete all of [鍵の位置y v]\nadd [80] to [鍵の位置y v]\nadd [0] to [鍵の位置y v]\nadd [30] to [鍵の位置y v]\nadd [30] to [鍵の位置y v]\nadd [100] to [鍵の位置y v]\nadd [-50] to [鍵の位置y v]\nadd [100] to [鍵の位置y v]\n\nwhen I receive [お疲れ様ズラ v]\nhide\n\nwhen flag clicked\nforever\n    if <(ステージ) = [8]> then\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen I receive [タイトル表示 v]\nhide\n\n@スプライト6\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [ステージ次だよーん v]\nnext costume\n\nwhen I receive [タイトル表示 v]\nhide\n\n@邪魔者\n\nwhen flag clicked\nset [削除! 削除!!　削除ぉぉおお!!! v] to [0]\nswitch costume to (コスチューム2 v)\ncreate clone of (_myself_ v)\n\nwhen I receive [ステージ次だよーん v]\nset [削除! 削除!!　削除ぉぉおお!!! v] to [1]\nnext costume\nwait (0) seconds\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\npoint in direction (90)\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\nif <(costume [number v]) = [5]> then\n    forever\n        turn right (5) degrees\n    end\nend\nif <(costume [number v]) = [6]> then\n    go to x: (-100) y: (-50)\n    forever\n        point in direction (90)\n        repeat (40)\n            change x by (5)\n        end\n        wait (0.5) seconds\n        repeat (40)\n            change x by (-5)\n        end\n        wait (0.5) seconds\n    end\nend\nif <(costume [number v]) = [7]> then\n    go to x: (0) y: (0)\n    forever\n        point in direction (90)\n        repeat (20)\n            change y by (5)\n        end\n        wait (0.5) seconds\n        repeat (40)\n            change y by (-5)\n        end\n        wait (0.5) seconds\n        repeat (20)\n            change y by (5)\n        end\n        wait (0.5) seconds\n    end\nelse\n    go to x: (0) y: (0)\n    point in direction (90)\nend\n\nwhen I start as a clone\nwait (0) seconds\nwait until <(削除! 削除!!　削除ぉぉおお!!!) = [1]>\nset [削除! 削除!!　削除ぉぉおお!!! v] to [0]\ndelete this clone\n\nwhen I receive [タイトル表示 v]\nhide\n\n