Metro City || ☁ Multiplayer Platformer
@Stage\n\nwhen flag clicked\nset [volume v] to [100]\nset [lock v] to [0]\nhide variable [volume v]\nset [lock v] to [0]\nset volume to (0) %\nswitch backdrop to (backdrop1 v)\nforever\n    if <not <<<(username) = [bogucsad000]> or <(username) = [-LeafFighter-]>> or <(username) = [GentleX]>>> then\n        play sound (pick random (1) to (3)) until done\n    else\n        if <<(username) = [-LeafFighter-]> or <(username) = [GentleX]>> then\n            play sound (pick random (1) to (3)) until done\n        else\n            play sound [3 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(mute?) = [0]> then\n        set volume to (Volume) %\n        clear sound effects\n    else\n        set [pitch v] effect to ((() - (1)) / ())\n        set volume to (0) %\n    end\nend\n\nwhen flag clicked\nforever\n    next backdrop\n    wait (.02) seconds\nend\n\nwhen [v v] key pressed\nif <(lock) = [0]> then\n    show variable [volume v]\n    set [lock v] to [1]\nelse\n    hide variable [volume v]\n    set [lock v] to [0]\nend\n\nwhen flag clicked\nset [leaf lock v] to [0]\nset [godmode v] to [1]\n\n@Blank\n\n@Player\n\nwhen flag clicked\ndelete all of [chat v]\nadd [Hey!] to [chat v]\nadd [Come with me!] to [chat v]\nadd [Ok!] to [chat v]\nadd [Nice!] to [chat v]\nadd [Watch Out!] to [chat v]\nadd [XD!] to [chat v]\nadd [LOL.] to [chat v]\nadd [I like this game!] to [chat v]\nadd [Lets Go To Server 2!] to [chat v]\n\nwhen flag clicked\nshow list [chat v]\nset [is the chat open v] to [0]\nforever\n    if <<key (t v) pressed?> or <<touching (mouse-pointer v)?> and <mouse down?>>> then\n        if <(is the chat open) = [1]> then\n            set [is the chat open v] to [0]\n        else\n            set [is the chat open v] to [1]\n        end\n        wait until <<not <<touching (mouse-pointer v)?> and <mouse down?>>> and <not <key (t v) pressed?>>>\n    end\n    Chat\nend\n\ndefine Chat\nif <(is the chat open) = [1]> then\n    if <key (1 v) pressed?> then\n        set [chat v] to [1]\n        say (item (CHAT) of [chat v])\n        wait (2) seconds\n        say []\n        set [chat v] to [0]\n    else\n        if <key (2 v) pressed?> then\n            set [chat v] to [2]\n            say (item (CHAT) of [chat v])\n            wait (2) seconds\n            say []\n            set [chat v] to [0]\n        else\n            if <key (3 v) pressed?> then\n                set [chat v] to [3]\n                say (item (CHAT) 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 v] to [4]\n                    say (item (CHAT) of [chat v])\n                    wait (2) seconds\n                    say []\n                    set [chat v] to [0]\n                else\n                    if <key (5 v) pressed?> then\n                        set [chat v] to [5]\n                        say (item (CHAT) of [chat v])\n                        wait (2) seconds\n                        say []\n                        set [chat v] to [0]\n                    else\n                        if <key (6 v) pressed?> then\n                            set [chat v] to [6]\n                            say (item (CHAT) of [chat v])\n                            wait (2) seconds\n                            say []\n                            set [chat v] to [0]\n                        else\n                            if <key (7 v) pressed?> then\n                                set [chat v] to [7]\n                                say (item (CHAT) of [chat v])\n                                wait (2) seconds\n                                say []\n                                set [chat v] to [0]\n                            else\n                                if <key (8 v) pressed?> then\n                                    set [chat v] to [8]\n                                    say (item (CHAT) of [chat v])\n                                    wait (2) seconds\n                                    say []\n                                    set [chat v] to [0]\n                                else\n                                    if <key (9 v) pressed?> then\n                                        set [chat v] to [9]\n                                        say (item (CHAT) of [chat v])\n                                        wait (2) seconds\n                                        say []\n                                        set [chat v] to [0]\n                                    else\n                                        set [chat 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\nset [max players v] to [10]\nset [my player # v] to [0]\nset [connect v] to [Connecting]\nbroadcast (setup opponents v) and wait\nbroadcast (join game v) and wait\nif <(MY PLAYER #) > [0]> then\n    set [connect v] to [Connected]\nelse\n    set [connect v] to [Full]\nend\nbroadcast (begin v)\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 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 send cloud data\nset [encoded v] to []\nwrite (costume [number v]) to encoded\nwrite (username) to encoded\nwrite (round ((timer) * (10))) to encoded\nwrite (x) to encoded\nwrite (y) to encoded\nwrite (CHAT) to encoded\nset cloud # (MY PLAYER #) to (encoded)\n\nwhen flag clicked\nbroadcast (Green flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Reset\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v)\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    else\n        set [exit v] to []\n    end\nend\n\ndefine Reset\nif <(CHECKPOINT) = [0]> then\n    set [x v] to [-100]\n    set [y v] to [-60]\n    set [scroll y v] to (y)\n    set [scroll x v] to (x)\nelse\n    if <(CHECKPOINT) = [1]> then\n        set volume to (25) %\n        start sound [Checkpoint v]\n        set [x v] to [210]\n        set [y v] to [60]\n        set [scroll y v] to (y)\n        set [scroll x v] to (x)\n    else\n        if <(CHECKPOINT) = [2]> then\n            set volume to (25) %\n            start sound [Checkpoint v]\n            set [x v] to [1372]\n            set [y v] to [-94]\n            set [scroll y v] to (y)\n            set [scroll x v] to (x)\n        else\n            if <(CHECKPOINT) = [3]> then\n                set volume to (25) %\n                start sound [Checkpoint v]\n                set [x v] to [2926]\n                set [y v] to [38]\n                set [scroll y v] to (y)\n                set [scroll x v] to (x)\n            end\n        end\n    end\nend\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [5]\nset [timout v] to [0]\nset [exit v] to []\nset size to (100) %\nset rotation style [left-right v]\nshow\n\ndefine Tick\nif <touching (ladder v)?> then\n    change [sx v] by ((2) * (<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) - (20)) > (x position)> and <mouse down?>>> - <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) + (20)) < (x position)> and <mouse down?>>>))\n    set [sx v] to ((sx) * (0.65))\nelse\n    change [sx v] by ((1.8) * (<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) - (20)) > (x position)> and <mouse down?>>> - <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) + (20)) < (x position)> and <mouse down?>>>))\n    set [sx v] to ((sx) * (0.75))\nend\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player x by (round (sx))\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> then\n    if <(in air) < [3]> then\n        if <(sy) > [-2]> then\n            if <(jump boost?) = [0]> then\n                set [sy v] to [12]\n            else\n                set [sy v] to [16]\n            end\n        end\n    end\nend\nif <touching (bouncy v)?> then\n    start sound [Mario_Jump_-_Gaming_Sound_Effect v]\n    set [sy v] to [20]\nend\nif <touching (bouncier v)?> then\n    start sound [Mario_Jump_-_Gaming_Sound_Effect v]\n    set [sy v] to [25]\nend\nif <touching (ladder v)?> then\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> then\n        change [y v] by (12)\n    end\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<((mouse y) + (20)) < (y position)> and <mouse down?>>> then\n        change [y v] by (-12)\n    end\n    set [sy v] to [0]\nelse\n    if <(sy) > [-20]> then\n        change [sy v] by (-1.3)\n    end\nend\nChange player y by (sy)\n Test - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nPosition\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 <<<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) - (20)) > (x position)> and <mouse down?>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) + (20)) < (x position)> and <mouse down?>>>> or <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> or <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<((mouse y) + (20)) > (y position)> and <mouse down?>>>>> then\n    set [timout v] to [0]\nelse\n    change [timout v] by (1)\nend\nif <(timout) > [999]> then\n    broadcast (timeout v)\n    hide\nend\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platforms v)?> then\n    repeat (8)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-8)\n    if <touching (platforms v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (5)) > (y position)> and <mouse down?>>> then\n            if <(sx) > [0]> then\n                set [sx v] to [-16]\n            else\n                set [sx v] to [16]\n            end\n            set [sy v] to [12]\n        end\n        Position\n    end\n    repeat until <not <touching (platforms v)?>>\n        change [x v] by ((([abs v] of (sx) ) / (sx)) * (-1))\n        Position\n    end\nend\n\ndefine Change player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <touching (platforms v)?>>\n    change [y v] by ((([abs v] of (sy) ) / (sy)) * (-1))\n    if <(sy) < [0]> then\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\nif <touching (jump_through v)?> then\n    if <(sy) < [0]> then\n        change [y v] by ((sy) * (-1))\n        set [sy v] to [0]\n        set [in air v] to [0]\n        Position\n    end\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine  Test - Die\nif <<<touching (spinny v)?> or <touching (danger v)?>> or <touching (lava v)?>> then\n    set [exit v] to [die]\n    Reset\nend\n\nif  then\n\ndefine Game - Win\nset [win v] to [1]\nrepeat (50)\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nbroadcast (Win!!! v)\nchange [level v] by (1)\nwait (1) seconds\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> and <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) + (15)) > (x position)> and <mouse down?>>>> then\n        switch costume to (right up v)\n    else\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> and <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) - (15)) < (x position)> and <mouse down?>>>> then\n            switch costume to (left up v)\n        else\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> then\n                switch costume to (up v)\n            else\n                if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) + (15)) > (x position)> and <mouse down?>>> then\n                    switch costume to (right v)\n                else\n                    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) - (15)) < (x position)> and <mouse down?>>> then\n                        switch costume to (left v)\n                    else\n                        switch costume to (middle v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [timeout v]\nhide\n\nwhen I receive [portal v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [portal v]\nset [x v] to [1294]\nset [y v] to [-54]\nset [scroll x v] to (x)\nset [scroll y v] to (y)\n\nwhen [r v] key pressed\nReset\n\nwhen flag clicked\nforever\n    if <(mute?) = [0]> then\n        set volume to (Volume) %\n        clear sound effects\n    else\n        set [pitch v] effect to ((() - (1)) / ())\n        set volume to (0) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <(COLOR) = [Red]> then\n        set [color v] effect to (70)\n    else\n        if <(COLOR) = [Orange]> then\n            set [color v] effect to (85)\n        else\n            if <(COLOR) = [Yellow]> then\n                set [color v] effect to (100)\n            else\n                if <(COLOR) = [Green]> then\n                    set [color v] effect to (125)\n                else\n                    if <(COLOR) = [Light Blue]> then\n                        set [color v] effect to (160)\n                    else\n                        if <(COLOR) = [Blue]> then\n                            set [color v] effect to (0)\n                        else\n                            if <(COLOR) = [Purple]> then\n                                set [color v] effect to (15)\n                            else\n                                if <(COLOR) = [Pink]> then\n                                    set [color v] effect to (40)\n                                else\n                                    if <(COLOR) = [Magenta]> then\n                                        set [color v] effect to (55)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\ngo to [front v] layer\ngo [backward v] (50) layers\n\nwhen I receive [win!!! v]\nstop [other scripts in sprite v]\nhide\nstop [this script v]\n\nwhen I receive [win!!! v]\nset [last x val v] to [4112.5]\nset [last y val v] to [66]\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [play again v]\nset [max players v] to [10]\nset [my player # v] to [0]\nset [connect v] to [Connecting]\nbroadcast (setup opponents v) and wait\nbroadcast (join game v) and wait\nif <(MY PLAYER #) > [0]> then\n    set [connect v] to [Connected]\nelse\n    set [connect v] to [Full]\nend\nbroadcast (begin v)\n\nwhen I receive [play again v]\nforever\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> and <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) + (15)) > (x position)> and <mouse down?>>>> then\n        switch costume to (right up v)\n    else\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> and <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) - (15)) < (x position)> and <mouse down?>>>> then\n            switch costume to (left up v)\n        else\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) - (20)) > (y position)> and <mouse down?>>> then\n                switch costume to (up v)\n            else\n                if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) + (15)) > (x position)> and <mouse down?>>> then\n                    switch costume to (right v)\n                else\n                    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) - (15)) < (x position)> and <mouse down?>>> then\n                        switch costume to (left v)\n                    else\n                        switch costume to (middle v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [play again v]\nforever\n    if <(COLOR) = [Red]> then\n        set [color v] effect to (70)\n    else\n        if <(COLOR) = [Orange]> then\n            set [color v] effect to (85)\n        else\n            if <(COLOR) = [Yellow]> then\n                set [color v] effect to (100)\n            else\n                if <(COLOR) = [Green]> then\n                    set [color v] effect to (125)\n                else\n                    if <(COLOR) = [Light Blue]> then\n                        set [color v] effect to (160)\n                    else\n                        if <(COLOR) = [Blue]> then\n                            set [color v] effect to (0)\n                        else\n                            if <(COLOR) = [Purple]> then\n                                set [color v] effect to (15)\n                            else\n                                if <(COLOR) = [Pink]> then\n                                    set [color v] effect to (40)\n                                else\n                                    if <(COLOR) = [Magenta]> then\n                                        set [color v] effect to (55)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [play again v]\ndelete all of [chat v]\nadd [Hey!] to [chat v]\nadd [Come with me!] to [chat v]\nadd [Ok!] to [chat v]\nadd [Nice!] to [chat v]\nadd [Watch Out!] to [chat v]\nadd [XD!] to [chat v]\nadd [LOL.] to [chat v]\nadd [I like this game!] to [chat v]\nadd [Lets Go To Server 2!] to [chat v]\n\nwhen I receive [play again v]\nforever\n    if <(mute?) = [0]> then\n        set volume to (Volume) %\n        clear sound effects\n    else\n        set [pitch v] effect to ((() - (1)) / ())\n        set volume to (0) %\n    end\nend\n\nwhen I receive [play again v]\nshow list [chat v]\nset [is the chat open v] to [0]\nforever\n    if <<key (t v) pressed?> or <<touching (mouse-pointer v)?> and <mouse down?>>> then\n        if <(is the chat open) = [1]> then\n            set [is the chat open v] to [0]\n        else\n            set [is the chat open v] to [1]\n        end\n        wait until <<not <<touching (mouse-pointer v)?> and <mouse down?>>> and <not <key (t v) pressed?>>>\n    end\n    Chat\nend\n\nwhen I receive [play again v]\nbroadcast (Green flag v) and wait\nbroadcast (Play Game v) and wait\n\n@Opponents\n\ndefine Decode chat (#)\nif <(#) = [0]> then\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\ndefine setup players\nhide\nclear graphic effects\nset [ghost v] effect to (50)\nset [offline v] to [100]\nset [player # v] to [1]\npoint in direction (90)\nrepeat ((MAX PLAYERS) - (1))\n    create clone of (_myself_ v)\n    change [player # v] by (1)\nend\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) = (player #)> then\n        set [offline v] to [100]\n    else\n        tick\n    end\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 [decode chat v]\nDecode chat (value)\n\ndefine tick\nvalue = cloud # (player #)\nif <(join (value) [A]) = (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 (value) [A])\n    if <(offline) > [99]> then\n        show\n    end\n    set [offline v] to [0]\nend\nbegin decode of (value)\nvalue = read from encoded\nswitch costume to (value)\nvalue = read from encoded\nif <<<(y position) < [-160]> or <[160] < (y position)>> or <<(x position) < [-220]> or <[220] < (x position)>>> then\n    set rotation style [all around v]\n    go to [front v] layer\n    point towards (player v)\n    switch costume to (arrow v)\n    if on edge, bounce\n    think []\n    set [ghost v] effect to (0)\nelse\n    set rotation style [don't rotate v]\n    point in direction (90)\n    set [ghost v] effect to (10)\n    if <(names?) = [0]> then\n        think []\n    else\n        think (value)\n    end\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))\nvalue = read from encoded\nbroadcast (Decode chat v)\nif <(Other COLOR) = [Red]> then\n    set [color v] effect to (70)\nelse\n    if <(Other COLOR) = [Orange]> then\n        set [color v] effect to (85)\n    else\n        if <(Other COLOR) = [Yellow]> then\n            set [color v] effect to (100)\n        else\n            if <(Other COLOR) = [Green]> then\n                set [color v] effect to (125)\n            else\n                if <(Other COLOR) = [Light Blue]> then\n                    set [color v] effect to (160)\n                else\n                    if <(Other COLOR) = [Blue]> then\n                        set [color v] effect to (0)\n                    else\n                        if <(Other COLOR) = [Purple]> then\n                            set [color v] effect to (15)\n                        else\n                            if <(Other COLOR) = [Pink]> then\n                                set [color v] effect to (40)\n                            else\n                                if <(Other COLOR) = [Magenta]> then\n                                    set [color v] effect to (55)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [join game v]\nvalue = cloud # (player #)\nset [last value v] to (join (value) [A])\nwait (3) seconds\nvalue = cloud # (player #)\nif <(join (value) [A]) = (last value)> then\n    set [my player # v] to (player #)\nend\n\nwhen I receive [setup opponents v]\nsetup players\n\nwhen flag clicked\nset [names? v] to [1]\nforever\n    if <key (n v) pressed?> then\n        if <(names?) = [0]> then\n            set [names? v] to [1]\n        else\n            set [names? v] to [0]\n        end\n    end\nend\n\nforever\nend\n\nwhen I receive [win!!! v]\nstop [other scripts in sprite v]\nhide\nstop [this script v]\n\n@Connnect\n\nwhen flag clicked\ngo to [front v] layer\nclear graphic effects\nswitch costume to (connecting v)\ngo to x: (200) y: (-1300)\nset [ghost v] effect to (100)\nset volume to (20) %\nstart sound [Connect v]\nrepeat (45)\n    change y by (((-150) - (y position)) / (5))\n    change [ghost v] effect by (-10)\nend\nforever\n    wait (1) seconds\n    if <(CONNECT) = [Connected]> then\n        switch costume to (connected v)\n        wait (2) seconds\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        stop [this script v]\n    else\n        if <(CONNECT) = [Full]> then\n            switch costume to (full v)\n        else\n            switch costume to (connecting v)\n        end\n    end\nend\n\nwhen I receive [timeout v]\nhide variable [volume v]\ngo to x: (0) y: (0)\nclear graphic effects\nswitch costume to (timeout v)\nshow\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nforever\n    if <(mute?) = [0]> then\n        set volume to (Volume) %\n        clear sound effects\n    else\n        set [pitch v] effect to ((() - (1)) / ())\n        set volume to (0) %\n    end\nend\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nset [ghost v] effect to (100)\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\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Platforms_Art\n\nwhen I receive [green flag v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\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\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (13) layers\n\n@Checkpoint\n\nwhen [m v] key pressed\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [,] (join [ ] ((mouse y) + (SCROLL Y)))))\nshow variable [mouse v]\n\nwhen I receive [green flag v]\nset volume to (5) %\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <(costume [number v]) = [1]> then\n    if <touching (player v)?> then\n        switch costume to (open v)\n        change [checkpoint v] by (1)\n        start sound [Checkpoint v]\n    end\nend\nif <(mute?) = [0]> then\n    set volume to (Volume) %\n    clear sound effects\nelse\n    set volume to (0) %\nend\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\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide\nset [checkpoint v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (closed v)\nset [color v] effect to (-60)\nset [brightness v] effect to (-10)\nClone at [210] [30]\nClone at [1372] [-92]\nClone at [2926] [38]\nset [x v] to [-99999]\n\n@Bouncy\n\nwhen I receive [green flag v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [555] [-102]\nClone at [1481] [-103]\nset [x v] to [-99999]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\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\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nswitch costume to (bouncy2 v)\n\n@Spinny\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nturn right (6) degrees\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 [green flag v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [175] [-105]\nClone at [2482] [-109]\nClone at [3308] [-109]\nClone at [3166] [-109]\nset [x v] to [-99999]\n\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (55) layers\n\n@Danger\n\nwhen I receive [green flag v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\ngo to [back v] layer\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\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Chat\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    set size to (0) %\n    wait until <(is the chat open) = [1]>\n    repeat (10)\n        set size to ((size) + (((100) - (size)) / (3))) %\n        change [ghost v] effect by (-10)\n    end\n    wait until <(is the chat open) = [0]>\n    repeat (10)\n        set size to ((size) + (((0) - (size)) / (3))) %\n        change [ghost v] effect by (10)\n    end\nend\n\ndefine GO\ngo to [front v] layer\ngo to [front v] layer\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    GO\nend\n\nwhen I receive [win!!! v]\nhide\n\n@Ladder\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\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) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Jump_Through\n\nwhen I receive [green flag v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\nClone at [480] [0]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\ngo to [back v] layer\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\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Clouds\n\nwhen flag clicked\nset [ghost v] effect to (0)\nforever\n    hide\n    create clone of (_myself_ v)\n    wait (pick random (1.5) to (3)) seconds\nend\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (1) to (5))\nif <(pick random (1) to (2)) = [2]> then\n    set [d v] to [-250]\nelse\n    set [d v] to [250]\nend\ngo to x: (d) y: (pick random (-130) to (170))\nset [ghost v] effect to (pick random (40) to (70))\nif <(d) = [250]> then\n    repeat until <(x position) < [-267]>\n        change x by (pick random (-1) to (-3))\n        go to [back v] layer\n        go to [back v] layer\n        go [backward v] (999) layers\n    end\nelse\n    repeat until <(x position) > [267]>\n        change x by (pick random (1) to (3))\n        go to [back v] layer\n        go to [back v] layer\n        go [backward v] (999) layers\n    end\nend\ndelete this clone\n\nwhen I receive [setup v]\ndelete this clone\n\n@Thumb\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nshow\ngo to [front v] layer\n\nwhen I receive [front v]\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Coins\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    start sound [Coin v]\n    change [coins v] by (1)\n    delete this clone\nend\nif <(tick) > [0]> then\n    next costume\n    set [tick v] to [0]\nelse\n    change [tick v] by (1)\nend\nif <(mute?) = [0]> then\n    set volume to (100) %\n    clear sound effects\nelse\n    set volume to (0) %\nend\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 [green flag v]\nhide\npoint in direction (90)\nset [coins v] to [0]\nset [x v] to [0]\nset [tick v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [90] [-90]\nClone at [320] [-90]\nClone at [940] [315]\nClone at [1424] [-61]\nClone at [1635] [-61]\nClone at [1665] [-61]\nClone at [1695] [-61]\nClone at [1730] [-61]\nClone at [1765] [-61]\nClone at [1800] [-61]\nClone at [1835] [-61]\nClone at [1870] [-61]\nClone at [1905] [-61]\nClone at [1424] [-96]\nClone at [1635] [-96]\nClone at [1665] [-96]\nClone at [1695] [-96]\nClone at [1730] [-96]\nClone at [1765] [-96]\nClone at [1800] [-96]\nClone at [1835] [-96]\nClone at [1870] [-96]\nClone at [1905] [-96]\nClone at [2012] [-90]\nClone at [2012] [-55]\nClone at [2992] [131]\nClone at [3023] [131]\nClone at [3054] [131]\nClone at [3085] [131]\nClone at [3339] [-23]\nset [x v] to [-99999]\n\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [tick v]\nif <(distance to [player v]) < [50]> then\n    point towards (player v)\nelse\n    point in direction (90)\nend\n\n@Coin_counter\n\nwhen flag clicked\nset size to (110) %\nset [clone# v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [clone# v] by (1)\nend\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to x: (((clone#) * (15)) - (-188)) y: (155)\n    if <(length of (COINS)) < (clone#)> then\n        hide\n    else\n        show\n        switch costume to (letter (clone#) of (COINS))\n    end\nend\n\n@Sun 1\n\nwhen flag clicked\nset size to (100) %\nforever\n    go to x: (-251) y: (183)\n    set [ghost v] effect to (17)\n    change size by (([sin v] of (Var) ) * (2))\n    change [var v] by (5)\nend\n\n@Sun 2\n\nwhen flag clicked\nset size to (100) %\nforever\n    go to x: (-251) y: (183)\n    set [ghost v] effect to (34)\n    change size by (([sin v] of (Var1) ) * (2))\n    change [var1 v] by (4)\nend\n\n@Sun 3\n\nwhen flag clicked\nset size to (100) %\nforever\n    go to x: (-251) y: (183)\n    set [ghost v] effect to (51)\n    change size by (([sin v] of (Var2) ) * (2))\n    change [var2 v] by (3)\nend\n\n@Background\n\nwhen I receive [tick v]\nposition ((x) - ((SCROLL X) / (4))) ((y) - ((SCROLL Y) / (4)))\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 flag clicked\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\n\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I start as a clone\nforever\n    go to [back v] layer\n    set [ghost v] effect to (80)\nend\n\n@Portal 1\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    broadcast (portal v)\nend\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\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag v]\nhide\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (portal1 v)\nClone at [1072] [259]\nset [x v] to [-99999]\n\nwhen I start as a clone\nset size to (100) %\nforever\n    turn right (5) degrees\n    change size by (([sin v] of (Var3) ) * (2))\n    change [var3 v] by (10)\n    set [brightness v] effect to (9)\nend\n\nset [scroll x v] to ([x position v] of [portal 2 v])\nset [scroll y v] to ([y position v] of [portal 2 v])\n\n@Portal 2\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\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\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag v]\nhide\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (portal1 v)\nClone at [1294] [-54]\nset [x v] to [-99999]\n\nwhen I start as a clone\nset size to (100) %\nforever\n    turn right (5) degrees\n    change size by (([sin v] of (Var3) ) * (2))\n    change [var3 v] by (10)\n    set [brightness v] effect to (9)\nend\n\n@notif\n\nwhen flag clicked\nhide\nforever\n    go [backward v] (1) layers\nend\n\nwhen I receive [begin v]\ngo to x: (0) y: (50)\nhide\nforever\n    wait (pick random (5) to (10)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\n@Lava\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\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 flag clicked\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\n\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I start as a clone\ngo to [back v] layer\n\n@Timer\n\nwhen flag clicked\nset size to (110) %\nset [clone# v] to [1]\nset [e v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [clone# v] by (1)\nend\nhide\n\nwhen I start as a clone\nshow\nif <(e) = [1]> then\n    forever\n        go to [front v] layer\n        go to x: (((clone#) * (15)) - (238)) y: (155)\n        if <(length of (round (timer))) < (clone#)> then\n            hide\n        else\n            show\n            switch costume to (letter (clone#) of (round (timer)))\n        end\n    end\nend\nif <(e) = [2]> then\n    forever\n        set size to (95) %\n        go to x: (((clone#) * (15)) - (170)) y: (-165)\n        set [brightness v] effect to (100)\n        go to [front v] layer\n        if <(length of (round (Time))) < (clone#)> then\n            hide\n        else\n            show\n            switch costume to (letter (clone#) of (Time))\n        end\n    end\nend\n\nwhen I receive [win!!! v]\nstop [other scripts in sprite v]\nset [e v] to [2]\nrepeat (length of (Time))\n    create clone of (_myself_ v)\n    change [clone# v] by (1)\nend\n\n@Detector\n\nwhen flag clicked\nset [love? v] to [0]\nset [fave? v] to [0]\nhide\nswitch costume to (love? v)\ncreate clone of (_myself_ v)\nswitch costume to (fave? v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [name v]) = [Love?]> then\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [love? v] to [1]\n                wait (1) seconds\n            end\n        end\n    end\n    if <(costume [name v]) = [Fave?]> then\n        wait (0.2) seconds\n        if <touching (mouse-pointer v)?> then\n            set [fave? v] to [1]\n            wait (1) seconds\n        end\n    end\nend\n\nwhen flag clicked\nwait until <<(love?) = [1]> and <(fave?) = [1]>>\nbroadcast (message v)\n\n@Message\n\nwhen I receive [message v]\ngo to x: (0) y: (50)\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [message v]\nset volume to (100) %\nstart sound [Coin v]\nrepeat (25)\n    change [coins v] by (1)\nend\n\n@Message 2\n\nwhen flag clicked\nhide\nwait (1) seconds\ngo to x: (0) y: (50)\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (2) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\n\n@Exit\n\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag v]\nhide\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (portal1 v)\nClone at [4112.5] [66]\nset [x v] to [-99999]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\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\nif <touching (player v)?> then\n    set [exit v] to [win]\n    set [time v] to (round (timer))\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nset size to (50) %\nforever\n    change size by (([sin v] of (Var3) ) * (5))\n    change [var3 v] by (2)\n    set [brightness v] effect to (([sin v] of (Var3) ) * (5))\nend\n\n@shop\n\nwhen flag clicked\ngo to x: (-203) y: (-156)\nset size to (50) %\n\nwhen I receive [tick v]\nif <touching (mouse-pointer v)?> then\n    change size by (((60) - (size)) / (5))\n    if <mouse down?> then\n        set [shop open? v] to [y]\n    end\nelse\n    change size by (((50) - (size)) / (5))\nend\nif <not <(change open?) = [y]>> then\n    if <(shop open?) = [y]> then\n        hide\n    else\n        show\n    end\nelse\n    hide\nend\n\n@shop shop\n\nwhen I receive [tick v]\ngo to x: (0) y: (0)\nif <(shop open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(change open?) = [y]> then\n    hide\nelse\nend\n\nwhen flag clicked\nset [shop open? v] to [n]\n\n@back\n\nwhen flag clicked\n\nwhen I receive [tick v]\nif <touching (mouse-pointer v)?> then\n    change size by (((60) - (size)) / (5))\n    if <mouse down?> then\n        set [shop open? v] to [n]\n    end\nelse\n    change size by (((50) - (size)) / (5))\n    go to x: (-174) y: (-130)\n    set size to (50) %\nend\nif <(shop open?) = [y]> then\n    show\nelse\n    hide\nend\n\n@jump boost\n\nwhen I receive [tick v]\ngo to x: (-100) y: (100)\nif <not <(change open?) = [y]>> then\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (5))\n        if <(costume [name v]) = [shop]> then\n            if <mouse down?> then\n                if <[24] < (COINS)> then\n                    set [jump boost? v] to [1]\n                    change [coins v] by (-25)\n                end\n            end\n        end\n    else\n        change size by (((50) - (size)) / (5))\n    end\n    if <(jump boost?) = [0]> then\n        if <[24] < (COINS)> then\n            switch costume to (shop v)\n        else\n            switch costume to (locked v)\n        end\n    else\n        switch costume to (done v)\n    end\nend\nif <(shop open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(change open?) = [y]> then\n    hide\nelse\nend\n\nwhen flag clicked\nset [jump boost? v] to [0]\n\n@jump boost vision\n\nwhen I receive [tick v]\ngo to x: (20) y: (100)\nif <touching (mouse-pointer v)?> then\n    change size by (((150) - (size)) / (5))\nelse\n    change size by (((100) - (size)) / (5))\nend\nif <(shop open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(change open?) = [y]> then\n    hide\nelse\nend\n\n@coins\n\nwhen I receive [tick v]\ngo to x: (125) y: (100)\nif <touching (mouse-pointer v)?> then\n    change size by (((60) - (size)) / (5))\nelse\n    change size by (((50) - (size)) / (5))\nend\nif <(shop open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(change open?) = [y]> then\n    hide\nelse\nend\n\n@Particles\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nshow\ngo to (player v)\npoint in direction (pick random (120) to (180))\nset size to (0) %\nrepeat until <<(round (direction)) = [90]> and <(round (size)) = [100]>>\n    go to (player v)\n    change size by (((100) - (size)) / (5))\n    turn right (((90) - (direction)) / (100)) degrees\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\n    change [ghost v] effect by (pick random (1) to (10))\n    go to [front v] layer\nend\ndelete this clone\n\nwhen I receive [begin v]\nforever\n    if <(jump boost?) = [1]> then\n        create clone of (_myself_ v)\n        wait (1) seconds\n    end\nend\n\n@Victory\n\nwhen flag clicked\nhide\n\nwhen I receive [win!!! v]\nstart sound [Boom  v]\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nshow\nswitch costume to (costume2 v)\nset size to (150) %\nswitch costume to (you win! v)\nrepeat until <(size) < [101]>\n    go to [front v] layer\n    switch costume to (costume2 v)\n    change size by (((100) - (size)) / (7))\n    switch costume to (win screen v)\n    change [ghost v] effect by (-5)\n    set x to (((((pick random (0) to (1)) * (2)) - (1)) * ((size) - (100))) * (0.75))\n    set y to (((((pick random (0) to (1)) * (2)) - (1)) * ((size) - (100))) * (0.75))\nend\nset [jump boost? v] to [0]\nrepeat (100)\n    change [volume v] by (-1)\nend\nwait (2) seconds\nbroadcast (Front v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nstop [all v]\n\nbroadcast (Win!!! v)\n\nset [win v] to [1]\n\nwhen flag clicked\nhide variable [☁ p1 v]\nhide variable [☁ p2 v]\nhide variable [☁ p3 v]\nhide variable [☁ p4 v]\nhide variable [☁ p5 v]\nhide variable [☁ p6 v]\nhide variable [☁ p7 v]\nhide variable [☁ p8 v]\nhide variable [☁ p9 v]\nhide variable [☁ p10 v]\nhide variable [change open? v]\nhide variable [chat v]\nhide variable [checkpoint v]\nhide variable [coins v]\nhide variable [color v]\nhide variable [connect v]\nhide variable [e v]\nhide variable [exit v]\nhide variable [fave? v]\nhide variable [godmode v]\nhide variable [is the chat open v]\nhide variable [jump boost? v]\nhide variable [last x val v]\nhide variable [last y val v]\nhide variable [leaf lock v]\nhide variable [lock v]\nhide variable [love? v]\nhide variable [max players v]\nhide variable [mouse v]\nhide variable [mute? v]\nhide variable [my player # v]\nhide variable [other color v]\nhide variable [scroll x v]\nhide variable [scroll y v]\nhide variable [shop open? v]\nhide variable [time v]\nhide variable [timer \(e\) v]\nhide variable [timer \(f\) v]\nhide variable [var v]\nhide variable [var1 v]\nhide variable [var2 v]\nhide variable [var3 v]\nhide variable [variable v]\nhide variable [variable v]\nhide variable [volume v]\nhide variable [win v]\nhide variable [x pos v]\nhide variable [x pos 1 v]\n\nwhen I receive [win!!! v]\nhide variable [☁ p1 v]\nhide variable [☁ p2 v]\nhide variable [☁ p3 v]\nhide variable [☁ p4 v]\nhide variable [☁ p5 v]\nhide variable [☁ p6 v]\nhide variable [☁ p7 v]\nhide variable [☁ p8 v]\nhide variable [☁ p9 v]\nhide variable [☁ p10 v]\nhide variable [change open? v]\nhide variable [chat v]\nhide variable [checkpoint v]\nhide variable [coins v]\nhide variable [color v]\nhide variable [connect v]\nhide variable [e v]\nhide variable [exit v]\nhide variable [fave? v]\nhide variable [godmode v]\nhide variable [is the chat open v]\nhide variable [jump boost? v]\nhide variable [last x val v]\nhide variable [last y val v]\nhide variable [leaf lock v]\nhide variable [lock v]\nhide variable [love? v]\nhide variable [max players v]\nhide variable [mouse v]\nhide variable [mute? v]\nhide variable [my player # v]\nhide variable [other color v]\nhide variable [scroll x v]\nhide variable [scroll y v]\nhide variable [shop open? v]\nhide variable [time v]\nhide variable [timer \(e\) v]\nhide variable [timer \(f\) v]\nhide variable [var v]\nhide variable [var1 v]\nhide variable [var2 v]\nhide variable [var3 v]\nhide variable [variable v]\nhide variable [variable v]\nhide variable [volume v]\nhide variable [win v]\nhide variable [x pos v]\nhide variable [x pos 1 v]\n\n@continue playing?\n\n@Bouncier\n\nwhen I receive [green flag v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [2982] [-103]\nset [x v] to [-99999]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\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\ndefine Clone at (x) (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nswitch costume to (bouncy2 v)\n\n@logo\n\nwhen flag clicked\nset size to (105) %\nset [ghost v] effect to (100)\nwait (7) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset size to (105) %\nforever\n    go to x: (217) y: (-157)\n    go to [front v] layer\nend\n\nwhen I receive [win!!! v]\nhide\n\n@Background 2\n\nwhen I receive [tick v]\nposition ((x) - ((SCROLL X) / (5))) ((y) - ((SCROLL Y) / (5)))\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 flag clicked\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\n\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I start as a clone\nforever\n    go to [back v] layer\n    go [forward v] (12) layers\n    set [ghost v] effect to (90)\nend\n\n@Mute\n\nwhen flag clicked\ngo to x: (-153) y: (-156)\nset size to (50) %\n\nwhen I receive [tick v]\nif <not <<(change open?) = [y]> or <(shop open?) = [y]>>> then\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (5))\n        if <mouse down?> then\n            if <(mute?) = [0]> then\n                set [mute? v] to [1]\n                wait until <mouse down?>\n                wait until <not <mouse down?>>\n            else\n                set [mute? v] to [0]\n                wait until <mouse down?>\n                wait until <not <mouse down?>>\n            end\n        end\n    else\n        change size by (((50) - (size)) / (5))\n    end\nend\nif <not <(change open?) = [y]>> then\n    if <(shop open?) = [y]> then\n        hide\n    else\n        show\n    end\nelse\n    hide\nend\nif <(mute?) = [0]> then\n    switch costume to (mute v)\nelse\n    switch costume to (unmute v)\nend\n\nwhen flag clicked\nset [mute? v] to [0]\n\nif <(shop open?) = [y]> then\n    hide\nelse\n    show\nend\n\n@customize\n\nwhen flag clicked\ngo to x: (-83) y: (-156)\nset [change open? v] to [0]\nset size to (50) %\n\nwhen I receive [tick v]\nif <not <<(change open?) = [y]> or <(shop open?) = [y]>>> then\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (5))\n        if <mouse down?> then\n            set [change open? v] to [y]\n        end\n    else\n        change size by (((50) - (size)) / (5))\n    end\nend\nif <(change open?) = [y]> then\n    hide\nelse\n    show\nend\nif <(shop open?) = [y]> then\n    hide\nend\n\n@particle\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(pick random (1) to (2)) = [1]> then\n    go to [back v] layer\n    show\n    set [ghost v] effect to (100)\n    set size to (pick random (10) to (0)) %\n    set [ghost v] effect to (pick random (65) to (112))\n    set [color v] effect to (pick random (0) to (10000000000))\n    set [brightness v] effect to (pick random (1) to (50))\n    go to x: (600) y: (pick random (-167.01) to (167))\n    glide (pick random (6) to (2)) secs to x: (-300) y: (pick random (-167.01) to (167))\n    repeat (20)\n        change [ghost v] effect by (20)\n    end\n    delete this clone\nelse\n    delete this clone\nend\n\n@customize base\n\nwhen I receive [tick v]\ngo to x: (0) y: (0)\nif <(change open?) = [y]> then\n    show\nelse\n    hide\nend\n\nif <(shop open?) = [y]> then\n    hide\nelse\nend\n\n@back (customize)\n\nwhen flag clicked\n\nwhen I receive [tick v]\nif <not <(shop open?) = [y]>> then\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (5))\n        if <mouse down?> then\n            set [change open? v] to [n]\n        end\n    else\n        change size by (((50) - (size)) / (5))\n        go to x: (-174) y: (-130)\n    end\nend\nif <(change open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(shop open?) = [y]> then\n    hide\nelse\nend\n\n@Colors (Player)\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\nrepeat (9)\n    create clone of (_myself_ v)\n    next costume\nend\nswitch costume to (check mark v)\ngo to x: (30) y: (0)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nforever\n    if <(change open?) = [y]> then\n        show\n    else\n        hide\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((125) - (size)) / (5))\n        set [brightness v] effect to (25)\n        if <mouse down?> then\n            if <(change open?) = [y]> then\n                set [x pos v] to (x position)\n                set [variable v] to (Z Unique)\n                set [color v] to (color)\n            end\n        end\n    else\n        change size by (((100) - (size)) / (5))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    if <(costume [number v]) = [1]> then\n        go to x: (-120) y: ((([sin v] of (timer \(e\)) ) * (4)) + (50))\n        set [z unique v] to [4]\n        set [color v] to [Red]\n    end\n    if <(costume [number v]) = [2]> then\n        go to x: (-90) y: ((([sin v] of (timer \(e\)) ) * (3)) + (50))\n        set [z unique v] to [3]\n        set [color v] to [Orange]\n    end\n    if <(costume [number v]) = [3]> then\n        go to x: (-60) y: ((([sin v] of (timer \(e\)) ) * (4)) + (50))\n        set [z unique v] to [4]\n        set [color v] to [Yellow]\n    end\n    if <(costume [number v]) = [4]> then\n        go to x: (-30) y: ((([sin v] of (timer \(e\)) ) * (3)) + (50))\n        set [z unique v] to [3]\n        set [color v] to [Green]\n    end\n    if <(costume [number v]) = [5]> then\n        go to x: (0) y: ((([sin v] of (timer \(e\)) ) * (4)) + (50))\n        set [z unique v] to [4]\n        set [color v] to [Light Blue]\n    end\n    if <(costume [number v]) = [6]> then\n        go to x: (30) y: ((([sin v] of (timer \(e\)) ) * (3)) + (50))\n        set [z unique v] to [3]\n        set [color v] to [Blue]\n    end\n    if <(costume [number v]) = [7]> then\n        go to x: (60) y: ((([sin v] of (timer \(e\)) ) * (4)) + (50))\n        set [z unique v] to [4]\n        set [color v] to [Purple]\n    end\n    if <(costume [number v]) = [8]> then\n        go to x: (90) y: ((([sin v] of (timer \(e\)) ) * (3)) + (50))\n        set [z unique v] to [3]\n        set [color v] to [Pink]\n    end\n    if <(costume [number v]) = [9]> then\n        go to x: (120) y: ((([sin v] of (timer \(e\)) ) * (4)) + (50))\n        set [z unique v] to [4]\n        set [color v] to [Magenta]\n    end\n    change [timer \(e\) v] by (1)\n    if <(costume [number v]) = [10]> then\n        set x to (X POS)\n        set y to ((([sin v] of (timer \(e\)) ) * (VARIABLE)) + (50))\n    end\nend\n\nwhen flag clicked\nset [x pos v] to [30]\nset [variable v] to [3]\nset [color v] to [Blue]\n\nif <(change open?) = [y]> then\n\n@Colors Cover\n\nwhen I receive [tick v]\ngo to x: (0) y: ((([sin v] of (timer \(e\)) ) * (pick random (3) to (4))) + (50))\nif <(change open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(shop open?) = [y]> then\n    hide\nend\n\n@you\n\nwhen I receive [tick v]\ngo to x: (0) y: ((([sin v] of (Own TIMER) ) * (5)) + (110))\nif <(change open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(shop open?) = [y]> then\n    hide\nend\nchange [own timer v] by (5)\nif <(costume [number v]) = [4]> then\n    hide\nend\n\nwhen flag clicked\nset [own timer v] to [0]\nhide\nwait (.1) seconds\nswitch costume to (y v)\ncreate clone of (_myself_ v)\nwait (.1) seconds\nswitch costume to (o v)\ncreate clone of (_myself_ v)\nwait (.1) seconds\nswitch costume to (u v)\ncreate clone of (_myself_ v)\nswitch costume to (costume1 v)\n\nwhen I start as a clone\nset [own timer v] to [0]\n\n@Crown\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [tick v]\ngo to x: (([x position v] of [player v]) + ()) y: (([y position v] of [player v]) + ())\n\nwhen I receive [tick v]\nif <not <<(love?) = [1]> and <(fave?) = [1]>>> then\n    hide\nelse\n    if <<<(username) = [bogucsad000]> or <(username) = [-LeafFighter-]>> or <(username) = [GentleX]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [tick v]\nwait until <(win) = [1]>\nrepeat (50)\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nbroadcast (Win!!! v)\nwait (1) seconds\nset [ghost v] effect to (0)\n\nwhen flag clicked\nset [win v] to [0]\n\nwhen flag clicked\nset size to (100) %\n\n@gift\n\nwhen I receive [tick v]\ngo to x: (([x position v] of [player v]) + ()) y: (([y position v] of [player v]) + ())\n\nwhen I receive [tick v]\ngo to [front v] layer\nif <<<(username) = [SoccerRP]> or <(username) = [-LeafFighter-]>> or <(username) = [-KingAT-]>> then\n    show\nelse\n    hide\nend\ngo [backward v] (1) layers\n\nwhen I receive [tick v]\nwait until <(win) = [1]>\nrepeat (50)\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nwait (1) seconds\nset [ghost v] effect to (0)\n\nwhen flag clicked\nset size to (100) %\n\n@gift2\n\nwhen I receive [tick v]\ngo to x: (([x position v] of [player v]) + ()) y: (([y position v] of [player v]) + ())\n\nwhen I receive [tick v]\ngo to [back v] layer\nif <<<(username) = [SoccerRP]> or <(username) = [-LeafFighter-]>> or <(username) = [-KingAT-]>> then\n    show\nelse\n    hide\nend\nif <(costume [number v]) = [3]> then\n    hide\nend\n\nwhen flag clicked\nswitch costume to (1 v)\ncreate clone of (_myself_ v)\nnext costume\ncreate clone of (_myself_ v)\nnext costume\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    forever\n        set size to (85) %\n        point in direction (90)\n        repeat until <(round (direction)) = [135]>\n            turn right (((135) - (round (direction))) / (2)) degrees\n        end\n        repeat until <(round (direction)) = [90]>\n            turn right (((90) - (round (direction))) / (2)) degrees\n        end\n    end\nend\nif <(costume [number v]) = [2]> then\n    forever\n        set size to (85) %\n        point in direction (90)\n        repeat until <(round (direction)) = [45]>\n            turn right (((45) - (round (direction))) / (2)) degrees\n        end\n        repeat until <(round (direction)) = [90]>\n            turn right (((90) - (round (direction))) / (2)) degrees\n        end\n    end\nend\n\nwhen I receive [tick v]\nwait until <(win) = [1]>\nrepeat (50)\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nbroadcast (Win!!! v)\nwait (1) seconds\nset [ghost v] effect to (0)\n\nwhen flag clicked\nset size to (100) %\n\n@Colors (Other)\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\nrepeat (9)\n    create clone of (_myself_ v)\n    next costume\nend\nswitch costume to (check mark v)\ngo to x: (30) y: (0)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nforever\n    if <(change open?) = [y]> then\n        show\n    else\n        hide\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((125) - (size)) / (5))\n        set [brightness v] effect to (25)\n        if <mouse down?> then\n            if <(change open?) = [y]> then\n                set [x pos 1 v] to (x position)\n                set [variable v] to (Z Unique)\n                set [other color v] to (color)\n            end\n        end\n    else\n        change size by (((100) - (size)) / (5))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    if <(costume [number v]) = [1]> then\n        go to x: (-120) y: ((([sin v] of (timer \(f\)) ) * (4)) + (-50))\n        set [z unique v] to [4]\n        set [color v] to [Red]\n    end\n    if <(costume [number v]) = [2]> then\n        go to x: (-90) y: ((([sin v] of (timer \(f\)) ) * (3)) + (-50))\n        set [z unique v] to [3]\n        set [color v] to [Orange]\n    end\n    if <(costume [number v]) = [3]> then\n        go to x: (-60) y: ((([sin v] of (timer \(f\)) ) * (4)) + (-50))\n        set [z unique v] to [4]\n        set [color v] to [Yellow]\n    end\n    if <(costume [number v]) = [4]> then\n        go to x: (-30) y: ((([sin v] of (timer \(f\)) ) * (3)) + (-50))\n        set [z unique v] to [3]\n        set [color v] to [Green]\n    end\n    if <(costume [number v]) = [5]> then\n        go to x: (0) y: ((([sin v] of (timer \(f\)) ) * (4)) + (-50))\n        set [z unique v] to [4]\n        set [color v] to [Light Blue]\n    end\n    if <(costume [number v]) = [6]> then\n        go to x: (30) y: ((([sin v] of (timer \(f\)) ) * (3)) + (-50))\n        set [z unique v] to [3]\n        set [color v] to [Blue]\n    end\n    if <(costume [number v]) = [7]> then\n        go to x: (60) y: ((([sin v] of (timer \(f\)) ) * (4)) + (-50))\n        set [z unique v] to [4]\n        set [color v] to [Purple]\n    end\n    if <(costume [number v]) = [8]> then\n        go to x: (90) y: ((([sin v] of (timer \(f\)) ) * (3)) + (-50))\n        set [z unique v] to [3]\n        set [color v] to [Pink]\n    end\n    if <(costume [number v]) = [9]> then\n        go to x: (120) y: ((([sin v] of (timer \(f\)) ) * (4)) + (-50))\n        set [z unique v] to [4]\n        set [color v] to [Magenta]\n    end\n    change [timer \(f\) v] by (1)\n    if <(costume [number v]) = [10]> then\n        go to [front v] layer\n        set x to (X POS 1)\n        set y to ((([sin v] of (timer \(f\)) ) * (VARIABLE)) + (-50))\n    end\n    go [backward v] (50) layers\nend\n\nwhen flag clicked\nset [x pos 1 v] to [30]\nset [variable v] to [4]\nset [timer \(e\) v] to [100000]\nset [timer \(f\) v] to [100000]\nset [other color v] to [Red]\nset [x pos 1 v] to [-120]\n\n@Other Cover\n\nwhen I receive [tick v]\ngo to x: (0) y: ((([sin v] of (timer \(e\)) ) * (pick random (3) to (4))) + (-50))\nif <(change open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(shop open?) = [y]> then\n    hide\nend\n\n@others\n\nwhen I receive [tick v]\ngo to x: (0) y: ((([sin v] of (Own TIMER) ) * (5)) + (0))\nif <(change open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(shop open?) = [y]> then\n    hide\nend\nchange [own timer v] by (5)\nif <(costume [number v]) = [7]> then\n    hide\nend\n\nwhen flag clicked\nset [own timer v] to [0]\nhide\nwait (.1) seconds\nswitch costume to (o v)\ncreate clone of (_myself_ v)\nwait (.1) seconds\nswitch costume to (t v)\ncreate clone of (_myself_ v)\nwait (.1) seconds\nswitch costume to (h v)\ncreate clone of (_myself_ v)\nwait (.1) seconds\nswitch costume to (e v)\ncreate clone of (_myself_ v)\nwait (.1) seconds\nswitch costume to (r v)\ncreate clone of (_myself_ v)\nwait (.1) seconds\nswitch costume to (s v)\ncreate clone of (_myself_ v)\nswitch costume to (7 v)\n\nwhen I start as a clone\nset [own timer v] to [0]\n\n@Foreground Air\n\nwhen I receive [tick v]\nposition ((x) - ((SCROLL X) / (3))) ((y) - ((SCROLL Y) / (3)))\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 flag clicked\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\nClone at [480] [0]\n\ndefine Clone at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I start as a clone\nforever\n    set [ghost v] effect to (90)\n    go to [back v] layer\nend\n\n
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✧ Metro City ✧\n⠀⠀⠀⠀⠀⠀✧ A Multiplayer Scrolling Platformer ✧\n⠀⠀⠀⠀⠀⠀⠀✧✧ Made by @-LeafFighter- ✧✧\n\n⠀⠀⠀⠀⠀⠀⠀⠀⠀✧ ✧ ✧ How To Play ✧ ✧ ✧\n⠀⠀⠀⠀➜ Use Arrow Keys or WASD to move on PC.\n⠀⠀⠀⠀⠀⠀➜ This game is Mobile Friendly <3!\n⠀➜ Collect the diamond at the end to win the game!\n⠀⠀⠀⠀➜ Look out for Spikes, Lava, & Saws!\n⠀➜ Collect coins and buy power ups from the shop!\n⠀⠀⠀⠀⠀➜ Press T or tap the player to chat!\n⠀➜ Love or Fav for 25 free coins and a custom crown! \n⠀⠀⠀➜ Your time is on the top left of the screen!\n⠀⠀⠀⠀⠀⠀⠀⠀⠀➜ "V" to adjust to Volume!\n\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✧✧ Server 2 ✧✧\n⠀⠀⠀⠀https://scratch.mit.edu/projects/719713671/\n\n⠀⠀⠀⠀⠀⠀⠀If the game is laggy, play here:\n⠀⠀⠀https://turbowarp.org/717182512/fullscreen?\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀interpolate&hqpen\n\n⠀Don't forget to leave a ❤️ and ⭐️ if you enjoyed and\n⠀⠀maybe even a follow. I worked super hard on this\n⠀⠀⠀⠀⠀game and would really appreciate it : )\n\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✧✧✧ Credits ✧✧✧\n⠀⠀⠀⠀⠀➜ @StratfordJames for a lot of inspo\n⠀⠀⠀⠀➜ @TheCactusMaster for Game engine\n⠀⠀⠀⠀⠀⠀⠀➜ @tHeChAoTiC for background\n⠀⠀⠀⠀⠀⠀⠀➜ Rest by me, @-LeafFighter- <3\n\n⠀⠀⠀⠀⠀⠀⠀⠀Follow me for more fun games!\n\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✧ Changelog ✧\n⠀⠀⠀⠀⠀⠀⠀⠀V1.0 - Initial Release 8/23/22\n\n⠀⠀⠀⠀⠀⠀⠀⠀⠀✧✧✧ Beta Testers ✧✧✧\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀@hsemal\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀@yourlocalsiri\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀@Matthew_K1\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀@ItzSadeq\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀@-Purplez-\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀@trident-\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀@bogucad000\n\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Go follow them <3!\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀3000+ blocks!\n\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✧✧✧ Tags ✧✧✧\n⠀#MetroCity #Metro #City #-LeafFighter- #Multiplayer ⠀⠀#Scrolling #MobileFriendly #Mobile #Platformer\n⠀#MultiplayerScrollingPlatformer #Trending #Games\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀#All #Music 