自分を地面に⁉︎-プラットフォーマー　　　 Put yourself on the ground!? - Platformer

Instructions: 新作→https://scratch.mit.edu/projects/759957938/\nゲーム人気2P⁉︎(ﾟ∀ﾟ)\n人気8P⁉︎\nYoutubeで実況されました！\n参照数40000ありがとう！\nハート1000ありがとう！\n☆1000ありがとう！\n日本語は下です\nえ⁉︎コミュリミだとぉ⁉︎(嬉しい）\nみんなコメントを_gobo_と_meow_で埋め尽くせー！\n今日誕生日だからフォローして!(11/3)\nメモとクレジットの下の方見て\n2→https://scratch.mit.edu/projects/720169711/\n\nYou can operate with arrow keys or screen tap\nYou can come out and use it as a foothold when you are hit where you were hit.\nYou can erase the scaffolding when you are killed with the R key or ↩️\nUse yourself well and clear!\nIf you find it interesting, hearts and stars, please follow me! ! ! \n\n矢印キー又は画面タップで操作できます\n自分がやられた所にやられた時の自分が出てきて足場にすることができます\nRキー又は↩️でやられた時の足場を消すことができます\n自分をうまく使ってクリアして下さい！\n面白かったら，ハートと星，フォローお願い！！！！\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [Open Secrets v] until done\nend\n\n@player\n\nwhen I receive [suta-to  v]\nset volume to (100) %\n\nwhen flag clicked\nhide\nset size to (80) %\ngo to x: (-220) y: (50)\nset [ghost v] effect to (100)\ngo to [back v] layer\n\nwhen I start as a clone\nswitch costume to (player2 v)\nrepeat (9)\n    change [brightness v] effect by (3)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwhen flag clicked\nshow\nwait (2.4) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<<<touching (降るとげ v)?> or <<touching (spike v)?> or <(y position) < [-183]>>> or <touching (降るとげ2 v)?>> or <touching (降るとげ3 v)?>> then\n        start sound [crashed oof v]\n        set [やられ場所x v] to (x position)\n        set [やられ場所y v] to (y position)\n        create clone of (やられた主人公 v)\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n    end\n    if <<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ニュッ v]\n                                if <(xのやつ) > [0]> then\n                                    set [xのやつ v] to [-7]\n                                else\n                                    set [xのやつ v] to [7]\n                                end\n                                set [ｙだー v] to [15]\n                            else\n                                set [xのやつ v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [16.3]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    change [ｙだー v] by (-1)\n    change y by (ｙだー)\n    if <<touching (地面 v)?> or <touching (やられた主人公 v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (next v)\n        start sound [Rip v]\n        go to x: (-216) y: (50)\n    end\nend\n\nwhen flag clicked\n\n@地面\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    set [背景 v] to (costume [number v])\nend\n\nwhen flag clicked\nhide variable [デス記録 v]\nset [デス記録 v] to (デス記録)\nforever\n    if <(背景) = [15]> then\n        show variable [デス記録 v]\n        if <(デス記録) > (タイム)> then\n            set [デス記録 v] to (タイム)\n        end\n    end\nend\n\n\n\n@spike\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [next v]\nnext costume\n\n@やられた主人公\n\nwhen flag clicked\nhide\nset size to (80) %\ndelete this clone\n\nwhen I start as a clone\nchange [☁ デス記録 v] by (1)\nshow\ngo to x: (やられ場所X) y: (やられ場所Y)\n\nwhen I receive [next v]\ndelete this clone\n\nwhen [r v] key pressed\nstart sound [Connect v]\ndelete this clone\n\nwhen flag clicked\n\nwhen I receive [やられたああああ v]\nstart sound [Connect v]\ndelete this clone\n\n@サムネ詐欺の被害者的なやつというかもはや被害者みたいなアイスクリーム食べたい何処か（そこにもいそう）なおっさん臭がする虫の形をしたサムネイル\n\nwhen flag clicked\nshow\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nforever\n    go to [front v] layer\nend\n\nset [ghost v] effect to (100)\n\n@降るとげ\n\nwhen flag clicked\nhide\nforever\n    if <(背景) = [1]> then\n        hide\n    end\n    if <(背景) = [2]> then\n        hide\n    end\n    if <(背景) = [3]> then\n        hide\n    end\n    if <(背景) = [4]> then\n        hide\n    end\n    if <(背景) = [5]> then\n        hide\n    end\n    if <(背景) = [6]> then\n        hide\n    end\n    if <(背景) = [7]> then\n        show\n        glide (1) secs to (random position v)\n    end\n    if <(背景) = [8]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@降るとげ2\n\nwhen flag clicked\nhide\nforever\n    if <(背景) = [1]> then\n        hide\n    end\n    if <(背景) = [2]> then\n        hide\n    end\n    if <(背景) = [3]> then\n        hide\n    end\n    if <(背景) = [4]> then\n        hide\n    end\n    if <(背景) = [5]> then\n        hide\n    end\n    if <(背景) = [6]> then\n        hide\n    end\n    if <(背景) = [7]> then\n        hide\n    end\n    if <(背景) = [8]> then\n        show\n        turn right (45) degrees\n        repeat (10)\n            change size by (3)\n        end\n        wait (0.5) seconds\n        repeat (10)\n            change size by (-3)\n        end\n    end\n    if <(背景) = [9]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@リセット\n\nwhen flag clicked\nshow\nforever\n    go to x: (-180) y: (-75)\nend\n\nwhen this sprite clicked\nbroadcast (やられたああああ v)\nstop [this script v]\n\n@世界やられ大会優勝者\n\nwhen flag clicked\nshow\nshow variable [☁ デス記録 v]\n\n@ターボストップ\n\nwhen flag clicked\nforever\n    point in direction (0)\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    turn right (1) degrees\n    wait () seconds\n    if <(direction) > [39]> then\n        stop [all v]\n    end\nend\n\n