Collaboration Platformer

Instructions: 流行の1ページ目に載りました!\n日本語は下にあるよ。☟\n≪English≫\nl'l　move it with  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\nthere's a little trick\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不快なコメントは削除させていただきます\n少しだけ仕掛けがあります！

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景3 v)\n\nwhen I receive [メッセージ1 v]\nforever\n    play sound [1 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]\nset size to (100) %\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 [Jump3 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\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 <<touching color (#ff0000)?> or <(y position) < [-170]>> then\n        start sound [power9 v]\n        set [yv v] to [3]\n        repeat (10)\n            set [xv v] to [0]\n            set [yv v] to [0]\n            set rotation style [all around v]\n            change size by (10)\n            turn left (50) degrees\n        end\n        set size to (100) %\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        broadcast (123 v)\n        set [yv v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (2 v)\n    else\n        switch costume to (1 v)\n    end\nend\n\nwhen flag clicked\nhide variable [☁ 最高記録 v]\nhide variable [時間 v]\nset [時間 v] to [0]\n\nwhen I receive [メッセージ1 v]\nforever\n    if <(backdrop [number v]) = [2]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (大ジャンプ v)?> or <touching (大ジャンプの恋人 v)?>> then\n        broadcast (123 v)\n        set [yv v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (スプライト7 v)?> then\n        go to x: (143) y: (-84)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (スプライト8 v)?> then\n        go to x: (100) y: (150)\n    end\nend\n\nwhen flag clicked\nforever\n    \nend\n\nbroadcast (メッセージ1 v)\n\nwhen I receive [メッセージ1 v]\nshow variable [☁ 最高記録 v]\nshow variable [時間 v]\nrepeat until <([costume name v] of [戦いのステージ v]) = [2]>\n    change [時間 v] by (1)\n    wait (1) seconds\nend\nif <(☁ 最高記録) > (時間)> then\n    set [☁ 最高記録 v] to (時間)\nend\n\n@切り替え\n\nwhen flag clicked\nhide\n\nwhen I receive [家ター！ v]\nset [color v] effect to (0)\ngo to [front v] layer\nset [切り替えx v] to [-120]\nset [動くよー v] to [0]\ngo to x: (460) y: (0)\nshow\nrepeat until <(x position) < [-460]>\n    change [color v] effect by (5)\n    set [切り替えx v] to ((切り替えx) * (0.9))\n    change x by (切り替えx)\nend\nhide\nset [動くよー v] to [1]\n\n@Intro\n\nwhen flag clicked\nset size to (100) %\ngo to x: (0) y: (0)\nreset timer\nhide\nstart sound [Muuuuuusssiiiiiiic v]\nswitch costume to (b v)\nset [id v] to [1]\ncreate clone of (_myself_ v)\nset [id v] to [2]\ncreate clone of (_myself_ v)\nset [id v] to [4]\ncreate clone of (_myself_ v)\nset [id v] to [5]\ncreate clone of (_myself_ v)\nwait until <(timer) > [3.7]>\nset [id v] to [6]\ncreate clone of (_myself_ v)\nset [id v] to [3]\nrepeat (5)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nshow\nif <(id) = [1]> then\n    switch costume to (cover 1/2 v)\n    go to x: (0) y: (0)\n    wait until <(timer) > [3.5]>\n    repeat until <(round (y position)) = [150]>\n        change y by (((150) - (y position)) / (8))\n    end\n    wait until <(timer) > [8]>\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (4))\n    end\n    wait (0.5) seconds\n    set [# v] to [15]\n    repeat (15)\n        set y to (item (#) of [y2 v])\n        change [# v] by (-1)\n    end\n    delete this clone\nelse\n    if <(id) = [2]> then\n        switch costume to (cover 1/3 v)\n        go to x: (0) y: (0)\n        wait until <(timer) > [3.5]>\n        repeat until <(round (y position)) = [-150]>\n            change y by (((-150) - (y position)) / (8))\n        end\n        wait until <(timer) > [8]>\n        repeat until <(round (y position)) = [0]>\n            change y by (((0) - (y position)) / (4))\n        end\n        broadcast (Start Project v)\n        wait (0.5) seconds\n        set [# v] to [15]\n        repeat (15)\n            set y to (item (#) of [y2 v])\n            change [# v] by (-1)\n        end\n        delete this clone\n    else\n        if <(id) = [3]> then\n            go to x: (500) y: (0)\n            repeat until <(round (x position)) = [0]>\n                change x by (((0) - (x position)) / (4))\n            end\n            wait until <(timer) > [4.9]>\n            repeat until <(round (y position)) = [50]>\n                change y by (((50) - (y position)) / (3))\n            end\n            wait (0.1) seconds\n            repeat until <(round (y position)) = [-50]>\n                change y by (((-50) - (y position)) / (3))\n            end\n            wait (0.1) seconds\n            repeat until <(round (y position)) = [0]>\n                change y by (((0) - (y position)) / (4))\n            end\n            wait ((0.1) * (costume [number v])) seconds\n            set [# v] to [22]\n            repeat (22)\n                change y by (item (#) of [y v])\n                change [# v] by (-1)\n            end\n            delete this clone\n        else\n            if <(id) = [4]> then\n                switch costume to (back v)\n                go to [back v] layer\n                forever\n                    set y to ((8) * ([sin v] of ((timer) * (320)) ))\n                    if <(timer) > [9]> then\n                        delete this clone\n                    end\n                end\n            else\n                if <(id) = [5]> then\n                    switch costume to (back2 v)\n                    go to [back v] layer\n                    forever\n                        go to x: (0) y: (0)\n                        repeat (14)\n                            change x by (10)\n                        end\n                        if <(timer) > [9]> then\n                            delete this clone\n                        end\n                    end\n                else\n                    switch costume to (blank v)\n                    go to x: (-500) y: (0)\n                    repeat until <(round (x position)) = [0]>\n                        change x by (((0) - (x position)) / (4))\n                    end\n                    wait until <(timer) > [4.9]>\n                    repeat until <(round (y position)) = [-50]>\n                        change y by (((-50) - (y position)) / (3))\n                    end\n                    wait (0.1) seconds\n                    repeat until <(round (y position)) = [50]>\n                        change y by (((50) - (y position)) / (3))\n                    end\n                    wait (0.1) seconds\n                    repeat until <(round (y position)) = [0]>\n                        change y by (((0) - (y position)) / (4))\n                    end\n                    wait (0.5) seconds\n                    set [# v] to [19]\n                    repeat (19)\n                        set size to (item (#) of [s v]) %\n                        change [# v] by (-1)\n                    end\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (10) seconds\nbroadcast (メッセージ1 v)\n\n@スプライト1\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nshow\n\n@戦いのステージ\n\nwhen I receive [家ター！ v]\nnext costume\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nswitch costume to (コスチューム3 v)\n\nwhen I receive [メッセージ1 v]\nswitch costume to (コスチューム1 v)\n\n@スプライト2\n\n@スプライト6\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [3]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [3]>> then\n        hide\n    end\nend\n\n@スプライト3\n\nwhen flag clicked\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@スプライト4\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [5]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [5]>> then\n        hide\n    end\nend\n\n@スプライト5\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [6]> then\n        show\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [6]>> then\n        hide\n    end\nend\n\n@スプライト7\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [7]> then\n        show\n        set [ghost v] effect to (100)\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [7]>> then\n        hide\n    end\nend\n\n@スプライト8\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [8]> then\n        show\n        set [ghost v] effect to (100)\n    end\n    if <not <([costume name v] of [戦いのステージ v]) = [8]>> then\n        hide\n    end\nend\n\n@スプライト9\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@Saw\n\nwhen flag clicked\nhide\nforever\n    turn right (15) degrees\nend\n\nwhen flag clicked\nforever\n    if <([costume name v] of [戦いのステージ v]) = [11]> then\n        go to x: (-11) y: (-146)\n        set size to (70) %\n        show\n        turn right (15) degrees\n    else\n        hide\n    end\nend\n\ngo [forward v] (1) layers\n\n@スプライト10\n\nwhen flag clicked\nset [ターボ対策ソフト v] to [0]\nwait (1) seconds\n\nwhen flag clicked\nforever\n    set [ターボ対策ソフト v] to [0]\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    if <[39] < (ターボ対策ソフト)> then\n        set [ターボ対策ソフト v] to [0]\n        broadcast (最後 v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nset [ターボ対策ソフト v] to [0]\nforever\n    repeat (50)\n        change [ターボ対策ソフト v] by (1)\n        wait (0) seconds\n    end\nend\n\n