My Conviction-A Platformer

Instructions: Move Account https://scratch.mit.edu/projects/480528963/

@Stage\n\nwhen flag clicked\nreset timer\nhide variable [あなたのタイム v]\nset [今 v] to [1]\nforever\n    set [タイム v] to ((round ((timer) * (10))) / (10))\n    if <(リプレイ) = [0]> then\n        switch backdrop to (今)\n    end\n    if <(今) = [14]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [リプレイ v] to [0]\nforever\n    set [スキップ v] to [0]\n    if <(今) = [14]> then\n        if <(スキップ) = [0]> then\n            set [あなたのタイム v] to (タイム)\n            hide variable [タイム v]\n            show variable [あなたのタイム v]\n            if <(length of (あなたのタイム)) = [2]> then\n                set [あなたのタイム v] to (join (あなたのタイム) [.0])\n            end\n            if <(length of (あなたのタイム)) = [4]> then\n                broadcast (更新 v)\n            else\n                if <not <(length of (あなたのタイム)) = [4]>> then\n                    broadcast (ランキング v)\n                    set [あなたの順位 v] to [特定できません]\n                    show variable [あなたの順位 v]\n                    hide list [ランキング v]\n                end\n            end\n            show variable [あなたのタイム v]\n            wait (1) seconds\n            if <(スキップ) = [0]> then\n                if <(あなたのタイム) < (☁ 世界記録)> then\n                    set [☁ 世界記録 v] to (あなたのタイム)\n                    switch backdrop to (15 v)\n                    start sound [Tada v]\n                end\n            end\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nset volume to (30) %\nforever\n    play sound [Alan Walker - Fade \[NCS Release\] v] until done\nend\n\nwhen flag clicked\nset [a v] to [0]\nforever\n    change [a v] by (0.1)\nend\n\nwhen flag clicked\nset [前 v] to [0]\nset [a増加量 v] to [0]\nforever\n    wait (1) seconds\n    set [a増加量 v] to ((A) - (前))\n    set [前 v] to (A)\nend\n\nwhen flag clicked\nforever\n    if <[10] < (A増加量)> then\n        broadcast (ターボ v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide variable [a v]\nset [スキップ v] to [0]\nhide variable [a増加量 v]\nforever\n    wait until <key (space v) pressed?>\n    show variable [a v]\n    show variable [a増加量 v]\n    wait until <not <key (space v) pressed?>>\n    wait until <key (space v) pressed?>\n    hide variable [a v]\n    hide variable [a増加量 v]\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <<(backdrop [name v]) = [14]> or <(backdrop [name v]) = [15]>> then\n    end\nend\n\nif <key (r v) pressed?> then\n    set [リプレイ v] to [1]\n    broadcast (リプレイ v)\nend\n\nwhen I receive [更新 v]\ndelete all of [ランキング v]\nset [どこ2 v] to [0]\nrepeat ((length of (☁ クラウドリスト)) / (3))\n    add (join (letter ((どこ2) + (1)) of (☁ クラウドリスト)) (join (letter ((どこ2) + (2)) of (☁ クラウドリスト)) (join [.] (letter ((どこ2) + (3)) of (☁ クラウドリスト))))) to [ランキング v]\n    change [どこ2 v] by (3)\nend\n特定 (あなたのタイム)\nset [どこ2 v] to [0]\nset [☁ クラウドリスト v] to []\nrepeat (length of [ランキング v])\n    change [どこ2 v] by (1)\n    set [☁ クラウドリスト v] to (join (☁ クラウドリスト) (join (letter (1) of (item (どこ2) of [ランキング v])) (join (letter (2) of (item (どこ2) of [ランキング v])) (letter (4) of (item (どこ2) of [ランキング v])))))\nend\nshow variable [あなたの順位 v]\nhide list [ランキング v]\n\ndefine 特定 (タイム)\nset [どこ2 v] to [1]\nrepeat until <(タイム) < (item (どこ2) of [ランキング v])>\n    change [どこ2 v] by (1)\nend\ninsert (タイム) at (どこ2) of [ランキング v] \nset [あなたの順位 v] to (どこ2)\n\nwhen flag clicked\nforever\n    if <<<(backdrop [number v]) = [14]> or <(backdrop [number v]) = [15]>> and <(リプレイ) = [0]>> then\n        show variable [あなたの順位 v]\n        hide list [ランキング v]\n        show variable [全取得のあなたの順位 v]\n        if <(コイン) = [10]> then\n            show variable [全取得のあなたの順位 v]\n        else\n            hide variable [全取得のあなたの順位 v]\n        end\n    else\n        hide variable [あなたの順位 v]\n        hide variable [全取得のあなたの順位 v]\n        show list [ランキング v]\n    end\nend\n\nwhen I receive [ランキング v]\ndelete all of [ランキング v]\nset [どこ2 v] to [0]\nrepeat ((length of (☁ クラウドリスト)) / (3))\n    add (join (letter ((どこ2) + (1)) of (☁ クラウドリスト)) (join (letter ((どこ2) + (2)) of (☁ クラウドリスト)) (join [.] (letter ((どこ2) + (3)) of (☁ クラウドリスト))))) to [ランキング v]\n    change [どこ2 v] by (3)\nend\n\nwhen flag clicked\nwait (0.01) seconds\nhide variable [ｘ v]\nhide variable [ｙ v]\n\nwhen I receive [スタート v]\n\nwhen I receive [更新 v]\n\nwhen I receive [更新2 v]\n\nwhen flag clicked\n\nwait until <key (c v) pressed?>\nwait until <not <key (c v) pressed?>>\nwait until <key (a v) pressed?>\nwait until <not <key (a v) pressed?>>\nwait until <key (t v) pressed?>\nwait until <not <key (t v) pressed?>>\nset [裏技 v] to [2]\nchange [☁ 裏技見つけた人数 v] by (1)\n\nforever\n    create clone of (金 v)\n    wait (pick random (0.1) to (0.5)) seconds\nend\n\nif <[0] < (スキップ)> then\n    set [あなたのタイム v] to [がんばりました！]\n    show variable [あなたのタイム v]\n    broadcast (ランキング v)\n    set [あなたの順位 v] to [特定できません]\n    show variable [あなたの順位 v]\n    hide list [ランキング v]\nend\n\nset [今 v] to [14]\n\nset [☁ 世界記録 v] to [40.7]\n\n@スプライト1\n\nwhen I receive [スタート v]\npoint in direction (90)\nset size to (100) %\nshow\ngo to x: (-205) y: (90)\nset [ｘ v] to [0]\nset [ｙ v] to [0]\nset rotation style [left-right v]\nforever\n    if <(リプレイ) = [0]> then\n        if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n            change [ｘ v] by (-1)\n            point in direction (-90)\n        end\n        if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n            change [ｘ v] by (1)\n            point in direction (90)\n        end\n        set [ｘ v] to ((ｘ) * (0.9))\n        change x by (ｘ)\n        if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n            change y by (1)\n            if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n                change y by (1)\n                if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n                    change y by (1)\n                    if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n                        change y by (1)\n                        if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n                            change y by (1)\n                            if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n                                change x by ((ｘ) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n                                    if <(ｘ) > [0]> then\n                                        set [ｘ v] to [-6]\n                                    else\n                                        set [ｘ v] to [6]\n                                    end\n                                    set [ｙ v] to [10]\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 (-2)\n        if <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n            if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n                set [ｙ v] to [15]\n                broadcast (ジャンプ v)\n            end\n            if <touching (スプライト6 v)?> then\n                if <not <touching color (#3d2966)?>> then\n                    set [ｙ v] to [3]\n                else\n                    set [ｙ v] to [15]\n                    broadcast (ジャンプ v)\n                end\n            end\n        end\n        change y by (1)\n        change y by (ｙ)\n        change [ｙ v] by (-1)\n        if <<touching color (#ffb300)?> or <<<<< or <touching color (#ff6680)?>> or <<touching color (#5cb1d6)?> or <touching color (#9966ff)?>>> or <touching color (#ffab19)?>> or <<touching color (#59c059)?> or <touching color (#ff8c1a)?>>> or <<touching color (#4c97ff)?> or <touching color (#ffbf00)?>>>> then\n            change y by ((ｙ) * (-1))\n            set [ｙ v] to [0]\n        end\n        if  then\n            change y by ((ｙ) * (2))\n            set [ｙ v] to [0]\n        end\n        if <[239] < (x position)> then\n            if <not <<(backdrop [number v]) = [14]> or <(backdrop [number v]) = [15]>>> then\n                change [今 v] by (1)\n                broadcast (次 v)\n                set [ｘ v] to [0]\n                set [ｙ v] to [0]\n                go to x: (-205) y: (90)\n            end\n        end\n        if <(y position) < [-169]> then\n            set [ｘ v] to [0]\n            set [ｙ v] to [0]\n            start sound [Pluck v]\n            go to x: (-205) y: (90)\n        end\n        if <<<< or <touching color (#ff5c00)?>> or <touching color (#ff00f5)?>> or <touching color (#1fff00)?>> or <touching color (#00adff)?>> then\n            set [ｘ v] to [0]\n            set [ｙ v] to [0]\n            start sound [Pluck v]\n            go to x: (-205) y: (90)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (150) %\ngo to x: (179) y: (-89)\ndelete all of [リプレイ v]\ndelete all of [リプレイ2 v]\ndelete all of [リプレイ3 v]\ndelete all of [リプレイ4 v]\ndelete all of [リプレイ5 v]\npoint in direction (90)\nswitch costume to (1 v)\nhide\n\nshow\n\nwhen I receive [ジャンプ v]\nplay sound [Jump v] until done\n\nwhen I receive [スタート v]\nset [コイン v] to [0]\npoint in direction (90)\nset size to (100) %\nshow\ngo to x: (-205) y: (-40)\nset [ｘ v] to [0]\nset [ｙ v] to [0]\nset rotation style [left-right v]\nforever\n\nadd (timer) to [リプレイ3 v]\n\nwhen I receive [スタート v]\nforever\n    if <(リプレイ) = [0]> then\n        wait (0.02) seconds\n        add (x position) to [リプレイ v]\n        add (y position) to [リプレイ2 v]\n        add (backdrop [number v]) to [リプレイ3 v]\n        add (costume [number v]) to [リプレイ4 v]\n        add (direction) to [リプレイ5 v]\n    end\nend\n\nwhen I receive [リプレイ v]\nswitch backdrop to (1 v)\nreset timer\nset [どこ v] to [1]\nrepeat (length of [リプレイ3 v])\n    wait (0.02) seconds\n    go to x: (item (どこ) of [リプレイ v]) y: (item (どこ) of [リプレイ2 v])\n    switch backdrop to (item (どこ) of [リプレイ3 v])\n    switch costume to (item (どこ) of [リプレイ4 v])\n    point in direction (item (どこ) of [リプレイ5 v])\n    change [どこ v] by (1)\nend\nset [リプレイ v] to [0]\n\nwhen flag clicked\nset [ブラックホール v] to [0]\nforever\n    if <(ブラックホール) = [1]> then\n        if <([x position v] of [ブラックホール v]) < (x position)> then\n            change [ｘ v] by (-0.6)\n        end\n        if <(x position) < ([x position v] of [ブラックホール v])> then\n            change [ｘ v] by (0.6)\n        end\n    end\nend\n\nwait (0.1) seconds\nwait until <(item (1) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (2 v)\nwait until <(item (2) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (3 v)\nwait until <(item (3) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (4 v)\nwait until <(item (4) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (5 v)\nwait until <(item (5) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (6 v)\nwait until <(item (6) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (7 v)\nwait until <(item (7) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (8 v)\nwait until <(item (8) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (9 v)\nwait until <(item (9) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (10 v)\nwait until <(item (10) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (11 v)\nwait until <(item (11) of [リプレイ3 v]) < (timer)>\nswitch backdrop to (12 v)\nset [リプレイ v] to [0]\n\nwhen flag clicked\nforever\n    if <(リプレイ) = [0]> then\n        if <<key (down arrow v) pressed?> or <<(mouse y) < [-90]> and <mouse down?>>> then\n            switch costume to (2 v)\n        else\n            switch costume to (1 v)\n        end\n    end\nend\n\nset [☁ クラウドリスト v] to (join (☁ クラウドリスト) [999])\n\nwhen I receive [スタート v]\nforever\n    if <key (s v) pressed?> then\nend\n\nwhen flag clicked\n\nask [❤と★は押しましたか？] and wait\n\nif <(リプレイ) = [0]> then\n    change [今 v] by (1)\n    broadcast (次 v)\n    set [ｘ v] to [0]\n    set [ｙ v] to [0]\n    change [スキップ v] by (1)\n    go to x: (-205) y: (-40)\n    wait until <not <key (s v) pressed?>>\nend\n\n\n\nset [ブラックホール v] to [1]\n\nif <([y position v] of [ブラックホール v]) < (y position)> then\n    change [ｙ v] by (-1)\nend\nif <(y position) < ([y position v] of [ブラックホール v])> then\n    change [ｙ v] by (1)\nend\n\nset [☁ wr v] to [43.8]\n\n@スプライト2\n\nwhen flag clicked\npoint in direction (90)\nhide\n\nwhen I receive [スタート v]\nhide\n\n@スプライト3\n\nwhen flag clicked\nhide variable [タイム v]\ngo to x: (-12) y: (15)\nshow\n\nwhen I receive [スタート v]\nhide\nreset timer\nshow variable [タイム v]\n\n@スプライト4\n\nwhen flag clicked\nshow\ngo to x: (0) y: (-120)\nset size to (150) %\nforever\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            broadcast (スタート v)\n            hide\n            stop [this script v]\n        end\n        set size to (200) %\n    else\n        set size to (150) %\n    end\nend\n\nif  then\nend\n\nwhen I receive [スタート v]\nset [今 v] to [1]\nset size to (1) %\ngo to x: (-240) y: (-180)\n\nwhen flag clicked\n\nrepeat (20)\n    change size by (2)\nend\nforever\n    repeat (20)\n        change size by (-2)\n    end\n    repeat (20)\n        change size by (2)\n    end\nend\n\nif <not <<(backdrop [number v]) = [8]> or <(backdrop [number v]) = [9]>>> then\n    if <(リプレイ) = [0]> then\n        if <key (0 v) pressed?> then\n            wait until <not <key (0 v) pressed?>>\n            broadcast (スタート v)\n            hide\n        end\n    end\nend\n\nbroadcast (スタート v)\n\n@スプライト5\n\nwhen I receive [ターボ v]\nhide variable [タイム v]\nhide variable [あなたのタイム v]\nhide variable [☁ 世界記録 v]\nshow\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nhide\n\n@金\n\nwhen flag clicked\nset size to (50) %\nhide\nset [裏技 v] to [1]\n\nwhen I start as a clone\ngo to x: (pick random (-235) to (235)) y: (180)\nswitch costume to (裏技)\nshow\ngo to [back v] layer\nif <(pick random (1) to (2)) = [1]> then\n    repeat until <<touching color (#ff0000)?> or <<touching color (#ff4040)?> or <<touching color (#f2ff00)?> or <touching color (#003bff)?>>>>\n        turn right (5) degrees\n        change y by (-3)\n        if <(y position) < [-179]> then\n            delete this clone\n        end\n    end\nelse\n    repeat until <<touching color (#ff0000)?> or <<touching color (#ff4040)?> or <<touching color (#f2ff00)?> or <touching color (#003bff)?>>>>\n        turn left (5) degrees\n        change y by (-3)\n        if <(y position) < [-179]> then\n            delete this clone\n        end\n    end\nend\ndelete this clone\n\n@スプライト7\n\nwhen flag clicked\ngo to x: (20) y: (10)\nhide\n\nwhen I receive [次 v]\nclear graphic effects\nwait (30) seconds\n\nshow\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nclear graphic effects\nhide\n\n@ブロック1\n\ndefine 配置 (ｘ) (ｙ) (向き) (大きさ) (種類)\ngo to x: (ｘ) y: (ｙ)\npoint in direction (向き)\nset size to (大きさ) %\nswitch costume to (種類)\nstamp\n\nwhen flag clicked\nerase all\n\nwhen I receive [次 v]\nerase all\n\nwhen I receive [スタート v]\nerase all\n配置 [-180] [-150] [90] [200] [1]\n配置 [80] [-150] [70] [200] [4]\n\nwhen I receive [次 v]\nerase all\nif <(今) = [2]> then\n    配置 [-90] [-150] [90] [200] [2]\n    配置 [80] [-60] [0] [200] [6]\n    配置 [180] [-100] [75] [150] [3]\nend\nif <(今) = [3]> then\n    配置 [0] [-150] [100] [270] [5]\n    配置 [-50] [-50] [0] [150] [7]\n    配置 [100] [100] [170] [120] [8]\nend\nif <(今) = [4]> then\n    配置 [0] [-150] [90] [250] [9]\n    配置 [0] [-90] [90] [100] [1-2]\nend\nif <(今) = [5]> then\n    配置 [-170] [-120] [90] [150] [10]\n    配置 [150] [-120] [100] [100] [8]\nend\nif <(今) = [6]> then\n    配置 [-100] [-140] [80] [150] [4]\n    配置 [0] [-95] [0] [80] [2-1]\nend\nif <(今) = [7]> then\n    配置 [0] [-140] [80] [200] [8]\n    配置 [-50] [-120] [0] [120] [3-2]\n    配置 [150] [-150] [160] [120] [4-2]\nend\nif <(今) = [8]> then\n    配置 [-200] [-140] [0] [100] [6]\n    配置 [0] [-90] [180] [250] [10]\n    配置 [120] [60] [90] [120] [8]\n    配置 [60] [85] [90] [50] [3-2]\n    配置 [190] [85] [90] [50] [3-2]\nend\nif <(今) = [9]> then\n    配置 [-150] [-140] [80] [120] [7]\n    配置 [-30] [-45] [0] [150] [9]\n    配置 [120] [100] [180] [120] [8]\n    配置 [120] [-150] [90] [150] [5]\n    配置 [20] [-120] [90] [50] [1-2]\n    配置 [245] [-50] [0] [120] [4-2]\nend\nif <(今) = [10]> then\n    配置 [-150] [-140] [80] [150] [2]\n    配置 [50] [-140] [85] [150] [5-2]\n    配置 [205] [-140] [170] [150] [3]\n    配置 [-50] [-50] [0] [120] [4]\nend\nif <(今) = [11]> then\n    配置 [-150] [-140] [30] [150] [4]\n    配置 [160] [-150] [150] [150] [2]\n    配置 [205] [140] [85] [150] [7]\nend\nif <(今) = [12]> then\n    配置 [-90] [-20] [31] [150] [4]\n    配置 [120] [-50] [150] [150] [2]\n    配置 [190] [140] [85] [150] [7]\n    配置 [240] [-150] [320] [120] [9]\nend\nif <(今) = [13]> then\n    配置 [-70] [0] [30] [150] [4]\n    配置 [100] [-30] [150] [150] [2]\n    配置 [170] [120] [87] [150] [7]\n    配置 [220] [-130] [320] [120] [9]\nend\nif <(今) = [14]> then\n    配置 [-140] [-150] [80] [150] [4]\n    配置 [100] [-140] [128] [150] [2]\n    配置 [170] [-82] [128] [150] [7]\n    配置 [220] [-173] [308] [120] [9]\nend\n\nclear sound effects\n\nerase all\n\nset [今 v] to [11]\nset [ブラックホール v] to [1]\n\n@ブラックホール\n\nwhen flag clicked\nset [ブラックホール v] to [0]\nforever\n    turn right (2) degrees\n    go to x: (0) y: (120)\n    change [color v] effect by (2)\nend\n\nwhen flag clicked\nwait until <(今) = [11]>\nset [ブラックホール v] to [1]\nwait until <(今) = [13]>\nset [ブラックホール v] to [0]\n\nwhen flag clicked\nset [ブラックホール v] to [0]\nforever\n    if <(ブラックホール) = [0]> then\n        hide\n    else\n        show\n    end\nend\n\n@スプライト6\n\nwhen flag clicked\ngo to x: (20) y: (20)\nhide\nforever\n    if <<(backdrop [number v]) = [14]> or <(backdrop [number v]) = [15]>> then\n        show\n    else\n        hide\n    end\nend\n\nset [☁ クラウドリスト v] to [999]\n\n@スプライト8\n\nwhen flag clicked\ngo to x: (-10) y: (90)\nhide\nforever\n    if  then\n        show\n    else\n        hide\n    end\nend\n\n