Among Us platformer!
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nstart sound [Amidst - Carousel v]\nbroadcast (Intro v)\n\nwhen I receive [intro; v]\nswitch backdrop to (1 v)\nwait (1) seconds\nforever\n    play sound [Vexento - Trippy Love v] until done\nend\n\nwhen I receive [platformerスタート v]\nstop [other scripts in sprite v]\nforever\n    play sound [Among Us Trap Remix \(Among Drip Theme Song Original\) - BlueConvert v] until done\nend\n\n@プレイヤー\n\nwhen I start as a clone\nswitch costume to ([costume name v] of [キャラ設定 v])\nchange [ghost v] effect by (20)\nrepeat (9)\n    change [ghost v] effect by (14)\n    change size by (-2)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (player v)\nhide\n\nwhen I receive [platformerスタート v]\nset volume to (100) %\ngo to [back v] layer\nset [動くの禁止！！ v] to [1]\nswitch costume to ([costume name v] of [キャラ設定 v])\nshow\nset rotation style [left-right v]\npoint in direction (90)\nセット\nset [変数 v] to [0]\nset [y v] to [0]\nforever\n    if <(動くの禁止！！) = [1]> then\n        create clone of (_myself_ v)\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n            change [変数 v] by (0.8)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n            change [変数 v] by (-0.8)\n            point in direction (-90)\n        end\n        change x by (変数)\n        set [変数 v] to ((変数) * (0.9))\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 ((変数) * (-1.2))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                                    if <(変数) > [0]> then\n                                        set [変数 v] to [-5]\n                                    else\n                                        set [変数 v] to [5]\n                                    end\n                                    set [y v] to [14]\n                                    start sound [壁キック v]\n                                else\n                                    set [変数 v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (-1)\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n            if <touching (地形 v)?> then\n                set [y v] to [14]\n                start sound [ジャンプ v]\n            end\n            create clone of (_myself_ v)\n        end\n        change y by (y)\n        change [y v] by (-1)\n        if <touching (地形 v)?> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        if <(x position) > [237]> then\n            if <not <([costume # v] of [地形 v]) = [11]>> then\n                if <(キル) = [1]> then\n                    broadcast (次! v)\n                end\n            end\n        end\n        if <<touching (2 v)?> or <touching (マグマ v)?>> then\n            ダメージ\n        end\n        if <touching (バネ v)?> then\n            set [y v] to [20]\n        end\n        if <(y position) < [-180]> then\n            ダメージ\n        end\n    end\nend\n\ndefine セット (x) (y)\ngo to x: (x) y: (y)\n\ndefine セット\ngo to x: (-200) y: (0)\n\nwhen I receive [プレイヤー表示 v]\nshow\n\ndefine ダメージ\nset [動くの禁止！！ v] to [2]\nstart sound [crashed oof v]\nrepeat (30)\n    change [ghost v] effect by (3)\nend\nセット\nclear graphic effects\nset [動くの禁止！！ v] to [1]\n\nwhen I receive [次! v]\nhide\nset [動くの禁止！！ v] to [2]\nchange [level v] by (1)\nセット\nset volume to (0) %\nset volume to (100) %\nset [動くの禁止！！ v] to [1]\nshow\nbroadcast (K v)\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen I receive [intro; v]\n\n@地形\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [platformerスタート v]\nshow\n\nwhen I receive [intro v]\nswitch costume to (1 v)\n\nwhen I receive [次! v]\nnext costume\n\nwhen I receive [インポスター v]\nswitch costume to (11 v)\n\n@Intro\n\ndefine x: (x1) y: (y1) から X: (x2) Y: (y2) DIV: (d) 初期V: (v)\ngo to x: (x1) y: (y1)\nset [v v] to (v)\nset [distance moved v] to [0]\nrepeat until <(Distance moved) > (([sqrt v] of ((((x2) - (x1)) * ((x2) - (x1))) + (((y2) - (y1)) * ((y2) - (y1)))) ) / (3))>\n    change [v v] by ((v) / (7))\n    change x by ((v) * ((([abs v] of ((x2) - (x1)) ) / ([sqrt v] of ((((x2) - (x1)) * ((x2) - (x1))) + (((y2) - (y1)) * ((y2) - (y1)))) )) * (((x2) - (x1)) / ([abs v] of ((x2) - (x1)) ))))\n    change y by ((v) * ((([abs v] of ((y2) - (y1)) ) / ([sqrt v] of ((((x2) - (x1)) * ((x2) - (x1))) + (((y2) - (y1)) * ((y2) - (y1)))) )) * (((y2) - (y1)) / ([abs v] of ((y2) - (y1)) ))))\n    set [distance moved v] to ((Distance moved) + (v))\nend\nrepeat until <<(round (x position)) = (x2)> and <(round (y position)) = (y2)>>\n    change x by (((x2) - (x position)) / (d))\n    change y by (((y2) - (y position)) / (d))\nend\n\nwhen flag clicked\nhide\n\ndefine C ()\nset [クローン番号 v] to ()\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to x: (0) y: (0)\nset size to (100) %\nshow\nswitch costume to (クローン番号)\nif <<<(クローン番号) = [1]> or <(クローン番号) = [2]>> or <(クローン番号) = [3]>> then\n    x: [0] y: [100] から X: [0] Y: [-500] DIV: [10] 初期V: [10]\n    delete this clone\nend\nif <(クローン番号) = [4]> then\n    go to x: (0) y: (0)\n    show\n    set size to (0) %\n    repeat (30)\n        set [1 v] to ((((200) - (size)) / (8)) + ((1) * (0.8)))\n        change size by (1)\n    end\n    repeat (30)\n        change [ghost v] effect by (-2)\n    end\n    delete this clone\nend\nif <(クローン番号) = [5]> then\n    show\n    x: [0] y: [-180] から X: [0] Y: [10] DIV: [10] 初期V: [10]\n    wait (2) seconds\n    delete this clone\nend\n\nwhen I receive [intro v]\nwait (0.5) seconds\nset [ghost v] effect to (5)\nC [1]\nwait (0.2) seconds\nC [2]\nwait (0.2) seconds\nC [3]\nwait (1) seconds\nC [4]\nwait (1.5) seconds\nbroadcast (1 v) and wait\nC [5]\nwait (2) seconds\nC [2]\nwait (0.2) seconds\nC [1]\nbroadcast (Intro; v)\n\n@1\n\nwhen I start as a clone\npoint in direction (90)\nshow\nif <(costume [number v]) = [4]> then\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set size to (0) %\n    repeat (50)\n        change size by (((100) - (size)) / (6))\n    end\n    wait until <[7] < (timer)>\n    set [variable v] to [0]\n    repeat (60)\n        set [variable v] to (((variable) * (0.75)) + (((-100) - (y position)) / (3)))\n        change y by (variable)\n    end\n    wait until <[11] < (timer)>\n    delete this clone\nelse\n    if <<[4] < (costume [number v])> and <[10] > (costume [number v])>> then\n        if <(variable) = [1]> then\n            go to x: (0) y: (0)\n            set size to (pick random (80) to (150)) %\n            set [ghost v] effect to (pick random (0) to (30))\n            set [variable v] to (pick random (-20) to (20))\n            set [?/? v] to (pick random (1) to (360))\n            set [? v] to [0]\n            repeat (60)\n                go to [front v] layer\n                point in direction (?/?)\n                move (variable) steps\n                change [? v] by (variable)\n                point in direction ((?) + (?/?))\n                if <touching (_edge_ v)?> then\n                    if on edge, bounce\n                    set [?/? v] to (direction)\n                end\n                set [variable v] to ((variable) * (0.95))\n                change [ghost v] effect by (3.4)\n            end\n            delete this clone\n        else\n            go to (random position v)\n            set size to (pick random (80) to (150)) %\n            set [ghost v] effect to (100)\n            point in direction (pick random (1) to (360))\n            repeat until <[6] < (timer)>\n                move (0.2) steps\n                if <(pick random (1) to (2)) = [1]> then\n                    turn right (2) degrees\n                else\n                    turn left (2) degrees\n                end\n                change [ghost v] effect by (-4)\n            end\n            delete this clone\n        end\n    end\nend\n\ndefine Back Dust\n\ndefine Dust\nset [variable v] to [1]\nrepeat (20)\n    switch costume to (pick random (5) to (9))\n    create clone of (_myself_ v)\nend\n\nwhen I receive [1 v]\nrepeat (7)\n    Dust\nend\n\n@2\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [platformerスタート v]\npoint in direction (90)\nhide\nforever\n    if <(Imposter) = [0]> then\n        if <([costume # v] of [地形 v]) = [1]> then\n            point in direction (90)\n            go to x: (0) y: (0)\n            hide\n        end\n        if <([costume # v] of [地形 v]) = [3]> then\n            point in direction (90)\n            switch costume to (1 v)\n            show\n        end\n        if <([costume # v] of [地形 v]) = [4]> then\n            hide\n        end\n        if <([costume # v] of [地形 v]) = [5]> then\n            go to x: (120) y: (-50)\n            switch costume to (2 v)\n            show\n        end\n        if <([costume # v] of [地形 v]) = [6]> then\n            point in direction (90)\n            switch costume to (3 v)\n            show\n        end\n        if <([costume # v] of [地形 v]) = [7]> then\n            go to x: (120) y: (70)\n            switch costume to (4 v)\n            turn left (6) degrees\n            show\n        end\n        if <([costume # v] of [地形 v]) = [8]> then\n            go to x: (50) y: (-42)\n            point in direction (90)\n            switch costume to (5 v)\n            show\n        end\n        if <([costume # v] of [地形 v]) = [9]> then\n            point in direction (90)\n            switch costume to (6 v)\n            show\n        end\n        if <([costume # v] of [地形 v]) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nset [imposter v] to [0]\n\nwhen I receive [インポスター v]\nset [imposter v] to [1]\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\n\n@矢印2\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (次 v)\nswitch costume to (コスチューム2 v)\nwait (0.5) seconds\nswitch costume to (コスチューム1 v)\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen I receive [platformerスタート v]\nhide\n\nwhen I receive [intro; v]\nwait (3) seconds\ngo to [front v] layer\nshow\ngo to x: (180) y: (105)\nset size to (0) %\nforever\n    change size by (((100) - (size)) / (10))\nend\n\nwhen I receive [intro; v]\nwait (3) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (30)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\n@矢印\n\nwhen this sprite clicked\nbroadcast (次2 v)\nswitch costume to (コスチューム2 v)\nwait (0.5) seconds\nswitch costume to (コスチューム1 v)\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen I receive [platformerスタート v]\nhide\n\nwhen I receive [intro; v]\nwait (3) seconds\ngo to [front v] layer\nshow\ngo to x: (20) y: (105)\nset size to (0) %\nforever\n    change size by (((100) - (size)) / (10))\nend\n\nwhen I receive [intro; v]\nwait (3) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (30)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\n@キャラ設定\n\nwhen I receive [キャラ設定動き v]\nset size to (0) %\nrepeat (50)\n    change size by (((35) - (size)) / (10))\nend\n\nwhen I receive [platformerスタート v]\nhide\n\nwhen I receive [次 v]\nbroadcast (キャラ設定動き v)\nstart sound [Suction Cup v]\nwait (0.01) seconds\nnext costume\n\nwhen I receive [次2 v]\nbroadcast (キャラ設定動き v)\nstart sound [Suction Cup v]\nwait (0.01) seconds\nswitch costume to ((costume [number v]) - (1))\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen I receive [intro; v]\nwait (3) seconds\ngo to [front v] layer\nswitch costume to (player v)\nshow\ngo to x: (100) y: (105)\nset size to (0) %\nforever\n    change size by (((35) - (size)) / (10))\nend\n\nwhen flag clicked\nhide\n\n@通常\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen this sprite clicked\nstart sound [1 v]\nwait (0.8) seconds\nbroadcast (platformerスタート v)\nbroadcast (隠せ v)\nhide\n\nwhen I receive [intro; v]\nwait (3) seconds\ngo to x: (-113) y: (92)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [隠せ v]\nhide\n\n@ナイフ\n\nwhen flag clicked\nhide\n\nwhen I receive [インポスター v]\nshow\nset rotation style [left-right v]\nforever\n    go to (プレイヤー v)\n    point in direction ([direction v] of [プレイヤー v])\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [インポスター v]\nforever\n    if <key (z v) pressed?> then\n        point in direction ([direction v] of [プレイヤー v])\n        repeat (4)\n            next costume\n            wait (0.1) seconds\n        end\n        switch costume to (コスチューム1 v)\n    end\nend\n\n@インポスター\n\nwhen [timer v] > (タイマー)\nhide\n\nwhen this sprite clicked\nstart sound [1 v]\nwait (0.8) seconds\nbroadcast (platformerスタート v)\nbroadcast (インポスター v)\nbroadcast (隠せ v)\nhide\n\nwhen I receive [intro; v]\nwait (3) seconds\ngo to x: (-113) y: (0)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [隠せ v]\nhide\n\n@3\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [platformerスタート v]\nrepeat (10)\n    go to [back v] layer\nend\npoint in direction (90)\nhide\nforever\n    if <(Imposter) = [1]> then\n        if <([costume # v] of [地形 v]) = [12]> then\n            x [60] y [-71.5] hy？ [y] d？ [90] k [1]\n        end\n        if <([costume # v] of [地形 v]) = [13]> then\n            x [] y [] hy？ [y] d？ [90] k []\n        end\n        if <([costume # v] of [地形 v]) = [14]> then\n            x [] y [] hy？ [y] d？ [90] k []\n        end\n        if <([costume # v] of [地形 v]) = [15]> then\n            x [] y [] hy？ [y] d？ [90] k []\n        end\n        if <([costume # v] of [地形 v]) = [16]> then\n            x [] y [] hy？ [y] d？ [90] k []\n        end\n        if <([costume # v] of [地形 v]) = [17]> then\n            x [] y [] hy？ [y] d？ [90] k []\n        end\n        if <([costume # v] of [地形 v]) = [18]> then\n            x [] y [] hy？ [y] d？ [90] k []\n        end\n        if <([costume # v] of [地形 v]) = [19]> then\n            x [] y [] hy？ [y] d？ [90] k []\n        end\n    end\nend\n\nwhen flag clicked\nset [キル v] to [0]\nset [imposter v] to [0]\nhide\n\nwhen I receive [インポスター v]\nset [imposter v] to [1]\n\ndefine x (x) y (y) hy？ (hy？) d？ (d？) k (1-20)\nswitch costume to (1-20)\ngo to x: (x) y: (y)\npoint in direction (d？)\nif <(hy？) = [y]> then\n    show\nelse\n    hide\nend\nforever\n    if <<touching (ナイフ v)?> and <<key (space v) pressed?> or <key (z v) pressed?>>> then\n        set [キル v] to [1]\n        play sound [crashed oof v] until done\n        hide\n    end\nend\n\nwhen I receive [次 v]\nset [キル v] to [0]\n\n@スプライト1\n\n
新作公開！\nhttps://scratch.mit.edu/projects/958452801/\n\nどうもk-44です。今回は有名なゲームのAmong Usのプラットフォーマーを作りました。\n\n【使い方】ーーーーーーーーーーーーーーーーーーーー\n矢印キーで操作\nインポスターは避ける\nゴールを目指せ！\nーーーーーーーーーーーーーーーーーーーーーーーーー\n\n【クレジット】ーーーーーーーーーーーーーーーーーー\n背景，地面，文字 @Ironman201005\n曲，ナイフ， @Electricbulb_\nーーーーーーーーーーーーーーーーーーーーーーーーー\n\n【タグ】ーーーーーーーーーーーーーーーーーーーーー\n#game #platformer #Among Us\nーーーーーーーーーーーーーーーーーーーーーーーーー