✦ The Steel Cave || A Multiplayer Scrolling Platformer #All #Games ✦


@Stage\n\nwhen [n v] key pressed\nhide variable [mouse v]\n\nwhen [m v] key pressed\nif <(username) = [SuperCookii]> then\n    show variable [mouse v]\nend\n\nwhen flag clicked\nswitch backdrop to (1 v)\nhide variable [mouse v]\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [, ] ((mouse y) + (SCROLL Y))))\n\nwhen [a v] key pressed\nif <(username) = [SuperCookii]> then\n    switch backdrop to (light v)\nend\n\nwhen [z v] key pressed\nswitch backdrop to (1 v)\n\nwhen [s v] key pressed\nif <(username) = [SuperCookii]> then\n    set [checkpoint v] to [2]\nend\n\nchange [a_life v] by (1)\n\n@Blank_1.1\n\nwhen flag clicked\n\n@Blank_1.2\n\nwhen flag clicked\n\n@Blank_1.3\n\nwhen flag clicked\nbroadcast (menu v)\n\n@Blank_1.4\n\n@Blank_1.5\n\n@Blank_1.6\n\n@Blank_1.7\n\n@Blank_1.8\n\n@Blank_1.9\n\n@Blank_1.10\n\n@Blank_1.11\n\n@Blank_1.12\n\n@Blank_1.13\n\n@PLAYER\n\ndefine send cloud data\nset [encoded v] to []\nwrite (username) to encoded\nwrite (round ((timer) * (10))) to encoded\nwrite ((x position) + (SCROLL X)) to encoded\nwrite ((y position) + (SCROLL Y)) to encoded\nwrite (Chat) to encoded\nwrite (round ()) to encoded\nset cloud # (MY PLAYER #) to (encoded)\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ j1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ j2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ j3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ j4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ j5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ j6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ j7 v] to (value)\n                        else\n                            set [☁ j8 v] to (value)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [game - tick v]\nif <<(MY PLAYER #) > [0]> and <(MY PLAYER #) < [10]>> then\n    send cloud data\nend\n\ndefine write (val) to encoded\nset [letter # v] to [1]\nrepeat (length of (val))\n    set [encoded v] to (join (encoded) (item # of (letter (letter #) of (val)) in [code v]))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (encoded) [00])\n\nwhen I receive [green flag clicked v]\nset [chat v] to [0]\nshow list [chat v]\nforever\n    Chat\nend\n\ndefine Chat\nif <(Chat) = [1]> then\n    if <key (h v) pressed?> then\n        set [chat v] to [1]\n        say [Hi!]\n        wait (2) seconds\n        say []\n        set [chat words v] to [0]\n    else\n        if <key (b v) pressed?> then\n            set [chat words v] to [2]\n            say [Bye!]\n            wait (2) seconds\n            say []\n            set [chat words v] to [0]\n        else\n            if <key (y v) pressed?> then\n                set [chat words v] to [3]\n                say [Yes]\n                wait (2) seconds\n                say []\n                set [chat v] to [0]\n            else\n                if <key (p v) pressed?> then\n                    set [chat words v] to [4]\n                    say [Help Please!]\n                    wait (2) seconds\n                    say []\n                    set [chat words v] to [0]\n                else\n                    if <key (o v) pressed?> then\n                        set [chat words v] to [5]\n                        say [No]\n                        wait (2) seconds\n                        say []\n                        set [chat words v] to [0]\n                    else\n                        if <key (w v) pressed?> then\n                            set [chat words v] to [6]\n                            say [This Way!]\n                            wait (2) seconds\n                            say []\n                            set [chat words v] to [0]\n                        else\n                            if <key (l v) pressed?> then\n                                set [chat words v] to [7]\n                                say [Lol!]\n                                wait (2) seconds\n                                say []\n                                set [chat words v] to [0]\n                            else\n                                if <key (i v) pressed?> then\n                                    set [chat words v] to [8]\n                                    say [I Am Lagging :\(]\n                                    wait (2) seconds\n                                    say []\n                                    set [chat words v] to [0]\n                                else\n                                    if <key (g v) pressed?> then\n                                        set [chat words v] to [9]\n                                        say [Got To Go!]\n                                        wait (2) seconds\n                                        say []\n                                        set [chat words v] to [0]\n                                    else\n                                        set [chat words v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Tick\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n    point in direction (-90)\n    Change Player x by [-8]\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n    point in direction (90)\n    Change Player x by [8]\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(in air) < [6]> then\n        if <(S_JUMPBOOST) = [1]> then\n            set [sy v] to [22]\n        else\n            set [sy v] to [16]\n        end\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange Player y by (sy)\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    end\n    if <(EXIT) = [die]> then\n        DEAD!!!!!!!!!!!\n    end\n    if <(EXIT) = [the end]> then\n        Game - The End\n    end\nend\n\nwhen I receive [green flag clicked v]\nhide\ngo to [front v] layer\n\nwhen flag clicked\nset [begin v] to [0]\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <<touching (level v)?> or <touching (horizontal platforms v)?>>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <<touching (level v)?> or <touching (horizontal platforms v)?>> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <<touching (level v)?> or <touching (horizontal platforms v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    repeat until <not <<touching (level v)?> or <touching (horizontal platforms v)?>>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Test - Die\nif <<touching (spikes v)?> or <<touching (danger v)?> or <<touching (danger 2 v)?> or <<touching (danger 3 v)?> or <touching (laser v)?>>>>> then\n    set [exit v] to [die]\nend\n\nDEAD!!!!!!!!!!!\n\nwhen I receive [nvnvnvnvn v]\nstart sound [Oops v]\n\ndefine Game - Win\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\nwait (1) seconds\n\ndefine Game - The End\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nwait (0.5) seconds\nstop [other scripts in sprite v]\nhide\nbroadcast (Yes the end finally bwahahahahahahahaha v)\nstop [all v]\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\ndelete this clone\n\nwhen I receive [play game v]\nforever\n    play sound [Valence - Infinite \[NCS Release\] v] until done\nend\n\nwhen flag clicked\nhide variable [end name v]\n\nwhen flag clicked\nswitch costume to (black v)\nhide\n\nwhen [1 v] key pressed\nif <(S_RED) = [1]> then\n    switch costume to (red v)\nend\n\nwhen [2 v] key pressed\nif <(S_BLEU) = [1]> then\n    switch costume to (blue v)\nend\n\nwhen [3 v] key pressed\nif <(S_YELLOW) = [1]> then\n    switch costume to (yellow v)\nend\n\nwhen [0 v] key pressed\nswitch costume to (black v)\n\ndefine DEAD!!!!!!!!!!!\nbroadcast (💀 v)\nrepeat (10)\n    change size by (-1)\n    change [brightness v] effect by (-10)\n    change y by (4)\n    set rotation style [all around v]\n    turn right (3) degrees\nend\nhide\nset size to (100) %\nset rotation style [left-right v]\nset [brightness v] effect to (0)\npoint in direction (90)\nset [exit v] to []\n\ndefine Game On\nset [scroll x v] to [0]\nset [scroll y v] to [30]\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset size to (100) %\nclear graphic effects\nshow\nif <(Checkpoint) = [0]> then\n    set [x v] to [0]\n    set [y v] to [0]\nelse\n    if <(Checkpoint) = [1]> then\n        set [x v] to [1059]\n        set [y v] to [0]\n    else\n        set [x v] to [1965]\n        set [y v] to [155]\n    end\nend\n\nshow\n\nwhen [j v] key pressed\nif <(username) = [SuperCookii]> then\n    change [sy v] by (120)\nend\n\nset [collectable tutor v] to [10]\nbroadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\n\nwhen flag clicked\nset [collected v] to [0]\n\nwhen flag clicked\nset [exit v] to []\ngo to x: (0) y: (0)\nset [max players v] to [8]\nset [my player # v] to [0]\nbroadcast (setup - opponents v) and wait\nbroadcast (Setup Others v) and wait\nbroadcast (join game v) and wait\nif <(MY PLAYER #) > [0]> then\n    broadcast (Joined! v)\nelse\n    broadcast (Game Full :\( v)\nend\nbroadcast (begin v)\n\nwhen I receive [joined! v]\nbroadcast (Green flag clicked v) and wait\nbroadcast (Play Game v) and wait\nbroadcast (Setup Others v)\n\nbroadcast (Play Game v) and wait\n\nwait (0.001) seconds\n\nwhen I receive [begin v]\nchange [begin v] by (1)\nif <(BEGIN) = [1]> then\n    broadcast (Green flag clicked v) and wait\n    broadcast (Play Game v) and wait\nelse\n    broadcast (AAAAA v) and wait\nend\n\nset [begin v] to [0]\n\nchange [begin v] by (1)\n\nwhen [9 v] key pressed\n\nset [sy v] to [50]\n\n@Others\n\nwhen I receive [begin v]\nset [names v] to [1]\nforever\n    if <key (n v) pressed?> then\n        if <(names) = [1]> then\n            wait until <not <key (n v) pressed?>>\n            set [names v] to [0]\n        else\n            wait until <not <key (n v) pressed?>>\n            set [names v] to [1]\n        end\n    end\nend\n\nwhen I receive [setup others v]\nsetup players\n\ndefine setup players\nhide\nset [offline v] to [100]\nset [player # v] to [1]\nrepeat ((MAX PLAYERS) - (1))\n    create clone of (_myself_ v)\n    change [player # v] by (1)\nend\n\ndefine value = cloud # (player)\nif <(player) = [1]> then\n    set [value v] to (☁ J1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ J2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ J3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ J4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ J5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ J6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ J7)\n                        else\n                            if <(player) = [8]> then\n                                set [value v] to (☁ J8)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) = (player #)> then\n        set [offline v] to [100]\n        hide\n    else\n        Tick\n    end\nend\n\ndefine Tick\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    change [offline v] by (1)\n    if <(offline) = [100]> then\n        hide\n    end\nelse\n    set [last value v] to (join [A] (value))\n    if <(offline) > [99]> then\n        show\n    end\n    set [offline v] to [0]\nend\nbegin decode of (value)\nvalue = read from encoded\nif <(names) = [1]> then\n    say (join (player #) (join [:] (value)))\nelse\n    say []\nend\nvalue = read from encoded\nvalue = read from encoded\nset x to ((value) - (SCROLL X))\nvalue = read from encoded\nset y to (((value) - (SCROLL Y)) + (8))\nvalue = read from encoded\nbroadcast (Decode Chat v)\ngo to [back v] layer\n\ndefine begin decode of (encoded)\nset [encoded v] to (encoded)\nset [letter # v] to [1]\n\ndefine value = read from encoded\nset [value v] to []\nforever\n    set [idx v] to (join (letter (letter #) of (encoded)) (letter ((letter #) + (1)) of (encoded)))\n    change [letter # v] by (2)\n    if <(idx) < [1]> then\n        stop [this script v]\n    end\n    set [value v] to (join (value) (item (idx) of [code v]))\nend\n\nwhen I receive [join game v]\nvalue = cloud # (player #)\nset [last value v] to (join [A] (value))\nwait (3) seconds\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    set [my player # v] to (player #)\nend\n\ndefine Decode Chat (chat)\nif <(chat) = [1]> then\n    say [Hi!] for (2) seconds\nelse\n    if <(chat) = [2]> then\n        say [Bye!] for (2) seconds\n    else\n        if <(chat) = [3]> then\n            say [Yes] for (2) seconds\n        else\n            if <(chat) = [4]> then\n                say [Help Please!] for (2) seconds\n            else\n                if <(chat) = [5]> then\n                    say [No] for (2) seconds\n                else\n                    if <(chat) = [6]> then\n                        say [This Way!] for (2) seconds\n                    else\n                        if <(chat) = [7]> then\n                            say [Lol!] for (2) seconds\n                        else\n                            if <(chat) = [8]> then\n                                say [I Am Lagging :\(] for (2) seconds\n                            else\n                                if <(chat) = [9]> then\n                                    say [Got To Go!] for (2) seconds\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [decode chat v]\nDecode Chat (value)\n\n@Joining\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [join v] to [0]\nhide\n\nwhen I receive [begin v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen I receive [join game v]\nswitch costume to (joining v)\nshow\n\nwhen I receive [joined! v]\nchange [join v] by (1)\ngo [forward v] (1322) layers\nstart sound [Connect v]\nswitch costume to (connected v)\nshow\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (begin v)\n\nwhen I receive [game full :\( v]\nswitch costume to (full v)\nshow\n\n@LEVEL\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (1 v)\n    Clone at x: [475] y: [0]\n    Clone at x: [475] y: [0]\n    Clone at x: [475] y: [0]\n    Clone at x: [550] y: [0]\n    Clone at x: [650] y: [200]\n    Clone at x: [550] y: [150]\n    Clone at x: [525] y: [250]\n    Clone at x: [-550] y: [325]\n    Clone at x: [-600] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\nend\n\nif <(LEVEL) = [2]> then\n    switch costume to (level 2 1 v)\n    Clone at x: [550] y: [0]\n    Clone at x: [0] y: [400]\n    Clone at x: [0] y: [300]\n    Clone at x: [350] y: [65]\nelse\n    set [collected max v] to [0]\n    switch costume to (level 3 1 v)\n    Clone at x: [550] y: [100]\n    Clone at x: [0] y: [-400]\n    Clone at x: [400] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\ndelete this clone\n\nwhen flag clicked\nset [collected max v] to [100]\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\nhide variable [collected v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nhide variable [collected v]\n\nforever\n\n@Collectables\n\nwhen I receive [green flag clicked v]\nset [collectable tutor v] to [0]\nhide\n\nwhen I receive [tick v]\nset [collected v] to (COLLECTABLE TUTOR)\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [collected v] by (1)\n    change [collectable tutor v] by (1)\n    start sound [Coin v]\n    broadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\n    delete this clone\nend\n\nwhen I receive [play game v]\nhide\nset [collected v] to [0]\nset [collected max v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    broadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\n    switch costume to (money1 v)\n    Clone at x: [100] y: [50]\n    Clone at x: [355] y: [60]\n    Clone at x: [730] y: [75]\n    Clone at x: [1007] y: [80]\n    Clone at x: [1514] y: [225]\n    Clone at x: [2075] y: [300]\n    Clone at x: [2443] y: [400]\n    Clone at x: [2771] y: [467]\n    Clone at x: [3020] y: [490]\n    Clone at x: [3260] y: [600]\n    Clone at x: [3450] y: [675]\n    Clone at x: [3600] y: [900]\n    Clone at x: [2250] y: [1025]\n    Clone at x: [2600] y: [1150]\n    Clone at x: [1900] y: [975]\n    Clone at x: [1850] y: [975]\n    Clone at x: [1800] y: [975]\n    Clone at x: [1235] y: [975]\n    Clone at x: [1500] y: [975]\n    Clone at x: [1100] y: [975]\n    Clone at x: [1000] y: [975]\n    Clone at x: [900] y: [975]\n    Clone at x: [800] y: [975]\n    Clone at x: [999999999] y: [-100000]\nend\nset [x v] to [-9999999999999999999999999999999999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide variable [collected v]\n\nwhen I receive [play game v]\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\ndelete this clone\n\n\n\nshow variable [collected v]\n\nClone at x: [999999999] y: [-100000]\n\n@SYSTEME\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\nset [s_bleu v] to [0]\nset [s_red v] to [0]\nset [s_yellow v] to [0]\nset [s_jumpboost v] to [0]\nset [shop_s v] to [0]\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen I receive [play game v]\nshow\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\n\nwhen this sprite clicked\nshow\nif <(costume [number v]) = [2]> then\n    set [shop_s v] to [0]\n    switch costume to (1 v)\nelse\n    if <(costume [number v]) = [1]> then\n        show\n        set [shop_s v] to [1]\n        CLONE: COSTUME [3]\n        CLONE: COSTUME [4]\n        CLONE: COSTUME [5]\n        CLONE: COSTUME [6]\n        CLONE: COSTUME [7]\n        switch costume to (2 v)\n    end\nend\n\ndefine CLONE: COSTUME (number or text)\nswitch costume to (number or text)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [3]> then\n        go [backward v] (1) layers\n        show\n        go to x: (0) y: (0)\n        forever\n            if <(SHOP_S) = [0]> then\n                delete this clone\n            end\n        end\n    else\n        if <(costume [number v]) = [4]> then\n            if <(S_RED) = [0]> then\n                show\n                go to x: (0) y: (0)\n                forever\n                    if <(SHOP_S) = [0]> then\n                        delete this clone\n                    end\n                end\n            else\n                delete this clone\n            end\n        else\n            if <(costume [number v]) = [5]> then\n                if <(S_BLEU) = [0]> then\n                    show\n                    go to x: (0) y: (0)\n                    forever\n                        if <(SHOP_S) = [0]> then\n                            delete this clone\n                        end\n                    end\n                else\n                    delete this clone\n                end\n            else\n                if <(costume [number v]) = [6]> then\n                    if <(S_JUMPBOOST) = [0]> then\n                        show\n                        go to x: (0) y: (0)\n                        forever\n                            if <(SHOP_S) = [0]> then\n                                delete this clone\n                            end\n                        end\n                    else\n                        delete this clone\n                    end\n                else\n                    if <(S_YELLOW) = [0]> then\n                        show\n                        go to x: (0) y: (0)\n                        forever\n                            if <(SHOP_S) = [0]> then\n                                delete this clone\n                            end\n                        end\n                    else\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\n...\n\ndefine ...\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [4]> then\n        if <touching (mouse-pointer v)?> then\n            set size to (120) %\n            if <mouse down?> then\n                if <<(COLLECTED) = [5]> or <(COLLECTED) > [5]>> then\n                    set [s_red v] to [1]\n                    change [collected v] by (-5)\n                    change [collectable tutor v] by (-5)\n                    broadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\n                    delete this clone\n                else\n                    broadcast (NO MONEY v)\n                end\n            end\n        else\n            set size to (100) %\n        end\n    else\n        if <(costume [number v]) = [5]> then\n            if <touching (mouse-pointer v)?> then\n                set size to (120) %\n                go to x: (11) y: (11)\n                if <mouse down?> then\n                    if <<(COLLECTED) = [8]> or <(COLLECTED) > [8]>> then\n                        set [s_bleu v] to [1]\n                        change [collected v] by (-8)\n                        change [collectable tutor v] by (-8)\n                        broadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\n                        delete this clone\n                    else\n                        broadcast (NO MONEY v)\n                    end\n                end\n            else\n                set size to (100) %\n                go to x: (0) y: (0)\n            end\n        else\n            if <(costume [number v]) = [6]> then\n                if <touching (mouse-pointer v)?> then\n                    set size to (120) %\n                    go to x: (-25) y: (10)\n                    if <mouse down?> then\n                        if <<(COLLECTED) = [10]> or <(COLLECTED) > [10]>> then\n                            set [s_jumpboost v] to [1]\n                            change [collected v] by (-10)\n                            change [collectable tutor v] by (-10)\n                            broadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\n                            delete this clone\n                        else\n                            broadcast (NO MONEY v)\n                        end\n                    end\n                else\n                    set size to (100) %\n                    go to x: (0) y: (0)\n                end\n            else\n                if <(costume [number v]) = [7]> then\n                    if <touching (mouse-pointer v)?> then\n                        set size to (120) %\n                        go to x: (-35) y: (20)\n                        if <mouse down?> then\n                            if <(YELLOW) = [1]> then\n                                set [s_yellow v] to [1]\n                                delete this clone\n                            else\n                                broadcast (NO LF ??? v)\n                            end\n                        end\n                    else\n                        set size to (100) %\n                        go to x: (0) y: (0)\n                    end\n                end\n            end\n        end\n    end\nend\n\n@variable\n\nwhen I receive [⭐️🆗😱🍄🍔🍔♖♕ v]\nwait (0.001) seconds\nset [digit v] to [1]\ngo to x: (-185) y: (160)\nrepeat (length of (COLLECTED))\n    switch costume to ((letter (Digit) of (COLLECTED)) + (1))\n    set size to (120) %\n    set [brightness v] effect to (500)\n    create clone of (_myself_ v)\n    change [digit v] by (1)\n    change x by (15)\nend\n\nwhen I receive [⭐️🆗😱🍄🍔🍔♖♕ v]\ndelete this clone\n\nwhen I start as a clone\nshow\n\nwhen flag clicked\nswitch costume to (0 v)\nhide\n\nwhen I receive [play game v]\nbroadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\nforever\n    go to [front v] layer\n    set [brightness v] effect to (500)\nend\n\nwhen flag clicked\n\nhide\n\nwhen I receive [reset v]\n\nswitch costume to (0 v)\n\nbroadcast (⭐️🆗😱🍄🍔🍔♖♕ v)\nforever\n    go to [front v] layer\nend\n\n@The End\n\nwhen flag clicked\nhide\n\nwhen I receive [⭐️ end ⭐️ v]\nshow\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nrepeat (20)\n    change x by (pick random (10) to (-10))\n    change y by (pick random (10) to (-10))\nend\ngo to x: (0) y: (0)\nwait until <mouse down?>\nhide\n\nwhen I receive [⭐️ end ⭐️ v]\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\nend\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\nset [yellow v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\ngo to [front v] layer\nset [yellow v] to [1]\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (1 v)\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    go to [front v] layer\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    go to [front v] layer\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [no money v]\nswitch costume to (1 v)\nclear graphic effects\ngo to x: (0) y: (-180)\nshow\nrepeat (9)\n    go to [front v] layer\n    change y by (26)\nend\nwait (0.5) seconds\nrepeat (20)\n    go to [front v] layer\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen I receive [no lf ??? v]\nswitch costume to (2 v)\nclear graphic effects\ngo to x: (0) y: (-180)\nshow\nrepeat (9)\n    go to [front v] layer\n    change y by (26)\nend\nwait (0.5) seconds\nrepeat (20)\n    go to [front v] layer\n    change [ghost v] effect by (5)\nend\nhide\n\n@LIGHT\n\nwhen flag clicked\nhide\n\nwhen I receive [tick v]\nturn right (0.25) degrees\nshow\ngo to [back v] layer\ngo to (player v)\n\npoint in direction (90)\n\n@Checkpoint \n\nwhen I receive [green flag v]\nset size to (150) %\nhide\n\nwhen I receive [tick v]\ngo to [back v] layer\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <(costume [number v]) = [2]> then\n    if <touching (player v)?> then\n        change [checkpoint v] by (1)\n        switch costume to (green flag v)\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset [checkpoint v] to [0]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (close flag v)\n    Clone at x: [1059] y: [-15]\n    Clone at x: [1965] y: [155]\nend\nset [x v] to [-99999]\n\nClone at x: [99999999] y: [9999999]\nClone at x: [2600] y: [1150]\n\nClone at x: [3600] y: [850]\n\nif <(Checkpoint) = [2]> then\n    change [checkpoint v] by (2)\nend\n\n@Horizontal Platforms\n\nwhen I receive [tick v]\nchange [frame v] by (1)\nPosition (((Moving Platforms: x) - (SCROLL X)) + (([cos v] of (FRAME) ) * (100))) ((Moving Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [enemy jump v] to [0]\nset [collected v] to [0]\nset [moving platforms: x v] to [0]\nset [moving platforms: y v] to [0]\nshow\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [3375] y: [790]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\nhide\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [moving platforms: x v] to (x)\nset [moving platforms: y v] to (y)\ncreate clone of (_myself_ v)\n\nClone at x: [340] y: [27]\nClone at x: [530] y: [27]\nClone at x: [786] y: [27]\nClone at x: [1124] y: [27]\nClone at x: [1331] y: [245]\nClone at x: [1065] y: [345]\nClone at x: [825] y: [272]\nClone at x: [392] y: [245]\nClone at x: [197] y: [335]\n\nClone at x: [631] y: [11]\n\nwhen flag clicked\nhide\n\n@DECO\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (1 v)\n    Clone at x: [475] y: [0]\n    Clone at x: [475] y: [0]\n    Clone at x: [475] y: [0]\n    Clone at x: [550] y: [0]\n    Clone at x: [650] y: [200]\n    Clone at x: [550] y: [150]\n    Clone at x: [525] y: [250]\n    Clone at x: [-550] y: [325]\n    Clone at x: [-600] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\nend\n\nif <(LEVEL) = [2]> then\n    switch costume to (level 2 1 v)\n    Clone at x: [550] y: [0]\n    Clone at x: [0] y: [400]\n    Clone at x: [0] y: [300]\n    Clone at x: [350] y: [65]\nelse\n    set [collected max v] to [0]\n    switch costume to (level 3 1 v)\n    Clone at x: [550] y: [100]\n    Clone at x: [0] y: [-400]\n    Clone at x: [400] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\ndelete this clone\n\nwhen flag clicked\nset [collected max v] to [100]\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\nhide variable [collected v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nhide variable [collected v]\n\nforever\n\n@danger\n\nwhen I receive [tick v]\nturn right (7) degrees\nPosition ((Saws X) - (SCROLL X)) ((Saws Y) - (SCROLL Y))\ngo to [back v] layer\n\nwhen I receive [setup v]\nhide\nset [saws x v] to [0]\nset [saws y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [2100] y: [150]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nset [saws x v] to (x)\nset [saws y v] to (y)\n\nwhen flag clicked\nset [lol v] to [0]\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\nhide variable [collected v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nturn right (15) degrees\n\nwhen I receive [tick v]\n\nClone at x: [2100] y: [150]\n\n@Spikes\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (1 v)\n    Clone at x: [475] y: [0]\n    Clone at x: [475] y: [0]\n    Clone at x: [475] y: [0]\n    Clone at x: [550] y: [0]\n    Clone at x: [650] y: [200]\n    Clone at x: [550] y: [150]\n    Clone at x: [525] y: [250]\n    Clone at x: [-550] y: [325]\n    Clone at x: [-600] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\n    Clone at x: [-375] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\n\nwhen flag clicked\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\nhide variable [collected v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nhide variable [collected v]\n\nforever\n\n@danger 2\n\nwhen I receive [tick v]\nturn right (7) degrees\nPosition ((SAWS 2X) - (SCROLL X)) ((SAWS 2Y) - (SCROLL Y))\ngo to [back v] layer\n\nwhen I receive [setup v]\nhide\nset [saws 2x v] to [0]\nset [saws 2y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [1425] y: [20]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nset [saws 2x v] to (x)\nset [saws 2y v] to (y)\n\nwhen flag clicked\nset [lol v] to [0]\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\nhide variable [collected v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nturn right (15) degrees\n\nwhen I receive [tick v]\n\nClone at x: [2100] y: [150]\n\n@danger 3\n\nwhen I receive [tick v]\nturn right (7) degrees\nPosition ((SAWS 3X) - (SCROLL X)) ((SAWS 3Y) - (SCROLL Y))\ngo to [back v] layer\n\nwhen I receive [setup v]\nhide\nset [saws 3x v] to [0]\nset [saws 3y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [3305] y: [480]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nset [saws 3x v] to (x)\nset [saws 3y v] to (y)\n\nwhen flag clicked\nset [lol v] to [0]\n\nwhen I receive [yes the end finally bwahahahahahahahaha v]\nhide\nhide variable [collected v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nturn right (15) degrees\n\nwhen I receive [tick v]\n\nClone at x: [2100] y: [150]\n\n@LASER\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (blank v)\n    set [x v] to [99999999999]\n    Clone at x: [3200] y: [900]\n    Clone at x: [2480] y: [900]\n    Clone at x: [2350] y: [900]\n    broadcast (LASER v)\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\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\nwhen flag clicked\nhide\n\nwhen I receive [laser v]\nrepeat until <(EXIT) = [999999]>\n    switch costume to (danger v)\n    wait (3) seconds\n    switch costume to (blank v)\n    wait (1.5) seconds\nend\n\nset [x v] to (x)\nset [y v] to (y)\n\n@Chat\n\nwhen I receive [green flag v]\nhide\n\nwhen flag clicked\nset [chat v] to [0]\nhide\n\nwhen I receive [chat open v]\nset [chat v] to [1]\n\nwhen I receive [chat close v]\nset [chat v] to [0]\n\nwhen I receive [tick v]\ngo to [front v] layer\nif <(Chat) = [1]> then\n    show\nelse\n    hide\nend\nif <key (t v) pressed?> then\n    if <(Chat) = [1]> then\n        broadcast (Chat Close v)\n        wait until <not <key (t v) pressed?>>\n    else\n        broadcast (Chat Open v)\n        wait until <not <key (t v) pressed?>>\n    end\nend\n\nwhen I receive [chat open v]\n\nset [chat? v] to [0]\nrepeat (12)\n    change [chat? v] by (14)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nclear graphic effects\nforever\n    set [timer ☻ v] to ((0.01) + (timer))\n    set [ghost v] effect to (500)\nend\n\nwhen [timer v] > (TiMeR ☻)\nforever\n    reset timer\nend\n\nwhen [timer v] > (TiMeR ☻)\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nrepeat (20)\n    change x by (pick random (10) to (-10))\n    change y by (pick random (10) to (-10))\nend\ngo to x: (0) y: (0)\n\n@⭐️ END ⭐️\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [⭐️ end ⭐️ v] by (1)\nend\nif <(⭐️ END ⭐️) = [1]> then\n    broadcast (⭐️ END ⭐️ v)\n    hide\n    delete this clone\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (⭐️ end ⭐️ v)\nchange [x v] by (99999999999999999)\nif <(⭐️ END ⭐️) = [0]> then\n    Clone at x: [600] y: [950]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\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\nwhen flag clicked\nset [⭐️ end ⭐️ v] to [0]\nhide\n\n