☁Long Platformer Online☁ / ☁長編プラットフォーマーオンライン☁ #All #Games #Platformer

Instructions: ◆English◆\nWelcome to my project!\nThis is mobile friendly platformer. So,everyone can play It! Have fun!\n\n▶Diffictly\nPC:★★★★\nMobile:★★★★★\n\n▶Operation\nYou can move the "WAD" key or right,left,up key.\n"A" key or left key to move to the left.\n"D" key or right key to move to the right.\n"W" key or up key to the jump.\n\nYou touch spikes and lava to death.\nYou can wall kick.\nYou touch water to move slow.\nYou touch trampoline to jump high.\n\nYou can choose online or offline.\nYou can choose player color.\nYou can choose to turn the sound on or off.\nYou can choose stages. \nYou can chat.\n\nNote: If you select a stage, your time will not be recorded in the world record.\n\n▶Mobile operation\nYou can click on the left side of the player to move to the left.\nYou can click on the right side of the player to move to the right.\nYou can click on the up side of the player to move to the jump.\n\n◆日本語◆\n僕のプロジェクトへようこそ！\nこのプラットフォーマーはモバイル対応なので、みんなが楽しく遊べるよ！楽しんでね！\n\n▶難しさ\nパソコン：★★★★\nモバイル：★★★★★\n\n▶操作方法\nDキーまたは右矢印キーで右に動きます。\nAキーまたは左矢印キーで左に動きます。\nWキーまたは上矢印キーでジャンプします。\n\nマグマやトゲに触れると死ぬので気をつけて下さい。\n壁キックをすることができます。\n水に触れると動きがゆっくりになります。\nバネに触れると高く飛ぶことができます。\n\nオンラインかオフラインかを選ぶことができます。\nプレイヤーの色を選ぶことができます。\n音をオンにするかオフにするかを選ぶことができます。\nレベルを選ぶことができます。\nチャットで話すことができます！\n\n注意：ステージ選択をした場合、タイムが世界記録に保存されません。\n\n▶モバイルの操作方法\nプレイヤーの右側をクリックすると右に移動できます。\nプレイヤーの左側をクリックすると左に移動できます。\nプレイヤーの上をクリックするとジャンプすることができます。

@Stage\n\nwhen I receive [スタート v]\nforever\n    if <not <(ステージ) = [16]>> then\n        switch backdrop to (背景1 v)\n    else\n        switch backdrop to (背景2 v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nhide variable [☁ 世界記録だよぉ v]\nhide variable [time v]\nhide variable [active players v]\nbroadcast (セレクト画面 v)\n\n@軽量化\n\n@プレイヤー\n\nwhen I receive [offline v]\nshow\nset [ステージ v] to (最初のステージ)\nset [ok v] to [1]\n初期設定\nforever\n    動き\nend\n\ndefine 初期設定\nshow\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\nif <not <(ステージ) = [17]>> then\n    go to x: (-207) y: (-17)\nelse\n    go to x: (-207) y: (-145)\nend\nset size to (85) %\n\ndefine 動き\nif <(ok) = [1]> then\n    if <<key (right arrow v) pressed?> or <<<(チャットのボタン触れた？) = [0]> and <<<mouse down?> and <(x position) < (mouse x)>> and <(チャット画面？) = [0]>>> or <key (d v) pressed?>>> then\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<<(チャットのボタン触れた？) = [0]> and <<<mouse down?> and <(mouse x) < (x position)>> and <(チャット画面？) = [0]>>> or <key (a v) pressed?>>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.89))\n    change x by (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 (-5)\n                            change x by ((x) * (-1))\n                            if <<key (up arrow v) pressed?> or <<<(チャットのボタン触れた？) = [0]> and <<<mouse down?> and <(y position) < (mouse y)>> and <(チャット画面？) = [0]>>> or <key (w v) pressed?>>> then\n                                if <(x) < [0]> then\n                                    start sound [壁キック v]\n                                    set [x v] to [10]\n                                else\n                                    start sound [壁キック v]\n                                    set [x v] to [-10]\n                                end\n                                set [y v] to [15]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<<(チャットのボタン触れた？) = [0]> and <<<mouse down?> and <(y position) < (mouse y)>> and <(チャット画面？) = [0]>>> or <key (w v) pressed?>>> then\n        if <touching (地面 v)?> then\n            start sound [ジャンプ v]\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <[240] < (x position)> then\n        初期設定\n        broadcast (次へ v)\n        hide\n        set [ok v] to [0]\n    end\n    if <(y position) < [-180]> then\n        start sound [やられる v]\n        初期設定\n    end\n    if <<<touching (トゲ v)?> or <touching (マグマ v)?>> or <touching (デンジャラス v)?>> then\n        start sound [やられる v]\n        初期設定\n    end\n    if <touching (水 v)?> then\n        broadcast (音　水 v)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    コスチューム <<key (right arrow v) pressed?> or <<<(チャットのボタン触れた？) = [0]> and <<<mouse down?> and <(x position) < (mouse x)>> and <(チャット画面？) = [0]>>> or <key (d v) pressed?>>> <<key (left arrow v) pressed?> or <<<(チャットのボタン触れた？) = [0]> and <<<mouse down?> and <(mouse x) < (x position)>> and <(チャット画面？) = [0]>>> or <key (a v) pressed?>>> <<key (up arrow v) pressed?> or <<<(チャットのボタン触れた？) = [0]> and <<<mouse down?> and <(y position) < (mouse y)>> and <(チャット画面？) = [0]>>> or <key (w v) pressed?>>>\nend\n\ndefine コスチューム <右が選択された> <左が選択された> <上が選択された>\nif <not <<key (any v) pressed?> or <mouse down?>>> then\n    switch costume to (join [前] (コスチューム))\nend\nif <右が選択された> then\n    switch costume to (join [右] (コスチューム))\n    if <上が選択された> then\n        switch costume to (join [右上] (コスチューム))\n    end\nend\nif <左が選択された> then\n    switch costume to (join [左] (コスチューム))\n    if <上が選択された> then\n        switch costume to (join [左上] (コスチューム))\n    end\nend\nif <<上が選択された> and <not <<右が選択された> or <左が選択された>>>> then\n    switch costume to (join [上] (コスチューム))\nend\n\nwhen I receive [next v]\n初期設定\nwait (0.4) seconds\n\nwhen I receive [スタート v]\nhide variable [☁ 世界記録だよぉ v]\nhide variable [time v]\nset [time v] to [0]\nrepeat until <(ステージ) = [26]>\n    wait (1) seconds\n    change [time v] by (1)\nend\nwait until <(ok) = [1]>\nbroadcast (クリア！ v)\nshow variable [time v]\nif <(ステージ選択した？) = [0]> then\n    show variable [☁ 世界記録だよぉ v]\n    if <(time) < (☁ 世界記録だよぉ)> then\n        set [☁ 世界記録だよぉ v] to (time)\n    end\nend\nforever\n    if <(チャット画面？) = [1]> then\n        hide variable [time v]\n        if <(ステージ選択した？) = [0]> then\n            hide variable [☁ 世界記録だよぉ v]\n        end\n    else\n        show variable [time v]\n        if <(ステージ選択した？) = [0]> then\n            show variable [☁ 世界記録だよぉ v]\n        end\n    end\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\nwhen I receive [play準備 v]\nstop [other scripts in sprite v]\nset [ステージ v] to [1]\nif <(オンライン？) = [1]> then\n    broadcast (online v)\nelse\n    broadcast (offline v)\nend\nbroadcast (スタート v)\n\nwhen I receive [セレクト画面 v]\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [online v]\nshow\nbroadcast (Cloud - Setup v) and wait\nset [ステージ v] to (最初のステージ)\nset [ok v] to [1]\n準備\n初期設定\nforever\n    動き\n    add (x position) to [my values to send v]\n    add (y position) to [my values to send v]\n    add (costume [number v]) to [my values to send v]\n    add (ok) to [my values to send v]\n    add (ステージ) to [my values to send v]\n    add (チャット番号) to [my values to send v]\n    add (length of (username)) to [my values to send v]\n    ユーザー名を送信データに送る\n    broadcast (Cloud - Tick v)\nend\n\nwhen I receive [チャット送った v]\nwait (4) seconds\nset [チャット番号 v] to [0]\n\nwhen I receive [online v]\nforever\n    if <(チャット番号) = [0]> then\n        say (username)\n    else\n        say (join (username) (join [：] (item (チャット番号) of [チャット v])))\n    end\nend\n\ndefine ユーザー名を送信データに送る\nset [i v] to [1]\nrepeat (length of (username))\n    add (item # of (letter (i) of (username)) in [暗号リスト v]) to [my values to send v]\n    change [i v] by (1)\nend\n\ndefine 準備\nset [暗号 v] to [abcdefghijklmnopqrstuvwxyz1234567890-_]\ndelete all of [暗号リスト v]\nrepeat (9)\n    add [] to [暗号リスト v]\nend\nset [i v] to [1]\nrepeat (length of (暗号))\n    add (letter (i) of (暗号)) to [暗号リスト v]\n    change [i v] by (1)\nend\n\n@地面\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\nforever\n    show\n    go to x: (0) y: (0)\n    set size to (100) %\n    if <(ok) = [1]> then\n        go to [front v] layer\n        go [backward v] (4) layers\n    end\n    switch costume to (ステージ)\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\nwhen I receive [次へ v]\nchange [ステージ v] by (1)\n\n@トゲ\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\nforever\n    show\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (ステージ)\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\n@その他\n\nwhen I receive [スタート v]\nshow\ngo [forward v] (2) layers\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\n    go to [back v] layer\n    go [forward v] (2) layers\n    if <(ステージ) = [26]> then\n        broadcast (a v)\n    end\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\nwhen I receive [a v]\nshow\nstop [other scripts in sprite v]\ngo [forward v] (2) layers\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nforever\n    switch costume to (join (ステージ) (ステージ選択した？))\n    go to [back v] layer\n    go [forward v] (2) layers\nend\n\n@草\n\nwhen I receive [スタート v]\nshow\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\n    go to [back v] layer\n    go [forward v] (2) layers\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\n@デンジャラス\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nhide\nswitch costume to (1 v)\nforever\n    if <(ステージ) = [11]> then\n        show\n        set size to (80) %\n        switch costume to (1 v)\n        go to x: (120) y: (-190)\n        turn right (3) degrees\n    else\n        if <(ステージ) = [16]> then\n            show\n            set size to (40) %\n            switch costume to (1 v)\n            go to x: (40) y: (-100)\n            turn right (5) degrees\n        else\n            if <(ステージ) = [18]> then\n                show\n                set size to (90) %\n                switch costume to (1 v)\n                go to x: (100) y: (20)\n                turn right (-4.5) degrees\n            else\n                if <(ステージ) = [20]> then\n                    show\n                    set size to (100) %\n                    switch costume to (1 v)\n                    go to x: (0) y: (-150)\n                    turn right (4.5) degrees\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\n@マグマ\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\nforever\n    set [y起動 v] to (([sin v] of ((timer) * (90)) ) * (10))\n    if <(ステージ) = [6]> then\n        show\n        set size to (150) %\n        go to x: (0) y: ((y起動) + (-80))\n        switch costume to (1 v)\n    else\n        if <(ステージ) = [19]> then\n            show\n            set size to (130) %\n            go to x: (50) y: ((y起動) + (-137))\n            switch costume to (1 v)\n        else\n            if <(ステージ) = [21]> then\n                show\n                set size to (100) %\n                go to x: (200) y: ((y起動) + (-137))\n                switch costume to (1 v)\n            else\n                if <(ステージ) = [23]> then\n                    show\n                    set size to (200) %\n                    go to x: (0) y: ((y起動) + (-300))\n                    switch costume to (1 v)\n                else\n                    if <(ステージ) = [24]> then\n                        show\n                        set size to (200) %\n                        go to x: (200) y: ((y起動) + (-140))\n                        switch costume to (1 v)\n                    else\n                        if <(ステージ) = [25]> then\n                            show\n                            set size to (200) %\n                            go to x: (200) y: ((y起動) + (-340))\n                            switch costume to (1 v)\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\n@水\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\nhide\nswitch costume to (コスチューム1 v)\nforever\n    set [y起動 v] to (([sin v] of ((timer) * (90)) ) * (10))\n    set [ghost v] effect to (40)\n    if <(ステージ) = [15]> then\n        動き\n        set size to (200) %\n        set y to ((y起動) + (-300))\n        set x to (40)\n    else\n        if <(ステージ) = [16]> then\n            動き\n            set size to (200) %\n            set y to (0)\n            set x to (0)\n        else\n            if <(ステージ) = [17]> then\n                動き\n                set size to (200) %\n                set y to ((y起動) + (-300))\n                set x to (-40)\n            else\n                if <(ステージ) = [21]> then\n                    動き\n                    set size to (100) %\n                    set y to ((y起動) + (-180))\n                    set x to (-40)\n                else\n                    if <(ステージ) = [25]> then\n                        動き\n                        set size to (100) %\n                        set y to ((y起動) + (-200))\n                        set x to (-100)\n                    else\n                        hide\n                    end\n                end\n            end\n        end\n    end\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\ndefine 動き\nshow\nif <touching (プレイヤー v)?> then\n    set [x v] to ((x) / (1.2))\n    set [y v] to [0]\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n        change [y v] by (5)\n    else\n        change [y v] by (-3)\n    end\nend\n\nwhen I receive [音　水 v]\nstart sound (pick random (1) to (7))\n\nwhen I receive [セレクト画面 v]\nhide\n\nwhen I receive [セレクト画面 v]\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\n@NEXT\n\nwhen flag clicked\nhide\n\nwait (0.5) seconds\n\nstop [this script v]\n\nwhen I receive [次へ v]\nshow\nstart sound [High Whoosh v]\ngo to [front v] layer\ngo to x: (350) y: (0)\nset y to (0)\nset y to (0)\nglide (0.3) secs to x: (0) y: (0)\nglide (0.3) secs to x: (0) y: (0)\nglide (0.3) secs to x: (0) y: (0)\nglide (1) secs to x: (-5) y: (0)\nglide (0.1) secs to x: (-350) y: (0)\nhide\nset [ok v] to [1]\nbroadcast (NEXT v)\n\nwhen I receive [セレクト画面 v]\nhide\n\nwhen I receive [セレクト画面 v]\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\nhide\n\n@ばね\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\nforever\n    if <(ステージ) = [22]> then\n        動き\n        set size to (90) %\n        go to x: (-40) y: (-35)\n    else\n        if <(ステージ) = [24]> then\n            動き\n            set size to (90) %\n            go to x: (-40) y: (-57)\n        else\n            hide\n        end\n    end\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\ndefine 動き\nshow\nif <touching (プレイヤー v)?> then\n    start sound [バネ v]\n    switch costume to (2 v)\n    set [y v] to [18]\nelse\n    switch costume to (1 v)\nend\n\nwhen I receive [セレクト画面 v]\nhide\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\n@背景\n\nwhen I receive [スタート v]\nforever\n    show\n    set size to (100) %\n    if <not <(ステージ) = [16]>> then\n        show\n        switch costume to (背景 v)\n    else\n        hide\n    end\n    go to [back v] layer\n    go [forward v] (1) layers\n    go to x: (0) y: (0)\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\n@太陽\n\nwhen I receive [スタート v]\nshow\ngo to [back v] layer\ngo to x: (211) y: (150)\ngo [forward v] (1) layers\nset size to (100) %\nset [三角関数 v] to [0]\nforever\n    change [三角関数 v] by (4)\n    change size by (([cos v] of (三角関数) ) / (1.5))\n    go to [back v] layer\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\n@雲\n\nwhen I receive [スタート v]\nhide\nif  then\n    delete this clone\nend\nforever\n    create clone of (_myself_ v)\n    wait (pick random (3.0) to (4.0)) seconds\nend\n\nwhen I start as a clone\nif <not <(ステージ) = [16]>> then\n    show\n    switch costume to (pick random (1) to (4))\n    set x to (320)\n    set y to (pick random (30.0) to (160.0))\n    repeat until <(x position) < [-320]>\n        change x by (-2)\n        set [ghost v] effect to (10)\n        go to [back v] layer\n        go [forward v] (2) layers\n        if <(ステージ) = [16]> then\n            delete this clone\n        end\n    end\nend\ndelete this clone\n\nwhen I receive [セレクト画面 v]\nif  then\n    delete this clone\nend\nhide\n\n@音楽\n\nwhen I receive [スタート v]\nstop [other scripts in sprite v]\nforever\n    play sound [-Xaf- v] until done\nend\n\nwhen I receive [セレクト画面 v]\nhide\n\nwhen I receive [セレクト画面 v]\nforever\n    play sound [Water \(1\) v] until done\nend\n\nwhen I receive [セレクト画面 v]\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [turbomode v]\nstop [other scripts in sprite v]\nhide\n\n@紙吹雪\n\nwhen I start as a clone\ngo to [back v] layer\nshow\ngo to x: (pick random (-230) to (230)) y: (170)\nset [s v] to (pick random (-8) to (-10))\nrepeat until <(y position) < [-170]>\n    show\n    next costume\n    change y by (s)\n    turn right (15) degrees\n    change [ghost v] effect by (1)\n    go to [front v] layer\n    go [forward v] (1) layers\n    if <(チャット画面？) = [1]> then\n        hide\n    end\nend\ndelete this clone\n\nwhen I receive [クリア！ v]\nhide\nclear graphic effects\nstart sound [Win v]\nforever\n    create clone of (_myself_ v)\n    change [color v] effect by (25)\n    wait (0.035) seconds\nend\n\nwhen I receive [セレクト画面 v]\nif  then\n    delete this clone\nend\nhide\n\nwhen I receive [セレクト画面 v]\nstop [other scripts in sprite v]\nhide\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\n@ホーム\n\nwhen I receive [セレクト画面 v]\nhide\nclone\n\nwhen I start as a clone\nset [三角関数 v] to [0]\nset x to ()\nshow\nforever\n    if <(ID) = [1]> then\n        go to x: (211) y: (150)\n        switch costume to (太陽 v)\n        change [三角関数 v] by (4)\n        change size by (([cos v] of (三角関数) ) / (1.5))\n    end\n    if <(ID) = [2]> then\n        switch costume to (背景 v)\n        set y to ((([sin v] of ((timer) * (90)) ) * (10)) + (10))\n    end\n    if <(ID) = [3]> then\n        switch costume to (地面 v)\n        set y to ((([sin v] of ((timer) * (180)) ) * (8)) + ())\n    end\n    if <(ID) = [4]> then\n        switch costume to (テキスト v)\n        set y to ((([cos v] of ((timer) * (180)) ) * (5)) + ())\n    end\n    if <(ID) = [5]> then\n        clear graphic effects\n        set size to (120) %\n        switch costume to (play v)\n        set y to ((([sin v] of ((timer) * (90)) ) * (5)) + (80))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            switch costume to (play2 v)\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す2 v]\n            broadcast (オンラインか？選択 v)\n            set [最初のステージ v] to [1]\n            repeat (20)\n                change size by (1)\n                change [ghost v] effect by (5)\n            end\n            stop [this script v]\n        end\n    end\n    if <(ID) = [6]> then\n        clear graphic effects\n        set size to (105) %\n        set y to ((([sin v] of ((timer) * (90)) ) * (5)) + (-15))\n        switch costume to (stage select v)\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            switch costume to (stage select2 v)\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す2 v]\n            repeat (20)\n                change size by (1)\n                change [ghost v] effect by (5)\n            end\n            broadcast (ステージ選択 v)\n            stop [this script v]\n        end\n    end\n    if <(ID) = [7]> then\n        clear graphic effects\n        set size to (90) %\n        set y to ((([sin v] of ((timer) * (90)) ) * (5)) + (-100))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            switch costume to (join (costume [name v]) [2])\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す2 v]\n            if <(音) = [1]> then\n                switch costume to (nsound v)\n                set [音 v] to [0]\n            else\n                switch costume to (sound v)\n                set [音 v] to [1]\n            end\n        end\n    end\nend\n\nwhen I receive [オンラインか？選択 v]\ndelete this clone\n\nwhen I start as a clone\nif <(ID) = [5]> then\n    set x to (360)\n    repeat until <(round (x position)) = [120]>\n        change x by (((x position) - (120)) / (-3))\n    end\n    set x to (120)\nend\nif <(ID) = [6]> then\n    set [音 v] to [1]\n    switch costume to (stage select v)\n    set x to (360)\n    repeat until <(round (x position)) = [120]>\n        change x by (((x position) - (120)) / (-3))\n    end\n    set x to (120)\nend\nif <(ID) = [7]> then\n    set [音 v] to [1]\n    switch costume to (sound v)\n    set x to (360)\n    repeat until <(round (x position)) = [120]>\n        change x by (((x position) - (120)) / (-3))\n    end\n    set x to (120)\nend\n\nwhen I start as a clone\nif <<<(ID) = [5]> or <(ID) = [6]>> or <(ID) = [7]>> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (15)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\ndefine clone\nset [id v] to [1]\nrepeat (7)\n    create clone of (_myself_ v)\n    change [id v] by (1)\nend\n\nwhen I receive [ステージ選択 v]\nif <not <<<(ID) = [1]> or <(ID) = [2]>> or <(ID) = [3]>>> then\n    delete this clone\nend\n\nwhen I receive [スタート v]\ndelete this clone\n\n@プレイヤー選択\n\nwhen I receive [セレクト画面 v]\nshow\nset [キャラクター v] to [1]\nforever\n    set size to (100) %\n    switch costume to (join [character] (キャラクター))\n    set size to ((([sin v] of ((timer) * (180)) ) * (10)) + (100)) %\n    go to x: (-110) y: (-20)\n    go to [front v] layer\nend\n\nwhen I receive [オンラインか？選択 v]\nset [コスチューム v] to (キャラクター)\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [ステージ選択 v]\nset [コスチューム v] to (キャラクター)\nstop [other scripts in sprite v]\nhide\n\n@矢印\n\nwhen I receive [セレクト画面 v]\nhide\nset [キャラクター v] to [1]\nclone\n\nwhen I start as a clone\nset rotation style [left-right v]\nset x to ()\nshow\nforever\n    if <(ID) = [1]> then\n        clear graphic effects\n        go to [front v] layer\n        set size to (100) %\n        switch costume to (1 v)\n        set x to (-10)\n        set y to (-20)\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            point in direction (90)\n            switch costume to (2 v)\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す50 v]\n            if <(キャラクター) = [7]> then\n                set [キャラクター v] to [1]\n            else\n                change [キャラクター v] by (1)\n            end\n        end\n    end\n    if <(ID) = [2]> then\n        point in direction (-90)\n        clear graphic effects\n        set size to (100) %\n        switch costume to (1 v)\n        go to [front v] layer\n        set x to (-210)\n        set y to (-20)\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            switch costume to (2 v)\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す50 v]\n            if <(キャラクター) = [1]> then\n                set [キャラクター v] to [7]\n            else\n                change [キャラクター v] by (-1)\n            end\n        end\n    end\nend\n\nwhen I receive [オンラインか？選択 v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\ndefine clone\nset [id v] to [1]\nrepeat (2)\n    create clone of (_myself_ v)\n    change [id v] by (1)\nend\n\nwhen I receive [ステージ選択 v]\ndelete this clone\n\n@選択\n\nwhen I receive [オンラインか？選択 v]\nhide\nset [id v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    change [id v] by (1)\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(ID) = [1]> then\n        set size to (100) %\n        switch costume to (black v)\n        set [ghost v] effect to (100)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n        stop [this script v]\n    end\n    if <(ID) = [2]> then\n        clear graphic effects\n        set size to (100) %\n        switch costume to (online v)\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            switch costume to (online2 v)\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す2 v]\n            repeat (20)\n                change size by (1)\n                change [ghost v] effect by (5)\n            end\n            set [オンライン？ v] to [1]\n            broadcast (play準備 v)\n            stop [this script v]\n        end\n    end\n    if <(ID) = [3]> then\n        forever\n            clear graphic effects\n            set size to (100) %\n            switch costume to (offline v)\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                switch costume to (offline2 v)\n                wait until <not <mouse down?>>\n                start sound [決定ボタンを押す2 v]\n                repeat (20)\n                    change size by (1)\n                    change [ghost v] effect by (5)\n                end\n                set [オンライン？ v] to [0]\n                broadcast (play準備 v)\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\ndelete this clone\n\nwhen I receive [セレクト画面 v]\nhide\nif  then\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [1]> then\n    go to x: (0) y: (0)\nend\nif <(ID) = [2]> then\n    set x to (-360)\n    set y to (0)\n    repeat until <(round (x position)) = [-120]>\n        change x by ((([abs v] of (x position) ) - (120)) / (3))\n    end\nend\nif <(ID) = [3]> then\n    set x to (360)\n    set y to (0)\n    repeat until <(round (x position)) = [120]>\n        change x by (((x position) - (120)) / (-3))\n    end\nend\n\nwhen I start as a clone\nif <<(ID) = [2]> or <(ID) = [3]>> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (15)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\n@ステージ選択\n\nwhen I receive [セレクト画面 v]\nset [ステージ選択した？ v] to [0]\nhide\n\nwhen I receive [ステージ選択 v]\nクローン\n\nwhen I start as a clone\nforever\n    if <(ID) = [1]> then\n        show\n        set size to (100) %\n        go to [front v] layer\n        go to x: (0) y: (0)\n        switch costume to (画面 v)\n    end\n    if <(ID) = [2]> then\n        show\n        ボタン [-180] [60] [1]\n    end\n    if <(ID) = [3]> then\n        show\n        ボタン [-180] [10] [2]\n    end\n    if <(ID) = [4]> then\n        show\n        ボタン [-180] [-40] [3]\n    end\n    if <(ID) = [5]> then\n        show\n        ボタン [-180] [-90] [4]\n    end\n    if <(ID) = [6]> then\n        show\n        ボタン [-180] [-140] [5]\n    end\n    if <(ID) = [7]> then\n        show\n        ボタン [-90] [60] [6]\n    end\n    if <(ID) = [8]> then\n        show\n        ボタン [-90] [10] [7]\n    end\n    if <(ID) = [9]> then\n        show\n        ボタン [-90] [-40] [8]\n    end\n    if <(ID) = [10]> then\n        show\n        ボタン [-90] [-90] [9]\n    end\n    if <(ID) = [11]> then\n        show\n        ボタン [-90] [-140] [10]\n    end\n    if <(ID) = [12]> then\n        show\n        ボタン [0] [60] [11]\n    end\n    if <(ID) = [13]> then\n        show\n        ボタン [0] [10] [12]\n    end\n    if <(ID) = [14]> then\n        show\n        ボタン [0] [-40] [13]\n    end\n    if <(ID) = [15]> then\n        show\n        ボタン [0] [-90] [14]\n    end\n    if <(ID) = [16]> then\n        show\n        ボタン [0] [-140] [15]\n    end\n    if <(ID) = [17]> then\n        show\n        ボタン [90] [60] [16]\n    end\n    if <(ID) = [18]> then\n        show\n        ボタン [90] [10] [17]\n    end\n    if <(ID) = [19]> then\n        show\n        ボタン [90] [-40] [18]\n    end\n    if <(ID) = [20]> then\n        show\n        ボタン [90] [-90] [19]\n    end\n    if <(ID) = [21]> then\n        show\n        ボタン [90] [-140] [20]\n    end\n    if <(ID) = [22]> then\n        show\n        ボタン [180] [60] [21]\n    end\n    if <(ID) = [23]> then\n        show\n        ボタン [180] [10] [22]\n    end\n    if <(ID) = [24]> then\n        show\n        ボタン [180] [-40] [23]\n    end\n    if <(ID) = [25]> then\n        show\n        ボタン [180] [-90] [24]\n    end\n    if <(ID) = [26]> then\n        show\n        ボタン [180] [-140] [25]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\ndefine クローン\nset [id v] to [1]\nrepeat (26)\n    create clone of (_myself_ v)\n    change [id v] by (1)\nend\n\nwhen I receive [セレクト画面 v]\ndelete (all) of [チャット v]\nadd [Hello. // こんにちは。] to [チャット v]\nadd [Hi! // やあ！] to [チャット v]\nadd [Good evening. // こんばんは。] to [チャット v]\nadd [Nice! // いいね！] to [チャット v]\nadd [Come with me! // 一緒に行こう！] to [チャット v]\nadd [Good luck! // 頑張れ〜！] to [チャット v]\nadd [Okay. // わかった。] to [チャット v]\nadd [Sorry, I'm out. // ごめん、抜けるね。] to [チャット v]\nadd [You're good! // 上手だね！] to [チャット v]\nadd [Thank you! // ありがとう！] to [チャット v]\nadd [Bye! // またね！] to [チャット v]\nadd [:D] to [チャット v]\nadd [Follow me! // フォローして！] to [チャット v]\nadd [\(/>w<\)/] to [チャット v]\nadd [Yeah! // イェーイ！] to [チャット v]\n\nwhen I receive [スタート v]\nhide\ndelete this clone\n\ndefine ボタン (x) (y) (costume)\ngo to [front v] layer\ngo to x: (x) y: (y)\nswitch costume to (costume)\nif <touching (mouse-pointer v)?> then\n    set size to (78) %\n    if <mouse down?> then\n        start sound [決定ボタンを押す2 v]\n        set [最初のステージ v] to (costume)\n        set [ステージ選択した？ v] to [1]\n        broadcast (オンラインか？選択 v)\n        stop [this script v]\n    end\nelse\n    set size to (75) %\nend\n\nwhen I receive [スタート v]\ndelete this clone\n\nwhen I receive [オンラインか？選択 v]\ndelete this clone\n\n@Chat\n\nwhen I receive [セレクト画面 v]\nhide\n\nwhen I receive [online v]\nset [チャット番号 v] to [0]\nset [チャット画面？ v] to [0]\nhide\nstop [other scripts in sprite v]\nクローン\n\nwhen I receive [offline v]\nhide\n\nwhen I start as a clone\nforever\n    if <(ID) = [1]> then\n        if <(チャット画面？) = [0]> then\n            show\n            clear graphic effects\n            set size to (70) %\n            if <(ok) = [1]> then\n                go to [front v] layer\n            end\n            go to x: (-180) y: (150)\n            switch costume to (botton v)\n            if <touching (mouse-pointer v)?> then\n                set [チャットのボタン触れた？ v] to [1]\n                if <mouse down?> then\n                    switch costume to (botton2 v)\n                    wait until <not <mouse down?>>\n                    set [チャット画面？ v] to [1]\n                    start sound [決定ボタンを押す2 v]\n                end\n            else\n                set [チャットのボタン触れた？ v] to [0]\n            end\n        else\n            hide\n        end\n    end\n    if <(ID) = [2]> then\n        if <(チャット画面？) = [1]> then\n            show\n            set size to (100) %\n            go to [front v] layer\n            set [ghost v] effect to (80)\n            go to x: (0) y: (0)\n            switch costume to (chat画面 v)\n        else\n            hide\n        end\n    end\n    if <(ID) = [3]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [154] コスチューム [1]\n        else\n            hide\n        end\n    end\n    if <(ID) = [4]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [110] コスチューム [2]\n        else\n            hide\n        end\n    end\n    if <(ID) = [5]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [66] コスチューム [3]\n        else\n            hide\n        end\n    end\n    if <(ID) = [6]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [22] コスチューム [4]\n        else\n            hide\n        end\n    end\n    if <(ID) = [7]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [-22] コスチューム [5]\n        else\n            hide\n        end\n    end\n    if <(ID) = [8]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [-66] コスチューム [6]\n        else\n            hide\n        end\n    end\n    if <(ID) = [9]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [-110] コスチューム [7]\n        else\n            hide\n        end\n    end\n    if <(ID) = [10]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [-115] y [-154] コスチューム [8]\n        else\n            hide\n        end\n    end\n    if <(ID) = [11]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [115] y [154] コスチューム [9]\n        else\n            hide\n        end\n    end\n    if <(ID) = [12]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [115] y [110] コスチューム [10]\n        else\n            hide\n        end\n    end\n    if <(ID) = [13]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [115] y [66] コスチューム [11]\n        else\n            hide\n        end\n    end\n    if <(ID) = [14]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [115] y [22] コスチューム [12]\n        else\n            hide\n        end\n    end\n    if <(ID) = [15]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [115] y [-22] コスチューム [13]\n        else\n            hide\n        end\n    end\n    if <(ID) = [16]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [115] y [-66] コスチューム [14]\n        else\n            hide\n        end\n    end\n    if <(ID) = [17]> then\n        if <(チャット画面？) = [1]> then\n            show\n            チャットボタン x [115] y [-110] コスチューム [15]\n        else\n            hide\n        end\n    end\n    if <(ID) = [18]> then\n        if <(チャット画面？) = [1]> then\n            show\n            go to x: (115) y: (-154)\n            switch costume to (16 v)\n            go to [front v] layer\n            if <touching (mouse-pointer v)?> then\n                set size to (78) %\n                if <mouse down?> then\n                    set [チャット画面？ v] to [0]\n                    start sound [キャンセル4 v]\n                end\n            else\n                set size to (75) %\n            end\n        else\n            hide\n        end\n    end\n    if <(ID) = [19]> then\n        if <(チャット画面？) = [0]> then\n            show\n            プレイヤー計算\n            set [active players v] to (_players)\n            set [ghost v] effect to (70)\n            if <(ok) = [1]> then\n                go to [front v] layer\n                show variable [active players v]\n            else\n                hide variable [active players v]\n            end\n            switch costume to ( v)\n            go to x: (0) y: (0)\n        else\n            hide variable [active players v]\n            hide\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(ID) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (15)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(音) = [1]> then\n        set volume to (100) %\n    else\n        set volume to (0) %\n    end\nend\n\ndefine チャットボタン x (x) y (y) コスチューム (costume)\ngo to [front v] layer\ngo to x: (x) y: (y)\nswitch costume to (costume)\nif <touching (mouse-pointer v)?> then\n    set size to (78) %\n    if <mouse down?> then\n        set [チャット番号 v] to (costume)\n        set [チャット画面？ v] to [0]\n        broadcast (チャット送った v)\n        start sound [決定ボタンを押す29 v]\n    end\nelse\n    set size to (75) %\nend\n\ndefine クローン\nset [id v] to [1]\nrepeat (19)\n    create clone of (_myself_ v)\n    change [id v] by (1)\nend\n\nwhen I receive [セレクト画面 v]\ndelete (all) of [チャット v]\nadd [Hello. // こんにちは。] to [チャット v]\nadd [Hi! // やあ！] to [チャット v]\nadd [Good evening. // こんばんは。] to [チャット v]\nadd [Nice! // いいね！] to [チャット v]\nadd [Come with me! // 一緒に行こう！] to [チャット v]\nadd [Good luck! // 頑張れ〜！] to [チャット v]\nadd [Okay. // わかった。] to [チャット v]\nadd [Sorry, I'm out. // ごめん、抜けるね。] to [チャット v]\nadd [You're good! // 上手だね！] to [チャット v]\nadd [Thank you! // ありがとう！] to [チャット v]\nadd [Bye! // またね！] to [チャット v]\nadd [:D] to [チャット v]\nadd [Follow me! // フォローして！] to [チャット v]\nadd [\(/>w<\)/] to [チャット v]\nadd [Yeah! // イェーイ！] to [チャット v]\n\ndefine プレイヤー計算\nset [_players v] to [0]\nset [__i v] to [1]\nrepeat (length of [player uids v])\n    if <(item (__i) of [player uids v]) > []> then\n        change [_players v] by (1)\n    end\n    change [__i v] by (1)\nend\nset [_players v] to ((_players) + (1))\n\n@Cloud Player\n\ndefine Write Number (val) to encoded string\nset [val v] to (round (val))\nif <(val) < [0]> then\n    set [val v] to (join [0] ([abs v] of (val) ))\nend\nset [encoded string v] to (join (encoded string) (join (length of (val)) (val)))\n\ndefine val = READ NUMBER from "encoded string"\nset [val v] to []\nrepeat (letter (encoded idx) of (encoded string))\n    change [encoded idx v] by (1)\n    set [val v] to (join (val) (letter (encoded idx) of (encoded string)))\nend\nchange [encoded idx v] by (1)\nif <(letter (1) of (val)) = [0]> then\n    set [val v] to ((0) - (val))\nend\n\nwhen I receive [cloud - setup v]\nhide\nset [cloud tick v] to [0]\ndelete all of [my values to send v]\ndelete all of [cloud values v]\ndelete all of [player uids v]\ndelete all of [player data v]\nadd (join [c] (☁ CLOUD 1)) to [cloud values v]\nadd (join [c] (☁ CLOUD 2)) to [cloud values v]\nadd (join [c] (☁ CLOUD 3)) to [cloud values v]\nadd (join [c] (☁ CLOUD 4)) to [cloud values v]\nadd (join [c] (☁ CLOUD 5)) to [cloud values v]\nadd (join [c] (☁ CLOUD 6)) to [cloud values v]\nadd (join [c] (☁ CLOUD 7)) to [cloud values v]\nadd (join [c] (☁ CLOUD 8)) to [cloud values v]\nset [my player uid v] to (pick random (1) to (9999999))\nset [player # v] to []\n\nwhen I receive [cloud - tick v]\nif <(Player #) > []> then\n    Player Clone Tick\n    stop [this script v]\nend\nchange [cloud tick v] by (1)\nProcess Cloud Item [1] value (join [c] (☁ CLOUD 1))\nProcess Cloud Item [2] value (join [c] (☁ CLOUD 2))\nProcess Cloud Item [3] value (join [c] (☁ CLOUD 3))\nProcess Cloud Item [4] value (join [c] (☁ CLOUD 4))\nProcess Cloud Item [5] value (join [c] (☁ CLOUD 5))\nProcess Cloud Item [6] value (join [c] (☁ CLOUD 6))\nProcess Cloud Item [7] value (join [c] (☁ CLOUD 7))\nProcess Cloud Item [8] value (join [c] (☁ CLOUD 8))\nSend my Cloud Date after [4] ticks\n\ndefine Send my Cloud Date after (count) ticks\nif <((CLOUD TICK) mod (count)) > [0]> then\n    stop [this script v]\nend\nset [encoded string v] to []\nWrite Number (MY PLAYER UID) to encoded string\nrepeat (length of [my values to send v])\n    Write Number (item (1) of [my values to send v]) to encoded string\n    delete (1) of [my values to send v]\nend\nset [my channel v] to (pick random (1) to (length of [cloud values v]))\nif <(MY CHANNEL) < [5]> then\n    if <(MY CHANNEL) < [3]> then\n        if <(MY CHANNEL) < [2]> then\n            set [☁ cloud 1 v] to (encoded string)\n        else\n            set [☁ cloud 2 v] to (encoded string)\n        end\n    else\n        if <(MY CHANNEL) < [4]> then\n            set [☁ cloud 3 v] to (encoded string)\n        else\n            set [☁ cloud 4 v] to (encoded string)\n        end\n    end\nelse\n    if <(MY CHANNEL) < [7]> then\n        if <(MY CHANNEL) < [6]> then\n            set [☁ cloud 5 v] to (encoded string)\n        else\n            set [☁ cloud 6 v] to (encoded string)\n        end\n    else\n        if <(MY CHANNEL) < [8]> then\n            set [☁ cloud 7 v] to (encoded string)\n        else\n            set [☁ cloud 8 v] to (encoded string)\n        end\n    end\nend\n\ndefine Process Cloud Item (which?) value (new value)\nif <(new value) = (item (which?) of [cloud values v])> then\n    stop [this script v]\nend\nreplace item (which?) of [cloud values v] with (new value)\nset [encoded string v] to (new value)\nset [encoded idx v] to [2]\nval = READ NUMBER from "encoded string"\nif <<(val) < [1]> or <(val) = (MY PLAYER UID)>> then\n    stop [this script v]\nend\nset [player # v] to (item # of (val) in [player uids v])\nif <(Player #) = [0]> then\n    set [player # v] to (item # of [] in [player uids v])\n    if <(Player #) = [0]> then\n        add (val) to [player uids v]\n        add [] to [player data v]\n        set [player # v] to (length of [player data v])\n        create clone of (_myself_ v)\n    else\n        replace item (Player #) of [player uids v] with (val)\n    end\nend\nreplace item (Player #) of [player data v] with (new value)\nset [player # v] to []\n\ndefine Player Clone Tick\nif <(encoded idx) > (length of (encoded string))> then\n    Get Next Data Packet\n    if <(encoded string) = []> then\n        change [inactive v] by (1)\n        クラウドセット\n        if <(Inactive) > [150]> then\n            replace item (Player #) of [player uids v] with []\n            hide\n        end\n        stop [this script v]\n    end\n    show\nend\nset [inactive v] to [0]\ndelete all of [クラウドリスト v]\nrepeat (3)\n    val = READ NUMBER from "encoded string"\n    add (val) to [クラウドリスト v]\nend\nクラウドセット\nrepeat (4)\n    val = READ NUMBER from "encoded string"\n    add (val) to [クラウドリスト v]\nend\nrepeat (item (7) of [クラウドリスト v])\n    val = READ NUMBER from "encoded string"\n    add (val) to [クラウドリスト v]\nend\n暗号➡ユーザー名\nif <<(item (4) of [クラウドリスト v]) = [1]> and <<(item (5) of [クラウドリスト v]) = (ステージ)> and <(ok) = [1]>>> then\n    show\n    if <(item (6) of [クラウドリスト v]) = [0]> then\n        say (_val)\n    else\n        say (join (_val) (join [：] (item (item (6) of [クラウドリスト v]) of [チャット v])))\n    end\nelse\n    hide\nend\n\ndefine Get Next Data Packet\nset [encoded string v] to (item (Player #) of [player data v])\nreplace item (Player #) of [player data v] with []\nset [encoded idx v] to [2]\nval = READ NUMBER from "encoded string"\n\nbroadcast (Cloud - Setup v) and wait\nforever\n    add (x position) to [my values to send v]\n    add (y position) to [my values to send v]\n    add (costume [number v]) to [my values to send v]\n    add (ok) to [my values to send v]\n    add (ステージ) to [my values to send v]\n    add (チャット番号) to [my values to send v]\n    broadcast (Cloud - Tick v)\nend\n\ndefine クラウドセット\ngo to x: (item (1) of [クラウドリスト v]) y: (item (2) of [クラウドリスト v])\nswitch costume to (item (3) of [クラウドリスト v])\n\ndefine 暗号➡ユーザー名\nset [_val v] to []\nset [_i v] to [8]\nrepeat (item (7) of [クラウドリスト v])\n    set [_val v] to (join (_val) (item (item (_i) of [クラウドリスト v]) of [暗号リスト v]))\n    change [_i v] by (1)\nend\n\n@サムネ\n\nwhen I receive [セレクト画面 v]\nhide\nforever\n    set [-timer v] to (timer)\nend\n\nwhen [timer v] > ((-timer) + (0.01))\nhide variable [time v]\nhide variable [☁ 世界記録だよぉ v]\nhide variable [active players v]\nshow\ngo to [front v] layer\npoint in direction (90)\ngo to x: (0) y: (0)\nswitch costume to (サムネ v)\n\nshow\ngo to [front v] layer\npoint in direction (90)\ngo to x: (0) y: (0)\nswitch costume to (サムネ v)\n\nwhen I receive [turbomode v]\nstop [other scripts in sprite v]\nhide\n\n