☁ Mars ☁ || [PART  3] A multiplayer scrolling platformer #games #all #game

Instructions: was #2 on trending!!!!!!!!\n\nNo ads or they will be reported \nTurbo warp:\nhttps://turbowarp.org/474143156\n\nMOBILE CONTROLS:\n· Everything is normal touch where you wanna go \n\nDesktop Controls:\n· Use arrow keys or WASD\n· It is a multiplayer game so others can see you\nand you can see them\n- Press N to reduce lag\n\nThanks to these people for support and follow them:\n@codeknight10\n@titanium01\n@codeitwithaasiya\n@mfmmaryam\n\n\n\n\n@codeknight10  ← click that\nComment  "best game ever!"\n\nQ&A:\nWhy can't I see anyone?\nNo one is online or you are a new scratcher or your internet isn't working or you previously hit see inside\n\nF4f?\nNO\n\nCan we advertise?\nNO\n\nWhen is part 4 coming out?\nAfter I make Cops & Robbers☁

@Stage\n\nwhen [m v] key pressed\nshow variable [mouse x,y v]\nset [mouse x,y v] to (join ((mouse x) + (SCROLL X)) (join [,] ((mouse y) + (SCROLL Y))))\nwait (3) seconds\nhide variable [mouse x,y v]\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Force v] until done\nend\n\n@Blank\n\nwhen flag clicked\n\n@Player\n\nwhen I receive [begin v]\nset [chat v] to [0]\nshow list [chat v]\nforever\n    Chat\nend\n\nif <<key (t v) pressed?> or <<touching (mouse-pointer v)?> and <mouse down?>>> then\n    if <(Chat) = [1]> then\n        show list [chat v]\n        set [chat v] to [0]\n        wait until <<not <<touching (mouse-pointer v)?> and <mouse down?>>> and <not <key (t v) pressed?>>>\n        if <(Chat) = [0]> then\n            set [chat v] to [1]\n            wait until <<not <<touching (mouse-pointer v)?> and <mouse down?>>> and <not <key (t v) pressed?>>>\n        end\n    end\nend\n\nwhen I receive [play game v]\nset [connected? v] to [0]\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\ndefine Change Player x by (sx)\npoint in direction (90)\nchange [x v] by (sx)\nPosition\nif <<touching (platforms2 v)?> or <touching (platforms v)?>> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <<touching (platforms2 v)?> or <touching (platforms v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <<touching (platforms2 v)?> or <touching (platforms v)?>>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <<touching (platforms2 v)?> or <touching (platforms v)?>>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Game On\nset [y v] to [0]\nset [x v] to [0]\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset [ghost v] effect to (0)\nset size to (100) %\n\ndefine Test - Die\nif <touching (danger v)?> then\n    start sound [Hurt v]\n    set [collectibles\(saved\) v] to (COLLECTED)\n    set [exit v] to [die]\nend\nif <touching (saws v)?> then\n    start sound [Hurt v]\n    set [collectibles\(saved\) v] to (COLLECTED)\n    set [exit v] to [die]\nend\n\ndefine Game - Die\nset [exit v] to []\nstart sound [Hurt v]\n\ndefine Game - Win\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\nwait (1) seconds\n\ndefine Tick\nif <not <key (any v) pressed?>> then\n    switch costume to (normal v)\nend\nif <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    switch costume to (left v)\n    change [sx v] by (-2)\nend\nif <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    switch costume to (right v)\n    change [sx v] by (2)\nend\nif <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n    switch costume to (left up v)\nend\nif <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n    switch costume to (right up v)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player x by (round (sx))\nend\nif <<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <(in air) < [4]> then\n        if <(DoubleJumpBought) = [1]> then\n            set [sy v] to [30]\n        else\n            set [sy v] to [16]\n        end\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange Player y by (sy)\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\nif <(x) < [-220]> then\n    set [x v] to [-220]\nend\n\nwhen flag clicked\nhide\nset [max players v] to [8]\nset [my player # v] to [0]\nbroadcast (Connecting v)\nbroadcast (Setup Others v) and wait\nbroadcast (Join Game v) and wait\nif <(MY PLAYER #) > [0]> then\n    broadcast (Connected v)\n    start sound [Connect v]\nelse\n    broadcast (Full v)\n    start sound [Disconnect v]\nend\nbroadcast (Begin v)\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ p1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ p2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ p3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ p4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ p5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ p6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ p7 v] to (value)\n                        else\n                            if <(player) = [8]> then\n                                set [☁ p8 v] to (value)\n                            else\n                                if <(player) = [9]> then\n                                    set [☁ p9 v] to (value)\n                                else\n                                    if <(player) = [10]> then\n                                        set [☁ p10 v] to (value)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine write (val) to encoded\nset [letter # v] to [1]\nrepeat (length of (val))\n    set [encoded v] to (join (encoded) (item # of (letter (letter #) of (val)) in [code v]))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (encoded) [00])\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) > [0]> then\n        send cloud data\n    end\nend\n\ndefine send cloud data\nset [encoded v] to []\nwrite (username) to encoded\nwrite (round ((timer) * (10))) to encoded\nwrite (x) to encoded\nwrite (y) to encoded\nwrite (Chat Words) to encoded\nset cloud # (MY PLAYER #) to (encoded)\n\ndefine Chat\nif <(Chat) = [1]> then\n    if <key (1 v) pressed?> then\n        set [chat words v] to [1]\n        say (item (1) of [chat v])\n        wait (2) seconds\n        say []\n        set [chat words v] to [0]\n    else\n        if <key (2 v) pressed?> then\n            set [chat words v] to [2]\n            say (item (2) of [chat v])\n            wait (2) seconds\n            say []\n            set [chat words v] to [0]\n        else\n            if <key (3 v) pressed?> then\n                set [chat words v] to [3]\n                say (item () of [chat v])\n                wait (2) seconds\n                say []\n                set [chat v] to [0]\n            else\n                if <key (4 v) pressed?> then\n                    set [chat words v] to [4]\n                    say (item (4) of [chat v])\n                    wait (2) seconds\n                    say []\n                    set [chat words v] to [0]\n                else\n                    if <key (5 v) pressed?> then\n                        set [chat words v] to [5]\n                        say (item (5) of [chat v])\n                        wait (2) seconds\n                        say []\n                        set [chat words v] to [0]\n                    else\n                        if <key (6 v) pressed?> then\n                            set [chat words v] to [6]\n                            say (item (6) of [chat v])\n                            wait (2) seconds\n                            say []\n                            set [chat words v] to [0]\n                        else\n                            if <key (7 v) pressed?> then\n                                set [chat words v] to [7]\n                                say (item (7) of [chat v])\n                                wait (2) seconds\n                                say []\n                                set [chat words v] to [0]\n                            else\n                                if <key (8 v) pressed?> then\n                                    set [chat words v] to [8]\n                                    say (item (8) of [chat v])\n                                    wait (2) seconds\n                                    say []\n                                    set [chat words v] to [0]\n                                else\n                                    if <key (9 v) pressed?> then\n                                        set [chat words v] to [9]\n                                        say (item (9) of [chat v])\n                                        wait (2) seconds\n                                        say []\n                                        set [chat words v] to [0]\n                                    else\n                                        set [chat words v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [connected v]\nset [connected? v] to [1]\nshow\n\nwhen I receive [connecting v]\nhide\n\nwhen I receive [play game v]\nforever\n    if <(Connected?) = [1]> then\n        broadcast (Reset v) and wait\n        broadcast (Setup v) and wait\n        Game On\n        repeat until <(EXIT) > []>\n            Tick\n            broadcast (Tick v)\n        end\n        if <(EXIT) = [win]> then\n            Game - Win\n        else\n            Game - Die\n        end\n    end\nend\n\nwhen I receive [connected v]\nset [level v] to [1]\n\ndefine Player Tick\n\nwhen flag clicked\nforever\n    if <(MiniModeBought) = [1]> then\n        if <key (down arrow v) pressed?> then\n            set size to (40) %\n            wait until <not <key (down arrow v) pressed?>>\n            set [sy v] to [10]\n        else\n            if <key (s v) pressed?> then\n        end\n    end\nend\n\nset size to (100) %\n\nwhen flag clicked\nforever\n    if <<touching color (#ff4d00)?> or <<touching color (#ff3f00)?> or <touching color (#ff6100)?>>> then\n        start sound [Hurt v]\n        set [collectibles\(saved\) v] to (COLLECTED)\n        set [exit v] to [die]\n    end\n    if <touching (meteors v)?> then\n        start sound [Hurt v]\n        set [collectibles\(saved\) v] to (COLLECTED)\n        set [exit v] to [die]\n    end\n    if <<touching color (#ff0000)?> or <<touching color (#ff0000)?> or <touching color (#ff1900)?>>> then\n        start sound [Hurt v]\n        set [collectibles\(saved\) v] to (COLLECTED)\n        set [exit v] to [die]\n    end\nend\n\nwhen flag clicked\nset [collectibles\(saved\) v] to [0]\nforever\n    if <(COLLECTED) = [0]> then\n        set [collected v] to (Collectibles\(Saved\))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(MiniModeBought) = [1]> then\n        if <key (s v) pressed?> then\n            set size to (40) %\n            wait until <not <key (s v) pressed?>>\n            set [sy v] to [10]\n        else\n            if <key (down arrow v) pressed?> then\n        end\n    end\nend\n\nwhen [c v] key pressed\nif <(username) = [IAMibrahim]> then\n    set [x v] to [2283]\n    set [y v] to [1188]\nend\n\nwhen flag clicked\nbroadcast (afgsghghdj v)\n\nwhen flag clicked\nbroadcast (afgsghghdj v)\n\nwhen flag clicked\nbroadcast (afgsghghdj v)\nbroadcast (afgsghghdj v)\n\n@Others\n\nwhen I receive [begin v]\nset [names v] to [1]\nforever\n    if <key (n v) pressed?> then\n        if <(names) = [1]> then\n            wait until <not <key (n v) pressed?>>\n            set [names v] to [0]\n        else\n            wait until <not <key (n v) pressed?>>\n            set [names v] to [1]\n        end\n    end\nend\n\nwhen I receive [setup others v]\nsetup players\n\ndefine setup players\nhide\nset [offline v] to [100]\nset [player # v] to [1]\nrepeat ((MAX PLAYERS) - (1))\n    create clone of (_myself_ v)\n    change [player # v] by (1)\nend\n\ndefine value = cloud # (player)\nif <(player) = [1]> then\n    set [value v] to (☁ P1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ P2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ P3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ P4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ P5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ P6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ P7)\n                        else\n                            if <(player) = [8]> then\n                                set [value v] to (☁ P8)\n                            else\n                                if <(player) = [9]> then\n                                    set [value v] to (☁ P9)\n                                else\n                                    if <(player) = [10]> then\n                                        set [value v] to (☁ P10)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) = (player #)> then\n        set [offline v] to [100]\n        hide\n    else\n        Tick\n    end\nend\n\ndefine Tick\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    change [offline v] by (1)\n    if <(offline) = [100]> then\n        hide\n    end\nelse\n    set [last value v] to (join [A] (value))\n    if <(offline) > [99]> then\n        show\n    end\n    set [offline v] to [0]\nend\nbegin decode of (value)\nvalue = read from encoded\nif <(names) = [1]> then\n    say (join (player #) (join [:] (value)))\nelse\n    say []\nend\nvalue = read from encoded\nvalue = read from encoded\nset x to ((value) - (SCROLL X))\nvalue = read from encoded\nset y to (((value) - (SCROLL Y)) + (8))\nvalue = read from encoded\nbroadcast (Decode Chat v)\n\ndefine begin decode of (encoded)\nset [encoded v] to (encoded)\nset [letter # v] to [1]\n\ndefine value = read from encoded\nset [value v] to []\nforever\n    set [idx v] to (join (letter (letter #) of (encoded)) (letter ((letter #) + (1)) of (encoded)))\n    change [letter # v] by (2)\n    if <(idx) < [1]> then\n        stop [this script v]\n    end\n    set [value v] to (join (value) (item (idx) of [code v]))\nend\n\nwhen I receive [join game v]\nvalue = cloud # (player #)\nset [last value v] to (join [A] (value))\nwait (3) seconds\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    set [my player # v] to (player #)\nend\n\ndefine Decode Chat (chat)\nif <(chat) = [1]> then\n    say (item (1) of [chat v]) for (2) seconds\nelse\n    if <(chat) = [2]> then\n        say (item (2) of [chat v]) for (2) seconds\n    else\n        if <(chat) = [3]> then\n            say (item (3) of [chat v]) for (2) seconds\n        else\n            if <(chat) = [4]> then\n                say (item (4) of [chat v]) for (2) seconds\n            else\n                if <(chat) = [5]> then\n                    say (item (5) of [chat v]) for (2) seconds\n                else\n                    if <(chat) = [6]> then\n                        say (item (6) of [chat v]) for (2) seconds\n                    else\n                        if <(chat) = [7]> then\n                            say (item (7) of [chat v]) for (2) seconds\n                        else\n                            if <(chat) = [8]> then\n                                say (item (8) of [chat v]) for (2) seconds\n                            else\n                                if <(chat) = [9]> then\n                                    say (item (9) of [chat v]) for (2) seconds\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [decode chat v]\nDecode Chat (value)\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [240] y: [0]\n    Clone at x: [100] y: [285]\nend\nhide\n\ndefine Position (x) (y)\nset size to (100) %\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [5]> then\n        forever\n            repeat (8)\n                LavaDown\n            end\n            LavaGoingUp\n            repeat (10)\n                LavaUp\n            end\n            LavaGoingDown\n        end\n    end\nend\n\ndefine LavaGoingUp\nswitch costume to (lavadown3 v)\nwait (0.2) seconds\nswitch costume to (lavadown2 v)\nwait (1) seconds\nswitch costume to (lavadown1 v)\nwait (0.2) seconds\n\ndefine LavaUp\nswitch costume to (lavaup1 v)\nwait (0.2) seconds\nswitch costume to (lavaup2 v)\nwait (0.2) seconds\nswitch costume to (lavaup3 v)\nwait (0.2) seconds\n\ndefine LavaGoingDown\nswitch costume to (lavadown1 v)\nwait (0.2) seconds\nswitch costume to (lavadown2 v)\nwait (0.2) seconds\nswitch costume to (lavadown3 v)\nwait (0.2) seconds\n\ndefine LavaDown\nswitch costume to (lavadown4 v)\nwait (0.2) seconds\n\nwhen I start as a clone\ngo to [back v] layer\n\nforever\n\n@Landscape\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\nset size to (100) %\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [3]> then\n        if <touching (player v)?> then\n            repeat (5)\n                change [ghost v] effect by (20)\n            end\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\n@Collectables\n\nwhen I receive [green flag v]\nhide\nset [keys v] to [0]\n\nwhen I receive [tick v]\nif <(letter (1) of (costume [name v])) = [c]> then\n    next costume\n    if <(letter (1) of (costume [name v])) = [k]> then\n        next costume\n    end\nend\nPosition ((Collectables: x) - (SCROLL X)) ((Collectables: y) - (SCROLL Y))\nif <touching (player v)?> then\n    if <(letter (1) of (costume [name v])) = [c]> then\n        change [collected v] by (1)\n    else\n        change [keys v] by (1)\n    end\n    delete this clone\nend\n\nwhen I receive [setup v]\nset [coins v] to [0]\nhide\nset [collectables: x v] to [0]\nset [collectables: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (coin1 v)\n    Clone at x: [127] y: [-61]\n    Clone at x: [184] y: [-21]\n    Clone at x: [242] y: [-29]\n    Clone at x: [289] y: [-54]\n    Clone at x: [578] y: [149]\n    Clone at x: [618] y: [149]\n    Clone at x: [658] y: [149]\n    Clone at x: [1423] y: [183]\n    Clone at x: [1463] y: [183]\n    Clone at x: [1503] y: [183]\n    Clone at x: [1864] y: [702]\n    Clone at x: [1884] y: [742]\n    Clone at x: [1904] y: [702]\n    Clone at x: [1338] y: [942]\n    Clone at x: [1338] y: [982]\n    Clone at x: [1854] y: [1400]\n    Clone at x: [1854] y: [1440]\n    Clone at x: [1854] y: [1480]\n    Clone at x: [301] y: [1065]\n    Clone at x: [1894] y: [1480]\n    Clone at x: [1894] y: [1440]\n    Clone at x: [1894] y: [1400]\n    Clone at x: [1934] y: [1400]\n    Clone at x: [1934] y: [1440]\n    Clone at x: [1934] y: [1480]\n    Clone at x: [1974] y: [1480]\n    Clone at x: [1974] y: [1440]\n    Clone at x: [1974] y: [1400]\n    Clone at x: [2014] y: [1480]\n    Clone at x: [2014] y: [1440]\n    Clone at x: [2014] y: [1400]\n    Clone at x: [2054] y: [1480]\n    Clone at x: [2054] y: [1440]\n    Clone at x: [2054] y: [1400]\nend\nset [collectables: x v] to [-9999999999]\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [collectables: x v] to (x)\nset [collectables: y v] to (y)\ncreate clone of (_myself_ v)\n\n@Exit\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nswitch costume to (open v)\nPosition ((Exit: x) - (SCROLL X)) ((Exit: y) - (SCROLL Y))\nif <<touching (player v)?> and <(costume [number v]) = [1]>> then\n    set [exit v] to [win]\nend\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [exit: x v] to [0]\nset [exit: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (closed v)\n    Clone at x: [2315] y: [286]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (closed v)\n        Clone at x: [2315] y: [286]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (closed v)\n            Clone at x: [2315] y: [286]\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to [back v] layer\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [exit: x v] to (x)\nset [exit: y v] to (y)\n\nshow\n\n@Chat\n\nwhen I receive [tick v]\nif <(Chat) = [1]> then\n    show\nelse\n    hide\nend\nif <key (space v) pressed?> then\n    broadcast (Chat Close v)\n    hide\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [chat open v]\nset [chat v] to [1]\n\nwhen I receive [chat close v]\nset [chat v] to [0]\n\n@Chat Button\n\nwhen I receive [tick v]\nif <touching (mouse-pointer v)?> then\n    repeat until <(size) > [119]>\n        change [size v] by (.9)\n        change size by (size)\n    end\n    if <mouse down?> then\n        broadcast (Chat Open v)\n        hide\n        wait until <not <mouse down?>>\n    end\nelse\n    repeat until <(size) < [101]>\n        set [size v] to [-.8]\n        change [size v] by (-.9)\n        change size by (size)\n    end\nend\n\nwhen I receive [chat close v]\nset size to (100) %\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [begin v]\nset [size v] to [.8]\nshow\nrepeat (40)\n    change [ghost v] effect by (-3)\nend\n\nwhen flag clicked\ngo to [front v] layer\nhide\ngo to x: (0) y: (0)\nchange [ghost v] effect by (100)\n\nwhen flag clicked\ngo to x: (-193) y: (-156)\nset size to (100) %\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nbroadcast (Thanks v)\n\ngo to x: (0) y: (0)\nshow\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Thanks\n\nwhen I receive [thanks v]\nswitch costume to (costume2 v)\ngo to x: (-210) y: (50)\nshow\ngo to [front v] layer\nstart sound [pop v]\nrepeat (9)\n    change y by (-6)\nend\nrepeat (5)\n    change y by (3)\nend\nrepeat (5)\n    change y by (-3)\nend\nwait (1) seconds\nrepeat (10)\n    change y by (6)\nend\nhide\n\nwhen I start as a clone\ngo to x: (0) y: (-50)\nshow\ngo to [front v] layer\nrepeat (12)\n    change y by (-9)\nend\nrepeat (5)\n    change y by (3)\nend\nrepeat (5)\n    change y by (-1)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (50)\n        if <(costume [number v]) = [2]> then\n            if <mouse down?> then\n                set [costume v] to [2]\n                repeat (25)\n                    change y by (10)\n                end\n                hide\n                delete this clone\n            end\n        else\n            if <(costume [number v]) = [3]> then\n                if <mouse down?> then\n                    set [costume v] to [1]\n                    repeat (25)\n                        change y by (15)\n                    end\n                    hide\n                    delete this clone\n                end\n            end\n        end\n    else\n        set [ghost v] effect to (0)\n    end\n    if <(Costume) > [0.99]> then\n        repeat (25)\n            change y by (15)\n        end\n        hide\n        delete this clone\n    end\n    hide\n    delete this clone\nend\n\nwhen flag clicked\nhide\nset [costume v] to [0.9]\n\nwhen I receive [begin v]\nset [costume v] to [0.9]\nwait (0.1) seconds\nset [costume v] to [0.9]\nwait (0.2) seconds\nset [costume v] to [0.9]\n\n@Joining\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [connecting v]\nswitch costume to (joining v)\nshow\n\nwhen I receive [connected v]\ngo [forward v] (1322) layers\nstart sound [Connect v]\nswitch costume to (connected v)\nshow\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [full v]\nswitch costume to (full  v)\nshow\n\n@Loading\n\nwhen flag clicked\ngo [forward v] (213) layers\nset size to (100) %\nhide\npoint in direction (90)\nclear graphic effects\ngo to x: (0) y: (-80)\n\nwhen I receive [connecting v]\nrepeat (11)\n    create clone of (_myself_ v)\n    turn right (40) degrees\nend\n\nwhen I receive [connected v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (100)\nforever\n    repeat (20)\n        turn right (7.5) degrees\n        change [ghost v] effect by (-6)\n        change size by (1)\n    end\n    repeat (20)\n        turn right (7.5) degrees\n        change [ghost v] effect by (6)\n        change size by (-1)\n    end\nend\n\n@text\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\nset size to (100) %\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\n@meteors\n\nwhen I start as a clone\ngo to x: (pick random (-240) to (240)) y: (170)\npoint in direction (32)\nswitch costume to (pick random (1) to (3))\nshow\nrepeat until <<touching (player v)?> or <<touching (platforms v)?> or <touching (platforms2 v)?>>>\n    change y by (-3)\n    wait (0.1) seconds\nend\nif <<touching (platforms v)?> or <touching (platforms2 v)?>> then\n    Explode\nend\ndelete this clone\n\nglide (pick random (3) to (5)) secs to x: (y position) y: (-180)\n\ndefine Explode\nswitch costume to (explode1 v)\nwait (0.1) seconds\nswitch costume to (explode2 v)\nwait (0.1) seconds\nswitch costume to (explode3 v)\nwait (0.1) seconds\nswitch costume to (explode4 v)\nwait (0.1) seconds\nswitch costume to (explode5 v)\nwait (0.1) seconds\nswitch costume to (explode6 v)\nwait (0.1) seconds\nswitch costume to (explode7 v)\nwait (0.1) seconds\nswitch costume to (explode8 v)\nwait (0.1) seconds\nswitch costume to (explode9 v)\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <key (right arrow v) pressed?> then\n        change x by (-8)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <key (left arrow v) pressed?> then\n        change x by (8)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <key (up arrow v) pressed?> then\n        change y by (0.5)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [playerycheck2 v] to (playerYCheck)\n    wait (0.2) seconds\n    if <(playerYCheck) < (PlayerYCheck2)> then\n        change y by (-0.5)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(y position) = [-180]> then\n        delete this clone\n    end\nend\n\n@shop\n\nwhen flag clicked\nset [shopopened? v] to [0]\nswitch costume to (shop v)\ngo to x: (0) y: (0)\ngo to [front v] layer\n\nwhen this sprite clicked\nset [shopopened? v] to [1]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to x: (-120) y: (0)\nswitch costume to (costume1 v)\nwait until <<mouse down?> and <touching (mouse-pointer v)?>>\nset [shopopened? v] to [0]\ndelete this clone\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    if <(shopOpened?) = [1]> then\n        show\n        switch costume to (costume1 v)\n        create clone of (_myself_ v)\n        wait until <not <(shopOpened?) = [1]>>\n    else\n        hide\n        wait until <not <(shopOpened?) = [0]>>\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nswitch costume to (costume2 v)\nwait until <(shopOpened?) = [0]>\ndelete this clone\n\nwhen I start as a clone\nset [parachute v] to [0]\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        if <(COLLECTED) > [9]> then\n    end\nend\n\nchange [collected v] by (-10)\nset [parachute v] to [1]\n\n@Sprite2\n\nwhen flag clicked\nhide\nforever\n    if <(shopOpened?) = [1]> then\n        show\n        switch costume to (costume1 v)\n        create clone of (_myself_ v)\n        go to [front v] layer\n        wait until <not <(shopOpened?) = [1]>>\n    else\n        hide\n        wait until <not <(shopOpened?) = [0]>>\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nswitch costume to (costume2 v)\nwait until <(shopOpened?) = [0]>\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        if <(COLLECTED) > [4]> then\n            change [collected v] by (-5)\n            set [minimodebought v] to [1]\n            wait until <not <mouse down?>>\n        end\n    end\nend\n\nwhen flag clicked\nset [minimodebought v] to [0]\nset [doublejumpbought v] to [0]\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        if <(COLLECTED) > [9]> then\n            change [collected v] by (-10)\n            set [doublejumpbought v] to [1]\n            wait until <not <mouse down?>>\n        end\n    end\nend\n\n@parachute\n\nwhen flag clicked\n\nforever\n    go to (player v)\n    if <key (space v) pressed?> then\n        if <not <(in air) = [0]>> then\n            show\n            change [sy v] by (2)\n        end\n    else\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    hide\n    reset timer\nend\n\nwhen [timer v] > (0.3)\nshow\ngo to [front v] layer\n\n@Sprite5\n\nwhen flag clicked\nhide\nforever\n    if <(EXIT) = [win]> then\n        wait (2) seconds\n        show\n        go to [front v] layer\n        Win_Animation\n    end\nend\n\nwhen [timer v] > (0.3)\n\ndefine Win_Animation\nswitch costume to (costume5 v)\nrepeat (5)\n    wait (0.5) seconds\n    next costume\nend\nwait (3) seconds\nswitch costume to (costume1 v)\n\nwhen I start as a clone\n\nwhen I receive [done with clone v]\nswitch costume to (costume11 v)\nwait (2) seconds\nswitch costume to (costume1 v)\ngo to [front v] layer\n\nglide (1) secs to x: (200) y: (0)\n\n@Sprite6\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen I receive [intro v]\nforever\n    go to [front v] layer\nend\n\n@Sprite7\n\nwhen flag clicked\nforever\n    if <<(COLLECTED) > [10]> or <(COLLECTED) = [10]>> then\n        show\n        switch costume to (letter (2) of (COLLECTED))\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Sprite8\n\nwhen flag clicked\nforever\n    show\n    switch costume to (letter (1) of (COLLECTED))\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Spikes\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nif <<(costume [number v]) = [3]> or <(costume [number v]) = [4]>> then\n    turn right (8) degrees\nelse\n    point in direction (90)\nend\ngo to [back v] layer\nPosition ((Collectables: x) - (SCROLL X)) ((Collectables: y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [collectibles\(saved\) v] to (COLLECTED)\n    set [exit v] to [die]\nend\n\nwhen I receive [setup v]\nset [coins v] to [0]\nhide\nset [collectables: x v] to [0]\nset [collectables: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (spike1 v)\n    Clone at x: [945] y: [33]\n    Clone at x: [1645] y: [255]\n    Clone at x: [1110] y: [727]\n    Clone at x: [1170] y: [727]\n    Clone at x: [1050] y: [727]\n    Clone at x: [990] y: [727]\n    Clone at x: [930] y: [727]\n    Clone at x: [870] y: [727]\n    Clone at x: [810] y: [727]\n    switch costume to (spike2 v)\n    Clone at x: [2092] y: [310]\n    switch costume to (saw v)\n    Clone at x: [1107] y: [17]\n    switch costume to (4 v)\n    Clone at x: [215] y: [-82]\nend\nset [collectables: x v] to [-9999999999]\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [collectables: x v] to (x)\nset [collectables: y v] to (y)\ncreate clone of (_myself_ v)\n\nchange [exit v] by (1)\n\nwhen flag clicked\n\nset [:done v] to [0]\n\nwhen I start as a clone\nset [intro over v] to [0]\nwait until <(intro over) = [1]>\nforever\n    if <(costume [name v]) = [4]> then\n        repeat (25)\n            change x by (-2)\n        end\n        repeat (25)\n            change x by (2)\n        end\n    end\nend\n\n@checkpoints\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\ngo to [back v] layer\nPosition ((Collectables: x) - (SCROLL X)) ((Collectables: y) - (SCROLL Y))\nif <<(costume [number v]) < [4]> or <(costume [number v]) = [4]>> then\n    if <touching (player v)?> then\n        switch costume to (checkpointyes v)\n        set [check point# v] to [1]\n    end\nend\n\nwhen I receive [setup v]\nset [coins v] to [0]\nhide\nset [collectables: x v] to [0]\nset [collectables: y v] to [0]\nif <(LEVEL) = [1]> then\n    if <(check point#) < [1]> then\n        switch costume to (checkpointno v)\n        Clone at x: [1618] y: [800]\n    end\n    if <[0] < (check point#)> then\n        switch costume to (checkpointyes v)\n        Clone at x: [1618] y: [818]\n    end\n    switch costume to (speakeralien v)\n    Clone at x: [1270] y: [922]\n    if <(Bridge) = [1]> then\n        switch costume to (costume1 v)\n        Clone at x: [981] y: [887]\n    end\n    switch costume to (the beginning v)\n    Clone at x: [100] y: [95]\n    switch costume to (path v)\n    Clone at x: [651] y: [979]\n    Clone at x: [259] y: [1143]\n    switch costume to (fall v)\n    Clone at x: [-29] y: [1143]\n    Clone at x: [2508] y: [1166]\n    Clone at x: [2237] y: [1440]\n    switch costume to (explorers v)\n    Clone at x: [1730] y: [1495]\nend\nset [collectables: x v] to [-9999999999]\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [collectables: x v] to (x)\nset [collectables: y v] to (y)\ngo to [back v] layer\ncreate clone of (_myself_ v)\n\nchange [exit v] by (1)\n\nwhen flag clicked\nset [check point# v] to [0]\n\nwhen flag clicked\nforever\n    if <(EXIT) = [die]> then\n        if <(check point#) = [0]> then\n            set [scroll x v] to [0]\n            set [scroll y v] to [0]\n        end\n        if <(check point#) = [1]> then\n            repeat (10)\n                set [x v] to [1621]\n                set [y v] to [818]\n            end\n        end\n    end\nend\n\nset [scroll x v] to [0]\nset [scroll y v] to [0]\n\ndefine Text: (text) Duration: (duration)\nset [saying v] to (text)\nset [saying# v] to [1]\nset [said v] to []\nrepeat (length of (Saying))\n    say (join (Said) (letter (Saying#) of (Saying)))\n    set [said v] to (join (Said) (letter (Saying#) of (Saying)))\n    change [saying# v] by (1)\n    wait ((duration) / (length of (Saying))) seconds\nend\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        if <(costume [number v]) = [5]> then\n            Text: [Welcome to Valles Marineris! It is a huge canyon on Mars and in real life too! Funfact: It is as large as 4000km which is as big as the United States] Duration: [3]\n            wait (1) seconds\n            Text: [So do you wanna get across because I will build you a bridge if you give me 10 coins] Duration: [2]\n            wait (1) seconds\n            Text: [Press X to pay for a bridge across the Valles Marineris] Duration: [1]\n            wait (2) seconds\n            say []\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        if <(costume [number v]) = [5]> then\n            if <key (x v) pressed?> then\n                if <[9] < (COLLECTED)> then\n                    change [collected v] by (-10)\n                    set [bridge v] to [1]\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [bridge v] to [0]\nwait until <(Bridge) = [1]>\nswitch costume to (costume1 v)\nClone at x: [981] y: [887]\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [6]> then\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [7]> then\n        set size to (100) %\n        set rotation style [left-right v]\n    end\nend\n\n@platforms2\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\ngo to [back v] layer\nPosition ((Collectables: x) - (SCROLL X)) ((Collectables: y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [die]\n    if <(costume [number v]) = [9]> then\n        delete this clone\n    end\n    if <(costume [number v]) = [10]> then\n        delete this clone\n    end\nend\n\nwhen I receive [setup v]\nset [coins v] to [0]\nhide\nset [collectables: x v] to [0]\nset [collectables: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (spike2 v)\n    Clone at x: [1770] y: [611]\n    switch costume to (spike3 v)\n    Clone at x: [1324] y: [770]\n    switch costume to (spike4 v)\n    Clone at x: [844] y: [770]\n    switch costume to (spike5 v)\n    Clone at x: [836] y: [1036]\n    switch costume to (spike6 v)\n    Clone at x: [1400] y: [1090]\n    switch costume to (laser1 v)\n    Clone at x: [1700] y: [1090]\n    if <(Bridge) = [1]> then\n        switch costume to (bridge v)\n        Clone at x: [981] y: [887]\n    end\n    switch costume to (otherway1 v)\n    Clone at x: [382] y: [966]\n    switch costume to (otherwayfail1 v)\n    Clone at x: [41] y: [1041]\n    switch costume to (otherway2 v)\n    Clone at x: [471] y: [1151]\n    switch costume to (otherway3 v)\n    Clone at x: [843] y: [1249]\nend\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [collectables: x v] to (x)\nset [collectables: y v] to (y)\ncreate clone of (_myself_ v)\n\nchange [exit v] by (1)\n\nClone at x: [565] y: [40]\nClone at x: [630] y: [40]\nClone at x: [680] y: [40]\n\nwhen I start as a clone\nif <(costume [name v]) = [Laser1]> then\n    forever\n        switch costume to (laser1 v)\n        wait (1) seconds\n        switch costume to (laser2 v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [connected v]\nwait until <(Bridge) = [1]>\nswitch costume to (bridge v)\nClone at x: [981] y: [887]\n\nwhen I start as a clone\nforever\n    if <<(costume [number v]) = [9]> or <(costume [number v]) = [10]>> then\n        show\n        wait (1) seconds\n        hide\n    end\nend\n\nhide\n\ndefine Delete keyhole (number)\nif <(number) = [1]> then\n    broadcast (DeleteKey1 v)\nend\nif <(number) = [2]> then\n    broadcast (DeleteKey2 v)\nend\n\nwhen I receive [deletekey1 v]\nif <(costume [number v]) = [9]> then\n    hide\n    delete this clone\nend\n\nwhen I receive [deletekey2 v]\nif <(costume [number v]) = [10]> then\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nforever\n\nswitch costume to (otherway3 v)\nClone at x: [] y: []\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nwait (5) seconds\ndelete this clone\n\nwhen I receive [intro v]\nset [intro over v] to [0]\nset [x2 v] to [-210]\nset [y2 v] to [150]\nrepeat (48)\n    Clone (x2) , (y2)\nend\n\nset [intro over v] to [1]\n\ndefine Clone (x) , (y)\nswitch costume to (screenshot 2020-09-17 085202 v)\ngo to [front v] layer\ngo to x: (x) y: (y)\nchange [x2 v] by (60)\ncreate clone of (_myself_ v)\nif <[210] < (x2)> then\n    set [x2 v] to [-210]\n    change [y2 v] by (-60)\nend\n\n@Sprite10\n\nwhen I start as a clone\ngo to x: (0) y: (0)\nswitch costume to (space v)\n\nwhen I start as a clone\nforever\n    glide (0.5) secs to x: (-30) y: (0)\n    glide (0.5) secs to x: (0) y: (0)\nend\n\nwhen I receive [delete space v]\ndelete this clone\n\nwhen I start as a clone\ngo to [front v] layer\nshow\n\nwhen I receive [connected v]\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nshow\ncreate clone of (_myself_ v)\nrepeat until <<key (space v) pressed?> or <mouse down?>>\nswitch costume to (costume2 v)\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nrepeat until <<key (space v) pressed?> or <mouse down?>>\nswitch costume to (costume3 v)\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nrepeat until <<key (space v) pressed?> or <mouse down?>>\nswitch costume to (costume5 v)\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nrepeat until <<key (space v) pressed?> or <mouse down?>>\nswitch costume to (costume4 v)\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nrepeat until <<key (space v) pressed?> or <mouse down?>>\nswitch costume to (costume6 v)\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nwait until <<key (space v) pressed?> or <mouse down?>>\nbroadcast (Intro v)\nwait (3) seconds\nhide\nbroadcast (delete space v)\n\nwhen flag clicked\nhide\n\n@mass report stopper\n\nwhen I start as a clone\ncreate clone of (_myself_ v)\ndelete this clone\n\ndefine CrAsH THE MAsS REPORTERS\nif <touching (mouse-pointer v)?> then\n    create clone of (_myself_ v)\nelse\n    CrAsH THE MAsS REPORTERS\nend\n\nwhen flag clicked\nCrAsH THE MAsS REPORTERS\n\n