Land of Hope || Multiplayer Platformer #games

Instructions:                                ☮ Land of Hope ☮\n                 ☮ Multiplayer Scrolling Platformer ☮\n                             ☮ Mobile Friendly ☮ \n\nWelcome to Land of Hope, a place of passion and dreams! Jump through the sharpest spikes, swim in the deepest waters, overcome all obstacles on your journey! Try complete achievements too to unlock exclusive emotes!\n\nYou keep your achievements when restarting the game, so if you failed those beat the game with a condition achievements, press the green flag.\nTook over 1200 hours to make. (fake)\nPlease leave a heart and star if you like this game!\nAlso there is no #story.\n\n#tutorial:\nWASD or Arrow Keys to Move\nSpace for emote shortcut\nR for warp menu\nE for emote menu\nU for toggle rendered usernames\n(Default off because like 50% of the people won't read the instructions and just complain the lag)\nIf you are mobile figure it out yourself LOL\n\nCredits: \nSome of the #art: @Stratfordames\nMinor part of the art: Freepik (freepik.com)\nMusic: OneRepublic, James Bartholomew (OneRepublic - Counting Stars - Fingerstyle Guitar Cover By James Bartholomew)\nCloud engine: @griffpatch\n\nYour activity will be collected for research purposes\n\nAds for an #animation that has good #stories https://scratch.mit.edu/projects/477246590

@Stage\n\nwhen flag clicked\nif <not <(username) = [wasdcrzp]>> then\n    forever\n        play sound [Counting Stars v] until done\n    end\nend\n\n@Sprite1\n\n@Player\n\ndefine Slope detect\nchange [x v] by (sx)\nPosition\nset [tick v] to [0]\nrepeat until <<(Tick) = [8]> or <not <<touching (platforms v)?> or <touching (springs v)?>>>>\n    change [tick v] by (1)\n    change [y v] by (1)\n    Position\nend\nif <(Tick) = [8]> then\n    change [y v] by ((0) - (Tick))\n    change [x v] by ((sx) * (-1))\n    set [sx v] to [0]\n    Position\nend\n\ndefine Position\ngo to x: ((x) - (Scroll x)) y: ((y) - (Scroll y))\n\nwhen flag clicked\nset [deaths this run v] to [0]\nset [park v] to [0]\nset [scroll x v] to [30]\nset [scroll y v] to [51]\nset [x v] to [30]\nset [y v] to [51]\nset [ghost v] to [0]\nbroadcast (restart v)\n\nwhen I receive [restart v]\nif <(costume [number v]) = [1]> then\n    set [stop platform v] to [0]\n    show\n    set [sx v] to [0]\n    set [sy v] to [0]\n    set [eye x v] to [0]\n    set [eye y v] to [0]\n    set [ghost v] to [0]\n    set [ghost v] effect to (0)\n    Position\n    broadcast (tick v)\n    forever\n        if <(Stop Platform) = [1]> then\n            stop [this script v]\n        end\n        if <not <(Movability) = [2]>> then\n            set [sx v] to ((sx) * (.9))\n            if <<<(Scroll x) < [-130]> or <[1700] < (Scroll x)>> or <(Movability) = [1]>> then\n                set [sx v] to ((sx) * (.9))\n            end\n            if <<<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) > (mouse x)>> and <<(distance to [mouse-pointer v]) < [200]> and <(Emoji) = [0]>>>> and <(Movability) = [0]>> then\n                change [sx v] by (-1)\n            end\n            if <<<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<<mouse down?> and <(mouse x) > (x position)>> and <<(distance to [mouse-pointer v]) < [200]> and <(Emoji) = [0]>>>> and <(Movability) = [0]>> then\n                change [sx v] by (1)\n            end\n            Slope detect\n            change [sy v] by (-1)\n            if <<touching (water v)?> and <(sy) < [-3]>> then\n                set [sy v] to [-3]\n            end\n            change [y v] by (sy)\n            Position\n            if <<touching (platforms v)?> or <touching (springs v)?>> then\n                if <<(item (16) of [achievements v]) = [0]> and <<(Park) = [1]> and <(x) > [700]>>> then\n                    add [16] to [achievements to display v]\n                    replace item (16) of [achievements v] with [1]\n                end\n                set [park v] to [0]\n                change [y v] by ((0) - (sy))\n                set [sy v] to [0]\n                Position\n            end\n            if <not <(sy) = [0]>> then\n                set [snorker v] to [0]\n            end\n            if <<<touching (spikes v)?> or <touching (wheels v)?>> or <(y) < [-180]>> then\n                change [deaths v] by (1)\n                change [deaths this run v] by (1)\n                go to x: (((x) - (sx)) - (Scroll x)) y: (((y) - (sy)) - (Scroll y))\n                repeat (5)\n                    change [ghost v] effect by (10)\n                    change [ghost v] by (10)\n                    broadcast (tick v)\n                end\n                repeat (10)\n                    change [ghost v] effect by (10)\n                    change [ghost v] by (10)\n                    change [scroll x v] by (((Flag x) - (Scroll x)) / (3))\n                    change [scroll y v] by (((Flag y) - (Scroll y)) / (3))\n                    switch costume to (clip v)\n                    Position\n                    switch costume to (man v)\n                    broadcast (tick v)\n                end\n                set [sx v] to [0]\n                set [sy v] to [0]\n                set [eye x v] to [0]\n                set [eye y v] to [0]\n                set [brightness v] effect to (100)\n                set [ghost v] to [50]\n                set [ghost v] effect to (50)\n                set [scroll x v] to (Flag x)\n                set [scroll y v] to (Flag y)\n                set [x v] to (Flag x)\n                set [y v] to (Flag y)\n                Position\n                broadcast (tick v)\n                repeat (10)\n                    change [brightness v] effect by (-10)\n                    change [ghost v] by (-5)\n                    change [ghost v] effect by (-5)\n                    broadcast (tick v)\n                end\n                broadcast (restart v)\n                stop [this script v]\n            end\n            change y by (-1)\n            if <<<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<<mouse down?> and <(mouse y) > (y position)>> and <<(distance to [mouse-pointer v]) < [200]> and <(Emoji) = [0]>>>> and <touching (water v)?>> and <(Movability) = [0]>> then\n                set [sy v] to [7]\n            end\n            if <<<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<<mouse down?> and <(mouse y) > (y position)>> and <<(distance to [mouse-pointer v]) < [200]> and <(Emoji) = [0]>>>> and <<touching (platforms v)?> and <not <touching (water v)?>>>> and <(Movability) = [0]>> then\n                set [sy v] to [15]\n                change [jumps v] by (1)\n                if <<(item (17) of [achievements v]) = [0]> and <<(y) > [1100]> and <(x) > [900]>>> then\n                    add [17] to [achievements to display v]\n                    replace item (17) of [achievements v] with [1]\n                end\n            end\n            if <touching (springs v)?> then\n                set [sy v] to [22]\n                change [bounces v] by (1)\n                broadcast (bounce v)\n            end\n            change y by (1)\n            change [scroll x v] by (round (((x) - (Scroll x)) / (4)))\n            change [scroll y v] by (round (((y) - (Scroll y)) / (4)))\n            if <(Scroll x) < [-130]> then\n                set [scroll x v] to ((-130) + (([sqrt v] of (((x) - (-130)) * (-0.1)) ) * (-10)))\n            end\n            if <[1700] < (Scroll x)> then\n                set [scroll x v] to ((1700) + (([sqrt v] of (((x) - (1700)) * (0.1)) ) * (10)))\n            end\n            if <(Scroll y) < [51]> then\n                set [scroll y v] to ((51) + (([sqrt v] of (((y) - (51)) * (-0.1)) ) * (-10)))\n            end\n            Position\n            broadcast (tick v)\n            set [objx v] to (x)\n            set [objy v] to (y)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I start as a clone\nswitch costume to (man2 v)\nrepeat (5)\n    change [ghost v] effect by (20)\n    change size by (-5)\n    switch costume to (clip v)\n    go to x: ((((objx) - (Scroll x)) * (.6)) + (([x position v] of [player v]) * (.4))) y: ((((objy) - (Scroll y)) * (.6)) + (([y position v] of [player v]) * (.4)))\n    switch costume to (man2 v)\nend\ndelete this clone\n\nwhen I receive [wrap v]\nif <(costume [number v]) = [1]> then\n    change y by (-1)\n    if <<touching (platforms v)?> and <<(sy) = [0]> and <not <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<<mouse down?> and <(mouse y) > (y position)>> and <<(distance to [mouse-pointer v]) < [200]> and <(Emoji) = [0]>>>>>>> then\n        set [movability v] to [2]\n        set [emoji v] to [0]\n    end\n    change y by (1)\n    if <(Movability) = [2]> then\n        set [sx v] to [0]\n        set [sy v] to [0]\n        broadcast (flag v)\n        set [flag v] to (item # of (Flag x) in [flag x v])\n        repeat until <(Movability) = [0]>\n            change [scroll x v] by (((item (Flag) of [flag x v]) - (Scroll x)) / (4))\n            change [scroll y v] by (((item (Flag) of [flag y v]) - (Scroll y)) / (4))\n            switch costume to (clip v)\n            Position\n            switch costume to (man v)\n            broadcast (tick v)\n        end\n    else\n        broadcast (fail v)\n    end\nend\n\nwhen I receive [select v]\nif <(costume [number v]) = [1]> then\n    repeat (5)\n        change [ghost v] effect by (10)\n        broadcast (tick v)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n        change [scroll x v] by (((Flag x) - (Scroll x)) / (4))\n        change [scroll y v] by (((Flag y) - (Scroll y)) / (4))\n        switch costume to (clip v)\n        Position\n        switch costume to (man v)\n        broadcast (tick v)\n    end\n    set [brightness v] effect to (100)\n    set [ghost v] effect to (50)\n    set [scroll x v] to (Flag x)\n    set [scroll y v] to (Flag y)\n    set [x v] to (Flag x)\n    set [y v] to (Flag y)\n    Position\n    broadcast (tick v)\n    set [movability v] to [0]\n    set [stop platform v] to [1]\n    repeat (10)\n        change [brightness v] effect by (-10)\n        change [ghost v] effect by (-5)\n    end\n    broadcast (restart v)\nend\n\nwhen I receive [cancel warp v]\nif <(costume [number v]) = [1]> then\n    stop [other scripts in sprite v]\n    repeat (3)\n        change [scroll x v] by (((x) - (Scroll x)) / (4))\n        change [scroll y v] by (((y) - (Scroll y)) / (4))\n        switch costume to (clip v)\n        Position\n        switch costume to (man v)\n        broadcast (tick v)\n    end\n    broadcast (restart v)\n    set [movability v] to [0]\nend\n\nreplace item (4) of [flagcheck v] with [1]\n\n@Platforms\n\nwhen flag clicked\nset [dex v] to [0]\ncreate clone of (_myself_ v)\nset [dex v] to [1]\ncreate clone of (_myself_ v)\nset [dex v] to [2]\ncreate clone of (_myself_ v)\nforever\n    switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\n    x (costume [number v])\nend\n\nwhen I start as a clone\nforever\n    if <(dex) = [0]> then\n        switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [1]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [2]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\n    end\n    x (costume [number v])\nend\n\nwhen I receive [tick v]\nx (costume [number v])\n\ndefine x (number or text)\nset [objx v] to ((((costume [number v]) mod (6)) - (2)) * (480))\nset [objy v] to ((([ceiling v] of ((costume [number v]) / (6)) ) - (2)) * (360))\nswitch costume to (clip v)\ngo to x: ((objx) - (Scroll x)) y: ((objy) - (Scroll y))\nswitch costume to (number or text)\n\n@Spikes\n\nwhen I start as a clone\nforever\n    if <(dex) = [0]> then\n        switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [1]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [2]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\n    end\nend\n\ndefine x (number or text)\nset [objx v] to ((((costume [number v]) mod (6)) - (2)) * (480))\nset [objy v] to ((([ceiling v] of ((costume [number v]) / (6)) ) - (2)) * (360))\nswitch costume to (costume5 v)\ngo to x: ((objx) - (Scroll x)) y: ((objy) - (Scroll y))\nswitch costume to (number or text)\n\nwhen I receive [tick v]\nx (costume [number v])\n\nwhen flag clicked\nset [dex v] to [0]\ncreate clone of (_myself_ v)\nset [dex v] to [1]\ncreate clone of (_myself_ v)\nset [dex v] to [2]\ncreate clone of (_myself_ v)\nforever\n    switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\nend\n\n@Water\n\nwhen flag clicked\nset [ghost v] effect to (30)\nset [dex v] to [0]\ncreate clone of (_myself_ v)\nset [dex v] to [1]\ncreate clone of (_myself_ v)\nset [dex v] to [2]\ncreate clone of (_myself_ v)\nforever\n    switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\nend\n\nwhen I start as a clone\nforever\n    if <(dex) = [0]> then\n        switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [1]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [2]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\n    end\nend\n\nwhen I receive [tick v]\nx (costume [number v])\n\ndefine x (number or text)\nset [objx v] to ((((costume [number v]) mod (6)) - (2)) * (480))\nset [objy v] to ((([ceiling v] of ((costume [number v]) / (6)) ) - (2)) * (360))\nswitch costume to (clip v)\ngo to x: ((objx) - (Scroll x)) y: ((objy) - (Scroll y))\nswitch costume to (number or text)\n\n@Decorations\n\nwhen flag clicked\nset [dex v] to [0]\ncreate clone of (_myself_ v)\nset [dex v] to [1]\ncreate clone of (_myself_ v)\nset [dex v] to [2]\ncreate clone of (_myself_ v)\nforever\n    switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\nend\n\ndefine x (number or text)\nset [objx v] to ((((costume [number v]) mod (6)) - (2)) * (480))\nset [objy v] to ((([ceiling v] of ((costume [number v]) / (6)) ) - (2)) * (360))\nswitch costume to (costume1 v)\ngo to x: ((objx) - (Scroll x)) y: ((objy) - (Scroll y))\nswitch costume to (number or text)\n\nwhen I receive [tick v]\nx (costume [number v])\n\nwhen I start as a clone\nforever\n    if <(dex) = [0]> then\n        switch costume to (((([ceiling v] of ((Scroll x) / (960)) ) * (2)) + (1)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [1]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + ((([ceiling v] of ((Scroll y) / (720)) ) * (2)) * (6)))\n    end\n    if <(dex) = [2]> then\n        switch costume to (((([ceiling v] of (((Scroll x) - (480)) / (960)) ) * (2)) + (2)) + (((([ceiling v] of (((Scroll y) - (360)) / (720)) ) * (2)) + (1)) * (6)))\n    end\nend\n\n@Wheels\n\ndefine x (number or text)\nswitch costume to (clip v)\ngo to x: ((objx) - (Scroll x)) y: ((objy) - (Scroll y))\nswitch costume to (number or text)\nif <<((objx) - (Scroll x)) = (x position)> and <((objy) - (Scroll y)) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nx (costume [number v])\n\nwhen flag clicked\nswitch costume to (wheel v)\nset [index v] to [0]\nset [vel v] to [0]\nset [objx v] to [1425]\nset [objy v] to [415]\ncreate clone of (_myself_ v)\nset [objx v] to [1435]\nset [objy v] to [1200]\ncreate clone of (_myself_ v)\nset [objx v] to [1638]\nset [objy v] to [1200]\ncreate clone of (_myself_ v)\nset [index v] to [4]\nset [objx v] to [1399]\nset [objy v] to [1100]\ncreate clone of (_myself_ v)\nset [objx v] to [1196]\nset [objy v] to [1100]\ncreate clone of (_myself_ v)\nset [index v] to [1]\nset [objx v] to [450]\nset [objy v] to [935]\ncreate clone of (_myself_ v)\nset [index v] to [2]\nset [objx v] to [350]\nset [objy v] to [685]\ncreate clone of (_myself_ v)\nset [index v] to [3]\nset [objx v] to [500]\nset [objy v] to [885]\ncreate clone of (_myself_ v)\nset [objx v] to [360]\nset [objy v] to [885]\ncreate clone of (_myself_ v)\nset [objx v] to [220]\nset [objy v] to [885]\ncreate clone of (_myself_ v)\nswitch costume to (blank v)\n\nwhen I start as a clone\nforever\n    if <(index) = [0]> then\n        repeat (30)\n            change [vel v] by (-1)\n        end\n        repeat (30)\n            change [vel v] by (1)\n        end\n    end\n    if <(index) = [1]> then\n        repeat (28)\n            change [vel v] by (-1)\n        end\n        repeat (28)\n            change [vel v] by (1)\n        end\n    end\n    if <(index) = [2]> then\n        repeat (28)\n            change [vel v] by (1)\n        end\n        repeat (28)\n            change [vel v] by (-1)\n        end\n    end\n    if <(index) = [3]> then\n        repeat (30)\n            change [vel v] by (1)\n        end\n        repeat (30)\n            change [vel v] by (-1)\n        end\n    end\n    if <(index) = [4]> then\n        repeat (30)\n            change [vel v] by (1)\n        end\n        repeat (30)\n            change [vel v] by (-1)\n        end\n    end\nend\n\nwhen I start as a clone\nif <<(index) = [0]> or <(index) = [4]>> then\n    forever\n        x (costume [number v])\n        turn right (vel) degrees\n        set [vel v] to ((vel) * (0.9))\n        change [objx v] by (vel)\n    end\nend\nif <(index) = [1]> then\n    forever\n        x (costume [number v])\n        turn right (vel) degrees\n        set [vel v] to ((vel) * (0.9))\n        change [objx v] by (vel)\n        change [objy v] by (vel)\n    end\nend\nif <(index) = [2]> then\n    forever\n        x (costume [number v])\n        turn right (vel) degrees\n        set [vel v] to ((vel) * (0.9))\n        change [objx v] by ((vel) * (-1))\n        change [objy v] by (vel)\n    end\nend\nif <(index) = [3]> then\n    forever\n        x (costume [number v])\n        turn right (vel) degrees\n        set [vel v] to ((vel) * (0.9))\n        change [objy v] by (vel)\n    end\nend\n\n@Flags\n\ndefine x (number or text)\nswitch costume to (clip v)\ngo to x: ((objx) - (round (Scroll x))) y: ((objy) - (round (Scroll y)))\nswitch costume to (number or text)\nif <<(round ((objx) - (round (Scroll x)))) = (x position)> and <(round ((objy) - (round (Scroll y)))) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nx (costume [number v])\n\nwhen flag clicked\nshow\nset [number v] to [1]\nset [objx v] to [30]\nset [objy v] to [55]\ncreate clone of (_myself_ v)\nset [flag x v] to [30]\nset [flag y v] to [51]\nset [number v] to [3]\nset [objx v] to [165]\nset [objy v] to [758]\ncreate clone of (_myself_ v)\nset [number v] to [4]\nset [objx v] to [225]\nset [objy v] to [1167]\ncreate clone of (_myself_ v)\nset [number v] to [5]\nset [objx v] to [875]\nset [objy v] to [647]\ncreate clone of (_myself_ v)\nset [number v] to [2]\nset [objx v] to [1455]\nset [objy v] to [428]\ncreate clone of (_myself_ v)\nset [number v] to [6]\nset [objx v] to [1520]\nset [objy v] to [821]\ncreate clone of (_myself_ v)\nswitch costume to (blank v)\n\nwhen I start as a clone\nreplace item (number) of [flagcheck v] with [0]\nif <(objx) = [1520]> then\n    switch costume to (open2 v)\nelse\n    switch costume to (lock v)\nend\nwait (0) seconds\nwait until <touching (player v)?>\nreplace item (number) of [flagcheck v] with [1]\nif <(objx) = [1520]> then\n    broadcast (win v)\n    set [movability v] to [1]\n    if <<(timer) < (PB Speed)> or <(PB Speed) = [/]>> then\n        set [pb speed v] to (timer)\n    end\n    if <<(Deaths this run) < (PB Death)> or <(PB Death) = [/]>> then\n        set [pb death v] to (Deaths this run)\n    end\n    if <(item (10) of [achievements v]) = [0]> then\n        add [10] to [achievements to display v]\n        replace item (10) of [achievements v] with [1]\n    end\n    if <<(item (11) of [achievements v]) = [0]> and <[75.1] > (timer)>> then\n        add [11] to [achievements to display v]\n        replace item (11) of [achievements v] with [1]\n    end\n    if <<(item (12) of [achievements v]) = [0]> and <[120.1] > (timer)>> then\n        add [12] to [achievements to display v]\n        replace item (12) of [achievements v] with [1]\n    end\n    if <<(item (13) of [achievements v]) = [0]> and <[5] > (Deaths this run)>> then\n        add [13] to [achievements to display v]\n        replace item (13) of [achievements v] with [1]\n    end\n    if <<(item (14) of [achievements v]) = [0]> and <[1] > (Deaths this run)>> then\n        add [14] to [achievements to display v]\n        replace item (14) of [achievements v] with [1]\n    end\nelse\n    if <<(item (9) of [achievements v]) = [0]> and <not <(number) = [1]>>> then\n        add [9] to [achievements to display v]\n        replace item (9) of [achievements v] with [1]\n    end\nend\nforever\n    if <(objx) = [1520]> then\n        switch costume to (lock2 v)\n        if <touching (player v)?> then\n            set [flag x v] to (objx)\n            set [flag y v] to ((objy) - (19))\n        end\n    else\n        switch costume to (open v)\n        if <touching (player v)?> then\n            set [flag x v] to (objx)\n            set [flag y v] to ((objy) - (4))\n            if <(number) = [3]> then\n                set [snorker v] to [1]\n            end\n        end\n    end\n    if <<(objx) = (Flag x)> and <<((objy) - (4)) = (Flag y)> or <((objy) - (19)) = (Flag y)>>> then\n        set [brightness v] effect to (10)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\n@Springs\n\ndefine x (number or text)\nswitch costume to (clip v)\ngo to x: ((objx) - (Scroll x)) y: ((objy) - (Scroll y))\nswitch costume to (number or text)\nif <<((objx) - (Scroll x)) = (x position)> and <((objy) - (Scroll y)) = (y position)>> then\n    show\nelse\n    hide\nend\n\nswitch costume to (clip v)\ngo to x: ((objx) - (Scroll x)) y: ((objy) - (Scroll y))\nswitch costume to (number or text)\nif <<((objx) - (Scroll x)) = (x position)> and <((objy) - (Scroll y)) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nx (costume [number v])\n\nwhen I receive [bounce v]\nchange y by (15)\nif <touching (player v)?> then\n    if <(objx) = [290]> then\n        set [park v] to [1]\n    end\n    repeat (3)\n        switch costume to ((costume [number v]) - (1))\n        wait (0) seconds\n    end\n    switch costume to ((costume [number v]) - (2))\n    wait (0) seconds\n    switch costume to ((costume [number v]) - (3))\n    wait (0) seconds\n    repeat (3)\n        switch costume to ((costume [number v]) - (-1))\n        wait (0) seconds\n    end\n    switch costume to ((costume [number v]) - (-2))\n    wait (0) seconds\n    switch costume to ((costume [number v]) - (-3))\n    wait (0) seconds\nend\n\nwhen flag clicked\nswitch costume to (b1 v)\nset [objx v] to [290]\nset [objy v] to [1163]\ncreate clone of (_myself_ v)\nset [objx v] to [1214]\nset [objy v] to [951]\ncreate clone of (_myself_ v)\nrepeat (14)\n    change [objx v] by (29)\n    create clone of (_myself_ v)\nend\nset [objx v] to [1560]\nset [objy v] to [191]\n\n@Hills\n\nwhen flag clicked\nswitch costume to (top v)\ncreate clone of (_myself_ v)\nswitch costume to (middle v)\ncreate clone of (_myself_ v)\nswitch costume to (bottom v)\nforever\n    go to x: (((785) - (Scroll x)) * (.2)) y: (((((600) - (Scroll y)) * (.2)) / (5)) - (50))\nend\n\nwhen I start as a clone\nforever\n    go to x: (((785) - (Scroll x)) * (((costume [number v]) / (-20)) + (0.2))) y: (((((600) - (Scroll y)) * (((costume [number v]) / (-20)) + (0.2))) / (5)) - (50))\nend\n\n@Emojis\n\nwhen flag clicked\nset [flex ghost v] to [100]\nset [cooldown v] to [0]\nhide\nforever\n    set [ghost v] effect to ((Flex Ghost) + (Ghost))\nend\n\nwhen I receive [flex v]\nif <not <(costume [number v]) = [22]>> then\n    broadcast (timer v)\n    switch costume to ((Emoji Show) - (27))\n    block name\nend\n\ndefine block name\nshow\nset [flex ghost v] to [100]\nset [ghost v] effect to ((Flex Ghost) + (Ghost))\nrepeat (10)\n    change [flex ghost v] by (-10)\nend\nwait (2) seconds\nrepeat (10)\n    change [flex ghost v] by (10)\nend\nhide\n\nwhen I start as a clone\nset size to (100) %\nclear graphic effects\nshow\ngo to [front v] layer\ngo to x: (0) y: (-30)\nrepeat (10)\n    change y by (((40) - (y position)) / (15))\nend\nrepeat (10)\n    change y by (((40) - (y position)) / (15))\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\ndefine clone (costume number)\nswitch costume to (costume22 v)\ncreate clone of (_myself_ v)\nswitch costume to (costume number)\n\nwhen flag clicked\nforever\n    wait until <key (space v) pressed?>\n    if <(Cooldown) = [0]> then\n        set [emoji show v] to (Emoji Shortcut)\n        broadcast (flex v)\n    else\n        clone (costume [number v])\n    end\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen I receive [flex v]\nif <not <(costume [number v]) = [22]>> then\n    set [cooldown v] to [20]\n    repeat (20)\n        wait (1) seconds\n        change [cooldown v] by (-1)\n    end\nend\n\nwhen I receive [tick v]\nif <not <(costume [number v]) = [22]>> then\n    go to x: ((55) + ([x position v] of [player v])) y: ((40) + ([y position v] of [player v]))\nend\n\n@Warp Menu\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (205) y: (145)\nforever\n    wait until <<<mouse down?> and <touching (mouse-pointer v)?>> or <key (t v) pressed?>>\n    if <(Movability) = [0]> then\n        broadcast (wrap v)\n    end\n    wait until <not <<mouse down?> or <key (t v) pressed?>>>\nend\n\nwhen I receive [flag v]\nif <(costume [number v]) = [1]> then\n    set size to (100) %\n    switch costume to (costume2 v)\n    create clone of (_myself_ v)\n    switch costume to (costume3 v)\n    create clone of (_myself_ v)\n    switch costume to (costume4 v)\n    create clone of (_myself_ v)\n    switch costume to (costume5 v)\n    create clone of (_myself_ v)\n    switch costume to (costume1 v)\n    set size to (110) %\n    set [brightness v] effect to (-10)\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    go to x: (0) y: (-120)\n    forever\n        if <touching (mouse-pointer v)?> then\n            set size to ((size) + (((110) - (size)) / (6))) %\n            set [brightness v] effect to (10)\n        else\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (0)\n        end\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set [flag x v] to (item (Flag) of [flag x v])\n            set [flag y v] to (item (Flag) of [flag y v])\n            broadcast (select v)\n            repeat (5)\n                set size to ((size) + (((100) - (size)) / (6))) %\n                set [brightness v] effect to (0)\n                change [ghost v] effect by (20)\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <<<(costume [number v]) = [2]> or <(costume [number v]) = [4]>> or <(costume [number v]) = [5]>> then\n    set [ghost v] effect to (100)\n    repeat (5)\n        change [ghost v] effect by (-20)\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    go to [front v] layer\n    go to x: (0) y: (-30)\n    repeat (10)\n        change y by (((40) - (y position)) / (15))\n    end\n    repeat (10)\n        change y by (((40) - (y position)) / (15))\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    repeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n        if <(Movability) = [0]> then\n            if <touching (mouse-pointer v)?> then\n                set [brightness v] effect to (10)\n            else\n                set [brightness v] effect to (0)\n            end\n        end\n        if <<touching (mouse-pointer v)?> and <(Movability) = [0]>> then\n            set size to ((size) + (((110) - (size)) / (6))) %\n        else\n            set size to ((size) + (((100) - (size)) / (6))) %\n        end\n    end\n    repeat until <not <mouse down?>>\n        if <(Movability) = [0]> then\n            set [brightness v] effect to (0)\n        end\n        set size to ((size) + (((100) - (size)) / (6))) %\n    end\nend\n\nwhen I receive [fail v]\nif <(costume [number v]) = [1]> then\n    switch costume to (untitled drawing \(1\) v)\n    create clone of (_myself_ v)\n    switch costume to (costume1 v)\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    go to x: (160) y: (-120)\nend\nif <(costume [number v]) = [5]> then\n    go to x: (-160) y: (-120)\nend\nif <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>> then\n    replace item (1) of [flagcheck v] with [0]\n    if <[flagcheck v] contains [1]?> then\n        replace item (1) of [flagcheck v] with [1]\n        forever\n            repeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n                if <touching (mouse-pointer v)?> then\n                    set [brightness v] effect to (10)\n                    set size to ((size) + (((110) - (size)) / (6))) %\n                else\n                    set [brightness v] effect to (0)\n                    set size to ((size) + (((100) - (size)) / (6))) %\n                end\n            end\n            repeat until <not <mouse down?>>\n                set [brightness v] effect to (0)\n                set size to ((size) + (((100) - (size)) / (6))) %\n            end\n        end\n    else\n        replace item (1) of [flagcheck v] with [1]\n        set [brightness v] effect to (-10)\n    end\nend\n\nwhen I receive [select v]\nset [snorker v] to [0]\nset [park v] to [0]\nif <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>> then\n    stop [other scripts in sprite v]\n    replace item (1) of [flagcheck v] with [0]\n    if <[flagcheck v] contains [1]?> then\n        replace item (1) of [flagcheck v] with [1]\n        repeat (5)\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (0)\n            change [ghost v] effect by (20)\n        end\n        delete this clone\n    else\n        replace item (1) of [flagcheck v] with [1]\n        repeat (5)\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (-10)\n            change [ghost v] effect by (20)\n        end\n        delete this clone\n    end\nend\nif <(costume [number v]) = [6]> then\n    stop [other scripts in sprite v]\n    repeat (5)\n        set size to ((size) + (((100) - (size)) / (6))) %\n        set [brightness v] effect to (0)\n        change [ghost v] effect by (20)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    forever\n        wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n        change [1]\n        wait until <not <mouse down?>>\n    end\nend\nif <(costume [number v]) = [5]> then\n    forever\n        wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n        change [-1]\n        wait until <not <mouse down?>>\n    end\nend\n\ndefine change (val)\nchange [flag v] by (val)\nif <(Flag) = [0]> then\n    set [flag v] to [6]\nend\nif <(Flag) = [7]> then\n    set [flag v] to [1]\nend\nrepeat until <(item (Flag) of [flagcheck v]) = [1]>\n    change [flag v] by (val)\n    if <(Flag) = [0]> then\n        set [flag v] to [6]\n    end\n    if <(Flag) = [7]> then\n        set [flag v] to [1]\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [6]> then\n    go to x: (-160) y: (120)\n    forever\n        if <touching (mouse-pointer v)?> then\n            set size to ((size) + (((110) - (size)) / (6))) %\n            set [brightness v] effect to (10)\n        else\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (0)\n        end\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            wait until <not <mouse down?>>\n            broadcast (cancel warp v)\n        end\n    end\nend\n\nwhen I receive [cancel warp v]\nif <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>> then\n    stop [other scripts in sprite v]\n    replace item (1) of [flagcheck v] with [0]\n    if <[flagcheck v] contains [1]?> then\n        replace item (1) of [flagcheck v] with [1]\n        repeat (5)\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (0)\n            change [ghost v] effect by (20)\n        end\n        delete this clone\n    else\n        replace item (1) of [flagcheck v] with [1]\n        repeat (5)\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (-10)\n            change [ghost v] effect by (20)\n        end\n        delete this clone\n    end\nend\nif <<(costume [number v]) = [2]> or <(costume [number v]) = [6]>> then\n    stop [other scripts in sprite v]\n    repeat (5)\n        set size to ((size) + (((100) - (size)) / (6))) %\n        set [brightness v] effect to (0)\n        change [ghost v] effect by (20)\n    end\n    delete this clone\nend\n\n@Emoji Menu\n\nwhen flag clicked\nset [emoji v] to [0]\nswitch costume to (costume2 v)\ngo to x: (150) y: (145)\nforever\n    wait until <<<mouse down?> and <touching (mouse-pointer v)?>> or <key (e v) pressed?>>\n    if <(Emoji) = [0]> then\n        set [emoji v] to [1]\n        broadcast (emoji v)\n        broadcast (cancel warp v)\n    end\n    wait until <not <<mouse down?> or <key (e v) pressed?>>>\nend\n\nwhen flag clicked\nforever\n    repeat until <<<mouse down?> and <touching (mouse-pointer v)?>> or <key (e v) pressed?>>\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n        else\n            set [brightness v] effect to (0)\n        end\n        if <touching (mouse-pointer v)?> then\n            set size to ((size) + (((110) - (size)) / (6))) %\n        else\n            set size to ((size) + (((100) - (size)) / (6))) %\n        end\n    end\n    repeat until <(Emoji) = [0]>\n        set size to ((size) + (((100) - (size)) / (6))) %\n        set [brightness v] effect to (-10)\n    end\nend\n\nwhen I receive [emoji v]\nif <(costume [number v]) = [1]> then\n    switch costume to (costume3 v)\n    create clone of (_myself_ v)\n    switch costume to (costume4 v)\n    create clone of (_myself_ v)\n    switch costume to (costume25 v)\n    create clone of (_myself_ v)\n    switch costume to (costume26 v)\n    create clone of (_myself_ v)\n    switch costume to (costume27 v)\n    create clone of (_myself_ v)\n    switch costume to (costume28 v)\n    create clone of (_myself_ v)\n    switch costume to (costume53 v)\n    create clone of (_myself_ v)\n    switch costume to (untitled drawing \(6\)5 v)\n    create clone of (_myself_ v)\n    selects\n    switch costume to (costume2 v)\nend\n\nwhen I start as a clone\nif <not <(costume [number v]) > [49]>> then\n    set [ghost v] effect to (100)\n    repeat (5)\n        if <<(costume [number v]) = [3]> or <(costume [number v]) = [5]>> then\n            change [ghost v] effect by (-15)\n        else\n            change [ghost v] effect by (-20)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    go to x: (-160) y: (120)\n    forever\n        if <touching (mouse-pointer v)?> then\n            set size to ((size) + (((110) - (size)) / (6))) %\n            set [brightness v] effect to (10)\n        else\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (0)\n        end\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            wait until <not <mouse down?>>\n            set [emoji v] to [0]\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    set size to (90) %\n    go to x: (0) y: (-40)\n    set [brightness v] effect to (0)\nend\n\nwhen I start as a clone\nwait until <(Emoji) = [0]>\nstop [other scripts in sprite v]\nrepeat (5)\n    if <<<(costume [number v]) > [27]> and <(costume [number v]) < [49]>> and <(Please no) = [0]>> then\n        set size to ((size) + (((72) - (size)) / (6))) %\n        if <(costume [number v]) = (Pressed emoji)> then\n            set [brightness v] effect to (-20)\n        else\n            set [brightness v] effect to (-10)\n        end\n    else\n        if <<(Please no) = [1]> or <(costume [number v]) = [5]>> then\n            set size to (230) %\n        else\n            if <(costume [number v]) = [3]> then\n                set size to ((size) + (((90) - (size)) / (6))) %\n            else\n                set size to ((size) + (((100) - (size)) / (6))) %\n            end\n        end\n        if <(costume [number v]) = [27]> then\n            if <<(item ((Pressed emoji) - (10)) of [achievements v]) = [0]> or <(Emoji Shortcut) = (Pressed emoji)>> then\n                set [brightness v] effect to (-20)\n            else\n                set [brightness v] effect to (-10)\n            end\n        else\n            if <<(costume [number v]) > [5]> and <(Please no) = [0]>> then\n                if <<(item ((Pressed emoji) - (10)) of [achievements v]) = [0]> or <(Cooldown) > [0]>> then\n                    set [brightness v] effect to (-20)\n                else\n                    set [brightness v] effect to (-10)\n                end\n            else\n                set [brightness v] effect to (-10)\n            end\n        end\n    end\n    if <<(costume [number v]) = [3]> or <(costume [number v]) = [5]>> then\n        change [ghost v] effect by (15)\n    else\n        change [ghost v] effect by (20)\n    end\nend\ndelete this clone\n\ndefine selects\nswitch costume to (costume1 v)\ngo to x: (-152) y: (43.5)\nrepeat (3)\n    repeat (4)\n        create clone of (_myself_ v)\n        change x by (35)\n        next costume\n    end\n    set x to (-134.5)\n    change y by (-33.4)\n    repeat (3)\n        create clone of (_myself_ v)\n        change x by (35)\n        next costume\n    end\n    set x to (-152)\n    change y by (-33.4)\nend\ngo to x: (150) y: (145)\n\nwhen I start as a clone\nif <<<(costume [number v]) > [27]> and <(costume [number v]) < [49]>> and <not <(Please no) = [1]>>> then\n    set size to (72) %\n    forever\n        if <not <(costume [number v]) = (Pressed emoji)>> then\n            repeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n                if <touching (mouse-pointer v)?> then\n                    set size to ((size) + (((80) - (size)) / (6))) %\n                    set [brightness v] effect to (0)\n                else\n                    set size to ((size) + (((72) - (size)) / (6))) %\n                    set [brightness v] effect to (-10)\n                end\n            end\n            set [pressed emoji v] to (costume [number v])\n        end\n        repeat until <not <(costume [number v]) = (Pressed emoji)>>\n            set size to ((size) + (((72) - (size)) / (6))) %\n            set [brightness v] effect to (-20)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    set [please no v] to [1]\n    set size to (230) %\n    go to x: (120) y: (12)\n    switch costume to (costume1 v)\n    forever\n        switch costume to (Pressed emoji)\n    end\nend\nif <(costume [number v]) = [5]> then\n    set size to (230) %\n    go to x: (120) y: (12)\n    forever\n        if <(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> then\n            show\n        else\n            hide\n        end\n    end\nend\nif <(costume [number v]) = [6]> then\n    go to x: (21) y: (37)\n    forever\n        repeat until <<<mouse down?> and <touching (mouse-pointer v)?>> or <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Cooldown) > [0]>>>\n            switch costume to (costume27 v)\n            if <touching (mouse-pointer v)?> then\n                set size to ((size) + (((110) - (size)) / (6))) %\n                set [brightness v] effect to (0)\n            else\n                set size to ((size) + (((100) - (size)) / (6))) %\n                set [brightness v] effect to (-10)\n            end\n        end\n        if <not <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Cooldown) > [0]>>> then\n            set [emoji show v] to (Pressed emoji)\n            broadcast (flex v)\n        end\n        repeat until <not <mouse down?>>\n            set size to ((size) + (((100) - (size)) / (6))) %\n            if <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Cooldown) > [0]>> then\n                if <(Cooldown) > [0]> then\n                    switch costume to ((27) - (Cooldown))\n                else\n                    switch costume to (costume27 v)\n                end\n                set [brightness v] effect to (-20)\n            else\n                set [brightness v] effect to (-10)\n            end\n        end\n        repeat until <not <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Cooldown) > [0]>>>\n            if <(Cooldown) > [0]> then\n                switch costume to ((27) - (Cooldown))\n            else\n                switch costume to (costume27 v)\n            end\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (-20)\n        end\n    end\nend\nif <(costume [number v]) = [27]> then\n    go to x: (21) y: (-13)\n    forever\n        repeat until <<<mouse down?> and <touching (mouse-pointer v)?>> or <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Emoji Shortcut) = (Pressed emoji)>>>\n            if <touching (mouse-pointer v)?> then\n                set size to ((size) + (((110) - (size)) / (6))) %\n                set [brightness v] effect to (0)\n            else\n                set size to ((size) + (((100) - (size)) / (6))) %\n                set [brightness v] effect to (-10)\n            end\n        end\n        if <not <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Emoji Shortcut) = (Pressed emoji)>>> then\n            set [emoji shortcut v] to (Pressed emoji)\n        end\n        repeat until <not <mouse down?>>\n            set size to ((size) + (((100) - (size)) / (6))) %\n            if <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Emoji Shortcut) = (Pressed emoji)>> then\n                set [brightness v] effect to (-20)\n            else\n                set [brightness v] effect to (-10)\n            end\n        end\n        repeat until <not <<(item ((Pressed emoji) - (30)) of [achievements v]) = [0]> or <(Emoji Shortcut) = (Pressed emoji)>>>\n            set size to ((size) + (((100) - (size)) / (6))) %\n            set [brightness v] effect to (-20)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [49]> then\n    forever\n        broadcast (delete print v)\n        if <(item ((Pressed emoji) - (30)) of [achievements v]) = [1]> then\n            print [A]\n        else\n            if <(Pressed emoji) = [32]> then\n                print (join ([floor v] of (((Jumps) / (50)) * (100)) ) [%])\n            end\n            if <(Pressed emoji) = [33]> then\n                print (join ([floor v] of (((Jumps) / (1000)) * (100)) ) [%])\n            end\n            if <(Pressed emoji) = [35]> then\n                print (join ([floor v] of (((Deaths) / (20)) * (100)) ) [%])\n            end\n            if <(Pressed emoji) = [36]> then\n                print (join ([floor v] of (((Deaths) / (150)) * (100)) ) [%])\n            end\n            if <(Pressed emoji) = [38]> then\n                print (join ([floor v] of (((Bounces) / (50)) * (100)) ) [%])\n            end\n            if <<(Pressed emoji) = [41]> or <(Pressed emoji) = [42]>> then\n                if <(PB Speed) = [/]> then\n                    print [PB:/]\n                else\n                    print (join [PB:] ([ceiling v] of (PB Speed) ))\n                end\n            end\n            if <<(Pressed emoji) = [43]> or <(Pressed emoji) = [44]>> then\n                print (join [PB:] (PB Death))\n            end\n            if <(Pressed emoji) = [48]> then\n                print (join ([floor v] of ((((item (1) of [achievements v]) + (((((item (2) of [achievements v]) + (item (3) of [achievements v])) + ((item (4) of [achievements v]) + (item (5) of [achievements v]))) + (((item (6) of [achievements v]) + (item (7) of [achievements v])) + ((item (8) of [achievements v]) + (item (9) of [achievements v])))) + ((((item (10) of [achievements v]) + (item (11) of [achievements v])) + ((item (12) of [achievements v]) + (item (13) of [achievements v]))) + (((item (14) of [achievements v]) + (item (15) of [achievements v])) + ((item (16) of [achievements v]) + (item (17) of [achievements v])))))) / (17)) * (100)) ) [%])\n            end\n        end\n        switch costume to (costume53 v)\n    end\nend\nif <(costume [number v]) = [66]> then\n    go to x: (70) y: (-80)\n    set size to (90) %\n    forever\n        switch costume to ((Pressed emoji) + (39))\n    end\nend\n\ndefine print (text)\ngo to x: ((76) + ((length of (text)) * (-6))) y: (-130)\nset [value v] to [1]\nrepeat (length of (text))\n    switch costume to ((item # of (letter (value) of (text)) in [data v]) + (49))\n    create clone of (_myself_ v)\n    change x by (12)\n    change [value v] by (1)\nend\n\nwhen I receive [delete print v]\nif <<(costume [number v]) > [49]> and <(costume [number v]) < [66]>> then\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) > [50]> then\n    go to [front v] layer\nend\n\n@Notice\n\nwhen flag clicked\nif <(item (1) of [achievements v]) = [0]> then\n    wait until <(Jumps) > [0]>\n    add [1] to [achievements to display v]\n    replace item (1) of [achievements v] with [1]\nend\nif <(item (2) of [achievements v]) = [0]> then\n    wait until <(Jumps) > [49]>\n    add [2] to [achievements to display v]\n    replace item (2) of [achievements v] with [1]\nend\nif <(item (3) of [achievements v]) = [0]> then\n    wait until <(Jumps) > [999]>\n    add [3] to [achievements to display v]\n    replace item (3) of [achievements v] with [1]\nend\n\nwhen flag clicked\nif <(item (4) of [achievements v]) = [0]> then\n    wait until <(Deaths) > [0]>\n    add [4] to [achievements to display v]\n    replace item (4) of [achievements v] with [1]\nend\nif <(item (5) of [achievements v]) = [0]> then\n    wait until <(Deaths) > [19]>\n    add [5] to [achievements to display v]\n    replace item (5) of [achievements v] with [1]\nend\nif <(item (6) of [achievements v]) = [0]> then\n    wait until <(Deaths) > [149]>\n    add [6] to [achievements to display v]\n    replace item (6) of [achievements v] with [1]\nend\n\nwhen flag clicked\nif <(item (7) of [achievements v]) = [0]> then\n    wait until <(Bounces) > [0]>\n    add [7] to [achievements to display v]\n    replace item (7) of [achievements v] with [1]\nend\nif <(item (8) of [achievements v]) = [0]> then\n    wait until <(Bounces) > [49]>\n    add [8] to [achievements to display v]\n    replace item (8) of [achievements v] with [1]\nend\n\nwhen flag clicked\nhide\nset [brightness v] effect to (-10)\nforever\n    wait until <(length of [achievements to display v]) > [0]>\n    show\n    set [ghost v] effect to (100)\n    switch costume to (clip v)\n    go to x: (0) y: (300)\n    set [cost v] to (item (1) of [achievements to display v])\n    delete (1) of [achievements to display v]\n    repeat until <(round (y position)) = [150]>\n        switch costume to (clip v)\n        change y by (((150) - (y position)) / (8))\n        switch costume to (cost)\n        change [ghost v] effect by (-10)\n    end\n    wait (1) seconds\n    repeat (10)\n        switch costume to (clip v)\n        change y by (((220) - (y position)) / (8))\n        switch costume to (cost)\n        change [ghost v] effect by (10)\n    end\n    wait (.5) seconds\nend\n\nwhen flag clicked\nforever\n    if <<<(item (15) of [achievements v]) = [0]> and <(Snorker) = [1]>> and <<(x) > [440]> and <(y) > [753]>>> then\n        add [15] to [achievements to display v]\n        replace item (15) of [achievements v] with [1]\n    end\n    if <(item # of [0] in [achievements v]) = [18]> then\n        add [18] to [achievements to display v]\n        replace item (18) of [achievements v] with [1]\n    end\nend\n\nset [pb death v] to [/]\nset [pb speed v] to [/]\nset [bounces v] to [0]\nset [jumps v] to [0]\nset [deaths v] to [0]\ndelete all of [achievements v]\nrepeat (18)\n    add [0] to [achievements v]\nend\n\n@Win Screen\n\nwhen flag clicked\nhide\n\nwhen I receive [win v]\nwait (1) seconds\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nshow\nswitch costume to (blank v)\nset size to (150) %\nswitch costume to (win v)\nrepeat until <(size) < [101]>\n    switch costume to (blank v)\n    change size by (((100) - (size)) / (7))\n    switch costume to (win 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\ngo to x: (0) y: (0)\nwait (1) seconds\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo [forward v] (1) layers\nshow\nswitch costume to (clip v)\ngo to x: (0) y: (-280)\nrepeat until <(round (y position)) = [-115]>\n    switch costume to (clip v)\n    change y by (((-115) - (y position)) / (8))\n    switch costume to (continue v)\nend\n\nwhen I start as a clone\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nset [movability v] to [0]\nbroadcast (continue v)\n\nwhen I receive [continue v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <<touching (mouse-pointer v)?> and <(Movability) = [1]>> then\n        set size to ((size) + (((110) - (size)) / (6))) %\n        set [brightness v] effect to (10)\n    else\n        set size to ((size) + (((100) - (size)) / (6))) %\n        set [brightness v] effect to (0)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [movability v] to [1]\nset [ghost v] effect to (0)\nwait (.5) seconds\nset [movability v] to [0]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\n@Cloud\n\ndefine write (val) to encoded\nset [cloud letter # v] to [1]\nrepeat (length of (val))\n    set [cloud encoded v] to (join (Cloud encoded) (item # of (letter (Cloud letter #) of (val)) in [code v]))\n    change [cloud letter # v] by (1)\nend\nset [cloud encoded v] to (join (Cloud encoded) [00])\n\ndefine begin decode of (encoded)\nset [cloud letter # v] to [1]\nset [cloud encoded v] to (encoded)\n\ndefine value = read from encoded\nset [cloud value v] to []\nforever\n    set [cloud index v] to (join (letter (Cloud letter #) of (Cloud encoded)) (letter ((Cloud letter #) + (1)) of (Cloud encoded)))\n    change [cloud letter # v] by (2)\n    if <(Cloud index) < [1]> then\n        stop [this script v]\n    end\n    set [cloud value v] to (join (Cloud value) (item (Cloud index) of [code v]))\nend\n\nwhen flag clicked\nwait (0) seconds\ninitial anti afk\nset [cloud player v] to [0]\nif <(☁ P9) = [99]> then\n    set [cloud player v] to [9]\nend\nif <(☁ P8) = [99]> then\n    set [cloud player v] to [8]\nend\nif <(☁ P7) = [99]> then\n    set [cloud player v] to [7]\nend\nif <(☁ P6) = [99]> then\n    set [cloud player v] to [6]\nend\nif <(☁ P5) = [99]> then\n    set [cloud player v] to [5]\nend\nif <(☁ P4) = [99]> then\n    set [cloud player v] to [4]\nend\nif <(☁ P3) = [99]> then\n    set [cloud player v] to [3]\nend\nif <(☁ P2) = [99]> then\n    set [cloud player v] to [2]\nend\nif <(☁ P1) = [99]> then\n    set [cloud player v] to [1]\nend\nif <(Cloud player) = [0]> then\n    create clone of (_myself_ v)\nend\nif <(username) = [wasdcrzp]> then\n    set [cloud player v] to [0]\nend\nforever\n    if <not <(Cloud player) = [0]>> then\n        set [cloud encoded v] to []\n        write (round (x)) to encoded\n        write (round (y)) to encoded\n        write (Ghost) to encoded\n        write (Emoji Show) to encoded\n        write (Flex Ghost) to encoded\n        write (round ((Eye x) / (8))) to encoded\n        write (round ((Eye y) / (8))) to encoded\n        write (username) to encoded\n        write ((round ((timer) * (10))) mod (100)) to encoded\n    end\n    if <(Cloud player) = [1]> then\n        set [☁ p1 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [2]> then\n        set [☁ p2 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [3]> then\n        set [☁ p3 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [4]> then\n        set [☁ p4 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [5]> then\n        set [☁ p5 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [6]> then\n        set [☁ p6 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [7]> then\n        set [☁ p7 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [8]> then\n        set [☁ p8 v] to (Cloud encoded)\n    end\n    if <(Cloud player) = [9]> then\n        set [☁ p9 v] to (Cloud encoded)\n    end\n    begin decode of (☁ P1)\n    decode a cloud [1]\n    begin decode of (☁ P2)\n    decode a cloud [2]\n    begin decode of (☁ P3)\n    decode a cloud [3]\n    begin decode of (☁ P4)\n    decode a cloud [4]\n    begin decode of (☁ P5)\n    decode a cloud [5]\n    begin decode of (☁ P6)\n    decode a cloud [6]\n    begin decode of (☁ P7)\n    decode a cloud [7]\n    begin decode of (☁ P8)\n    decode a cloud [8]\n    begin decode of (☁ P9)\n    decode a cloud [9]\nend\n\ndefine decode a cloud (number)\nif <(Cloud encoded) = [99]> then\n    replace item (number) of [cloud x v] with [null]\n    replace item (number) of [cloud y v] with [null]\n    replace item (number) of [cloud ghost v] with [null]\n    replace item (number) of [cloud emoji v] with [null]\n    replace item (number) of [cloud emoji ghost v] with [null]\n    replace item (number) of [cloud eye x v] with [null]\n    replace item (number) of [cloud eye y v] with [null]\n    replace item (number) of [cloud username v] with [null]\n    replace item (number) of [cloud last change v] with [null]\n    replace item (number) of [cloud last value v] with [null]\nelse\n    if <(join [a] (Cloud encoded)) = (join [a] (item (number) of [cloud last value v]))> then\n        if <((timer) - (item (number) of [cloud last change v])) > [1]> then\n            if <(number) = [1]> then\n                set [☁ p1 v] to [99]\n            end\n            if <(number) = [2]> then\n                set [☁ p2 v] to [99]\n            end\n            if <(number) = [3]> then\n                set [☁ p3 v] to [99]\n            end\n            if <(number) = [4]> then\n                set [☁ p4 v] to [99]\n            end\n            if <(number) = [5]> then\n                set [☁ p5 v] to [99]\n            end\n            if <(number) = [6]> then\n                set [☁ p6 v] to [99]\n            end\n            if <(number) = [7]> then\n                set [☁ p7 v] to [99]\n            end\n            if <(number) = [8]> then\n                set [☁ p8 v] to [99]\n            end\n            if <(number) = [9]> then\n                set [☁ p9 v] to [99]\n            end\n        end\n    else\n        replace item (number) of [cloud last value v] with (Cloud encoded)\n        replace item (number) of [cloud last change v] with (timer)\n    end\n    value = read from encoded\n    replace item (number) of [cloud x v] with (Cloud value)\n    value = read from encoded\n    replace item (number) of [cloud y v] with (Cloud value)\n    value = read from encoded\n    replace item (number) of [cloud ghost v] with (Cloud value)\n    value = read from encoded\n    replace item (number) of [cloud emoji v] with (Cloud value)\n    value = read from encoded\n    replace item (number) of [cloud emoji ghost v] with (Cloud value)\n    value = read from encoded\n    replace item (number) of [cloud eye x v] with (Cloud value)\n    value = read from encoded\n    replace item (number) of [cloud eye y v] with (Cloud value)\n    value = read from encoded\n    replace item (number) of [cloud username v] with (Cloud value)\nend\n\ndefine initial anti afk\nset [cloud letter # v] to [1]\nrepeat (9)\n    replace item (Cloud letter #) of [cloud last value v] with [null]\n    replace item (Cloud letter #) of [cloud last change v] with [null]\n    change [cloud letter # v] by (1)\nend\n\nwhen I receive [win v]\nbegin decode of (☁ Highscore)\nvalue = read from encoded\nif <(([ceiling v] of ((PB Speed) * (100)) ) / (100)) < (Cloud value)> then\n    set [cloud encoded v] to []\n    write (([ceiling v] of ((PB Speed) * (100)) ) / (100)) to encoded\n    write (username) to encoded\n    set [☁ highscore v] to (Cloud encoded)\nend\n\nwhen I start as a clone\nswitch costume to (untitled drawing \(51\) v)\nset size to (100) %\nclear graphic effects\nshow\ngo to [front v] layer\ngo to x: (0) y: (-30)\nrepeat (20)\n    change y by (((40) - (y position)) / (15))\n    wait (0) seconds\nend\nrepeat (10)\n    change y by (((40) - (y position)) / (15))\n    change [ghost v] effect by (10)\n    wait (0) seconds\nend\ndelete this clone\n\n@Eye\n\nwhen I receive [tick v]\nset [eye x v] to ((Eye x) * (.8))\nset [eye y v] to ((Eye y) * (.8))\nchange [eye x v] by (sx)\nchange [eye y v] by (sy)\nif <(Eye x) > [22]> then\n    set [eye x v] to [22]\nend\nif <[-20] > (Eye x)> then\n    set [eye x v] to [-22]\nend\nif <(Eye y) > [20]> then\n    set [eye y v] to [22]\nend\nif <[-20] > (Eye y)> then\n    set [eye y v] to [-22]\nend\nswitch costume to (costume2 v)\ngo to x: (([x position v] of [player v]) + (round ((Eye x) / (8)))) y: (([y position v] of [player v]) + (round ((Eye y) / (8))))\nswitch costume to (costume1 v)\n\nwhen flag clicked\nset [eye x v] to [0]\nset [eye y v] to [0]\nforever\n    set [ghost v] effect to (Ghost)\nend\n\n@Strangers\n\nwhen flag clicked\nhide\nInitialize\nswitch costume to (costume3 v)\n\ndefine Initialize\nset [index v] to [1]\nrepeat (9)\n    switch costume to (costume1 v)\n    create clone of (_myself_ v)\n    switch costume to (mann v)\n    create clone of (_myself_ v)\n    switch costume to (costume5 v)\n    create clone of (_myself_ v)\n    switch costume to (costume26 v)\n    create clone of (_myself_ v)\n    change [index v] by (1)\nend\n\nwhen I receive [tick v]\nif <(costume [number v]) = [1]> then\n    if <<(item (Index) of [cloud x v]) = [null]> or <(item (Index) of [cloud username v]) = (username)>> then\n        hide\n    else\n        show\n        x (costume [number v]) (item (Index) of [cloud x v]) (item (Index) of [cloud y v])\n        set [ghost v] effect to (item (Index) of [cloud ghost v])\n        switch costume to (costume2 v)\n        set [objx v] to (item (Index) of [cloud x v])\n        set [objy v] to (item (Index) of [cloud y v])\n        create clone of (_myself_ v)\n        switch costume to (costume1 v)\n        if <(usernames) = [0]> then\n            say (item (Index) of [cloud username v])\n        else\n            say []\n        end\n    end\nend\n\ndefine x (number or text) (x) (y)\nswitch costume to (costume4 v)\ngo to x: ((x) - (Scroll x)) y: ((y) - (Scroll y))\nswitch costume to (number or text)\nif <<((x) - (Scroll x)) = (x position)> and <((y) - (Scroll y)) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    repeat (5)\n        change [ghost v] effect by (20)\n        change size by (-5)\n        switch costume to (costume4 v)\n        go to x: ((((objx) - (Scroll x)) * (.6)) + (((item (Index) of [cloud x v]) - (Scroll x)) * (.4))) y: ((((objy) - (Scroll y)) * (.6)) + (((item (Index) of [cloud y v]) - (Scroll y)) * (.4)))\n        switch costume to (costume2 v)\n        if <<(item (Index) of [cloud x v]) = [null]> or <(item (Index) of [cloud username v]) = (username)>> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I receive [tick v]\nif <<(costume [number v]) > [4]> and <(costume [number v]) < [27]>> then\n    set size to (80) %\n    if <<(item (Index) of [cloud x v]) = [null]> or <(item (Index) of [cloud username v]) = (username)>> then\n        hide\n    else\n        show\n        x (costume [number v]) ((item (Index) of [cloud x v]) + (55)) ((item (Index) of [cloud y v]) + (40))\n        switch costume to ((item (Index) of [cloud emoji v]) - (22))\n        set [ghost v] effect to ((item (Index) of [cloud ghost v]) + (item (Index) of [cloud emoji ghost v]))\n    end\nend\n\nwhen I receive [tick v]\nif <(costume [number v]) = [27]> then\n    if <<<(item (Index) of [cloud x v]) = [null]> or <(item (Index) of [cloud username v]) = (username)>> or <(usernames) = [0]>> then\n        hide\n    else\n        show\n        set [ghost v] effect to (item (Index) of [cloud ghost v])\n        x (costume [number v]) (item (Index) of [cloud x v]) ((item (Index) of [cloud y v]) + (40))\n        print (Index) (item (Index) of [cloud username v])\n    end\nend\n\ndefine print (number or text) (name)\nswitch costume to (costume4 v)\nchange x by (((length of (name)) - (1)) * (-6.5))\nswitch costume to (mann v)\nset [number no v] to [1]\nrepeat (length of (name))\n    switch costume to ((69) - (item # of (letter (Number no) of (name)) in [name code v]))\n    create clone of (_myself_ v)\n    switch costume to (costume4 v)\n    move (13) steps\n    switch costume to (mann v)\n    change [number no v] by (1)\nend\n\nwhen I receive [tick v]\nif <(costume [number v]) > [27]> then\n    delete this clone\nend\n\nwhen I receive [tick v]\nif <(costume [number v]) = [3]> then\n    if <<(item (Index) of [cloud x v]) = [null]> or <(item (Index) of [cloud username v]) = (username)>> then\n        hide\n    else\n        show\n        x (costume [number v]) ((item (Index) of [cloud x v]) + (item (Index) of [cloud eye x v])) ((item (Index) of [cloud y v]) + (item (Index) of [cloud eye y v]))\n        set [ghost v] effect to (item (Index) of [cloud ghost v])\n    end\nend\n\n@Kick\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    set [time v] to (timer)\n    repeat (4)\n        move (0) steps\n    end\n    if <((timer) - (Time)) < [0.09]> then\n        switch costume to (costume2 v)\n        show\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nif <not <(username) = [wasdcrzp]>> then\n    forever\n        set [time2 v] to (timer)\n        set [inputs v] to (join (mouse x) (join (mouse y) (join <mouse down?> (join <key (w v) pressed?> (join <key (a v) pressed?> (join <key (s v) pressed?> (join <key (up arrow v) pressed?> (join <key (left arrow v) pressed?> (join <key (right arrow v) pressed?> (join <key (space v) pressed?> (join <key (e v) pressed?> <key (t v) pressed?>)))))))))))\n        repeat until <not <(Inputs) = (join (mouse x) (join (mouse y) (join <mouse down?> (join <key (w v) pressed?> (join <key (a v) pressed?> (join <key (s v) pressed?> (join <key (up arrow v) pressed?> (join <key (left arrow v) pressed?> (join <key (right arrow v) pressed?> (join <key (space v) pressed?> (join <key (e v) pressed?> <key (t v) pressed?>)))))))))))>>\n            if <((timer) - (Time2)) > [60]> then\n                switch costume to (costume1 v)\n                show\n                stop [all v]\n            end\n        end\n    end\nend\n\n@Turn Off Usernames\n\nwhen flag clicked\nforever\n    wait until <key (u v) pressed?>\n    set [usernames v] to ((1) - (usernames))\n    create clone of (_myself_ v)\n    wait until <not <key (u v) pressed?>>\nend\n\nwhen I start as a clone\nshow\nswitch costume to ((usernames) + (1))\nset size to (100) %\nclear graphic effects\nshow\ngo to [front v] layer\ngo to x: (0) y: (-30)\nrepeat (20)\n    change y by (((40) - (y position)) / (15))\n    wait (0) seconds\nend\nrepeat (10)\n    change y by (((40) - (y position)) / (15))\n    change [ghost v] effect by (10)\n    wait (0) seconds\nend\ndelete this clone\n\n