WINTER - A multiplayer Scrolling Platformer

Instructions: After a month of hard work, I present you WINTER, \nCoded by - @DeveshSonawane123\nArt by - @cheater5611shares and @the___minecrafter\n\nWhat does this contain?\n=> 2.5k+ blocks of codes\n=> 20+ sprites\n=> much more to be added\n\nMore items coming to the shop soon...\n\nThis was my first Scrolling platformer :)\n\nTry to collect all coins, There is a secret room try to find it \nHint - The secret room is below the WINTER?\nTry and figure it out ;)\n\nU need a parachute to find what to comment, If u comment the word, u get a follow, don't see inside or I will... \n\nBye\nC ya\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYou found the easter egg -_-

@Stage\n\nwhen flag clicked\nforever\n\n@Blank\n\n@Hitbox\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nset [x v] to (x)\nset [y v] to (y)\nnext costume\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\ndefine Layer (layer)\ngo to [front v] layer\ngo [backward v] ((layer) - (1)) layers\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen flag clicked\nLayer [19]\nswitch costume to (point v)\nset size to (100) %\nset [ghost v] effect to (0)\nhide\nswitch costume to (point v)\nClone at x: [300] y: [0]\nClone at x: [450] y: [0]\nClone at x: [750] y: [0]\nClone at x: [1000] y: [2]\nClone at x: [1400] y: [-3]\nClone at x: [1900] y: [0]\nClone at x: [2400] y: [-5]\nClone at x: [2900] y: [10]\nClone at x: [3200] y: [400]\nClone at x: [3600] y: [700]\nClone at x: [4150] y: [500]\nClone at x: [4450] y: [500]\nClone at x: [5300] y: [500]\n\n@Collectibles\n\ndefine clone\nset [offsetx v] to [-284]\nset [offsety v] to [24]\nhide\nset size to (100) %\nswitch costume to (coin v)\nClone [-200] [0]\nClone [-350] [180]\nClone [-200] [150]\nswitch costume to (star v)\nClone [4400] [520]\nswitch costume to (coin v)\nClone [350] [0]\nClone [350] [-250]\nClone [350] [-250]\nClone [350] [-250]\nClone [350] [-250]\nClone [350] [-250]\nClone [350] [-250]\nClone [350] [-250]\nClone [590] [0]\nClone [800] [300]\nClone [1000] [300]\nClone [3200] [0]\nClone [3200] [0]\nClone [3200] [0]\nClone [3200] [0]\nClone [3200] [0]\nClone [3200] [0]\nClone [3200] [0]\nClone [3200] [0]\nClone [2850] [150]\nClone [3000] [400]\nClone [2850] [500]\nClone [3100] [650]\nClone [3300] [800]\nClone [3500] [900]\nClone [3700] [1000]\nClone [3900] [1250]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4000] [600]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [4600] [300]\nClone [-999999999] [-99999999999999999]\n\ndefine Clone (x) (y)\ngo to x: (999999) y: (999999)\nset [offsetx v] to (x)\nset [offsety v] to (y)\ncreate clone of (_myself_ v)\n\ndefine Go to (x) (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [setup v]\nclone\n\nwhen flag clicked\nset [loot x v] to [none]\nset [loot y v] to [none]\n\nwhen I receive [loot v]\nif <(offsetx) = [null]> then\n    set [offsetx v] to (loot x)\n    set [offsety v] to (loot y)\n    wait (0.4) seconds\n    switch costume to (coin v)\n    Clone [0] [15]\n    Clone [0] [34]\n    Clone [0] [34]\n    switch costume to (blank v)\n    set [offsetx v] to [null]\n    wait (0.1) seconds\n    set [loot x v] to [none]\nend\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [tick v]\nGo to (round ((offsetx) - (SCROLL X))) ((Y_SHAKE) + ((round ((offsety) - (SCROLL Y))) + (y_chagne \(local\))))\n\nwhen I start as a clone\nset [y_chagne \(local\) v] to [0]\npoint in direction (90)\nshow\nwait (0.1) seconds\nforever\n    if <touching (player v)?> then\n        if <(costume [name v]) = [star]> then\n            clear graphic effects\n            set size to (100) %\n            set [click2 v] to [1]\n            repeat until <(direction) > [130]>\n                turn right (((direction) - (85)) / (5)) degrees\n                change size by (((177) - (size)) / (8))\n                change [ghost v] effect by (10)\n            end\n            repeat until <(size) > [180]>\n                turn right (((195) - (direction)) / (6)) degrees\n                change [ghost v] effect by (15)\n                change size by (((200) - (size)) / (8))\n            end\n            wait (0.3) seconds\n            broadcast (WIN!! v)\n            delete this clone\n        else\n            repeat (4)\n                change [color v] effect by (25)\n                change size by (((10) - (size)) / (4))\n            end\n            if <(costume [name v]) = [coin]> then\n                change [coins v] by (1)\n            else\n                if <(costume [name v]) = [heart]> then\n                    change [lives v] by (1)\n                end\n            end\n            set size to (110) %\n            switch costume to (+1 v)\n            repeat (4)\n                change [color v] effect by (-25)\n                change size by (((90) - (size)) / (6))\n                if <(y_chagne \(local\)) > [15]> then\n                    change [y_chagne \(local\) v] by (((25.5) - (y_chagne \(local\))) / (6))\n                else\n                    change [y_chagne \(local\) v] by (2)\n                end\n            end\n            repeat until <(y_chagne \(local\)) > [28]>\n                if <(y_chagne \(local\)) > [15]> then\n                    change [y_chagne \(local\) v] by (((28.5) - (y_chagne \(local\))) / (6))\n                    change [ghost v] effect by (4)\n                else\n                    change [y_chagne \(local\) v] by (2)\n                    change [ghost v] effect by (6)\n                end\n                change size by (((90) - (size)) / (5))\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(coins) > [280]> then\n        broadcast (all v)\n        stop [this script v]\n    end\nend\n\n@notif\n\nwhen flag clicked\ngo to x: (40) y: (30)\nhide\nwait (pick random (10) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) < [30]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) 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) < [30]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [tick v]\ngo to [front v] layer\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\n@Glow\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    go to (player v)\n    change [color v] effect by (1)\nend\n\n@Notifications\n\nwhen I receive [tick v]\ngo to [front v] layer\n\nwhen flag clicked\nshow\ngo to x: (0) y: (40)\nset [ghost v] effect to (100)\n\nwhen I receive [purch v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nswitch costume to (buy v)\ngo to x: (0) y: (40)\nrepeat until <(y position) < [5]>\n    change [ghost v] effect by (-8)\n    change y by (((2) - (y position)) / (7))\nend\nwait (4) seconds\nrepeat until <(y position) > [53]>\n    change y by (((y position) + (3)) / (7))\n    change [ghost v] effect by (8)\nend\nset y to (40)\n\n@Detector\n\nwhen flag clicked\nset [detector di v] to [1]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(detector DI) = [1]> then\n    switch costume to (fave v)\n    set [detector di v] to [2]\n    create clone of (_myself_ v)\n    go to x: (-15) y: (0)\n    forever\n        if <touching (mouse-pointer v)?> then\n            wait (0.05) seconds\n            if <touching (mouse-pointer v)?> then\n                set [stared? v] to [1]\n                stop [this script v]\n            end\n        end\n    end\nelse\n    switch costume to (love v)\n    go to x: (-15) y: (0)\n    show\n    forever\n        if <touching (mouse-pointer v)?> then\n            wait (0.05) seconds\n            if <touching (mouse-pointer v)?> then\n                set [loved? v] to [1]\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nshow\nset [stared? v] to [0]\nset [loved? v] to [0]\nwait until <<(Loved?) = [1]> and <(Stared?) = [1]>>\nwait (0.1) seconds\nchange [coins v] by (10)\nbroadcast (alert v)\nstop [this script v]\n\n@snowflakes\n\nwhen flag clicked\nforever\n    wait (pick random (0.01) to (0.02)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to x: (pick random (-240) to (240)) y: (180)\nset size to (pick random (50) to (150)) %\nshow\ngo to [front v] layer\nset [ghost v] effect to (pick random (0) to (50))\npoint in direction (pick random (179) to (-179))\nglide (pick random (5) to (10)) secs to x: (x position) y: (-180)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@snowflakes2\n\nwhen flag clicked\nforever\n    wait (pick random (0.01) to (0.6)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to x: (pick random (-240) to (240)) y: (180)\nset size to (pick random (50) to (150)) %\nshow\ngo to [front v] layer\nset [ghost v] effect to (pick random (0) to (50))\npoint in direction (pick random (179) to (-179))\nglide (pick random (5) to (10)) secs to x: (x position) y: (-180)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Parallax\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nset [@id v] to [-1]\nswitch costume to (item1 v)\n\nwhen I start as a clone\npoint in direction (90)\nset [ghost v] effect to (0)\nset [@id v] to [0]\nswitch costume to (item0 v)\nhide\n\ndefine Go to (x) (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\ngo to [back v] layer\n\nwhen I receive [tick v]\nGo to (((((@ID) * (480)) - ((SCROLL X) / (6))) mod (960)) - (480)) (Y_SHAKE)\n\n@Chat\n\nwhen [timer v] > (0.1)\nhide\n\nwhen flag clicked\nset [click2 v] to [0]\nset [ghost v] effect to (100)\nset [open chat v] to [0]\ndelete all of [chat list v]\nadd [Hi there] to [chat list v]\nadd [What's up?] to [chat list v]\nadd [Lagging ] to [chat list v]\nadd [Watch out] to [chat list v]\nadd [Come with me] to [chat list v]\nadd [Where to go?] to [chat list v]\nadd [Bye...] to [chat list v]\nadd [Coming...] to [chat list v]\nadd [Hello] to [chat list v]\nhide\nset [ghost v] to [100]\nset [open chat v] to [0]\ngo to x: (-150) y: (0)\nforever\n    set [ghost v] effect to (ghost)\n    if <(ghost) = [100]> then\n        hide\n    else\n        show\n    end\n    if <(open chat) = [1]> then\n        if <not <(ghost) = [0]>> then\n            change [ghost v] by (-20)\n        end\n    else\n        if <not <(ghost) = [100]>> then\n            change [ghost v] by (20)\n        end\n    end\n    switch costume to (main v)\n    go to [front v] layer\n    go [backward v] (10) layers\nend\n\nwhen flag clicked\nswitch costume to (main v)\nshow\nwait (0.1) seconds\nforever\n    if <key (t v) pressed?> then\n        set [open chat v] to ((1) - (open chat))\n        wait until <not <key (t v) pressed?>>\n    end\nend\n\nwhen flag clicked\nset [chat item v] to [0]\nforever\n    if <(open chat) = [1]> then\n        if <key (1 v) pressed?> then\n            reset\n            set [chat item v] to [1]\n            wait until <not <key (1 v) pressed?>>\n        end\n        if <key (2 v) pressed?> then\n            reset\n            set [chat item v] to [2]\n            wait until <not <key (2 v) pressed?>>\n        end\n        if <key (3 v) pressed?> then\n            reset\n            set [chat item v] to [3]\n            wait until <not <key (3 v) pressed?>>\n        end\n        if <key (4 v) pressed?> then\n            reset\n            set [chat item v] to [4]\n            wait until <not <key (4 v) pressed?>>\n        end\n        if <key (5 v) pressed?> then\n            reset\n            set [chat item v] to [5]\n            wait until <not <key (5 v) pressed?>>\n        end\n        if <key (6 v) pressed?> then\n            reset\n            set [chat item v] to [6]\n            wait until <not <key (6 v) pressed?>>\n        end\n        if <key (7 v) pressed?> then\n            reset\n            set [chat item v] to [7]\n            wait until <not <key (7 v) pressed?>>\n        end\n        if <key (8 v) pressed?> then\n            reset\n            set [chat item v] to [8]\n            wait until <not <key (8 v) pressed?>>\n        end\n        if <key (9 v) pressed?> then\n            reset\n            set [chat item v] to [9]\n            wait until <not <key (9 v) pressed?>>\n        end\n    end\nend\n\nwhen I receive [mobile v]\nreset\n\ndefine reset\nset [open chat v] to [0]\nset [chat reset v] to [0]\n\nwhen flag clicked\nset [chat reset v] to [6]\nforever\n    wait (1) seconds\n    change [chat reset v] by (1)\nend\n\nwhen flag clicked\nforever\n    if <(chat item) > [9]> then\n        if <(chat reset) > [3]> then\n            set [chat item v] to [0]\n        end\n    else\n        if <(chat reset) > [5]> then\n            set [chat item v] to [0]\n        end\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.3)\nif <not <([x position v] of [alertsui v]) = [null]>> then\n    switch costume to (winter v)\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\n    repeat (10)\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\nend\n\n@USER_INTERFACE\n\nwhen flag clicked\nSETUP\nforever\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> and <(openmenu?) = [0]>> then\n        set [clickshop v] to [1]\n        repeat (7)\n            change [ghost v] effect by (15)\n        end\n        set [clickshop v] to [0]\n        set [shop_ghost v] to [100]\n        switch costume to (shop v)\n        set [y_shop v] to [-105]\n        set [openmenu? v] to [1]\n        repeat until <(y_shop) > [-1]>\n            change [y_shop v] by (((4) - (y_shop)) / (8))\n            change [ghost v] effect by (-10)\n            if <(shop_ghost) > [9]> then\n                change [shop_ghost v] by (-10)\n            end\n        end\n        repeat until <(close#) = [1]>\n            switch costume to (b1 v)\n            if <touching (mouse-pointer v)?> then\n                switch costume to (shopb v)\n                if <mouse down?> then\n                    set [close# v] to [1]\n                end\n            else\n                switch costume to (shop v)\n            end\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                set [clickshop v] to [1]\n            else\n                set [clickshop v] to [0]\n            end\n        end\n        set [openmenu? v] to [0]\n        set [close# v] to [0]\n        repeat until <(y_shop) < [-99]>\n            change [y_shop v] by (((y_shop) - (21)) / (7))\n            change [ghost v] effect by (8.5)\n            if <(shop_ghost) < [91]> then\n                change [shop_ghost v] by (10)\n            end\n            if <(y_shop) < [-30]> then\n                set [clickshop v] to [0]\n            end\n        end\n        switch costume to (button v)\n        set [y_shop v] to [0]\n        repeat (7)\n            change [ghost v] effect by (-15)\n        end\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nshow\nif <(costume [name v]) = [coins]> then\n    go to x: (0) y: (0)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nelse\n    if <(letter (1) of (@clone)) = [v]> then\n        set [ghost v] effect to (100)\n        set [brightness v] effect to (100)\n        forever\n            if <(letter (4) of (@clone)) = [1]> then\n                switch costume to (join (letter (1) of (coins)) [a])\n            else\n                if <(letter (4) of (@clone)) = [2]> then\n                    switch costume to (join (letter (2) of (coins)) [a])\n                    if <(letter (1) of (coins)) = [1]> then\n                        set x to (202)\n                    else\n                        set x to (205)\n                    end\n                else\n                    if <(letter (4) of (@clone)) = [3]> then\n                        switch costume to (join (letter (3) of (coins)) [a])\n                        if <<(letter (2) of (coins)) = [1]> or <(letter (1) of (coins)) = [1]>> then\n                            if <<(letter (1) of (coins)) = [1]> and <(letter (2) of (coins)) = [1]>> then\n                                set x to (214)\n                            else\n                                set x to (217)\n                            end\n                        else\n                            set x to (220)\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(costume [name v]) = [heart]> then\n            forever\n                if <(win) = [1]> then\n                    change [ghost v] effect by (10)\n                else\n                    if <(@clone) > (lives)> then\n                        change [ghost v] effect by (25)\n                    else\n                        change [ghost v] effect by (-25)\n                    end\n                end\n            end\n        else\n            if <(letter (1) of (@clone)) = [d]> then\n                go to x: (0) y: (0)\n                set size to (100) %\n                if <(letter (2) of (@clone)) = [1]> then\n                    switch costume to (c1 v)\n                    forever\n                        set [ghost v] effect to (shop_ghost)\n                        if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(openmenu?) = [1]>> then\n                            if <<(coins) > [19]> and <(mousewait) = [0]>> then\n                                change [coins v] by (-20)\n                                change [lives v] by (1)\n                                set [mousewait v] to [1]\n                                broadcast (purch v)\n                            end\n                        end\n                    end\n                else\n                    if <(letter (2) of (@clone)) = [2]> then\n                        switch costume to (c2 v)\n                        forever\n                            set [ghost v] effect to (shop_ghost)\n                            if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(openmenu?) = [1]>> then\n                                if <<<(coins) > [29]> and <(mousewait) = [0]>> and <(EmojiCHAT?) = [0]>> then\n                                    change [coins v] by (-30)\n                                    set [emojichat? v] to [1]\n                                    set [mousewait v] to [1]\n                                    broadcast (purch v)\n                                    repeat (5)\n                                        change [ghost v] effect by (20)\n                                    end\n                                    switch costume to (c2a v)\n                                    repeat (10)\n                                        change [ghost v] effect by (-10)\n                                    end\n                                end\n                            end\n                        end\n                    else\n                        if <(letter (2) of (@clone)) = [3]> then\n                            switch costume to (c3 v)\n                            forever\n                                set [ghost v] effect to (shop_ghost)\n                                if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(openmenu?) = [1]>> then\n                                    if <<<(PARACHUTE) = [0]> and <(mousewait) = [0]>> and <(coins) > [39]>> then\n                                        change [coins v] by (-40)\n                                        set [parachute v] to [1]\n                                        set [mousewait v] to [1]\n                                        broadcast (purch v)\n                                        repeat (5)\n                                            change [ghost v] effect by (20)\n                                        end\n                                        switch costume to (c3a v)\n                                        repeat (10)\n                                            change [ghost v] effect by (-10)\n                                        end\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]\nif <(@clone) = [shop]> then\n    set y to (y_shop)\n    if <not <mouse down?>> then\n        set [mousewait v] to [0]\n    end\nelse\n    go to [front v] layer\n    if <<(costume [name v]) = [coins]> or <(costume [name v]) = [heart]>> then\n        set y to (Y_SHAKE)\n    else\n        if <(letter (1) of (@clone)) = [v]> then\n            set y to ((Y_SHAKE) + (147))\n        else\n            if <(letter (1) of (@clone)) = [d]> then\n                set y to (y_shop)\n                if <touching (mouse-pointer v)?> then\n                    set [brightness v] effect to (5)\n                else\n                    set [brightness v] effect to (0)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [win!! v]\nrepeat (30)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [hide v]\nshow\nif <<<(costume [name v]) = [coins]> or <(@clone) = [shop]>> or <(letter (1) of (@clone)) = [v]>> then\n    repeat (30)\n        change [ghost v] effect by (-10)\n    end\nend\n\ndefine SETUP\nset [coins v] to [0]\ngo to x: (0) y: (0)\nset size to (100) %\nhide\nset [lives v] to [2]\nset [@clone v] to [1]\nrepeat (5)\n    switch costume to (heart v)\n    create clone of (_myself_ v)\n    change [@clone v] by (1)\n    change x by (35)\nend\nswitch costume to (coins v)\nset [@clone v] to [coins]\ncreate clone of (_myself_ v)\nset [openmenu? v] to [0]\nset size to (35) %\nswitch costume to (3a v)\ngo to x: (190) y: (147)\nset [@clone v] to [val1]\nrepeat (3)\n    create clone of (_myself_ v)\n    set [@clone v] to (join [val] ((letter (4) of (@clone)) + (1)))\n    change x by (15)\nend\nset [@clone v] to [d1]\nrepeat (3)\n    create clone of (_myself_ v)\n    set [@clone v] to (join [d] ((letter (2) of (@clone)) + (1)))\nend\nswitch costume to (button v)\nset size to (100) %\nshow\ngo to x: (0) y: (0)\nclear graphic effects\nset [close# v] to [0]\nset [@clone v] to [shop]\nset [clickshop v] to [0]\nset [mousewait v] to [0]\nset [emojichat? v] to [0]\nset [parachute v] to [0]\nset [shop_ghost v] to [100]\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nif <(letter (1) of (@clone)) = [v]> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\n@snowflakes3\n\nwhen flag clicked\nforever\n    wait (pick random (0.01) to (0.6)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to x: (pick random (-240) to (240)) y: (180)\nset size to (pick random (50) to (150)) %\nshow\ngo to [front v] layer\nset [ghost v] effect to (pick random (0) to (50))\npoint in direction (pick random (179) to (-179))\nglide (pick random (5) to (10)) secs to x: (x position) y: (-180)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Graphics\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nset [x v] to (x)\nset [y v] to (y)\nnext costume\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\ndefine Layer (layer)\ngo to [front v] layer\ngo [backward v] ((layer) - (1)) layers\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen flag clicked\nLayer [19]\nswitch costume to (point v)\nset size to (100) %\nset [ghost v] effect to (0)\nhide\nswitch costume to (point v)\nClone at x: [300] y: [0]\nClone at x: [450] y: [0]\nClone at x: [750] y: [0]\nClone at x: [1000] y: [2]\nClone at x: [1400] y: [-3]\nClone at x: [1900] y: [0]\nClone at x: [2400] y: [-5]\nClone at x: [2900] y: [10]\nClone at x: [3200] y: [400]\nClone at x: [3600] y: [700]\nClone at x: [4150] y: [500]\nClone at x: [4450] y: [500]\nClone at x: [5300] y: [500]\n\n@Coins collected\n\nif <(coins) > [280]> then\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\nwhen I receive [all v]\nrepeat (10)\n    go to [front v] layer\n    change [ghost v] effect by (-10)\n    wait (0.01) seconds\nend\nwait (5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (0.01) seconds\nend\n\n@SECRET\n\n@Mute/Unmute\n\nwhen flag clicked\nhide\nbroadcast (Start v)\n\nwhen this sprite clicked\nbroadcast (poop v) and wait\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nswitch costume to (costume2 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        clear graphic effects\n    end\n    if <(Level) = [100]> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen I receive [start v]\nforever\n    play sound [Nebula v] until done\n    play sound [TheFatRat - Unity v] until done\n    play sound [Marshmello - Shockwave \(Official\) v] until done\n    play sound [Marshmello - Alone \(Official Music Video\) v] until done\n    play sound [alan_walker_faded_-3250867144510884163 v] until done\nend\n\nwhen I receive [start v]\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (0) %\n    else\n        set volume to (100) %\n    end\nend\n\nwhen [m v] key pressed\nnext costume\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nif <[] < [50]> then\n\n@multiplayer v3.0\n\ndefine decode (i)\nset [c1 v] to [1]\nrepeat until <(c1) > (length of (i))>\n    set [output v] to []\n    repeat until <(join (letter (c1) of (i)) (letter ((c1) + (1)) of (i))) < [1]>\n        switch costume to ((join (letter (c1) of (i)) (letter ((c1) + (1)) of (i))) - (9))\n        set [output v] to (join (output) (letter (1) of (costume [name v])))\n        change [c1 v] by (2)\n    end\n    add (output) to [cloud_data v]\n    change [c1 v] by (2)\nend\n\ndefine encode (i)\nset [c1 v] to [1]\nrepeat until <(c1) > (length of (i))>\n    switch costume to (join (letter (c1) of (i)) [x])\n    set [output v] to (join (output) ((costume [number v]) + (9)))\n    change [c1 v] by (1)\nend\nset [output v] to (join (output) [00])\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nsetup\nwait until <(w_Tick) > [3]>\nwait (0.1) seconds\ndetermine_ID\nbroadcast (cloud_players v)\n\ndefine setup\nset [@c v] to [0]\nset [playerid v] to [null]\nset [w_tick v] to [0]\ndelete all of [active_tick v]\ndelete all of [cloud_data v]\ndelete all of [active_check v]\ndelete all of [last_val v]\nset [names v] to [0]\nset [active check v] to [0]\nrepeat (10)\n    add [4] to [active_tick v]\n    add [null] to [active_check v]\n    add [9999] to [last_val v]\nend\nimport_clouddata\nbroadcast (cloud_start v)\n\nwhen I receive [cloud_start v]\nif <(@c) = [0]> then\n    forever\n        process [0]\n        wait (0.4) seconds\n        process [1]\n    end\nend\n\ndefine process (i)\nif <(i) = [0]> then\n    set [c1 v] to [0]\n    repeat (10)\n        change [c1 v] by (1)\n        replace item (c1) of [last_val v] with (item (((c1) * (6)) - (3)) of [cloud_data v])\n    end\nelse\n    set [c1 v] to [0]\n    repeat (10)\n        change [c1 v] by (1)\n        if <(item (((c1) * (6)) - (3)) of [cloud_data v]) = (item (c1) of [last_val v])> then\n            if <(item (c1) of [active_tick v]) < [4]> then\n                replace item (c1) of [active_tick v] with ((item (c1) of [active_tick v]) + (1))\n            end\n        else\n            replace item (c1) of [active_tick v] with [0]\n        end\n        replace item (c1) of [active_check v] with ((1) - <(item (c1) of [active_tick v]) = [4]>)\n    end\n    if <(w_Tick) < [4]> then\n        change [w_tick v] by (1)\n    end\nend\n\nwhen I receive [cloud_start v]\nif <(@c) = [0]> then\n    forever\n        broadcast (cloud_tick v)\n    end\nend\n\ndefine export_clouddata\nset [output v] to []\nencode (round ((SCROLL X) + ([x position v] of [player v])))\nencode (round ((SCROLL Y) + ([y position v] of [player v])))\nencode (pick random (1000) to (9999))\nencode (username)\nencode (chat item)\nencode ([costume name v] of [player v])\nif <(playerID) = [1]> then\n    set [☁ cloud1 v] to (output)\nelse\n    if <(playerID) = [2]> then\n        set [☁ cloud2 v] to (output)\n    else\n        if <(playerID) = [3]> then\n            set [☁ cloud3 v] to (output)\n        else\n            if <(playerID) = [4]> then\n                set [☁ cloud4 v] to (output)\n            else\n                if <(playerID) = [5]> then\n                    set [☁ cloud5 v] to (output)\n                else\n                    if <(playerID) = [6]> then\n                        set [☁ cloud6 v] to (output)\n                    else\n                        if <(playerID) = [7]> then\n                            set [☁ cloud7 v] to (output)\n                        else\n                            if <(playerID) = [8]> then\n                                set [☁ cloud8 v] to (output)\n                            else\n                                if <(playerID) = [9]> then\n                                    set [☁ cloud9 v] to (output)\n                                else\n                                    if <(playerID) = [10]> then\n                                        set [☁ cloud10 v] to (output)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nstop [this script v]\n\ndefine import_clouddata\ndelete all of [cloud_data v]\ndecode (☁ Cloud1)\ndecode (☁ Cloud2)\ndecode (☁ Cloud3)\ndecode (☁ Cloud4)\ndecode (☁ Cloud5)\ndecode (☁ Cloud6)\ndecode (☁ Cloud7)\ndecode (☁ Cloud8)\ndecode (☁ Cloud9)\ndecode (☁ Cloud10)\nset [active check v] to [0]\nset [c1 v] to [0]\nrepeat (10)\n    change [c1 v] by (1)\n    if <(item (c1) of [active_check v]) = [1]> then\n        change [active check v] by (1)\n    end\nend\n\ndefine determine_ID\nset [c1 v] to [0]\nrepeat (10)\n    change [c1 v] by (1)\n    if (item (c1) of [active_check v]) then\nend\nset [playerid v] to [full]\n\nwhen I receive [cloud_players v]\nif <(@c) = [0]> then\n    wait (0.3) seconds\n    forever\n        check\n    end\nend\n\nwhen I receive [cloud_players v]\nif <(@c) = [0]> then\n    forever\n        export_clouddata\n    end\nend\n\ndefine check\nif <<(username) = (item (((playerID) * (6)) - (2)) of [cloud_data v])> or <<(playerID) = [null]> or <<(playerID) = [full]> or <(playerID) = [error]>>>> then\nif <<key (any v) pressed?> or <mouse down?>> then\n    set [tick_afk v] to [0]\nend\n\nwhen I receive [cloud_start v]\nif <(@c) = [0]> then\n    forever\n        import_clouddata\n    end\nend\n\nwhen I receive [localfade v]\nstop [other scripts in sprite v]\n\nwhen I start as a clone\nset [@c v] to [1]\nset [ghost v] effect to (100)\nshow\ngo to x: (0) y: (80)\nswitch costume to (connecting v)\nwait (0.4) seconds\nrepeat until <(y position) < [1]>\n    change y by (((-2) - (y position)) / (9))\n    change [ghost v] effect by (-10)\nend\nwait until <(w_Tick) > [3]>\nwait (0.6) seconds\nif <(playerID) = [error]> then\n\nwhen I receive [cloud_tick v]\nif <(@c) = [1]> then\n    go to [front v] layer\nend\n\nwhen I receive [cloud_error v]\nif <(@c) = [1]> then\n    stop [other scripts in sprite v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    switch costume to (error v)\n    go to x: (0) y: (0)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (3) seconds\n    repeat until <(y position) > [80]>\n        change y by (((y position) - (-12)) / (8))\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nset [tick_afk v] to [0]\nforever\n    wait (1) seconds\n    change [tick_afk v] by (1)\n    if <(tick_afk) > [60]> then\n        if <<(playerID) = [full]> or <(playerID) = [error]>> then\n    end\nend\n\n@@PLAYERS\n\nwhen I receive [cloud_players v]\nswitch costume to (blank v)\nset [@id v] to [1]\nrepeat (10)\n    if <(@ID) = (playerID)> then\n    change [@id v] by (1)\nend\ngo to x: (999) y: (999)\n\nwhen I start as a clone\nswitch costume to (3a v)\nset [ghost v] effect to (100)\nsay []\nset rotation style [all around v]\ngo to [front v] layer\n\nwhen flag clicked\nhide\nset [names v] to [0]\n\ndefine @Position XY (@player)\nif <(costume [name v]) = [blank]> then\n    hide\nelse\n    if <(costume [name v]) = [arrow]> then\n        move ((0) - (d)) steps\n    end\n    change x by (((((item (((@player) * (6)) - (5)) of [cloud_data v]) + (([x position v] of [player v]) * (-0.25))) - (SCROLL X)) - (x position)) / (2.5555555))\n    change y by (((((item (((@player) * (6)) - (4)) of [cloud_data v]) + (((-28) - ([y position v] of [player v])) * (0.12))) - (SCROLL Y)) - (y position)) / (2.5555555))\n    go to x: (round (x position)) y: (round (y position))\n    switch costume to (join (item ((@player) * (6)) of [cloud_data v]) [a])\n    show\n    if <<<(x position) < [-250]> or <(x position) > [250]>> or <<(y position) < [-190]> or <(y position) > [190]>>> then\n        switch costume to (arrow v)\n        point in direction (([atan v] of ((x position) / (y position)) ) + (<not <[0] > (y position)>> * (180)))\n        set [d v] to ((32) + ((([abs v] of (x position) ) / (20)) + (([abs v] of (y position) ) / (25))))\n        move (d) steps\n    else\n        if <<<(x position) > [-250]> and <(x position) < [250]>> and <<(y position) < [190]> and <(y position) > [-190]>>> then\n            switch costume to (item ((@player) * (6)) of [cloud_data v])\n            point in direction (90)\n        end\n    end\n    if <(item (@player) of [active_check v]) = [1]> then\n        change [ghost v] effect by (-20)\n        if <<(item (((@player) * (6)) - (1)) of [cloud_data v]) > [9]> or <(item (((@player) * (6)) - (1)) of [cloud_data v]) = [0]>> then\n            if <<(names) = [1]> or <touching (mouse-pointer v)?>> then\n                say (item (((@player) * (6)) - (2)) of [cloud_data v])\n            else\n                if <not <(costume [name v]) = [arrow]>> then\n                    say (item (((@player) * (6)) - (2)) of [cloud_data v])\n                else\n                    say []\n                end\n            end\n        else\n            say (item (item (((@player) * (6)) - (1)) of [cloud_data v]) of [chat list v])\n        end\n    else\n        change [ghost v] effect by (20)\n        say []\n    end\nend\nstop [this script v]\n\nwhen I receive [cloud_tick v]\n@Position XY (@ID)\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\nset size to (80) %\nshow\nset [time v] to [0]\nreset\nbroadcast (setup v) and wait\nbroadcast (start! v)\nforever\n    Physics\n    broadcast (Tick v)\nend\n\ndefine reset\nswitch costume to (3a v)\nclear graphic effects\nset [scroll x v] to [-384]\nset [scroll y v] to [-23]\nset [offset x v] to [-384]\nset [offset y v] to [-10]\nset [xv v] to [0]\nset [yv v] to [0]\nset [in air v] to [0]\npoint in direction (90)\nshow\n\ndefine Physics\nif <(pause) = [0]> then\n    change player x by (round ((XV) / (1.8)))\n    if <<(click2) = [0]> and <<<(mouse x) > ((x position) + (20))> and <<mouse down?> and <[0] = (clickShop)>>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n        if <touching (water v)?> then\n            change [xv v] by (2)\n        else\n            if <(slope) = [1]> then\n                change [xv v] by (3.3)\n                change [offset y v] by (1)\n            else\n                if <(slope) = [4]> then\n                    change [offset y v] by (-4)\n                    change [xv v] by (4)\n                else\n                    change [xv v] by (3.6)\n                end\n            end\n        end\n    else\n        if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < ((x position) + (-20))> and <<mouse down?> and <[0] = (clickShop)>>>> and <(click2) = [0]>> then\n            if <touching (water v)?> then\n                change [xv v] by (-2)\n            else\n                if <(slope) = [1]> then\n                    change [xv v] by (-3.3)\n                    change [offset y v] by (1)\n                else\n                    if <(slope) = [4]> then\n                        change [xv v] by (-4)\n                        change [offset y v] by (-4)\n                    else\n                        change [xv v] by (-3.6)\n                    end\n                end\n            end\n        end\n    end\n    if <<(click2) = [0]> and <<<(mouse y) > ((y position) + (20))> and <<mouse down?> and <[0] = (clickShop)>>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n        if <touching (water v)?> then\n            if <(water) > [5]> then\n                set [yv v] to [15]\n            end\n        else\n            if <(in air) < [4]> then\n                set [yv v] to [16]\n            end\n        end\n    end\n    switch costume to (water v)\n    if <touching (water v)?> then\n        change [yv v] by (2)\n    end\n    switch costume to (hitbox v)\n    if <touching (water v)?> then\n    Slope\n    if <<<(PARACHUTE) = [1]> and <(YV) < [-5]>> and <<key (space v) pressed?> or <mouse down?>>> then\n        set [yv v] to [-5]\n    else\n        if <(YV) < [-10]> then\n            set [yv v] to [-10]\n        end\n    end\n    if <(Offset X) < [-452]> then\n        set [offset x v] to [-452]\n    end\n    change player y by (YV)\n    Position\n    change [scroll x v] by (round (((Offset X) - (SCROLL X)) / (9)))\n    change [scroll y v] by ((round (((Offset Y) - (SCROLL Y)) / (13))) + (2))\n    position\n    set [xv v] to ((XV) * (0.7))\n    if <touching (water v)?> then\n        set [yv v] to ((YV) * (0.5))\n        change [water v] by (1)\n    else\n        set [water v] to [0]\n    end\n    stop [this script v]\nend\n\ndefine change player x by (sx)\nswitch costume to (hitbox v)\nchange [offset x v] by ((sx) * (1.1))\nposition\nif <touching (hitbox v)?> then\n    repeat (10)\n        change [offset y v] by (0.5)\n        position\n        if <not <touching (hitbox v)?>> then\n            stop [this script v]\n        end\n    end\n    change [offset y v] by (-5)\n    repeat until <not <touching (hitbox v)?>>\n        if <(sx) > [0]> then\n            change [offset x v] by (-1)\n        else\n            change [offset x v] by (1)\n        end\n        position\n    end\nend\nSet Costume\n\ndefine position\ngo to x: (round ((Offset X) - (SCROLL X))) y: ((Offset Y) - (SCROLL Y))\n\ndefine change player y by (sy)\nswitch costume to (hitbox v)\nchange [offset y v] by (sy)\nchange [in air v] by (1)\nposition\nrepeat until <not <touching (hitbox v)?>>\n    if <(sy) > [0]> then\n        change [offset y v] by (-1)\n    else\n        change [offset y v] by (1)\n        if <<<not <<(mouse y) > ((y position) + (10))> and <mouse down?>>> and <not <key (w v) pressed?>>> and <not <key (up arrow v) pressed?>>> then\n            set [in air v] to [0]\n        end\n    end\n    position\n    set [yv v] to [0]\nend\nswitch costume to (hitboxjumpth v)\nrepeat until <not <touching (jump_through v)?>>\n    switch costume to (hitboxjumpth v)\n    position\n    if <(YV) > [0]> then\n        Set Costume\n        stop [this script v]\n    end\n    if <(sy) > [0]> then\n        change [offset y v] by (-1)\n    else\n        change [offset y v] by (1)\n        if <<<not <<(mouse y) > ((y position) + (10))> and <mouse down?>>> and <not <key (w v) pressed?>>> and <not <key (up arrow v) pressed?>>> then\n            set [in air v] to [0]\n        end\n    end\n    position\n    set [yv v] to [0]\nend\nSet Costume\n\nwhen I receive [tick v]\nif <not <(chat item) = [0]>> then\n    say (item (chat item) of [chat list v])\nelse\n    say []\nend\n\nwhen [c v] key pressed\nif <(username) = [DeveshSonawane123]> then\n    set [yv v] to [20]\nend\n\nwhen I receive [small_bounce v]\nchange [offset y v] by (12)\nset [yv v] to [14]\n\nwhen I receive [die v]\nchange [lives v] by (-1)\nrepeat (5)\n    wait (0.2) seconds\n    repeat (2)\n        change [ghost v] effect by (50)\n    end\n    wait (0.2) seconds\n    repeat (2)\n        change [ghost v] effect by (-50)\n    end\nend\n\ndefine Slope\nswitch costume to (l v)\nif <<touching (hitbox v)?> and <(XV) < [-0.01]>> then\n    set [slope v] to [1]\nelse\n    switch costume to (r v)\n    if <<touching (hitbox v)?> and <(XV) > [0.01]>> then\n        set [slope v] to [1]\n    else\n        switch costume to (left2 v)\n        if <<touching (hitbox v)?> and <(XV) > [0.01]>> then\n            switch costume to (right3 v)\n            if <not <touching (hitbox v)?>> then\n                set [slope v] to [4]\n            else\n                set [slope v] to [0]\n            end\n        else\n            switch costume to (right2 v)\n            if <<touching (hitbox v)?> and <(XV) < [-0.01]>> then\n                switch costume to (left3 v)\n                if <not <touching (hitbox v)?>> then\n                    set [slope v] to [4]\n                else\n                    set [slope v] to [0]\n                end\n            else\n                set [slope v] to [0]\n            end\n        end\n        Set Costume\n    end\nend\n\ndefine Set Costume\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > [20]>>>> then\n    switch costume to (2a v)\n    if <<<mouse down?> and <(mouse y) > ((y position) + (20))>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        switch costume to (4a v)\n    end\nelse\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [-20]>>>> then\n        switch costume to (1a v)\n        if <<<(mouse y) > ((y position) + (20))> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            switch costume to (5a v)\n        end\n    else\n        switch costume to (3a v)\n        if <<<(mouse y) > ((y position) + (20))> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            switch costume to (6a v)\n        end\n    end\nend\nif <<<(YV) < [-1.5]> and <<(PARACHUTE) = [1]> and <(water) < [3]>>> and <<key (space v) pressed?> or <mouse down?>>> then\n    switch costume to (join (letter (1) of (costume [name v])) [b])\nend\n\nwhen flag clicked\nset [y_shake v] to [0]\nwait (2) seconds\nforever\n    if <touching (danger v)?> then\n        broadcast (die v)\n        wait (5) seconds\n    end\nend\n\nwhen I receive [die v]\nset [y_shake v] to [12]\nwait (0.06) seconds\nset [y_shake v] to [-12]\nwait (0.06) seconds\nset [y_shake v] to [6]\nwait (0.06) seconds\nset [y_shake v] to [-4]\nwait (0.06) seconds\nset [y_shake v] to [2]\nwait (0.06) seconds\nset [y_shake v] to [-1]\nwait (0.06) seconds\nset [y_shake v] to [0]\n\nwhen I receive [boucne v]\nchange [offset y v] by (18)\nset [yv v] to [21]\n\nwhen this sprite clicked\nset [open chat v] to ((1) - (open chat))\nif <(open chat) = [1]> then\n    ask [Which item of chat?] and wait\n    if << [ghjvbn] contains (answer)?> or <<(answer) > [0]> and <(answer) < [10]>>> then\n        broadcast (mobile v)\n        if << [ghjvbn] contains (answer)?> and <not <(answer) = []>>> then\n            if <(EmojiCHAT?) = [1]> then\n                if <(answer) = [g]> then\n                    set [chat item v] to [10]\n                else\n                    if <(answer) = [h]> then\n                        set [chat item v] to [11]\n                    else\n                        if <(answer) = [j]> then\n                            set [chat item v] to [12]\n                        else\n                            if <(answer) = [v]> then\n                                set [chat item v] to [13]\n                            else\n                                if <(answer) = [b]> then\n                                    set [chat item v] to [14]\n                                else\n                                    set [chat item v] to [15]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        else\n            set [chat item v] to (answer)\n        end\n    end\nend\n\nwhen [p v] key pressed\nif <(username) = [DeveshSonawane123]> then\n    switch costume to (3a v)\n    clear graphic effects\n    set [scroll x v] to [1296]\n    set [scroll y v] to [1212]\n    set [offset x v] to [1296]\n    set [offset y v] to [1212]\n    set [xv v] to [0]\n    set [yv v] to [0]\n    set [in air v] to [0]\n    point in direction (90)\n    show\nend\n\nwhen I receive [reset v]\nreset\n\nwhen flag clicked\nforever\n    if <(SCROLL Y) < [-200]> then\n        reset\n        broadcast (DEAD? v)\n    end\nend\n\n@AlertsUI\n\nwhen I receive [afk v]\nset size to (100) %\nclear graphic effects\ngo to x: (0) y: (0)\nswitch costume to (timeout v)\nshow\ngo to [front v] layer\nset [exit v] to [null]\nstop [all v]\n\nwhen I receive [win!! v]\nset [win v] to [1]\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 screen v)\nrepeat until <(size) < [101]>\n    go to [front v] layer\n    switch costume to (blank 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\ngo to x: (0) y: (0)\ndraw (round (TIME)) [1]\ndraw (join (exp) (join [/] [40])) [0]\ngo to x: (0) y: (0)\nwait (3) seconds\nset [@id v] to [button]\ncreate clone of (_myself_ v)\n\nwhen I receive [start! v]\nwait until <<mouse down?> or <key (any v) pressed?>>\nforever\n    change [time v] by (1)\n    wait (1) seconds\nend\n\ndefine draw (i) (c)\nclear graphic effects\nif <(c) = [1]> then\n    go to x: ((2) - (((length of (i)) + (5)) * (5.5))) y: (-54)\n    set size to (80) %\n    set [@id v] to [null]\n    switch costume to (time v)\n    create clone of (_myself_ v)\n    change x by (50)\n    change y by (3)\nelse\n    if <(i) = [0/40]> then\n        go to x: (16) y: (-76)\n    else\n        go to x: (20) y: (-76)\n    end\n    set size to (100) %\n    set [@id v] to [null]\n    switch costume to (exp v)\n    create clone of (_myself_ v)\n    if <(i) = [0/40]> then\n        change x by (-53)\n        change y by (3)\n    else\n        change x by (-63)\n        change y by (3)\n    end\nend\nset size to (27) %\nset [brightness v] effect to (20)\nset [c_! v] to [1]\nrepeat (length of (i))\n    switch costume to (join (letter (c_!) of (i)) [a])\n    set [@id v] to [null]\n    create clone of (_myself_ v)\n    change [c_! v] by (1)\n    if <<(costume [name v]) = [/a]> or <(costume [name v]) = [1a]>> then\n        change x by (9)\n    else\n        change x by (12)\n    end\nend\nset size to (100) %\nswitch costume to (win screen v)\ngo to x: (0) y: (0)\nclear graphic effects\n\nwhen I start as a clone\nif <(@id) = [null]> then\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    forever\n        go to [front v] layer\n    end\nelse\n    if <(@id) = [button]> then\n        go to x: (0) y: (0)\n        switch costume to (continue00 v)\n        show\n        set size to (80) %\n        set [ghost v] effect to (100)\n        repeat until <(size) > [99]>\n            change [ghost v] effect by (-10)\n            change size by (((102) - (size)) / (7))\n            go to [front v] layer\n        end\n        forever\n            go to [front v] layer\n            switch costume to (c1 v)\n            if <touching (mouse-pointer v)?> then\n                switch costume to (continue10 v)\n                if <mouse down?> then\n                    set [win v] to [0]\n                    broadcast (hide v)\n                    set [click2 v] to [0]\n                    repeat (10)\n                        change [ghost v] effect by (10)\n                    end\n                    delete this clone\n                end\n            else\n                switch costume to (c2 v)\n                if <touching (mouse-pointer v)?> then\n                    switch costume to (continue01 v)\n                    if <mouse down?> then\n                        repeat (10)\n                            change [ghost v] effect by (10)\n                        end\n                        delete this clone\n                    end\n                else\n                    switch costume to (continue00 v)\n                end\n            end\n        end\n    else\n        if <(@id) = [lovefav]> then\n            go to x: (0) y: (0)\n            show\n            switch costume to (lovefav v)\n            set [ghost v] effect to (100)\n            set size to (50) %\n            repeat until <(size) > [100]>\n                go to [front v] layer\n                change size by (((102) - (size)) / (7))\n                change [ghost v] effect by (-8)\n            end\n            wait (2) seconds\n            repeat until <(size) < [50]>\n                go to [front v] layer\n                change size by (((size) - (110)) / (8))\n                change [ghost v] effect by (10)\n            end\n        end\n    end\nend\n\nwhen I receive [hide v]\ngo to x: (1) y: (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nset [win v] to [0]\nset [exit v] to [reg]\nhide\nset [pause v] to [0]\nwait (1) seconds\nforever\n    if <(lives) < [1]> then\n        wait (0.3) seconds\n        set [ghost v] effect to (100)\n        go to x: (0) y: (0)\n        switch costume to (over v)\n        show\n        go to [front v] layer\n        set size to (50) %\n        set [pause v] to [1]\n        repeat until <(size) > [100]>\n            go to [front v] layer\n            change size by (((102) - (size)) / (7))\n            change [ghost v] effect by (-8)\n        end\n        wait (1) seconds\n        repeat until <(size) < [50]>\n            go to [front v] layer\n            change size by (((size) - (110)) / (8))\n            change [ghost v] effect by (10)\n        end\n        set [lives v] to [2]\n        set [coins v] to [0]\n        set [pause v] to [0]\n        broadcast (reset v)\n    end\nend\n\nwhen I receive [alert v]\nset [@id v] to [lovefav]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\n\nforever\n    if <(SCROLL Y) < [-200]> then\n    end\nend\n\nwhen I receive [dead? v]\nchange [lives v] by (-1)\n\n