ʟᴀɴᴛᴇʀɴ ᴠᴀʟʟᴇʏ // Multiplayer Platformer.     #Games #All #Trending #Games #All #Music 
@Stage\n\nwhen flag clicked\nif <<(username) = [CrazeNade]> or <(username) = [ZimWaT20]>> then\n    set [coins v] to [500]\nelse\n    set [coins v] to [100]\nend\n\nwhen [n v] key pressed\nset [names v] to ((1) - (names))\n\n@Blank\n\n@Graphics\n\nwhen I receive [tick v]\nGo to (round ((@offset_x) - (SCROLL X))) ((round ((@offset_y) - (SCROLL Y))) + (Y_SHAKE))\n\ndefine Clone (x) (y)\nchange [@offset_x v] by (x)\nchange [@offset_y v] by (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\npoint in direction (90)\nshow\ngo to [back v] layer\nGo to (round ((@offset_x) - (SCROLL X))) ((round ((@offset_y) - (SCROLL Y))) + (Y_SHAKE))\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]\nrepeat (1)\n    delete this clone\nend\nclone\n\ndefine clone\nclear graphic effects\nset [@offset_x v] to [-230]\nset [@offset_y v] to [-80]\nhide\nswitch costume to (2a v)\nClone [0] [0]\nswitch costume to (2a2 v)\nClone [400] [-100]\nswitch costume to (2b v)\nClone [350] [100]\nswitch costume to (2c v)\nClone [740] [195]\nswitch costume to (2d v)\nClone [480] [-150]\nswitch costume to (2e v)\nClone [500] [200]\nswitch costume to (2f v)\nClone [450] [-100]\nswitch costume to (2g v)\nClone [560] [-50]\nswitch costume to (2h v)\nClone [500] [-100]\nswitch costume to (2j v)\nClone [760] [100]\nswitch costume to (2l v)\nClone [480] [0]\nswitch costume to (2k v)\nClone [170] [400]\nswitch costume to (2m v)\nClone [-600] [300]\nswitch costume to (2n v)\nClone [-600] [200]\nswitch costume to (2p v)\nClone [-640] [0]\nswitch costume to (2q v)\nClone [-670] [200]\nswitch costume to (2r v)\nClone [-670] [-300]\nswitch costume to (2s v)\nClone [-600] [100]\nswitch costume to (2t v)\nClone [-60] [450]\nswitch costume to (2u v)\nClone [700] [300]\nswitch costume to (blank v)\n\n@Hitbox\n\nwhen I receive [tick v]\nGo to (round ((@offsetx) + ((0) - (SCROLL X)))) (round ((@offsety) + ((0) - (SCROLL Y))))\n\ndefine Clone (x) (y)\nchange [@offsetx v] by (x)\nchange [@offsety v] by (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\npoint in direction (90)\nshow\nset [ghost v] effect to (100)\nGo to (round ((@offsetx) + ((0) - (SCROLL X)))) (round ((@offsety) + ((0) - (SCROLL Y))))\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]\nrepeat (1)\n    delete this clone\nend\nclone\n\ndefine clone\nset [@offsetx v] to [-230]\nset [@offsety v] to [-80]\nhide\nswitch costume to (2a v)\nClone [0] [0]\nswitch costume to (2a2 v)\nClone [400] [-100]\nswitch costume to (2b v)\nClone [350] [100]\nswitch costume to (2c v)\nClone [740] [195]\nswitch costume to (2d v)\nClone [480] [-150]\nswitch costume to (2e v)\nClone [500] [200]\nswitch costume to (2f v)\nClone [450] [-100]\nswitch costume to (2g v)\nClone [560] [-50]\nswitch costume to (2h v)\nClone [500] [-100]\nswitch costume to (2j v)\nClone [760] [100]\nswitch costume to (2l v)\nClone [480] [0]\nswitch costume to (2k v)\nClone [170] [400]\nswitch costume to (2n v)\nClone [-1200] [500]\nswitch costume to (2p v)\nClone [-640] [0]\nswitch costume to (2q v)\nClone [-670] [200]\nswitch costume to (2r v)\nClone [-670] [-300]\nswitch costume to (2s v)\nClone [-600] [100]\nswitch costume to (2t v)\nClone [-60] [450]\nswitch costume to (2u v)\nClone [700] [150]\nswitch costume to (blank v)\n\n@Hidden\n\nwhen I receive [tick v]\nif <(costume [name v]) = [sign]> then\n    go to (player v)\nelse\n    Go to (round ((@offset_x) - (SCROLL X))) ((round ((@offset_y) - (SCROLL Y))) + (Y_SHAKE))\nend\n\ndefine Clone (x) (y)\nchange [@offset_x v] by (x)\nchange [@offset_y v] by (y)\nset [@collected? v] to [0]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [name v]) = [sign]> then\n    set size to (72) %\n    set [ghost v] effect to (100)\n    wait (0.2) seconds\n    show\n    repeat until <(size) > [89]>\n        change [ghost v] effect by (-10)\n        change size by (((90) - (size)) / (5))\n    end\n    set size to (90) %\n    wait (2) seconds\n    repeat until <(size) < [73]>\n        change [ghost v] effect by (10)\n        change size by (((size) - (95)) / (7))\n    end\n    broadcast (exp v)\n    hide\n    delete this clone\nelse\n    set size to (100) %\n    set [@collected? v] to [0]\n    show\n    Go to (round ((@offset_x) - (SCROLL X))) ((round ((@offset_y) - (SCROLL Y))) + (Y_SHAKE))\n    go to [front v] layer\n    forever\n        check (costume [name v])\n    end\nend\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]\nrepeat (1)\n    delete this clone\nend\nclear graphic effects\nset [exp v] to [0]\nset [@offset_x v] to [1950]\nset [@offset_y v] to [60]\nhide\nswitch costume to (c1 v)\nClone [0] [0]\nswitch costume to (n1 v)\nClone [2010] [855]\nswitch costume to (r1 v)\nClone [-1980] [-100]\nswitch costume to (t1 v)\nClone [670] [300]\nswitch costume to (blank v)\n\ndefine check (i)\nswitch costume to (join (letter (1) of (i)) [0])\nif <touching (player v)?> then\n    change [ghost v] effect by (16)\n    if <(@collected?) = [0]> then\n        switch costume to (sign v)\n        create clone of (_myself_ v)\n        set [@collected? v] to [1]\n        change [exp v] by (10)\n    end\nelse\n    change [ghost v] effect by (-20)\nend\nswitch costume to (i)\n\nwhen I start as a clone\nif <(costume [name v]) = [sign]> then\n    forever\n        go to [front v] layer\n    end\nend\n\n@Jump_through\n\nwhen I receive [tick v]\nGo to (round ((@offset_x) - (SCROLL X))) (round ((@offset_y) - (SCROLL Y)))\n\ndefine Clone (x) (y)\nchange [@offset_x v] by (x)\nchange [@offset_y v] by (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\npoint in direction (90)\nshow\nset [ghost v] effect to (100)\nGo to (round ((@offset_x) - (SCROLL X))) (round ((@offset_y) - (SCROLL Y)))\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]\nrepeat (1)\n    delete this clone\nend\nset [@offset_x v] to [950]\nset [@offset_y v] to [60]\nhide\nswitch costume to (2c v)\nClone [0] [0]\nswitch costume to (2d v)\nClone [1000] [0]\nswitch costume to (2j v)\nClone [1000] [300]\nswitch costume to (2k v)\nClone [1800] [-50]\nswitch costume to (2l v)\nClone [200] [300]\nswitch costume to (2m v)\nClone [-680] [200]\nswitch costume to (2n v)\nClone [-640] [100]\nswitch costume to (2q v)\nClone [-1600] [115]\nswitch costume to (2t v)\nClone [-660] [300]\nswitch costume to (2u v)\nClone [550] [300]\nswitch costume to (blank v)\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 [14.4]\n            end\n        else\n            if <(in air) < [4]> then\n                set [yv v] to [13.4]\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) = [CrazeNade]> or <(username) = [Moonlightunicorn2011]>> then\n    set [yv v] to [10]\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) = [tacoschratcher]> or <(username) = [CrazeNade]>> 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\nplay sound [Bruno Mars - That's What I Like Official Audio.mp3 v] until done\n\nwhen [m v] key pressed\nstop all sounds\nstart sound [yt1s v]\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (00) y: (0)\ngo to [front v] layer\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.3)\nif <not <([exit v] of [alertsui v]) = [null]>> then\n    switch costume to (costume1 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\nshow\n\nshow\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\nelse\n    if <(playerID) = [full]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        switch costume to (full v)\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\n    else\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        switch costume to (connected v)\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 (8)\n        end\n    end\nend\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@Collectibles\n\nwhen I receive [setup v]\nclone\n\nwhen I receive [tick v]\nGo to (round ((offsetx) - (SCROLL X))) ((Y_SHAKE) + ((round ((offsety) - (SCROLL Y))) + (y_chagne \(local\))))\n\ndefine Clone (x) (y)\ngo to x: (999999) y: (999999)\nchange [offsetx v] by (x)\nchange [offsety v] by (y)\ncreate clone of (_myself_ v)\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 [ghost 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 [ghost 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\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 flag clicked\nset [loot x v] to [none]\nset [loot y v] to [none]\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\ndefine clone\nset [offsetx v] to [-284]\nset [offsety v] to [24]\nhide\nset size to (100) %\nswitch costume to (coin v)\nClone [0] [0]\nClone [34] [0]\nClone [34] [0]\nset [offsetx v] to [545]\nset [offsety v] to [-66]\nClone [0] [0]\nClone [33] [19]\nClone [33] [19]\nClone [33] [19]\nset [offsetx v] to [1414]\nset [offsety v] to [134]\nClone [0] [0]\nClone [35] [0]\nClone [35] [0]\nClone [61] [-53]\nClone [35] [0]\nClone [35] [0]\nset [offsetx v] to [1946]\nset [offsety v] to [50]\nClone [0] [0]\nClone [0] [34]\nClone [34] [-34]\nClone [0] [34]\nset [offsetx v] to [2074]\nset [offsety v] to [331]\nClone [0] [0]\nClone [34] [0]\nset [offsetx v] to [2712]\nset [offsety v] to [258]\nClone [0] [0]\nClone [34] [0]\nClone [34] [0]\nset [offsetx v] to [3029]\nset [offsety v] to [267]\nClone [0] [0]\nClone [68] [0]\nswitch costume to (heart v)\nClone [-34] [0]\nswitch costume to (coin v)\nset [offsetx v] to [3845]\nset [offsety v] to [128]\nClone [0] [0]\nClone [34] [0]\nClone [34] [0]\nset [offsetx v] to [4514]\nset [offsety v] to [178]\nClone [0] [0]\nClone [34] [0]\nClone [34] [0]\nset [offsetx v] to [5271]\nset [offsety v] to [357]\nClone [0] [0]\nClone [0] [34]\nClone [0] [34]\nset [offsetx v] to [4657]\nset [offsety v] to [715]\nClone [0] [0]\nClone [0] [34]\nClone [-34] [0]\nClone [0] [-34]\nset [offsetx v] to [3927]\nset [offsety v] to [755]\nClone [0] [0]\nClone [-55] [-5]\nClone [-38] [0]\nClone [0] [38]\nClone [38] [0]\nset [offsetx v] to [3684]\nset [offsety v] to [925]\nClone [0] [0]\nClone [35] [0]\nset [offsetx v] to [3046]\nset [offsety v] to [1150]\nClone [0] [0]\nClone [0] [34]\nClone [-34] [0]\nClone [0] [-34]\nClone [0] [68]\nClone [34] [0]\nset [offsetx v] to [2583]\nset [offsety v] to [1288]\nClone [0] [0]\nClone [-27] [-21]\nClone [-27] [-21]\nClone [-27] [-21]\nset [offsetx v] to [2120]\nset [offsety v] to [828]\nClone [0] [0]\nClone [34] [0]\nClone [34] [0]\nClone [0] [34]\nClone [0] [34]\nClone [-34] [0]\nClone [-34] [0]\nClone [0] [-34]\nset [offsetx v] to [1660]\nset [offsety v] to [1520]\nClone [0] [0]\nClone [34] [0]\nset [offsetx v] to [4255]\nset [offsety v] to [698]\nClone [0] [0]\nClone [34] [0]\nClone [34] [0]\nset [offsetx v] to [2126]\nset [offsety v] to [1007]\nClone [0] [0]\nClone [29] [19]\nClone [29] [19]\nClone [29] [19]\nset [offsetx v] to [1350]\nset [offsety v] to [1205]\nClone [0] [0]\nClone [0] [34]\nClone [0] [34]\nClone [-34] [0]\nClone [0] [-34]\nClone [0] [-34]\nset [offsetx v] to [2820]\nset [offsety v] to [1091]\nClone [0] [0]\nClone [0] [35]\nClone [0] [35]\nClone [-35] [0]\nClone [-35] [0]\nClone [0] [-35]\nClone [0] [-35]\nClone [35] [0]\nswitch costume to (star v)\nset [offsetx v] to [2197]\nset [offsety v] to [1652]\nClone [0] [0]\nswitch costume to (blank v)\nset [offsetx v] to [null]\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\n@Water\n\nwhen I receive [setup v]\nrepeat (1)\n    delete this clone\nend\nset [offsetx v] to [2300]\nset [offsety v] to [-85]\nhide\nset size to (100) %\nrepeat (1)\n    switch costume to (2a v)\n    repeat (5)\n        Clone [550] [0]\n    end\nend\nswitch costume to (blank v)\n\nwhen I receive [tick v]\nGo to (round (((offsetx) - (SCROLL X)) + ((((days since 2000) * (70000)) * (70)) mod (550)))) ((Y_SHAKE) + (round ((offsety) - (SCROLL Y))))\n\ndefine Clone (x) (y)\nchange [offsetx v] by (x)\nchange [offsety v] by (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\npoint in direction (90)\nshow\nset [ghost v] effect to (0)\nGo to (round ((offsetx) - (SCROLL X))) ((Y_SHAKE) + (round ((offsety) - (SCROLL Y))))\n\ndefine Go to (x) (y)\ngo to x: (x) y: (y)\nif <<<(x position) = (x)> and <(y position) = (y)>> and <(SCROLL X) > [3200]>> then\n    show\nelse\n    hide\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\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\nelse\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@EMOJI\n\nwhen I receive [cloud_players v]\nset [@id v] to [1]\nrepeat (10)\n    create clone of (_myself_ v)\n    change [@id v] by (1)\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset size to (20) %\nshow\nsay []\nset [ghost v] effect to (100)\nforever\n    repeat until <<<(item (((@ID) * (6)) - (1)) of [cloud_data v]) < [16]> and <(item (((@ID) * (6)) - (1)) of [cloud_data v]) > [9]>> and <(item (@ID) of [active_check v]) = [1]>>\n        change [ghost v] effect by (20)\n        change size by (((20) - (size)) / (5))\n    end\n    switch costume to (join [emoji] (item (((@ID) * (6)) - (1)) of [cloud_data v]))\n    repeat until <<not <(costume [name v]) = (join [emoji] (item (((@ID) * (6)) - (1)) of [cloud_data v]))>> or <(item (@ID) of [active_check v]) = [0]>>\n        set [bvel v] to ((((100) - (size)) / (7)) + ((bvel) * (0.75)))\n        change size by (bvel)\n        change [ghost v] effect by (-20)\n    end\n    repeat until <(size) < [25]>\n        change size by (((20) - (size)) / (5))\n        change [ghost v] effect by (20)\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine @Position XY (@player)\nif <(@player) = (playerID)> then\n    go to (player v)\n    change y by (35)\nelse\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.5555555555555556))\n    change y by ((15) + (((((item (((@player) * (6)) - (4)) of [cloud_data v]) + (((-28) - ([y position v] of [player v])) * (0.12))) - (SCROLL Y)) - (y position)) / (2.5555555555555555555)))\n    go to x: (round (x position)) y: (round (y position))\nend\nstop [this script v]\n\nwhen I receive [cloud_tick v]\n@Position XY (@ID)\n\n@Enemies\n\nwhen flag clicked\nset [bounce???? v] to [0]\nhide\n\ndefine CLONE @ (x) (y) (type) (change)\nswitch costume to (type)\nset [@change v] to (change)\nset [@offsetx v] to (x)\nset [@offsety v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [tick v]\nGO_TO (((@offsetx) - (SCROLL X)) + (@Change_OFFSET)) ((Y_SHAKE) + ((@offsety) - (SCROLL Y)))\n\ndefine GO_TO (x) (y)\ngo to x: (x) y: (y)\nif <<([abs v] of (x position) ) < [240]> and <([abs v] of (y position) ) < [180]>> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nset size to (30) %\nset rotation style [left-right v]\nif <(costume [name v]) = [red1]> then\n    wait (1) seconds\n    forever\n        if <touching (player v)?> then\n            if <<([y position v] of [player v]) > (y position)> and <([yv v] of [player v]) < [-1]>> then\n                stop [other scripts in sprite v]\n                broadcast (small_bounce v)\n                switch costume to (costume1 v)\n                repeat (4)\n                    next costume\n                    change [ghost v] effect by (0)\n                end\n                repeat (5)\n                    change [ghost v] effect by (20)\n                end\n                set [loot x v] to (round ((@offsetx) + (@Change_OFFSET)))\n                set [loot y v] to (round (@offsety))\n                broadcast (loot v)\n                delete this clone\n            else\n                broadcast (die v)\n            end\n            wait (3) seconds\n        end\n    end\nelse\n    if <(costume [name v]) = [bot1]> then\n        forever\n            if <touching (player v)?> then\n                if <<([y position v] of [player v]) > (y position)> and <([yv v] of [player v]) < [-1]>> then\n                    broadcast (boucne v)\n                    switch costume to (bot1 v)\n                    repeat (4)\n                        next costume\n                    end\n                    wait (0.02) seconds\n                    repeat (4)\n                        switch costume to ((costume [number v]) - (1))\n                    end\n                end\n                wait (0.1) seconds\n            end\n        end\n    else\n        if <(costume [name v]) = [y1]> then\n            wait (1) seconds\n            forever\n                if <touching (player v)?> then\n                    if <<([y position v] of [player v]) > (y position)> and <([yv v] of [player v]) < [-1]>> then\n                        stop [other scripts in sprite v]\n                        broadcast (small_bounce v)\n                        switch costume to (y1 v)\n                        repeat (4)\n                            next costume\n                            change [ghost v] effect by (0)\n                        end\n                        repeat (5)\n                            change [ghost v] effect by (20)\n                        end\n                        set [loot x v] to (round ((@offsetx) + (@Change_OFFSET)))\n                        set [loot y v] to (round (@offsety))\n                        broadcast (loot v)\n                        delete this clone\n                    else\n                        broadcast (die v)\n                    end\n                    wait (3) seconds\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [red1]> then\n    forever\n        if <<<([abs v] of ((y position) - ([y position v] of [player v])) ) < [30]> and <<(([x position v] of [player v]) + (80)) > ((x position) - (@Change_OFFSET))> and <(([x position v] of [player v]) - (80)) < (((x position) - (@Change_OFFSET)) + (@Change))>>> and <<<(direction) = [90]> and <([x position v] of [player v]) > (x position)>> or <<(direction) = [-90]> and <([x position v] of [player v]) < (x position)>>>> then\n            switch costume to (red1 v)\n            repeat (6)\n                next costume\n            end\n            wait (0.01) seconds\n            repeat (6)\n                switch costume to ((costume [number v]) - (1))\n                wait (0.01) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [setup v]\nCLONE @ [2565] [24] [bot1] [81]\nCLONE @ [60] [-86] [red1] [120]\nCLONE @ [2872] [1081] [bot1] [81]\nCLONE @ [1341] [949] [bot1] [81]\nCLONE @ [3514] [68] [red1] [100]\nCLONE @ [4675] [667] [red1] [90]\nCLONE @ [2680] [1310] [y1] [100]\nCLONE @ [1857] [956] [red1] [82]\nCLONE @ [2203] [228] [y1] [63]\nswitch costume to (blank v)\n\nwhen I start as a clone\nforever\n    set [@change_offset v] to [0]\n    point in direction (90)\n    repeat until <((@Change_OFFSET) + (1)) > (@Change)>\n        if <<<<([abs v] of ((y position) - ([y position v] of [player v])) ) < [30]> and <<(([x position v] of [player v]) + (80)) > ((x position) - (@Change_OFFSET))> and <(([x position v] of [player v]) - (80)) < (((x position) - (@Change_OFFSET)) + (@Change))>>> and < (costume [name v]) contains [red]?>> and <([x position v] of [player v]) > (x position)>> then\n            change [@change_offset v] by (3)\n        else\n            change [@change_offset v] by (1.5)\n        end\n    end\n    point in direction (-90)\n    repeat until <(@Change_OFFSET) < [1]>\n        if <<<<([abs v] of ((y position) - ([y position v] of [player v])) ) < [30]> and <<(([x position v] of [player v]) + (80)) > ((x position) - (@Change_OFFSET))> and <(([x position v] of [player v]) - (80)) < (((x position) - (@Change_OFFSET)) + (@Change))>>> and < (costume [name v]) contains [red]?>> and <([x position v] of [player v]) < (x position)>> then\n            change [@change_offset v] by (-3)\n        else\n            change [@change_offset v] by (-1.5)\n        end\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\n@Chat\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 [Hello!] to [chat list v]\nadd [This way!] to [chat list v]\nadd [Bye!] to [chat list v]\nadd [Watch out!] to [chat list v]\nadd [Lol] to [chat list v]\nadd [It's lagging :\(] to [chat list v]\nadd [Which way?] to [chat list v]\nadd [Okay!] to [chat list v]\nadd [Got to go :\)] 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    if <(EmojiCHAT?) = [1]> then\n        switch costume to (main2 v)\n    else\n        switch costume to (main v)\n    end\n    go to [front v] layer\n    go [backward v] (10) layers\nend\n\nwhen flag clicked\nset [chat item v] to [0]\nforever\n    if <(open chat) = [1]> then\n        if <(EmojiCHAT?) = [1]> then\n            if <key (g v) pressed?> then\n                reset\n                set [chat item v] to [10]\n                wait until <not <key (g v) pressed?>>\n            end\n            if <key (h v) pressed?> then\n                reset\n                set [chat item v] to [11]\n                wait until <not <key (h v) pressed?>>\n            end\n            if <key (j v) pressed?> then\n                reset\n                set [chat item v] to [12]\n                wait until <not <key (j v) pressed?>>\n            end\n            if <key (v v) pressed?> then\n                reset\n                set [chat item v] to [13]\n                wait until <not <key (v v) pressed?>>\n            end\n            if <key (b v) pressed?> then\n                reset\n                set [chat item v] to [14]\n                wait until <not <key (b v) pressed?>>\n            end\n            if <key (n v) pressed?> then\n                reset\n                set [chat item v] to [15]\n                wait until <not <key (n v) pressed?>>\n            end\n        end\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 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\ndefine reset\nset [open chat v] to [0]\nset [chat reset v] to [0]\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 I receive [mobile v]\nreset\n\nwhen [timer v] > (0.1)\nhide\n\n@Detector\n\nwhen flag clicked\nshow\nset [stared? v] to [0]\nset [loved? v] to [0]\nwait until <<(Stared?) = [1]> and <(Loved?) = [1]>>\nwait (0.1) seconds\nchange [coins v] by (10)\nbroadcast (alert v)\nstop [this script v]\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\n@moon\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\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: (55)\nset [ghost v] effect to (100)\n\nwhen I receive [exp v]\nwait (0.3) seconds\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nswitch costume to (join [s] ((exp) / (10)))\ngo to x: (0) y: (55)\nrepeat until <(y position) < [5]>\n    change [ghost v] effect by (-8)\n    change y by (((2) - (y position)) / (7))\nend\nwait (3) 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 (55)\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: (55)\nrepeat until <(y position) < [5]>\n    change [ghost v] effect by (-8)\n    change y by (((2) - (y position)) / (7))\nend\nwait (3) 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 (55)\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (8) 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) > [49.5]>\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) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n@Report Detector\n\nwhen flag clicked\nswitch costume to (detector v)\ngo to x: (5) y: (-53)\nforever\n    if <touching (mouse-pointer v)?> then\n        create clone of (_myself_ v)\n        stop [this script v]\n    end\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        change [☁ actual reports: v] by (1)\n        create clone of (_myself_ v)\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (0) y: (-180)\nswitch costume to (report 1 v)\nset size to (1) %\nset [ghost v] effect to (100)\nrepeat (25)\n    change y by (((0) - (y position)) * (0.25))\n    change size by (((100) - (size)) * (0.25))\n    change [ghost v] effect by (-10)\nend\nrepeat (10)\n    switch costume to (report 1 v)\n    wait (0.2) seconds\n    switch costume to (report 2 v)\n    wait (0.2) seconds\nend\nforever\n    switch costume to (report 3 v)\n    wait (0.2) seconds\n    switch costume to (report 4 v)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nset [pitch v] effect to (-5)\nforever\n    play sound [Meow v] until done\nend\n\n@-\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\ngo to x: (5) y: (-53)\nset [#? v] to [0]\nforever\n    if <(#!) = [1]> then\n        show variable [☁ bad people who reported me! >:\( xd v]\n        if <(#?) = [0]> then\n            set [#? v] to [1]\n            change [☁ bad people who reported me! >:\( xd v] by (1)\n            switch backdrop to (backdrop2 v)\n            play sound [Dun Dun Dunnn v] until done\n        end\n    else\n        hide variable [☁ bad people who reported me! >:\( xd v]\n    end\nend\n\nwhen flag clicked\nforever\n    set [#! v] to <touching (mouse-pointer v)?>\nend\n\n@Lightning\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nset [brightness v] effect to (10)\n\nwhen I receive [lightning v]\nif <(Sound) = [1]> then\n    start sound [sfx_level_dragon_castlethunder_08 v]\nend\nshow\nset [brightness v] effect to (10)\nwait (0.2) seconds\nset [brightness v] effect to (50)\nwait (0.1) seconds\nset [brightness v] effect to (10)\nwait (0.2) seconds\nset [brightness v] effect to (50)\nwait (0.1) seconds\nhide\n\nwhen I receive [play v]\n\nwhen I receive [green screen v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nrepeat until <(Dead) = [1]>\n    wait (pick random (7) to (16)) seconds\n    broadcast (Lightning v) and wait\nend\n\n
✿ ✿ LOVE AND FAVE FOR INSTANT 100 COINS! ✿ ✿ ✿ \n✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ \n\n✿ ʟᴀɴᴛᴇʀɴ ᴠᴀʟʟᴇʏ ✿\n- Lantern Valley Made Again\n-Imagine not making platformers.\n————-\n\nInstructions:\n\n- want to chat? Click on your player to chat!\n- beat the game by collecting all the bonus points and all the coins! Until you reach the golden star at the top!\nUse parachute by jumping then clicking on player!\n\n\n\n✦✦ How to play ✦✦\n➜ Collect coins, use them to buy items in the shop\n➜ [T] to chat, [#] or [letter] to choose phrase. On MOBILE, tap the player\n➜ Press the SPACE key to activate a parachute. Hold your finger down on mobile.\n➜ [N] to turn on/off\n\n\n\n.. I shared this project again for people to play on it again because they enjoyed it. My old account had this but it got deleted accidentally.. \nbut whatever just enjoy the platformer \n\n\n\n#all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all\n#trending #music #art #games #CrazeNade