[online platformer]オンラインプラットフォーマー  

Instructions: @hayatiburusu　follow me! ! \n星とハートを押したら感謝の文字が出ます。\nlanguage:English or japanese.\nIf you press the star and heart, a letter of thanks will appear.\nーーーーーーー日本語は下ーーーーーーーーーーーーー\nPlease leave a comment!\nEarphones or headphones recommended\nChange the sound with the space bar. But other people change too.\nVersions change. Currently version 16\nIf it is heavy, push the flag twice. Flag push twice recommended\nBasic operation arrow keys, mobile compatible.\nFree speech is turned off because there is a fear of fighting\nIf you have any harassment, please write in the comment section.\nーーーーーーーーーーーーーーーーーーーーーーーー\nイヤホン推奨\n旗二回押して。追加してほしい言葉言ってください。\n重い場合旗を二回押す。旗押し二回推奨\n基本操作矢印キー、モバイル対応です。\n自由発言は、喧嘩の恐れがあるためOFFにしています\n嫌がらせ等ありましたらお知らせください\nchatボタンまたはTキーでチャット会話\nーーーーーーーーーーーーーーーーーーーーーー

@Stage\n\nwhen flag clicked\nforever\n    if <<(34) < [5]> and <key (space v) pressed?>> then\nend\n\nchange [34 v] by (1)\nstop all sounds\n\nwhen I receive [start v]\nforever\n    play sound [BGM v] until done\nend\n\nif <(34) = [1]> then\n    play sound [Time To Leaf v] until done\nend\nif <(34) = [2]> then\n    play sound [Water \(1\) \(1\) v] until done\nend\n\nif <(34) = [3]> then\n\nif <(34) = [4]> then\n    play sound [Alone For Now v] until done\nend\n\nif <(34) = [5]> then\n\n@障害物\n\nwhen flag clicked\n\ninsert [sorry//ごめん] at (14) of [chat v] \n\nwhen flag clicked\nhide variable [ホイ国 v]\n\nwhen I receive [start v]\nshow variable [ホイ国 v]\nset [ホイ国 v] to [旗を２回押して//press the flag twice]\nwait (5) seconds\nhide variable [ホイ国 v]\n\nwhen flag clicked\nhide\n配置 [0] [0] [1]\n配置 [480] [0] [2]\n配置 [960] [0] [3]\n配置 [1440] [0] [4]\n配置 [1920] [0] [5]\n配置 ((1920) + (500)) [0] [6]\n配置 ((1920) + (1000)) [0] [7]\n配置 ((1920) + (1500)) [300] [8]\n配置 ((1920) + (2000)) [300] [9]\n配置 ((1920) + (2500)) [300] [10]\n配置 ((1920) + (3000)) [300] [11]\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nset [3 v] to ((3) + (1))\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (なし v)\n    go to x: ((1) - (スクロールｘ)) y: ((2) - (スクロールｙ))\n    show\n    switch costume to (3)\nend\n\n@チャット\n\nwhen flag clicked\nset [ghost v] effect to (30)\nset [チャット表示 v] to [0]\nshow\nswitch costume to (コスチューム1 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム2 v)\ncreate clone of (_myself_ v)\nhide\n\nwhen I receive [チャット v]\nif <(costume [number v]) = [1]> then\n    wait (5) seconds\n    set [チャット v] to []\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    forever\n        go to x: (-180) y: (150)\n        if <<<touching (mouse-pointer v)?> and <mouse down?>> or <key (t v) pressed?>> then\n            start sound [Muted Conga v]\n            set [チャット表示 v] to [1]\n            ask [] and wait\n            set [チャット表示 v] to [0]\n            if <<[0] < (answer)> and <(answer) < [24]>> then\n                set [チャット v] to (answer)\n                broadcast (チャット v)\n            else\n                show variable [ホイ国 v]\n                set [ホイ国 v] to [そのチャットは存在しません。]\n                wait (4) seconds\n                hide variable [ホイ国 v]\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    forever\n        go to x: (0) y: (0)\n        if <(チャット表示) = [1]> then\n            go to [front v] layer\n            show\n        else\n            hide\n        end\n    end\nend\n\nset [ghost v] effect to (0)\n\nadd [You are amazi ng!//君すごいね！] to [chat v]\ndelete (18) of [chat v]\n\n@スプライト1\n\nwhen I receive [軽量化 v]\n\nwhen I receive [start v]\ngo to [front v] layer\n\nforever\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@地面\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nset [3 v] to ((3) + (1))\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (なし v)\n    go to x: ((1) - (スクロールｘ)) y: ((2) - (スクロールｙ))\n    show\n    switch costume to (3)\nend\n\nwhen flag clicked\nset [チャット v] to []\nhide\n配置 [0] [0] [1]\n配置 [480] [0] [2]\n配置 [960] [0] [3]\n配置 [1440] [0] [4]\n配置 [1920] [0] [5]\n配置 ((1920) + (700)) [250] [6]\n配置 ((1920) + (1150)) [250] [7]\n配置 (((1920) + (1150)) + (500)) [250] [8]\n配置 (((1920) + (1150)) + (1000)) [250] [9]\n配置 (((1920) + (1150)) + (1000)) [250] [10]\n配置 (((1920) + (1150)) + (1500)) [250] [11]\n配置 (((1920) + (1150)) + (2000)) [250] [12]\n\n@てき\n\ndefine 配置 (x) (y) (コスチューム) (動かす距離)\nset [+ v] to (動かす距離)\nset [1 v] to (x)\nset [2 v] to (y)\nset [3 v] to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    switch costume to (コスチューム1 v)\n    point in direction ((90) + (モンスターｘ))\n    go to x: (((1) + (+X)) - (スクロールｘ)) y: ((2) - (スクロールｙ))\n    if <<(x position) = (((1) + (+X)) - (スクロールｘ))> and <<(OK？) = [0]> and <(y position) = ((2) - (スクロールｙ))>>> then\n        show\n    else\n        if <[0] < (OK？)> then\n            broadcast (678 v)\n            set size to (100) %\n            set [ghost v] effect to (0)\n            hide\n        end\n    end\n    switch costume to ((1) + (3))\n    if <[0] < (モンスターｘ)> then\n        switch costume to ((3) + (2))\n    else\n        switch costume to ((3) + (3))\n    end\nend\n\nwhen I start as a clone\nset [+x v] to [0]\nset [モンスターｘ v] to [0]\nforever\n    repeat (+)\n        change [モンスターｘ v] by (1)\n        set [モンスターｘ v] to ((モンスターｘ) * (0.85))\n        change [+x v] by (モンスターｘ)\n        wait until <[-1] < (OK？)>\n    end\n    repeat (+)\n        change [モンスターｘ v] by (-1)\n        set [モンスターｘ v] to ((モンスターｘ) * (0.85))\n        change [+x v] by (モンスターｘ)\n        wait until <[-1] < (OK？)>\n    end\nend\n\nwhen I start as a clone\nset [ok？ v] to [0]\nforever\n    if <touching (プレーヤー v)?> then\n        if <(y) < [0]> then\n            start sound [つぶれる v]\n            set [y v] to [18]\n            set [モンコｘ v] to ((1) + (+X))\n            set [モンコｙ v] to (2)\n            broadcast (monster coin v)\n            set [ok？ v] to [-1]\n            repeat (10)\n                change [ghost v] effect by (10)\n                change size by (5)\n            end\n            set [ok？ v] to [1]\n        else\n            broadcast (初期化 v)\n        end\n    end\nend\n\nwhen I receive [monster v]\nset [ok？ v] to [0]\n\nwhen flag clicked\nhide\n配置 [850] [-35] [1] [40]\n配置 [3250] [100] [1] [20]\n配置 [3750] [100] [1] [40]\n\n@はた\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nset [3 v] to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    switch costume to (コスチューム3 v)\n    go to x: ((1) - (スクロールｘ)) y: ((2) - (スクロールｙ))\n    if <<(x position) = ((1) - (スクロールｘ))> and <(y position) = ((2) - (スクロールｙ))>> then\n        show\n    else\n        hide\n    end\n    switch costume to ((1) + (3))\nend\n\nwhen I receive [start v]\n\nwhen I start as a clone\nforever\n    if <touching (プレーヤー v)?> then\n        set [vui v] to [1]\n        set [！ v] to [1]\n        change [3 v] by (1)\n        wait (0) seconds\n        stop [all v]\n    end\nend\n\nwhen I start as a clone\nforever\n    next costume\nend\n\nwhen flag clicked\nset [vui v] to [0]\nhide\n配置 [4500] [130] [1]\n\n@はた２\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nset [3 v] to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (コスチューム3 v)\nforever\n    show\n    go to x: ((1) - (スクロールｘ)) y: ((2) - (スクロールｙ))\n    if <<(x position) = ((1) - (スクロールｘ))> and <(y position) = ((2) - (スクロールｙ))>> then\n        show\n    else\n        hide\n    end\nend\n\n配置 [4100] [110] [1]\n\nwhen I start as a clone\nforever\n    if <touching (プレーヤー v)?> then\n        start sound [game-effect013 v]\n        set [xx v] to (1)\n        set [yy v] to (2)\n        change [3 v] by (1)\n        forever\n            switch costume to (コスチューム2 v)\n            wait (0.05) seconds\n            switch costume to (コスチューム4 v)\n            wait (0.04) seconds\n            switch costume to (コスチューム5 v)\n            wait (0.04) seconds\n            switch costume to (コスチューム6 v)\n            wait (0.04) seconds\n            switch costume to (コスチューム5 v)\n            wait (0.04) seconds\n            switch costume to (コスチューム4 v)\n            wait (0.04) seconds\n            switch costume to (コスチューム7 v)\n            wait (0.04) seconds\n        end\n    end\nend\n\nwhen flag clicked\nhide\n配置 [1450] [260] [1]\n配置 [3050] [150] [1]\n\ngo to [back v] layer\n\nwhen I start as a clone\n\nstop [this script v]\n\nswitch costume to ((1) + (3))\n\n@プレーヤー２\n\nwhen I receive [オンライン！ v]\nhide\n配置\n\ndefine 配置\nset [prayer2 v] to [0]\nrepeat (10)\n    change [prayer2 v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    show\n    set [ghost v] effect to (0)\n    if <<(1p？) = (prayer2)> or <<(item (prayer2) of [p1〜10 v]) = [0]> or <[1] = (letter (54) of (item (prayer2) of [p1〜10 v]))>>> then\n        hide\n    end\n    switch costume to (コスチューム7 v)\n    xy (((join (letter (41) of (item (prayer2) of [p1〜10 v])) (join (letter (42) of (item (prayer2) of [p1〜10 v])) (join (letter (43) of (item (prayer2) of [p1〜10 v])) (letter (44) of (item (prayer2) of [p1〜10 v]))))) - (1500)) - (スクロールｘ)) (((join (letter (45) of (item (prayer2) of [p1〜10 v])) (join (letter (46) of (item (prayer2) of [p1〜10 v])) (join (letter (47) of (item (prayer2) of [p1〜10 v])) (letter (48) of (item (prayer2) of [p1〜10 v]))))) - (1500)) - (スクロールｙ))\n    point in direction (join (letter (55) of (item (prayer2) of [p1〜10 v])) (letter (56) of (item (prayer2) of [p1〜10 v])))\n    switch costume to ((join (letter (49) of (item (prayer2) of [p1〜10 v])) (letter (50) of (item (prayer2) of [p1〜10 v]))) - (10))\n    if <((join (letter (51) of (item (prayer2) of [p1〜10 v])) (letter (52) of (item (prayer2) of [p1〜10 v]))) - (10)) = [0]> then\n        say (item (prayer2) of [user v])\n    else\n        say (join (item (prayer2) of [user v]) (join [:] (item ((join (letter (51) of (item (prayer2) of [p1〜10 v])) (letter (52) of (item (prayer2) of [p1〜10 v]))) - (10)) of [chat v])))\n    end\nend\n\ndefine xy (x) (y)\ngo to x: (x) y: (y)\nif <not <<(x position) = (x)> and <(y position) = (y)>>> then\n    set [ghost v] effect to (100)\nend\n\nwhen flag clicked\n\nwhen [right arrow v] key pressed\npoint in direction (90)\nforever\n    point in direction (90)\nend\n\nwhen [left arrow v] key pressed\npoint in direction (90)\nforever\n    point in direction (90)\nend\n\nwhen I receive [start v]\nforever\n    point in direction (90)\nend\n\nset [tui v] to []\nhide variable [tui v]\n\nwhen flag clicked\n\n@プレーヤー\n\nwhen flag clicked\nset [xx v] to [0]\nset [yy v] to [25]\nhide\n\ndefine prayer\npoint in direction (90)\nif <(！) = [0]> then\n    if <not <(username) = []>> then\n        if <(チャット) = []> then\n            say (username)\n        else\n            say (join (username) (join [:] (item (チャット) of [chat v])))\n        end\n    end\n    if <<<mouse down?> and <[50] < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        change [x v] by (1.3)\n    end\n    if <<<not <<[130] < (mouse y)> and <(mouse x) < [-100]>>> and <<mouse down?> and <(mouse x) < [-50]>>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        change [x v] by (-1.3)\n    end\n    set [x v] to ((x) * (0.87))\n    change x by (round (x))\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                        end\n                    end\n                end\n            end\n        end\n    end\n    if <touching (地面 v)?> then\n        壁\n    end\n    change [y v] by (-1.5)\n    change y by (y)\n    if <touching (地面 v)?> then\n        床\n    end\n    change [スクロールｘ v] by (round ((x position) / (10)))\n    change x by ((0) - ((round ((x position) / (10))) * <not <<(スクロールｘ) < [0]> or <[4500] < (スクロールｘ)>>>))\n    if <(スクロールｘ) < [0]> then\n        set [スクロールｘ v] to [0]\n    end\n    if <[4500] < (スクロールｘ)> then\n        set [スクロールｘ v] to [4500]\n    end\n    change [スクロールｙ v] by (round ((y position) / (10)))\n    change y by ((0) - ((round ((y position) / (10))) * <not <(スクロールｙ) < [0]>>))\n    if <(スクロールｙ) < [0]> then\n        set [スクロールｙ v] to [0]\n    end\n    if <(y) < [-21]> then\n        change [y v] by (1.5)\n    end\nend\nset y to (round (y position))\nif <(！) = [0]> then\n\npoint in direction ((90) + (round (x)))\n\ndefine 初期化\nstart sound [Rip v]\nhide\nrepeat until <<([abs v] of ((スクロールｙ) - (YY)) ) < [3]> and <([abs v] of ((スクロールｘ) - (XX)) ) < [3]>>\n    change [スクロールｘ v] by (round (((XX) - (スクロールｘ)) / (5)))\n    change [スクロールｙ v] by (round (((YY) - (スクロールｙ)) / (5)))\nend\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (0) y: (0)\nbroadcast (monster v)\nshow\n\ndefine 壁\nset [？ v] to [0]\nchange y by (-4.5)\nrepeat until <<[100] < (？)> or <not <touching (地面 v)?>>>\n    change [？ v] by (1)\n    change x by ((-1) * ((x) / ([abs v] of (x) )))\nend\nif <[100] < (？)> then\n    repeat (？)\n        change x by ((1) * ((x) / ([abs v] of (x) )))\n    end\nelse\n    if <<<mouse down?> and <[0] < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y v] to [18]\n        set [x v] to ((-7) * ((x) / ([abs v] of (x) )))\n        start sound [壁キック v]\n    else\n        set [x v] to [0]\n    end\nend\n\ndefine 床\nrepeat until <not <touching (地面 v)?>>\n    change y by ((-1.5) * ((y) / ([abs v] of (y) )))\nend\nif <<(y) < [0]> and <<<not <<[130] < (mouse y)> and <(mouse x) < [-100]>>> and <<mouse down?> and <[0] < (mouse y)>>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n    start sound [Jump v]\n    if <(ｃｆ) < [2]> then\n        set [y v] to [20]\n    else\n        set [y v] to [23]\n    end\nelse\n    set [y v] to [0]\nend\n\nwhen I receive [start v]\nshow\nset [！ v] to [0]\nset [スクロールｘ v] to [0]\nset [スクロールｙ v] to [25]\ngo to x: (0) y: (0)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    prayer\nend\n\nwhen I receive [start v]\nforever\n    switch costume to (コスチューム1 v)\n    if <not <<<mouse down?> and <[0] < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n        if <<<mouse down?> and <[50] < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n            switch costume to (コスチューム2 v)\n        end\n        if <<<mouse down?> and <(mouse x) < [-50]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n            switch costume to (コスチューム3 v)\n        end\n    else\n        if <not <<mouse down?> and <<[130] < (mouse y)> and <(mouse x) < [-100]>>>> then\n            switch costume to (コスチューム6 v)\n            if <<<mouse down?> and <[50] < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n                switch costume to (コスチューム4 v)\n            end\n            if <<<mouse down?> and <(mouse x) < [-50]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n                switch costume to (コスチューム5 v)\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\nset [！ v] to [0]\nforever\n    if <<(y position) < [-180]> or <touching (障害物 v)?>> then\n        set [！ v] to [1]\n        初期化\n        set [！ v] to [0]\n    end\nend\n\nwhen I receive [初期化 v]\nset [！ v] to [1]\n初期化\nset [！ v] to [0]\n\nwhen [timer v] > (タイム)\nhide\n\nwhen this sprite clicked\nchange [color v] effect by (20)\n\nwhen I receive [vftuod v]\nbroadcast (オンライン v)\nbroadcast (START v)\n\nwhen I receive [hjlfk-^------ v]\nset [！ v] to [1]\n初期化\nset [！ v] to [0]\n\nforever\n    if <<(y position) < [-180]> or <touching (障害物 v)?>> then\nend\n\nstart sound [壁キック v]\n\nwhen I receive [軽量化 v]\nif <touching (水 v)?> then\n    set [y v] to ([cos v] of (0.1) )\n    go to [back v] layer\nelse\n    go to [front v] layer\nend\nif <<touching (水 v)?> and <<key (up arrow v) pressed?> or <<<not <<[130] < (mouse y)> and <(mouse x) < [-100]>>> and <<mouse down?> and <[0] < (mouse y)>>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>>> then\n    set [y v] to [5]\nend\n\n\n\nwhen I receive [軽量化 v]\npoint in direction (90)\n\nforever\n\nwhen flag clicked\nforever\n    point in direction (90)\nend\n\nwhen I receive [軽量化 v]\n\nwhen [timer v] > (0)\n\nwhen I receive [start v]\n\nwhen flag clicked\nhide variable [☁ こｐ v]\n\nshow variable [☁ こｐ v]\nset [☁ こｐ v] to []\nset [☁ こｐ v] to (join (username) [ participated])\nwait (2) seconds\nset [☁ こｐ v] to []\n\nwhen flag clicked\nforever\n    set [pan left/right v] effect to (x position)\nend\n\n@サムネ\n\nwhen flag clicked\nset [vui v] to [0]\nhide\n\nshow\n\nforever\n\ngo to [front v] layer\n\nbroadcast (終わり v)\n\nwhen I receive [tftu v]\nforever\n    hide\n    stop [other scripts in sprite v]\nend\n\ngo to x: (0) y: (999)\nrepeat until <(round (y position)) = [0]>\n    change y by ((() - (y position)) / (10))\nend\n\n@スプライト3\n\nwhen flag clicked\nset [ruyi v] to [0]\nwait (0.1) seconds\nset volume to (100) %\ngo to [front v] layer\nset size to (60) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (-140)\nrepeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n    change y by ([cos v] of ((動きの) + (3)) )\nend\nstart sound [選択 v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (10)\nend\nwait (0.5) seconds\nset [ruyi v] to [1]\nhide\nbroadcast (vftuod v)\nset volume to (0) %\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen flag clicked\n\nrepeat (10)\n\nplay sound [ホーム v] until done\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\n\nwhen flag clicked\nbroadcast (軽量化 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        show\n        change [動きの v] by (0.1)\n        change y by ([cos v] of (動きの) )\n    end\n    if <(ruyi) = [1]> then\n        hide\n    end\n    if <(ruyi) = [1]> then\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nif <(costume [number v]) = [2]> then\n    show\n    change [動きの v] by (4)\n    change y by ([sin v] of (動きの) )\nend\nif <(costume [number v]) = [3]> then\n    show\n    change [動きの v] by (10)\n    change y by ([cos v] of (動きの) )\nend\n\n@コイン\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nset [3 v] to (コスチューム)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム1 v)\n\nwhen I start as a clone\nforever\n    go to x: ((1) - (スクロールｘ)) y: ((2) - (スクロールｙ))\n    if <<(x position) = ((1) - (スクロールｘ))> and <<(OK？) = [0]> and <(y position) = ((2) - (スクロールｙ))>>> then\n        show\n    else\n        hide\n        set [ghost v] effect to (0)\n        set size to (100) %\n    end\nend\n\nwhen I receive [start v]\n\nwhen I receive [monster v]\nset [ok？ v] to [0]\n\nwhen I start as a clone\nforever\n    if <touching (プレーヤー v)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n            change size by (5)\n        end\n        set [ok？ v] to [1]\n        change [コイン v] by (1)\n    end\nend\n\nwhen flag clicked\nset [コイン v] to [0]\n\nwhen I receive [monster coin v]\nwait (0.5) seconds\nif <(costume [number v]) = [1]> then\n    set [monster coin？ v] to [1]\nend\n\nwhen I start as a clone\nif <(monster coin？) = [1]> then\n    wait until <<(！) = [1]> and <(OK？) = [1]>>\n    wait until <(！) = [0]>\n    delete this clone\nend\n\nwhen flag clicked\nset [コインでｔｙ v] to [0]\n\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nhide\nset [monster coin？ v] to [0]\n配置 [120] [15] [1]\n配置 [70] [15] [1]\n配置 [340] [130] [1]\n配置 [390] [130] [1]\n配置 [630] [-25] [1]\n配置 [680] [-25] [1]\n配置 [730] [-25] [1]\n配置 [1200] [80] [1]\n配置 [2050] [90] [1]\n配置 [2200] [90] [1]\n配置 [2400] [200] [1]\n配置 [2630] [200] [1]\n配置 [3100] [150] [1]\n配置 [3380] [150] [1]\n配置 [3500] [150] [1]\n\nswitch costume to ((1) + (3))\n\nswitch costume to (コスチューム1 v)\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.03) seconds\n    if <touching (プレーヤー v)?> then\n        start sound [coin001 v]\n        change [コインの数 v] by (1)\n        delete this clone\n    end\nend\n\n配置 (モンコｘ) ((モンコｙ) + (10)) [1]\n\nwhen flag clicked\nset [コインの数 v] to [0]\n\n@スプライト4\n\nwhen flag clicked\nstart sound [ホーム v]\nset [ruyi v] to [0]\nwait (0.1) seconds\nset volume to (100) %\nset size to (60) %\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (-50)\nforever\n    change y by ([cos v] of ((動きの) + (3)) )\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (操作方法 v)\n        play sound [選択 v] until done\n    end\nend\n\nwhen I receive [start v]\nhide\ngo to x: (25533) y: (-500400)\nstop [other scripts in sprite v]\nstop [this script v]\n\n@スプライト5\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\n\nwhen I receive [操作方法 v]\nshow\ngo to x: (0) y: (-5)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n    go to [front v] layer\nend\nhide\n\nwait (0.5) seconds\n\nwhen I receive [vftuod v]\nhide\n\nwhen I receive [start v]\ngo to x: (-49221) y: (-5255)\n\n@水\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nset [3 v] to ((3) + (1))\nshow\n\nwhen flag clicked\nshow\nset [チャット v] to []\n配置 [2400] [-20] [1]\n\nwhen I receive [軽量化 v]\nswitch costume to (なし v)\ngo to x: ((1) - (スクロールｘ)) y: ((2) - (スクロールｙ))\nshow\nswitch costume to (3)\n\nwhen I receive [軽量化 v]\nset [ghost v] effect to (30)\nset [５て v] to [0]\nif <touching (プレーヤー v)?> then\n    play sound [水1 v] until done\n    set [５て v] to [1]\nend\nif <<touching (プレーヤー v)?> and <(５て) = [1]>> then\n    play sound [水1 v] until done\n    set [５て v] to [0]\nend\n\n@感謝\n\nwhen flag clicked\nbroadcast (♡&☆ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    forever\n        if <touching (mouse-pointer v)?> then\n            wait (0.05) seconds\n            if <touching (mouse-pointer v)?> then\n                set [♡&☆ v] to (join [1] (letter (2) of (♡&☆)))\n                delete this clone\n            end\n        end\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        show\n        forever\n            if <touching (mouse-pointer v)?> then\n                wait (0.05) seconds\n                if <touching (mouse-pointer v)?> then\n                    set [♡&☆ v] to (join (letter (1) of (♡&☆)) [1])\n                    delete this clone\n                end\n            end\n        end\n    else\n        go to x: (0) y: (0)\n        set size to (5) %\n        go to [front v] layer\n        show\n        repeat (8)\n            change size by (((size) + (5)) / (4))\n        end\n        repeat (25)\n            change size by (((100) - (size)) / (4))\n        end\n        repeat (10)\n            switch costume to (大 v)\n            change size by ((((0) - (size)) + (-5)) / (4))\n            switch costume to (ありがとう v)\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [♡&☆ v]\nwait until <not <(♡&☆) = [11]>>\ngo to x: (-15) y: (0)\nswitch costume to (はーと v)\ncreate clone of (_myself_ v)\nswitch costume to (星 v)\ncreate clone of (_myself_ v)\nwait until <(♡&☆) = [11]>\nwait (0.1) seconds\nswitch costume to (ありがとう v)\ncreate clone of (_myself_ v)\n\n@スプライト8\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\n\nif <not <(username) = [hayatiburusu]>> then\n    show\n    broadcast (tftu v)\n    go to [front v] layer\n    stop [all v]\nend\n\nwhen I receive [start v]\n\n@スプライト7\n\n@スプライト9\n\n@スプライト11\n\nwhen flag clicked\nswitch costume to (コスチューム16 v)\ngo to x: (-63) y: (140)\n\nwhen I receive [軽量化 v]\nswitch costume to ((コインの数) + (1))\n\n@スプライト10\n\nwhen flag clicked\nset size to (80) %\ngo to x: (-122) y: (161)\n\n@オンライン\n\nwhen I receive [オンライン v]\nset [オンライン v] to [1]\nwait (1) seconds\nset [☁ p1 v] to [0]\nset [☁ p2 v] to [0]\nset [☁ p3 v] to [0]\nset [☁ p4 v] to [0]\nset [☁ p5 v] to [0]\nset [☁ p6 v] to [0]\nset [☁ p6 v] to [0]\nset [☁ p8 v] to [0]\nset [☁ p9 v] to [0]\nset [☁ p10 v] to [0]\nset [1pかな？ v] to [0]\nwait (1) seconds\nbroadcast (オンライン！ v)\nforever\n    if <(☁ p1) = [0]> then\n        ユーザー名数値化\n        forever\n            set [1pかな？ v] to [1]\n            set [☁ p1 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n        end\n    else\n        if <(☁ p2) = [0]> then\n            ユーザー名数値化\n            forever\n                set [1pかな？ v] to [2]\n                set [☁ p2 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n            end\n        else\n            if <(☁ p3) = [0]> then\n                ユーザー名数値化\n                forever\n                    set [1pかな？ v] to [3]\n                    set [☁ p3 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                end\n            else\n                if <(☁ p4) = [0]> then\n                    ユーザー名数値化\n                    forever\n                        set [1pかな？ v] to [4]\n                        set [☁ p4 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                    end\n                else\n                    if <(☁ p5) = [0]> then\n                        ユーザー名数値化\n                        forever\n                            set [1pかな？ v] to [5]\n                            set [☁ p5 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                        end\n                    else\n                        if <(☁ p6) = [0]> then\n                            ユーザー名数値化\n                            forever\n                                set [1pかな？ v] to [6]\n                                set [☁ p6 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                            end\n                        else\n                            if <(☁ p7) = [0]> then\n                                ユーザー名数値化\n                                forever\n                                    set [1pかな？ v] to [7]\n                                    set [☁ p7 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                                end\n                            else\n                                if <(☁ p8) = [0]> then\n                                    ユーザー名数値化\n                                    forever\n                                        set [1pかな？ v] to [8]\n                                        set [☁ p8 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                                    end\n                                else\n                                    if <(☁ p9) = [0]> then\n                                        ユーザー名数値化\n                                        forever\n                                            set [1pかな？ v] to [9]\n                                            set [☁ p9 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                                        end\n                                    else\n                                        if <(☁ p10) = [0]> then\n                                            ユーザー名数値化\n                                            forever\n                                                set [1pかな？ v] to [10]\n                                                set [☁ p10 v] to (join (プレーヤー2) (join (join ((1500) + ((スクロールｘ) + ([x position v] of [プレーヤー v]))) (((スクロールｙ) + ([y position v] of [プレーヤー v])) + (1500))) (join (([costume # v] of [プレーヤー v]) + (10)) (join ((チャット) + (10)) (join (letter (length of ([floor v] of (timer) )) of ([floor v] of (timer) )) (join (えっ) ([direction v] of [プレーヤー v])))))))\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine ユーザー名数値化\nset [プレーヤー v] to [0]\nset [プレーヤー2 v] to []\nrepeat (length of (username))\n    change [プレーヤー v] by (1)\n    switch costume to (letter (プレーヤー) of (username))\n    set [プレーヤー2 v] to (join (プレーヤー2) (costume [number v]))\nend\nrepeat ((40) - (length of (プレーヤー2)))\n    set [プレーヤー2 v] to (join (プレーヤー2) [0])\nend\n\nwhen I receive [オンライン v]\nbroadcast (言う v)\nforever\n    復元1\nend\n\ndefine 復元1\ndelete all of [user v]\nset [% v] to [0]\nrepeat (10)\n    switch costume to ( v)\n    change [% v] by (1)\n    set [フー v] to [0]\n    set [4 v] to []\n    repeat (20)\n        if <not <(join (letter ((フー) + (1)) of (item (%) of [p1〜10 v])) (letter ((フー) + (2)) of (item (%) of [p1〜10 v]))) = [00]>> then\n            change [フー v] by (2)\n            switch costume to (join (letter ((フー) - (1)) of (item (%) of [p1〜10 v])) (letter (フー) of (item (%) of [p1〜10 v])))\n            set [4 v] to (join (4) (costume [name v]))\n        end\n    end\n    add (4) to [user v]\nend\n\nwhen flag clicked\nforever\n    delete all of [p1〜10 v]\n    add (☁ p1) to [p1〜10 v]\n    add (☁ p2) to [p1〜10 v]\n    add (☁ p3) to [p1〜10 v]\n    add (☁ p4) to [p1〜10 v]\n    add (☁ p5) to [p1〜10 v]\n    add (☁ p6) to [p1〜10 v]\n    add (☁ p7) to [p1〜10 v]\n    add (☁ p8) to [p1〜10 v]\n    add (☁ p9) to [p1〜10 v]\n    add (☁ p10) to [p1〜10 v]\nend\n\nwhen I receive [オンライン！ v]\nforever\n    delete all of [1〜10 2 v]\n    add (☁ p1) to [1〜10 2 v]\n    add (☁ p2) to [1〜10 2 v]\n    add (☁ p3) to [1〜10 2 v]\n    add (☁ p4) to [1〜10 2 v]\n    add (☁ p5) to [1〜10 2 v]\n    add (☁ p6) to [1〜10 2 v]\n    add (☁ p7) to [1〜10 2 v]\n    add (☁ p8) to [1〜10 2 v]\n    add (☁ p9) to [1〜10 2 v]\n    add (☁ p10) to [1〜10 2 v]\n    wait (1.5) seconds\n    if <(letter (53) of (item (1) of [p1〜10 v])) = (letter (53) of (item (1) of [1〜10 2 v]))> then\n        set [☁ p1 v] to [0]\n    end\n    if <(letter (53) of (item (2) of [p1〜10 v])) = (letter (53) of (item (2) of [1〜10 2 v]))> then\n        set [☁ p2 v] to [0]\n    end\n    if <(letter (53) of (item (3) of [p1〜10 v])) = (letter (53) of (item (3) of [1〜10 2 v]))> then\n        set [☁ p3 v] to [0]\n    end\n    if <(letter (53) of (item (4) of [p1〜10 v])) = (letter (53) of (item (4) of [1〜10 2 v]))> then\n        set [☁ p4 v] to [0]\n    end\n    if <(letter (53) of (item (5) of [p1〜10 v])) = (letter (53) of (item (5) of [1〜10 2 v]))> then\n        set [☁ p5 v] to [0]\n    end\n    if <(letter (53) of (item (6) of [p1〜10 v])) = (letter (53) of (item (6) of [1〜10 2 v]))> then\n        set [☁ p6 v] to [0]\n    end\n    if <(letter (53) of (item (7) of [p1〜10 v])) = (letter (53) of (item (7) of [1〜10 2 v]))> then\n        set [☁ p7 v] to [0]\n    end\n    if <(letter (53) of (item (8) of [p1〜10 v])) = (letter (53) of (item (8) of [1〜10 2 v]))> then\n        set [☁ p8 v] to [0]\n    end\n    if <(letter (53) of (item (9) of [p1〜10 v])) = (letter (53) of (item (9) of [1〜10 2 v]))> then\n        set [☁ p9 v] to [0]\n    end\n    if <(letter (53) of (item (10) of [p1〜10 v])) = (letter (53) of (item (10) of [1〜10 2 v]))> then\n        set [☁ p10 v] to [0]\n    end\nend\n\nwhen flag clicked\nbroadcast (オンライン v)\n\nwhen I receive [軽量化 v]\nbroadcast (軽量化 v)\n\n@スプライト12\n\n@スプライト13\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [number v]) = [1]> then\n    if <(costume [number v]) = [2]> then\n        change [〜 v] by (6.5)\n        point in direction ((([sin v] of (vui) ) * (6)) + (90))\n    end\nend\n\nwhen I receive [軽量化 v]\nif <(vui) = [1]> then\n    show\n    point in direction (90)\n    set [ghost v] effect to (30)\n    go to [front v] layer\n    go [backward v] (1) layers\n    go to x: (14) y: (-4)\nend\n\npoint in direction (90)\nrepeat (20)\n    turn left ([cos v] of (vui) ) degrees\nend\n\ngo to x: (3) y: (-4)\n\ngo to [front v] layer\n\n@スプライト14\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [number v]) = [1]> then\n    if <(costume [number v]) = [2]> then\nend\n\nwhen I receive [軽量化 v]\nif <(vui) = [1]> then\n    set [ghost v] effect to (0)\n    show\nend\n\npoint in direction (90)\nrepeat (20)\n    turn left ([cos v] of (vui) ) degrees\nend\n\ngo to x: (3) y: (-4)\n\nwhen [timer v] > ()\nforever\n    go to [front v] layer\n    change [78 v] by (6.5)\n    point in direction ((([sin v] of (78) ) * (6)) + (90))\nend\n\n@スプライト6\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nforever\n    show\n    change [動きの v] by (4)\n    change y by ([sin v] of (動きの) )\nend\n\nif <(costume [number v]) = [3]> then\n    show\n    change [動きの v] by (10)\n    change y by ([cos v] of (動きの) )\nend\n\nwhen I receive [軽量化 v]\nif <(ruyi) = [1]> then\n    hide\nend\nif <(ruyi) = [1]> then\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\n@地面2\n\ndefine 配置 (1) (2) (3)\nset [1 v] to (1)\nset [2 v] to (2)\nset [3 v] to ((3) + (1))\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nforever\n    switch costume to (なし v)\n    go to x: ((1) - (スクロールｘ)) y: ((2) - (スクロールｙ))\n    show\n    switch costume to (3)\nend\n\nwhen flag clicked\nset [チャット v] to []\nhide\n配置 [0] [0] [1]\n配置 [480] [0] [2]\n配置 [960] [0] [3]\n配置 [1440] [0] [4]\n配置 [1920] [0] [5]\n配置 ((1920) + (700)) [250] [6]\n配置 ((1920) + (1150)) [250] [7]\n配置 (((1920) + (1150)) + (500)) [250] [8]\n配置 (((1920) + (1150)) + (1000)) [250] [9]\n配置 (((1920) + (1150)) + (1000)) [250] [10]\n配置 (((1920) + (1150)) + (1500)) [250] [11]\n配置 (((1920) + (1150)) + (2000)) [250] [12]\n\n@音響2\n\nwhen I receive [start v]\n\nplay sound [BGM \(1\) v] until done\n\nwhen flag clicked\nwait (0.02) seconds\nplay sound [ホーム \(1\) v] until done\n\nwhen I receive [start v]\nstop all sounds\n\nwait (0.05) seconds\nforever\nend\n\nwhen flag clicked\nforever\nend\n\nrepeat (20)\n    change [pan left/right v] effect by (10)\nend\nrepeat (20)\n    change [pan left/right v] effect by (-10)\nend\n\n@スプライト15\n\nwhen flag clicked\nwait (0.02) seconds\ngo to [front v] layer\nhide\ngo to x: (0) y: (110)\nswitch costume to (コスチューム3 v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    show\n    change [動きの v] by (10)\n    change y by ([cos v] of (動きの) )\nend\n\nwhen I receive [軽量化 v]\nif <(ruyi) = [1]> then\n    hide\nend\nif <(ruyi) = [1]> then\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\n@スプライト16\n\nwhen I receive [vftuod v]\nrepeat (10)\n    broadcast (START v)\nend\nstop [this script v]\n\n