☁️ Mountain, online platformer !!!

Instructions: No advertising please !\n\nIf the games are complete here is the 2nd server:\nhttps://scratch.mit.edu/projects/825697710/\n\nYou can play this game on pc and mobile.\n\nUse WASD or Arrow keys or Tap to move. Press the sheet to start the game. If you are not interested in game then do not play and don’t report things publicly in the comments just press the report button because it didn’t work in the game. And if you like the game you will have a surprise.\n\nHope you enjoy and like the game !\n\nIf you have lost, press the flag twice.

@Stage\n\nwhen flag clicked\nswitch backdrop to (back2 v)\n\nwhen [m v] key pressed\nshow variable [mouse x,y v]\nset [mouse x,y v] to (join ([floor v] of ((mouse x) + (SCROLL X)) ) (join [,] ([floor v] of ((mouse y) + (SCROLL Y)) )))\n\nwhen I receive [game over v]\nstop [other scripts in sprite v]\n\nwhen I receive [begin v]\nset [random v] to (pick random (1) to (3))\nforever\n    set volume to (100) %\n    if <(random) = [1]> then\n        play sound [@Xaf - Nebula v] until done\n    else\n        if <(random) = [2]> then\n            play sound [Warriyo - Mortals v] until done\n        end\n    end\nend\n\nwhen I receive [win v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide variable [random v]\nhide variable [mouse x,y v]\nhide variable [timer v]\n\nwhen I receive [tick v]\nif <(Connected?) = [1]> then\n    if <<(current [hour v]) > [7]> and <[16] > (current [hour v])>> then\n        switch backdrop to (morning v)\n    else\n        if <<(current [hour v]) > [15]> and <[18] > (current [hour v])>> then\n            switch backdrop to (evening v)\n        else\n            if <<not <(current [hour v]) = [7]>> and <<(current [hour v]) > [17]> or <<(current [hour v]) = [1]> or <<(current [hour v]) = [2]> or <<(current [hour v]) = [3]> or <<(current [hour v]) = [4]> or <(current [hour v]) = [5]>>>>>>> then\n                switch backdrop to (night v)\n            end\n        end\n    end\n    set [time of day v] to (backdrop [name v])\nend\n\n@Player\n\nwhen I receive [begin v]\nset [chat v] to [0]\nshow list [chat v]\nforever\n    Chat\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\nwhen I receive [green flag v]\nhide variable [scroll x v]\nhide\ngo to [front v] layer\n\ndefine Change Player x by (sx)\npoint in direction (90)\nchange [x v] by (sx)\nPosition\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <<touching (platforms v)?> or <touching (moving platforms v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <<touching (platforms v)?> or <touching (moving 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 Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <<touching (platforms v)?> or <touching (moving 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 Game On\nset [scroll x v] to (CheckPoint x)\nset [scroll y v] to (CheckPoint y)\nset [y v] to (CheckPoint y)\nset [x v] to (CheckPoint x)\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset [ghost v] effect to (0)\nset size to (100) %\n\ndefine Test - Die\nif <touching (danger v)?> then\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\nif <touching (saws v)?> then\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\nif <touching (lava v)?> then\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\nif <touching (spikes v)?> then\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\nif <touching (moving saws v)?> then\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\n\ndefine Game - Die\nset [exit v] to []\nstart sound [Hurt v]\nrepeat (3)\n    set [ghost v] effect to (0)\n    wait (0.15) seconds\n    set [ghost v] effect to (100)\n    wait (0.15) seconds\nend\nchange [lives v] by (-1)\n\ndefine Tick\nif <not <<(FAVED___) = [1]> and <(LOVED__) = [1]>>> then\n    switch costume to (normal v)\nelse\n    switch costume to (68306280 v)\nend\nif <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    if <not <<(FAVED___) = [1]> and <(LOVED__) = [1]>>> then\n        switch costume to (left v)\n        change [sx v] by (-2)\n    else\n        switch costume to (68306280 v)\n        change [sx v] by (-3)\n    end\nend\nif <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    if <not <<(FAVED___) = [1]> and <(LOVED__) = [1]>>> then\n        switch costume to (right v)\n        change [sx v] by (2)\n    else\n        switch costume to (68306280 v)\n        change [sx v] by (3)\n    end\nend\nif <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n    if <not <<(FAVED___) = [1]> and <(LOVED__) = [1]>>> then\n        switch costume to (left up v)\n    else\n        switch costume to (68306280 v)\n    end\nend\nif <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n    if <not <<(FAVED___) = [1]> and <(LOVED__) = [1]>>> then\n        switch costume to (right up v)\n    else\n        switch costume to (68306280 v)\n    end\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player x by (round (sx))\nend\nif <<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <(in air) < [4]> then\n        set [sy v] to [16]\n    end\nend\nif <(sy) > [-18]> then\n    change [sy v] by (-2)\nend\nChange Player y by (sy)\nTest - Die\nset [scroll x v] to ((x) + ((mouse x) / (5)))\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\nif <(x) < [-220]> then\n    set [x v] to [-220]\nend\n\nwhen flag clicked\nhide\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ p1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ p2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ p3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ p4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ p5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ p6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ p7 v] to (value)\n                        else\n                            if <(player) = [8]> then\n                                set [☁ p8 v] to (value)\n                            else\n                                if <(player) = [9]> then\n                                    set [☁ p9 v] to (value)\n                                else\n                                    if <(player) = [10]> then\n                                        set [☁ p10 v] to (value)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine write (val) to encoded\nset [letter # v] to [1]\nrepeat (length of (val))\n    set [encoded v] to (join (encoded) (item # of (letter (letter #) of (val)) in [code v]))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (encoded) [00])\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) > [0]> then\n        send cloud data\n    end\nend\n\ndefine send cloud data\nset [encoded v] to []\nwrite (username) to encoded\nwrite (round ((timer) * (10))) to encoded\nwrite (x) to encoded\nwrite (y) to encoded\nwrite <<(FAVED___) = [1]> and <(LOVED__) = [1]>> to encoded\nwrite (Time of Day) to encoded\nwrite (Chat Words) to encoded\nset cloud # (MY PLAYER #) to (encoded)\n\ndefine Chat\nif <(Chat) = [1]> then\n    if <key (1 v) pressed?> then\n        set [chat words v] to [1]\n        say (item (1) of [chat v])\n        wait (2) seconds\n        say []\n        set [chat words v] to [0]\n    else\n        if <key (2 v) pressed?> then\n            set [chat words v] to [2]\n            say (item (2) of [chat v])\n            wait (2) seconds\n            say []\n            set [chat words v] to [0]\n        else\n            if <key (3 v) pressed?> then\n                set [chat words v] to [3]\n                say (item (3) of [chat v])\n                wait (2) seconds\n                say []\n                set [chat v] to [0]\n            else\n                if <key (4 v) pressed?> then\n                    set [chat words v] to [4]\n                    say (item (4) of [chat v])\n                    wait (2) seconds\n                    say []\n                    set [chat words v] to [0]\n                else\n                    if <key (5 v) pressed?> then\n                        set [chat words v] to [5]\n                        say (item (5) of [chat v])\n                        wait (2) seconds\n                        say []\n                        set [chat words v] to [0]\n                    else\n                        if <key (6 v) pressed?> then\n                            set [chat words v] to [6]\n                            say (item (6) of [chat v])\n                            wait (2) seconds\n                            say []\n                            set [chat words v] to [0]\n                        else\n                            if <key (7 v) pressed?> then\n                                set [chat words v] to [7]\n                                say (item (7) of [chat v])\n                                wait (2) seconds\n                                say []\n                                set [chat words v] to [0]\n                            else\n                                if <key (8 v) pressed?> then\n                                    set [chat words v] to [8]\n                                    say (item (8) of [chat v])\n                                    wait (2) seconds\n                                    say []\n                                    set [chat words v] to [0]\n                                else\n                                    if <key (9 v) pressed?> then\n                                        set [chat words v] to [9]\n                                        say (item (9) of [chat v])\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\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [connected v]\nset [connected? v] to [1]\nshow\n\nwhen I receive [connecting v]\nhide\n\nwhen I receive [play game v]\nset [connected? v] to [0]\nforever\n    if <(Connected?) = [1]> then\n        broadcast (Reset v) and wait\n        broadcast (Setup v) and wait\n        Game On\n        repeat until <<<(EXIT) = [Die]> or <[1] > (Lives)>> or <(EXIT) = [Win]>>\n            Tick\n            broadcast (Tick v)\n        end\n        if <(EXIT) = [Die]> then\n            Game - Die\n        else\n            if <[1] > (Lives)> then\n                hide\n                broadcast (Game Over v) and wait\n                stop [all v]\n            else\n                if <(EXIT) = [Win]> then\n                    hide\n                    broadcast (Win v) and wait\n                    stop [other scripts in sprite v]\n                    stop [this script v]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [connected v]\nset [level v] to [1]\n\nwhen I receive [begin v]\nset [lives v] to [3]\nforever\n    delete all of [chat v]\n    add [Hi!] to [chat v]\n    add [Bye!] to [chat v]\n    add [Yes] to [chat v]\n    add [Follow Me!] to [chat v]\n    add [No] to [chat v]\n    add [This Way] to [chat v]\n    add [Lol!] to [chat v]\n    add [I am Lagging] to [chat v]\n    add [Got to go] to [chat v]\nend\n\nwhen I receive [bounce v]\nif <<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    set [sy v] to [30]\nelse\n    set [sy v] to [25]\nend\n\nwhen I receive [clear all v]\nset [max players v] to [10]\nset [my player # v] to [0]\nbroadcast (Connecting v)\nbroadcast (Setup Others v) and wait\nbroadcast (Join Game v) and wait\nif <(MY PLAYER #) > [0]> then\n    broadcast (Connected v) and wait\n    start sound [Connect v]\nelse\n    broadcast (Full v) and wait\n    start sound [Disconnect v]\nend\nbroadcast (Begin v)\n\nwhen I receive [clear all v]\npoint in direction (90)\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [clear all v]\nset [checkpoint x v] to [0]\nset [checkpoint y v] to [0]\n\nwhen flag clicked\nset [connected? v] to [0]\n\nwhen I receive [connecting v]\nif <(username) = [Adamleboss06]> then\n    think [The creator as joined is me] for (2) seconds\nend\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 (☁ P1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ P2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ P3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ P4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ P5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ P6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ P7)\n                        else\n                            if <(player) = [8]> then\n                                set [value v] to (☁ P8)\n                            else\n                                if <(player) = [9]> then\n                                    set [value v] to (☁ P9)\n                                else\n                                    if <(player) = [10]> then\n                                        set [value v] to (☁ P10)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [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 (value) (join [ Time:] (time)))\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\nif <(value) = [true]> then\n    switch costume to (adamleboss06 v)\nelse\n    switch costume to (normal v)\nend\nvalue = read from encoded\nset [time v] to (value)\nvalue = read from encoded\nbroadcast (Decode Chat v)\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 (item (1) of [chat v]) for (2) seconds\nelse\n    if <(chat) = [2]> then\n        say (item (2) of [chat v]) for (2) seconds\n    else\n        if <(chat) = [3]> then\n            say (item (3) of [chat v]) for (2) seconds\n        else\n            if <(chat) = [4]> then\n                say (item (4) of [chat v]) for (2) seconds\n            else\n                if <(chat) = [5]> then\n                    say (item (5) of [chat v]) for (2) seconds\n                else\n                    if <(chat) = [6]> then\n                        say (item (6) of [chat v]) for (2) seconds\n                    else\n                        if <(chat) = [7]> then\n                            say (item (7) of [chat v]) for (2) seconds\n                        else\n                            if <(chat) = [8]> then\n                                say (item (8) of [chat v]) for (2) seconds\n                            else\n                                if <(chat) = [9]> then\n                                    say (item (9) of [chat v]) 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\nwhen I receive [connecting v]\nif <(username) = [Adamleboss06]> then\n    say [The creator as joined is me] for (3) seconds\nend\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nif <(Connected?) = [1]> then\n    Position ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\nend\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    go to [front v] layer\n    switch costume to (level 1 1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\nset size to (100) %\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 [platforms: x v] by (x)\nchange [platforms: y v] by (y)\ngo [backward v] (1) layers\nnext costume\n\nwhen I receive [win v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [game over v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen flag clicked\nhide\n\n@Saws\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\nturn right (10) degrees\nPosition ((Saws: x) - (SCROLL X)) ((Saws: y) - (SCROLL Y))\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [saws: x v] to [0]\nset [saws: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [150] y: [-60]\n    Clone at x: [800] y: [0]\nend\nset [saws: x v] to [-999999]\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)\nset [saws: x v] to (x)\nset [saws: 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\n@Collectables\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nnext costume\nPosition ((Collectables: x) - (SCROLL X)) ((Collectables: y) - (SCROLL Y))\nif <touching (player v)?> then\n    start sound [Collect v]\n    change [collected v] by (1)\n    delete this clone\nend\n\nwhen I receive [setup v]\nset [coins v] to [0]\nhide\nset [collectables: x v] to [0]\nset [collectables: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (coin1 v)\n    Clone at x: [-7] y: [63]\n    Clone at x: [3250] y: [92]\n    Clone at x: [3299] y: [92]\n    Clone at x: [3330] y: [92]\n    Clone at x: [3360] y: [92]\nend\nset [collectables: x v] to [-9999999999]\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [collectables: x v] to (x)\nset [collectables: y v] to (y)\ncreate clone of (_myself_ v)\n\n@Chat\n\nwhen I receive [tick v]\ngo to x: (8) y: (6)\ngo to [front v] layer\nif <(Connected?) = [1]> then\n    if <(Chat) = [1]> then\n        show\n        if <<key (space v) pressed?> or <<not <touching (mouse-pointer v)?>> and <mouse down?>>> then\n            broadcast (Chat Close v)\n            hide\n            wait until <not <<key (space v) pressed?> or <<not <touching (mouse-pointer v)?>> and <mouse down?>>>>\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen flag clicked\nset [exit v] to []\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 [game over v]\nstop [other scripts in sprite v]\nhide\n\n@Chat Button\n\nwhen I receive [tick v]\ngo to [front v] layer\ngo to x: (-210) y: (-150)\nif <<key (t v) pressed?> or <<mouse down?> and <touching (mouse-pointer v)?>>> then\n    wait until <<not <mouse down?>> or <not <key (t v) pressed?>>>\n    broadcast (Chat Open v)\n    hide\nend\n\nwhen I receive [chat close v]\nset size to (100) %\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [begin v]\nset [size v] to [.8]\nshow\nrepeat (40)\n    change [ghost v] effect by (-3)\nend\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nchange [ghost v] effect by (100)\n\nwhen flag clicked\nset size to (100) %\n\nwhen I receive [game over v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [win v]\nstop [other scripts in sprite v]\nhide\n\n@Love fave\n\nwhen flag clicked\nhide\n\nwhen I receive [connecting v]\nif <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n    wait (pick random (10) to (15)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nwhen I receive [connecting v]\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (35) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\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]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [2]\nwait until <(Connected?) = [1]>\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nbroadcast (Thanks v)\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    switch costume to (love v)\n    if <[v.i.p v] contains (join [ ] (username))?> then\n        set [love? v] to [true]\n        set [loved__ v] to [1]\n    else\n        set [loved__ v] to [0]\n        forever\n            set [love? v] to <touching (mouse-pointer v)?>\n            if <(love?) = [true]> then\n                set [loved__ v] to [1]\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    if <[v.i.p v] contains (join [ ] (username))?> then\n        set [fav v] to [true]\n        set [faved___ v] to [1]\n    else\n        set [faved___ v] to [0]\n        forever\n            set [fav v] to <touching (mouse-pointer v)?>\n            if <(fav) = [true]> then\n                set [faved___ v] to [1]\n                if <not <[v.i.p v] contains (username)?>> then\n                    add (username) to [v.i.p v]\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nshow list [v.i.p v]\n\nwhen I receive [tick v]\nif <<(FAVED___) = [1]> and <(LOVED__) = [1]>> then\n    if <not <[v.i.p v] contains (username)?>> then\n        add (username) to [v.i.p v]\n    end\nend\n\n@Thanks\n\nwhen I receive [thanks v]\nswitch costume to (costume2 v)\ngo to x: (-230) y: (25)\nshow\ngo to [front v] layer\nstart sound [pop v]\nrepeat (9)\n    change y by (-6)\nend\nrepeat (5)\n    change y by (3)\nend\nrepeat (5)\n    change y by (-3)\nend\nwait (1) seconds\nrepeat (10)\n    change y by (6)\nend\nhide\n\nwhen flag clicked\nhide\n\n@Joining\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [connecting v]\nswitch costume to (joining v)\nshow\n\nwhen I receive [connected v]\ngo [forward v] (1322) layers\nswitch costume to (connected v)\nshow\nwait (0.1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [full v]\nswitch costume to (full  v)\nshow\n\nwhen I receive [tick v]\ngo to x: (0) y: (15)\n\n@Loading\n\nwhen flag clicked\ngo [forward v] (213) layers\nset size to (100) %\nhide\npoint in direction (90)\nclear graphic effects\ngo to x: (0) y: (-90)\n\nwhen I receive [connecting v]\nrepeat (11)\n    create clone of (_myself_ v)\n    turn right (40) degrees\nend\n\nwhen I receive [connected v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (100)\nforever\n    repeat (20)\n        turn right (7.5) degrees\n        change [ghost v] effect by (-6)\n        change size by (1)\n    end\n    repeat (20)\n        turn right (7.5) degrees\n        change [ghost v] effect by (6)\n        change size by (-1)\n    end\nend\n\n@TB\n\nwhen flag clicked\nhide variable [stop time v]\nhide\nforever\n    set [stop time v] to ((0.01) + (timer))\nend\n\nwhen [timer v] > (Stop Time)\nshow\nswitch costume to (2 v)\nset size to (100) %\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\ngo to [front v] layer\nswitch costume to (1 v)\n\n@Parallax\n\nwhen I start as a clone\npoint in direction (90)\nset [ghost v] effect to (0)\nset [y v] to [0]\nset [movement id v] to [0]\nhide\n\ndefine Go to (x) (y)\ngo to x: (x) y: (y)\ngo to [back v] layer\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nif <(Connected?) = [1]> then\n    Go to (((((Movement ID) * (480)) - ((SCROLL X) / (6))) mod (960)) - (480)) (Y)\nend\n\nwhen I receive [clear all v]\ncreate clone of (_myself_ v)\nset [movement id v] to [-1]\ncreate clone of (_myself_ v)\nset [movement id v] to [-1]\n\nwhen flag clicked\nhide\n\n@Lava\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\nchange [tick v] by (0.1)\nPosition ((Lava: x) - (SCROLL X)) (((Lava: y) + ((10) * ([sin v] of (((Lava: y) + (tick)) * (30)) ))) - (SCROLL Y))\npoint in direction (90)\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nset [tick v] to [0]\nset [collected v] to [0]\nset [lava: x v] to [0]\nset [lava: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (lava 1 v)\n    Clone at x: [476] y: [-60]\n    switch costume to (lava 2 v)\n    Clone at x: [1468] y: [211]\nend\nset [lava: x v] to [-999999]\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)\nset [lava: x v] to (x)\nset [lava: y v] to (y)\ncreate clone of (_myself_ v)\n\n@Spikes\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\nPosition ((Spike: X) - (SCROLL X)) ((Saws: y) - (SCROLL Y))\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [spike: x v] to [0]\nset [saws: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [300] y: [-20] dir : [90]\n    Clone at x: [950] y: [90] dir : [90]\n    Clone at x: [1100] y: [155] dir : [90]\n    Clone at x: [2790] y: [50] dir : [105]\n    Clone at x: [3000] y: [5] dir : [105]\n    Clone at x: [2720] y: [240] dir : [-90]\n    Clone at x: [2880] y: [240] dir : [-90]\nend\nset [spike: x v] to [-999999]\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) dir : (dir)\npoint in direction (dir)\nset [spike: x v] to (x)\nset [saws: y v] to (y)\ncreate clone of (_myself_ v)\n\nClone at x: [340] y: [27] dir : []\nClone at x: [530] y: [27] dir : []\nClone at x: [786] y: [27] dir : []\nClone at x: [1124] y: [27] dir : []\nClone at x: [1331] y: [245] dir : []\nClone at x: [1065] y: [345] dir : []\nClone at x: [825] y: [272] dir : []\nClone at x: [392] y: [245] dir : []\nClone at x: [197] y: [335] dir : []\n\nClone at x: [631] y: [11] dir : []\n\n@Sign\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\npoint in direction (90)\nPosition ((Sign: X) - (SCROLL X)) ((Sign: Y) - (SCROLL Y))\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [sign: x v] to [0]\nset [sign: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [0] y: [-10]\n    Clone at x: [1634] y: [275]\nend\nset [sign: x v] to [-999999]\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)\nset [sign: x v] to (x)\nset [sign: 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\n@Text\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\npoint in direction (90)\nPosition ((Text: X) - (SCROLL X)) ((Text:Y) - (SCROLL Y))\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [text: x v] to [0]\nset [text:y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [5060] y: [490] Costume [1]\nend\nset [text: x v] to [-999999]\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) Costume (cos)\nswitch costume to (cos)\nset [text: x v] to (x)\nset [text:y v] to (y)\ncreate clone of (_myself_ v)\n\nClone at x: [340] y: [27] Costume []\nClone at x: [530] y: [27] Costume []\nClone at x: [786] y: [27] Costume []\nClone at x: [1124] y: [27] Costume []\nClone at x: [1331] y: [245] Costume []\nClone at x: [1065] y: [345] Costume []\nClone at x: [825] y: [272] Costume []\nClone at x: [392] y: [245] Costume []\nClone at x: [197] y: [335] Costume []\n\nClone at x: [631] y: [11] Costume []\n\n@Moving Saws\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\nchange [tick v] by (0.15)\nPosition (((Moving Saws: x) + ((80) * ([sin v] of (((Moving Saws: x) + (tick)) * (30)) ))) - (SCROLL X)) ((Moving Saws: y) - (SCROLL Y))\nturn right (15) degrees\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nhide variable [tick v]\nset [tick v] to [0]\nset [collected v] to [0]\nset [moving saws: x v] to [0]\nset [moving saws: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (saw v)\n    Clone at x: [2401] y: [80]\nend\nset [moving saws: x v] to [-999999]\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)\nset [moving saws: x v] to (x)\nset [moving saws: y v] to (y)\ncreate clone of (_myself_ v)\n\n@Checkpoints\n\nwhen I receive [reset game v]\ndelete this clone\n\ndefine postion x (x) y (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 [setup v]\nhide\ngo to [front v] layer\ngo [backward v] (1) layers\nset [position x v] to [0]\nset [position y v] to [0]\nif <[-90] < (SCROLL X)> then\n    switch costume to (1 v)\n    clone x [1713] y [245] Costume [1]\n    clone x [6256] y [370] Costume [1]\n    clone x [8483] y [50] Costume [1]\nend\nset [position x v] to [-999999]\n\ndefine clone x (x) y (y) Costume (cos)\nset [position x v] to (x)\nset [position y v] to (y)\ncreate clone of (_myself_ v)\nswitch costume to (cos)\n\nwhen I receive [tick v]\ngo to [back v] layer\ngo [forward v] (1) layers\npostion x ((Position x) - (SCROLL X)) y ((Position y) - (SCROLL Y))\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        if <(SCROLL X) > [8400]> then\n            switch costume to (3 v)\n            set [exit v] to [Win]\n        else\n            if <[8480] > (SCROLL X)> then\n                set [checkpoint x v] to (Position x)\n                set [checkpoint y v] to (Position y)\n                switch costume to (2 v)\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nset [checkpoint x v] to [0]\nset [checkpoint y v] to [0]\nreset timer\n\n@Game Over\n\nwhen flag clicked\nhide\n\nwhen I receive [game over v]\nstop all sounds\nswitch costume to (over v)\nstart sound [Lose v]\nwait (0.3) seconds\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nswitch costume to (over v)\nshow\ngo to [front v] layer\nset size to (150) %\nrepeat until <(size) < [101]>\n    go to [front v] layer\n    change size by (((100) - (size)) / (7))\n    change [ghost v] effect by (-8)\nend\nwait (1.5) seconds\nrepeat until <(size) > [150]>\n    go to [front v] layer\n    change size by (((size) - (90)) / (7))\n    change [ghost v] effect by (8)\nend\n\nwhen I receive [begin v]\ngo to x: (0) y: (0)\nswitch costume to (over v)\nset size to (0) %\nswitch costume to (costume1 v)\n\n@Heart\n\nwhen flag clicked\nset [editor v] to [0]\nhide\n\nwhen I receive [connected v]\nClone [3]\n\ndefine Clone (#)\nset [#clone v] to [1]\nrepeat (#)\n    create clone of (_myself_ v)\n    change [#clone v] by (1)\nend\n\nwhen I start as a clone\nforever\n    if <(username) = [Adamleboss06]> then\n        set [editor v] to [1]\n    end\n    if <(Editor) = [1]> then\n        set [lives v] to [3]\n    end\n    go to [front v] layer\n    set size to (120) %\n    if <(#Clone) = [1]> then\n        go to x: (-220) y: (150)\n        if <<(Lives) = [1]> or <(Lives) > [1]>> then\n            show\n        else\n            hide\n        end\n    else\n        if <(#Clone) = [2]> then\n            go to x: (-180) y: (150)\n            if <<(Lives) = [2]> or <(Lives) > [2]>> then\n                show\n            else\n                hide\n            end\n        else\n            if <(#Clone) = [3]> then\n                go to x: (-140) y: (150)\n                if <(Lives) = [3]> then\n                    show\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [win v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [connecting v]\nif <(username) = [yanishami]> then\n    set [editor v] to [1]\nend\nif <(Editor) = [1]> then\n    set [lives v] to [3]\nend\n\n@Win Screen\n\ndefine END\nif <<(FAVED___) = [1]> and <(LOVED__) = [1]>> then\n    switch costume to (win screen2 v)\nelse\n    switch costume to (win screen v)\nend\ngo to [front v] layer\nstart sound [win v]\ngo to x: (300) y: (0)\nrepeat (10)\n    change x by (-30)\nend\nrepeat ((Shake) * (2))\n    go to x: (pick random ((Shake) - ((Shake) * (2))) to (Shake)) y: (pick random ((Shake) - ((Shake) * (2))) to (Shake))\n    change [shake v] by (-0.5)\nend\ngo to x: (0) y: (0)\nstop [all v]\n\nwhen flag clicked\nset [shake v] to [15]\nhide\n\nwhen I receive [win v]\nshow\nEND\n\n@Tramp\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\nPosition ((Spike: X) - (SCROLL X)) ((Saws: y) - (SCROLL Y))\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [spike: x v] to [0]\nset [saws: y v] to [0]\nif <(LEVEL) = [1]> then\n    Delete\n    Clone at x: [2710] y: [80] dir : [105]\n    Clone at x: [2900] y: [40] dir : [105]\nend\nset [spike: x v] to [-999999]\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\n\ndefine Clone at x: (x) y: (y) dir : (dir)\npoint in direction (dir)\nset [spike: x v] to (x)\nset [saws: y v] to (y)\ncreate clone of (_myself_ v)\n\nClone at x: [340] y: [27] dir : []\nClone at x: [530] y: [27] dir : []\nClone at x: [786] y: [27] dir : []\nClone at x: [1124] y: [27] dir : []\nClone at x: [1331] y: [245] dir : []\nClone at x: [1065] y: [345] dir : []\nClone at x: [825] y: [272] dir : []\nClone at x: [392] y: [245] dir : []\nClone at x: [197] y: [335] dir : []\n\nClone at x: [631] y: [11] dir : []\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        start sound [Big Boing v]\n        broadcast (Bounce v)\n    end\nend\n\ndefine Delete\ndelete this clone\n\nwhen I receive [clear all v]\nswitch backdrop to (backdrop2 v)\n\n@Intro\n\ndefine Go to (x) (y) size (size) dir (dir) (cos)\npoint in direction (@cam.dir)\ngo to x: (0) y: (0)\nswitch costume to (hack small v)\nset size to ((@cam.z) * (size)) %\nswitch costume to (cos)\nmove (((x) - (@cam.x)) * (@cam.z)) steps\nturn left (90) degrees\nmove (((y) - (@cam.y)) * (@cam.z)) steps\nturn right (90) degrees\npoint in direction ((@cam.dir) + (dir))\n\nwhen I receive [intro v]\nhide\nset [@slow mo v] to [3]\nset [@cam.dir v] to [90]\nset [@cam.y v] to [0]\nset [@cam.x v] to [0]\nset [name.size v] to [0]\nstart sound [Marshmello - Silence ft. Khalid \(Codeko Remix\) v]\nwait (1) seconds\nset [clone.type v] to [Name]\ncreate clone of (_myself_ v)\nbroadcast (control v)\nbroadcast (dir v)\nbroadcast (▲ v)\nwait (0.87) seconds\n▲\nset [clone.type v] to [Background]\ncreate clone of (_myself_ v)\nforever\n    hide variable [timer v]\n    change [@cam.x v] by (((0) - (@cam.x)) / (9))\n    change [@cam.y v] by (((0) - (@cam.y)) / (9))\n    change [@cam.z v] by (((1) - (@cam.z)) / (9))\n    change [name.size v] by (((100) - (name.size)) / (9))\n    set [shk.y v] to ((shk.y) * (-0.7))\n    set [shk.x v] to ((shk.x) * (-0.7))\n    change [@cam.y v] by (shk.y)\n    change [@cam.x v] by (shk.x)\n    broadcast (tick v)\nend\n\nwhen I start as a clone\nif <(clone.type) = [▲]> then\n    show\n    if <(clone.id) = [1]> then\n        \n            Go to [0] ((▲.position.y) mod (390)) size [100] dir [0] [3]\n            switch costume to (▲ v)\n        end\n    end\n    if <(clone.id) = [2]> then\n        \n            Go to [0] (((▲.position.y) mod (390)) - (390)) size [100] dir [0] [3]\n            switch costume to (▲ v)\n        end\n    end\nend\n\nwhen I receive [▲ v]\nwait (0.87) seconds\nset [▲.position.y v] to [0]\nforever\n    change [▲.position.y v] by ((10) / (@slow mo))\nend\n\ndefine ▲\nset [clone.type v] to [▲]\nset [clone.id v] to [1]\ncreate clone of (_myself_ v)\nset [clone.id v] to [2]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nbroadcast (Intro v)\n\nwhen I receive [control v]\nwait (0.87) seconds\nshk (pick random (15) to (17))\nrepeat (5)\n    change [@slow mo v] by (((1) - (@slow mo)) / (1.2))\nend\nrepeat (10)\n    change [@slow mo v] by (((3) - (@slow mo)) / (2))\nend\nwait (0.23) seconds\nrepeat (4)\n    shk (pick random (15) to (17))\n    repeat (5)\n        change [@slow mo v] by (((1) - (@slow mo)) / (1.2))\n        change [@cam.z v] by (((2) - (@cam.z)) / (9))\n        change [name.size v] by (((115) - (name.size)) / (9))\n    end\n    repeat (10)\n        change [@slow mo v] by (((3) - (@slow mo)) / (2))\n    end\n    wait (0.23) seconds\nend\nrepeat (2)\n    shk (pick random (15) to (17))\n    repeat (5)\n        change [@slow mo v] by (((1) - (@slow mo)) / (1.2))\n        change [@cam.z v] by (((2) - (@cam.z)) / (9))\n        change [name.size v] by (((115) - (name.size)) / (9))\n    end\n    repeat (2)\n        change [@slow mo v] by (((3) - (@slow mo)) / (2))\n    end\nend\nwait (0.2) seconds\nrepeat (5)\n    change [@slow mo v] by (((1) - (@slow mo)) / (1.2))\n    change [@cam.z v] by (((2) - (@cam.z)) / (9))\n    change [name.size v] by (((115) - (name.size)) / (9))\nend\nrepeat (10)\n    change [@slow mo v] by (((3) - (@slow mo)) / (2))\nend\nwait (0.1) seconds\nrepeat (2)\n    shk (pick random (15) to (17))\n    repeat (5)\n        change [@slow mo v] by (((1) - (@slow mo)) / (1.2))\n        change [@cam.z v] by (((2) - (@cam.z)) / (9))\n        change [name.size v] by (((115) - (name.size)) / (9))\n    end\n    repeat (2)\n        change [@slow mo v] by (((3) - (@slow mo)) / (2))\n    end\nend\nwait (0) seconds\nrepeat (2)\n    shk (pick random (15) to (17))\n    repeat (5)\n        change [@slow mo v] by (((1) - (@slow mo)) / (1.2))\n        change [@cam.z v] by (((2) - (@cam.z)) / (9))\n        change [name.size v] by (((115) - (name.size)) / (9))\n    end\n    repeat (2)\n        change [@slow mo v] by (((3) - (@slow mo)) / (2))\n    end\nend\nrepeat (3)\n    shk (pick random (15) to (17))\n    repeat (5)\n        change [@slow mo v] by (((1) - (@slow mo)) / (1.2))\n        change [@cam.z v] by (((2) - (@cam.z)) / (9))\n        change [name.size v] by (((115) - (name.size)) / (9))\n    end\n    repeat (10)\n        change [@slow mo v] by (((3) - (@slow mo)) / (2))\n    end\n    wait (0.23) seconds\nend\n\nwhen I receive [dir v]\nwait (0.87) seconds\nset [dir v] to [90]\nrepeat (185)\n    set [dir v] to [90]\nend\nrepeat (5)\n    set [timer v] to [2]\nend\nrepeat (30)\n    change [dir v] by (((450) - (dir)) / (6))\nend\n\nwhen I receive [dir v]\nset [timer v] to [0]\n\n    set [@cam.dir v] to ((dir) + (([sin v] of ((timer) * (250)) ) * (2)))\n    change [timer v] by ((0.2) / (@slow mo))\nend\n\ndefine shk (amount)\nif <(pick random (0) to (1)) = [1]> then\n    if <(pick random (0) to (1)) = [1]> then\n        change [shk.x v] by (() - (amount))\n    else\n        change [shk.x v] by (16)\n    end\nelse\n    if <(pick random (0) to (1)) = [1]> then\n        change [shk.y v] by (() - (amount))\n    else\n        change [shk.y v] by (amount)\n    end\nend\n\nwhen I start as a clone\nif <(clone.type) = [Background]> then\n    show\n    forever\n        set [ghost v] effect to (25)\n        go to [back v] layer\n        Go to [0] [0] size [100] dir [0] [4]\n    end\nend\n\nwhen I receive [intro v]\nwait (10.2) seconds\nshow\nset [sprite1: x v] to [720]\nrepeat until <(round (Sprite1: x)) = [0]>\n    Go to (Sprite1: x) [0] size [100] dir [0] [5]\n    go to [front v] layer\n    go [backward v] (1) layers\n    change [sprite1: x v] by (((0) - (Sprite1: x)) / (6))\nend\nbroadcast (Clear all v)\nwait (1) seconds\nset [effects.ghost v] to [0]\nrepeat (20)\n    change [effects.ghost v] by (((100) - (effects.ghost)) / (6))\n    set [ghost v] effect to (effects.ghost)\nend\n\nwhen I start as a clone\nif <(clone.type) = [Name]> then\n    show\n    go to [front v] layer\n    go [backward v] (1) layers\n    set [yv v] to [20]\n    set [name.size v] to [0]\n    repeat (3)\n        point in direction (90)\n        change [name.size v] by (yv)\n        change [yv v] by (-1.35)\n        switch costume to (hack big v)\n        set size to (name.size) %\n        switch costume to (name v)\n    end\n    repeat until <(timer) > [1.85]>\n        go to x: (0) y: (0)\n        change [name.size v] by (yv)\n        change [yv v] by (-1.35)\n        switch costume to (hack small v)\n        set size to (name.size) %\n        switch costume to (name v)\n    end\n    repeat (20)\n        Go to [0] [0] size (name.size) dir (([sin v] of ((timer) * (150)) ) * (2)) [6]\n        switch costume to (name v)\n        change [@cam.z v] by (((0.9) - (@cam.z)) / (15))\n    end\n    \n        Go to [0] [0] size (name.size) dir (([sin v] of ((timer) * (150)) ) * (2)) [6]\n        switch costume to (name v)\n    end\nend\n\nwhen I receive [clear all v]\ndelete this clone\n\nwhen I receive [intro v]\nwait until <(timer) > [1.85]>\n\n@Moving Platforms\n\nwhen I receive [tick v]\npoint in direction (90)\nchange [tick v] by (0.15)\nPosition ((Moving Saws: x) - (SCROLL X)) (((Moving Saws: y) + ((160) * ([sin v] of (((Moving Saws: y) + (tick)) * (20)) ))) - (SCROLL Y))\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [setup v]\nhide\nhide variable [tick v]\nset [tick v] to [0]\nset [collected v] to [0]\nset [moving saws: x v] to [0]\nset [moving saws: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (platform v)\n    Clone at x: [5650] y: [0]\nend\nset [moving saws: x v] to [-999999]\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)\nset [moving saws: x v] to (x)\nset [moving saws: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide variable [mouse v]\nhide\n\n@Ban\n\nwhen flag clicked\n\nforever\n    if <(username) = []> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\n