Platformer！

Instructions: プラットフォーマーコンテスト！\nhttps://scratch.mit.edu/projects/752573630\n日本語　（English↓）\n右キーor右側タップ→右に進む\n左キーor左側タップ→左に進む\n上キーor上側タップ→ジャンプ\nジャンプ台で大ジャンプ！！\n勝手に動くベルトコンベアー！？\nボタンで壁を消去\n動く地面も！？\n\nENGLISH\nRight key or right tap → go right\nLeft key or left tap → Go left\nUp key or upper tap → jump\nBig jump on the jump table! !\nA conveyor belt that moves on its own! ?\nErase wall with button\nEven the moving ground! ?

@Stage\n\nwhen flag clicked\nset [time v] to [0]\nhide variable [time v]\nset [time v] to [0]\nbroadcast (start v)\nbroadcast (曲 v)\n\nwhen I receive [start v]\nrepeat until <(next) = [18]>\n    change [time v] by (0.1)\n    wait (0.1) seconds\nend\nset [time v] to ((round ((10) * (time))) / (10))\nshow variable [time v]\nset [☁ time v] to (time)\n\nwhen I receive [曲 v]\nplay sound [はるのようせい v] until done\nbroadcast (曲 v)\n\nset [☁ time v] to [100]\n\nwhen I receive [jump v]\nplay sound [Jump v] until done\n\n@プレイヤー\n\nwhen I receive [jump v]\nplay sound [Jump v] until done\n\nwhen flag clicked\nhide\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [start v]\nshow\npoint in direction (90)\nset [a v] to [0]\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [next v] to [1]\nset [y v] to [0]\nswitch costume to (コスチューム1 v)\nforever\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<[0] < (mouse x)> and <mouse down?>>> then\n        point in direction (90)\n        change [x v] by (0.9)\n    end\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < [0]> and <mouse down?>>> then\n        point in direction (-90)\n        change [x v] by (-0.9)\n    end\n    set [x v] to ((X) * (0.92))\n    change x by (X)\n    if <<touching (地面 v)?> or <<touching (動く地面 v)?> or <touching (消える壁 v)?>>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <<touching (動く地面 v)?> or <touching (消える壁 v)?>>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <<touching (動く地面 v)?> or <touching (消える壁 v)?>>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <<touching (動く地面 v)?> or <touching (消える壁 v)?>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <<touching (動く地面 v)?> or <touching (消える壁 v)?>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <<touching (動く地面 v)?> or <touching (消える壁 v)?>>> then\n                            change y by (1)\n                            if <<touching (地面 v)?> or <<touching (消える壁 v)?> or <touching (動く地面 v)?>>> then\n                                change x by ((0) - (X))\n                                change y by (-5)\n                                if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> then\n                                    broadcast (jump v)\n                                    if <[0] < (X)> then\n                                        set [x v] to [-8.25]\n                                    else\n                                        set [x v] to [8.25]\n                                    end\n                                    set [y v] to [10]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-0.5)\n    change y by (Y)\n    if <<touching (地面 v)?> or <<touching (動く地面 v)?> or <touching (消える壁 v)?>>> then\n        change y by ((0) - (Y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> and <<touching (地面 v)?> or <touching (動く地面 v)?>>> then\n        set [y v] to [10]\n        broadcast (jump v)\n    end\n    change y by (1)\n    if <<touching (トゲ v)?> or <<touching (回るトゲ v)?> or <(y position) < [-170]>>> then\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching (壁消去 v)?> then\n        broadcast (壁消去 v)\n    end\n    if <[239] < (x position)> then\n        broadcast (next v)\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching (← v)?> then\n        change [x v] by (-0.375)\n    end\n    if <touching (→ v)?> then\n        change [x v] by (0.5)\n    end\n    if <touching (水 v)?> then\n        change [y v] by (0.4)\n        if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> then\n            set [y v] to [2.9]\n        end\n    end\n    if <touching (ジャンプ台 v)?> then\n        set [y v] to [16]\n        broadcast (jump台 v)\n        broadcast (jump v)\n    end\nend\n\nwhen I receive [リスポーン v]\ngo to x: (-200) y: (0)\n\n@地面\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [next v]\nchange [next v] by (1)\nnext costume\n\n@トゲ\n\nwhen I receive [start v]\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [next v]\nnext costume\n\n@ジャンプ台\n\nwhen flag clicked\nwait (0.1) seconds\nswitch costume to (コスチューム1 v)\nwait until <(next) = [7]>\nshow\ngo to x: (-100) y: (-88)\nwait until <(next) = [8]>\nhide\nwait until <(next) = [17]>\nshow\ngo to x: (-185) y: (-89)\nwait until <(next) = [18]>\nhide\n\nwhen I receive [jump台 v]\nswitch costume to (コスチューム4 v)\nwait (0.075) seconds\nswitch costume to (コスチューム3 v)\nwait (0.075) seconds\nswitch costume to (コスチューム2 v)\nwait (0.075) seconds\nswitch costume to (コスチューム3 v)\nwait (0.075) seconds\nswitch costume to (コスチューム4 v)\nwait (0.075) seconds\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nhide\n\n@壁消去\n\nwhen flag clicked\nwait (0.1) seconds\nswitch costume to (コスチューム1 v)\nhide\nwait until <(next) = [13]>\ngo to x: (20) y: (58)\nshow\nwait until <(next) = [14]>\nhide\nswitch costume to (コスチューム1 v)\n\nwhen I receive [壁消去 v]\nswitch costume to (コスチューム2 v)\n\nwait until <(next) = [24]>\ngo to x: (-50) y: (100)\nshow\nswitch costume to (コスチューム3 v)\nwait until <(next) = [25]>\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@→\n\nwhen flag clicked\nwait (0.1) seconds\ngo to [back v] layer\ngo to x: (0) y: (0)\nhide\nwait until <(next) = [11]>\nshow\nswitch costume to (コスチューム2 v)\nwait until <(next) = [12]>\nbroadcast (反対 v)\nhide\n\n@回るトゲ\n\nwhen flag clicked\nwait (0.1) seconds\nset size to (100) %\nhide\nwait until <(next) = [9]>\ngo to x: (0) y: (0)\nshow\nrepeat until <(next) = [10]>\n    turn left (3) degrees\nend\nhide\nwait until <(next) = [17]>\ngo to x: (150) y: (0)\nshow\nrepeat until <(next) = [18]>\n    turn left (3) degrees\nend\nhide\n\n@動く地面\n\nwhen flag clicked\nwait (0.1) seconds\nhide\nswitch costume to (コスチューム1 v)\nwait until <(next) = [10]>\nshow\ngo to x: (6) y: (0)\nwait (1) seconds\nrepeat until <(next) = [11]>\n    glide (5) secs to x: (6) y: (182)\n    wait (2) seconds\n    glide (5) secs to x: (6) y: (0)\n    wait (2) seconds\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(next) = [11]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@消える壁\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\nwait until <[13] = (next)>\nshow\ngo to x: (-100) y: (0)\n\nwhen I receive [壁消去 v]\nhide\n\n@サムネ\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\ngo [backward v] (2) layers\nshow\n\n@←\n\nwhen flag clicked\nwait (0.1) seconds\ngo to [back v] layer\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [反対 v]\nshow\nswitch costume to (コスチューム1 v)\nwait until <(next) = [13]>\nhide\n\n@タボフィー\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        show\n        go to [front v] layer\n    else\n        go to [front v] layer\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    change [turbo v] by (1)\nend\n\n@通れる壁\n\nwhen flag clicked\nwait (0.1) seconds\n\nswitch costume to (コスチューム1 v)\nhide\ngo to [front v] layer\nwait until <[10] = (next)>\nshow\ngo to x: (0) y: (0)\nrepeat until <(next) = [11]>\n    if <touching (プレイヤー v)?> then\n        set [ghost v] effect to (20)\n    else\n        set [ghost v] effect to (0)\n    end\nend\nswitch costume to (コスチューム2 v)\nrepeat until <(next) = [12]>\n    if <touching (プレイヤー v)?> then\n        set [ghost v] effect to (20)\n    else\n        set [ghost v] effect to (0)\n    end\nend\nhide\n\nwhen I receive [壁消去 v]\nhide\n\n@スプライト1\n\nwhen flag clicked\nforever\n    reset timer\n    go to (プレイヤー v)\n    go to [front v] layer\n    go [backward v] (2) layers\n    show\nend\n\nset size to (200) %\n\nwhen [timer v] > (0)\nhide\n\n@スプライト2\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\nforever\n    show\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen this sprite clicked\nset [x v] to [0]\nset [y v] to [0]\nbroadcast (リスポーン v)\n\n