☁  Frosty || A multiplayer Scrolling Platformer
@Stage\n\nwhen [m v] key pressed\n\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [, ] ((mouse y) + (SCROLL Y))))\nshow variable [mouse v]\n\nwhen I receive [tick v]\nif <(Night?) = [1]> then\n    switch backdrop to (bühnenbild3 v)\nelse\n    switch backdrop to (bühnenbild2 v)\nend\n\n@blank\n\nwhen flag clicked\nrepeat (10)\n\n@Player\n\nbroadcast (Green v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [green v]\nhide\ngo to [back v] layer\n\nwhen I receive [begin v]\nGame - Die\nreset timer\nshow variable [c2 v]\nshow variable [time 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        go to [front v] layer\n        go [backward v] (20) layers\n    end\n    if <(EXIT) = [win]> then\n        Game win\n    else\n        Game - Die\n    end\nend\n\ndefine Game on\nset [x v] to (CheckX)\nset [y v] to (CheckY)\nset [scroll x v] to (CheckX)\nset [time v] to (Checktime)\nset [scroll y v] to (CheckY)\nset [sy v] to [0]\nset [sx v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset size to (100) %\nset [ghost v] effect to (0)\nshow\n\ndefine Tick\nif <not <(EXIT) = [win]>> then\n    set [time v] to (timer)\nend\nif <(MY PLAYER #) > [0]> then\n    send cloud data\n    broadcast (Tick-Opponents v)\nend\nset [☁ 1 v] to (☁ 1)\nset [☁ 2 v] to (☁ 2)\nset [☁ 3 v] to (☁ 3)\nset [☁ 4 v] to (☁ 4)\nset [☁ 5 v] to (☁ 5)\nset [☁ 6 v] to (☁ 6)\nset [☁ 7 v] to (☁ 7)\nset [☁ 8 v] to (☁ 8)\nset [☁ 9 v] to (☁ 9)\nset [☁ 10 v] to (☁ 10)\nif <(flying) = [jo]> then\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [sx v] by (-2)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [sx v] by (2)\n    end\n    set [sx v] to ((sx) * (0.8))\n    if <([abs v] of (sx) ) > [0.8]> then\n        Change Player X by (round (sx))\n    end\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        set [sy v] to [7]\n    end\n    if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < ((y position) - (20))>>> then\n        set [sy v] to [-7]\n    end\n    Change Player Y by (sy)\n    set [sy v] to ((sy) * (0.8))\n    Test - Die\n    change [scroll x v] by (round (((x) - (SCROLL X)) / (10)))\n    if <(SCROLL X) < [0]> then\n        set [scroll x v] to [0]\n    end\n    change [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\n    Position\nelse\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [sx v] by (-2)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [sx v] by (2)\n    end\n    set [sx v] to ((sx) * (0.8))\n    if <([abs v] of (sx) ) > [0.8]> then\n        Change Player X by (round (sx))\n    end\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        if <(in air) = [0]> then\n            set [sy v] to [23]\n        end\n    end\n    if <(sy) > [-20]> then\n        change [sy v] by (-2)\n    end\n    Change Player Y by (sy)\n    Test - Die\n    change [scroll x v] by (round (((x) - (SCROLL X)) / (10)))\n    if <(SCROLL X) < [0]> then\n        set [scroll x v] to [0]\n    end\n    change [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\n    Position\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)?>>\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 (platforms v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> 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)?>>\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 Game - Die\nset [exit v] to []\nrepeat (5)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nhide\nwait (0.5) seconds\n\ndefine Test - Die\nif <touching (movingdanger v)?> then\n    set [exit v] to [die]\nend\nif <touching (dangerturn v)?> then\n    set [exit v] to [die]\nend\nif <touching (danger v)?> then\n    set [exit v] to [die]\nend\nif <key (r v) pressed?> then\n    set [exit v] to [die]\nend\nif <(SCROLL Y) < [-100]> then\n    if <(SCROLL X) < [658]> then\n        set [scroll x v] to [658]\n    end\nend\nif <(SCROLL Y) < [-230]> then\n    if <<(SCROLL X) > [2725]> and <(SCROLL X) < [3000]>> then\n        set [scroll x v] to [2725]\n    end\n    set [particle v] to [no]\nelse\n    set [particle v] to [jo]\nend\nif <<(SCROLL Y) < [-320]> and <(SCROLL X) < [5097]>> then\n    set [night? v] to [1]\nelse\n    set [night? v] to [0]\nend\nif <(SCROLL Y) < [-687]> then\n    set [scroll y v] to [-687]\nend\n\ndefine Game win\nhide\nbroadcast (end v)\n\nwhen flag clicked\nset [time v] to [0]\nhide variable [time v]\nset [max players v] to [10]\nset [my player # v] to [0]\nbroadcast (setup - opponents v) and wait\nbroadcast (join game v) and wait\nif <(MY PLAYER #) > [0]> then\n    broadcast (joined v)\nelse\n    broadcast (full v) and wait\nend\n\nbroadcast (full v)\n\ndefine send cloud data\nif <(MY PLAYER #) < [1]> then\n    stop [this script v]\nend\nadd (x) to [buffer v]\nadd (y) to [buffer v]\nchange [cloud timer v] by (1)\nif <(cloud timer) < [3]> then\n    stop [this script v]\nend\nset [cloud timer v] to [0]\nset [encoded v] to []\nwrite (username) to encoded\nwrite (Chat) to encoded\nwrite (round ((timer) * (10))) to encoded\nrepeat (length of [buffer v])\n    write (item (1) of [buffer v]) to encoded\n    delete (1) of [buffer v]\nend\nset cloud # (MY PLAYER #) to (encoded)\nif <(Chat) > []> then\n    say (item (Chat) of [chat v])\nelse\n    say []\nend\n\nwhen I receive [begin v]\nshow\n\nforever\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ 1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ 2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ 3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ 4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ 5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ 6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ 7 v] to (value)\n                        else\n                            if <(player) = [8]> then\n                                set [☁ 8 v] to (value)\n                            else\n                                if <(player) = [9]> then\n                                    set [☁ 9 v] to (value)\n                                else\n                                    set [☁ 10 v] to (value)\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]\n\nif <not <(sy) = [16]>> then\n\nset [sy v] to [16]\nset [y v] to [16]\n\nhide\n\nwhen I receive [shopopen v]\n\nwhen [space v] key pressed\n\nbroadcast (begin v)\n\nif <(y) < [-180]> then\n\n\n\nif <(SCROLL Y) > [-100]> then\n    \nend\n\nwhen I receive [start v]\nshow variable [time v]\nif <(MY PLAYER #) > [0]> then\n    broadcast (begin v)\nend\n\n\n    set [exit v] to [die]\nend\n\nif <(SCROLL Y) < [-687]> then\n\nwhen flag clicked\nhide variable [c2 v]\n\n@MovingDanger\n\nwhen I receive [green v]\nhide\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]\nchange [y v] by (-10)\nif <(LEVEL) = [1]> then\n    switch costume to (blank v)\n    Clone at x [0] y [0]\n    Clone at x [590] y [0]\n    Clone at x [600] y [-330]\n    switch costume to (level 1 3 v)\n    Clone at x [0] y [200]\n    switch costume to (level 1 4 v)\n    Clone at x [600] y [0]\n    Clone at x [679] y [0]\n    switch costume to (level 1 6 v)\n    Clone at x [-300] y [-200]\n    switch costume to (level 1 7 v)\n    Clone at x [700] y [100]\n    switch costume to (level 1 8 v)\n    Clone at x [0] y [0]\n    switch costume to (level 1 9 v)\n    Clone at x [700] y [0]\n    Clone at x [0] y [222]\n    Clone at x [0] y [100]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x [0] y [300]\n        Clone at x [460] y [0]\n    else\n        switch costume to (level 3 1 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\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 flag clicked\n\nwhen I receive [begin v]\n\n@Moutain\n\nwhen I receive [green v]\nset [night? v] to []\nswitch costume to (kostüm2 v)\nhide\nclear graphic effects\n\nwhen I receive [tick v]\nPosition ((x) - ((SCROLL X) / (3))) (y)\n\nwhen I receive [setup v]\nswitch costume to (kostüm2 v)\ngo to [back v] layer\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    go to [back v] layer\n    Clone at x [0] y [0]\n    Clone at x [500] y [0]\n    Clone at x [500] y [0]\n    Clone at x [500] y [0]\n    Clone at x [500] y [0]\n    Clone at x [500] y [0]\n    Clone at x [500] y [0]\n    Clone at x [500] y [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x [0] y [300]\n        Clone at x [460] y [0]\n    else\n        switch costume to (level 3 1 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\nif <(Night?) = [1]> then\n    switch costume to (kostüm3 v)\nelse\n    switch costume to (kostüm2 v)\n    go to [back v] layer\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)\n\nwhen I receive [night v]\n\nclear graphic effects\nrepeat (50)\n    change [brightness v] effect by (10)\nend\n\nset [color v] effect to (100)\n\nnext costume\n\nswitch costume to (kostüm3 v)\n\n@Chat2\n\nwhen flag clicked\nset [jb? v] to [0]\ngo to x: (-180) y: (153)\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (20)\nset size to (100) %\n\nwhen I start as a clone\n\n\n\nset size to (50) %\n\nset size to (40) %\n\nwhen I receive [tick v]\npoint in direction (90)\nif <(costume [number v]) = [1]> then\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        go to [front v] layer\n        set size to (110) %\n        if <mouse down?> then\n            wait until <not <mouse down?>>\n            broadcast (shopopen v)\n            go to [front v] layer\n        end\n    else\n        set size to (100) %\n    end\n    go to [front v] layer\n    set [ghost v] effect to (20)\n    go to x: (-180) y: (153)\nend\nif <<mouse down?> and <not <touching (mouse-pointer v)?>>> then\n    if <(costume [number v]) = [2]> then\n        broadcast (shopclose v)\n    end\nend\n\nwhen I receive [shopopen v]\nswitch costume to (kostüm2 v)\nset size to (100) %\nset [ghost v] effect to (20)\ngo to x: (36) y: (100)\nglide (0.5) secs to x: (36) y: (-28)\n\nwhen I receive [flying v]\nwait (10) seconds\n\nwhen I receive [flying v]\ngo to x: (-180) y: (153)\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (20)\nset size to (100) %\n\nif <(costume [number v]) = [3]> then\n    if <touching (mouse-pointer v)?> then\n        set size to (50) %\n        if <mouse down?> then\n            set [jb? v] to [1]\n            change [collected v] by (-10)\n        end\n    else\n        set size to (40) %\n    end\nend\n\nhide\n\nwhen I receive [end v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [shopclose v]\nglide (0.5) secs to x: (36) y: (200)\ngo to x: (-180) y: (153)\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (20)\nset size to (100) %\n\n@Chat\n\nwhen flag clicked\nhide\n\nwhen I receive [tick v]\nif <key (1 v) pressed?> then\n    set [chat v] to [1]\nend\nif <key (2 v) pressed?> then\n    set [chat v] to [2]\nend\nif <key (3 v) pressed?> then\n    set [chat v] to [3]\nend\nif <key (4 v) pressed?> then\n    set [chat v] to [4]\nend\nif <key (5 v) pressed?> then\n    set [chat v] to [5]\nend\nif <key (6 v) pressed?> then\n    set [chat v] to [6]\nend\nif <key (7 v) pressed?> then\n    set [chat v] to [7]\nend\n\nwhen flag clicked\nset [chat v] to []\nforever\n    if <<<<<<<key (1 v) pressed?> or <key (7 v) pressed?>> or <key (6 v) pressed?>> or <key (2 v) pressed?>> or <key (4 v) pressed?>> or <key (3 v) pressed?>> or <key (5 v) pressed?>> then\n        wait (10) seconds\n        set [chat v] to []\n    end\nend\n\n@Slides\n\nwhen I receive [join game v]\nswitch costume to (joining v)\n\nwhen I receive [joined v]\nswitch costume to (joined! v)\n\nwhen I receive [full v]\nswitch costume to (full v)\nforever\n    wait (1) seconds\nend\n\nwhen flag clicked\nswitch costume to (blank v)\nshow\nclear graphic effects\n\nhide\n\nwhen I receive [begin v]\nwait (2) seconds\nhide\n\nwhen flag clicked\ngo to x: (13) y: (7)\nreset timer\nforever\n    set y to ((([sin v] of ((timer) * (200)) ) * (10)) + (1))\nend\n\nrepeat (10)\n\ngo to [front v] layer\n\ngo to [front v] layer\n\n@Collectables\n\nwhen I receive [green v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [c2 v] by (1)\n    if <(COLLECTED) = (COLLECTED MAX)> then\n        broadcast (Open Portal v)\n    end\n    switch costume to (kostüm1 v)\n    set [ghost v] effect to (0)\n    set size to (100) %\n    switch costume to (kostüm1 v)\n    delete this clone\nend\n\nwhen I receive [begin v]\nhide\nset size to (100) %\nclear graphic effects\nset [collected max v] to [0]\nset [c2 v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to ( v)\n    Clone at x [50] y [-50]\n    Clone at x [100] y [0]\n    Clone at x [554] y [-284]\n    Clone at x [554] y [-335]\n    Clone at x [608] y [-284]\n    Clone at x [608] y [-335]\n    Clone at x [2398] y [68]\n    Clone at x [654] y [46]\n    Clone at x [1103] y [185]\n    Clone at x [1761] y [148]\n    Clone at x [2794] y [-355]\n    Clone at x [3328] y [193]\n    Clone at x [3999] y [362]\n    Clone at x [3827] y [-332]\n    Clone at x [4283] y [-656]\n    Clone at x [4147] y [-656]\n    Clone at x [4283] y [-609]\n    Clone at x [4147] y [-609]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to ( v)\n        Clone at x [-115] y [-70]\n        Clone at x [94] y [-8]\n        Clone at x [-67] y [79]\n        Clone at x [-161] y [177]\n        Clone at x [145] y [254]\n    end\nend\nset [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]\n\ndelete this clone\n\ndefine Clone at x (x) y (y)\nswitch costume to (1 v)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\nrepeat (20)\n    change size by (-1)\nend\n\nchange [ghost v] effect by (10)\nchange y by (0.5)\n\nset size to (100) %\n\n@Danger\n\nwhen I receive [green v]\nhide\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]\nchange [y v] by (-10)\nif <(LEVEL) = [1]> then\n    switch costume to (blank v)\n    Clone at x [0] y [0]\n    Clone at x [590] y [0]\n    Clone at x [600] y [-330]\n    Clone at x [700] y [0]\n    Clone at x [679] y [0]\n    Clone at x [679] y [0]\n    Clone at x [700] y [0]\n    Clone at x [700] y [100]\n    Clone at x [0] y [0]\n    Clone at x [700] y [0]\n    Clone at x [500] y [0]\n    Clone at x [500] y [0]\n    Clone at x [0] y [300]\n    Clone at x [500] y [0]\n    Clone at x [500] y [-200]\n    Clone at x [500] y [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x [0] y [300]\n        Clone at x [460] y [0]\n    else\n        switch costume to (level 3 1 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\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 flag clicked\n\n@Platforms\n\nwhen I receive [green v]\nhide\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 (kostüm2 v)\n    Clone at x [0] y [0]\n    Clone at x [590] y [0]\n    Clone at x [600] y [-300]\n    switch costume to (level 1 3 v)\n    Clone at x [0] y [200]\n    switch costume to (level 1 4 v)\n    Clone at x [600] y [0]\n    Clone at x [679] y [0]\n    Clone at x [-200] y [-350]\n    Clone at x [700] y [0]\n    Clone at x [100] y [350]\n    Clone at x [600] y [222]\n    Clone at x [0] y [-400]\n    Clone at x [-100] y [150]\n    Clone at x [800] y [-500]\n    Clone at x [1000] y [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x [0] y [300]\n        Clone at x [460] y [0]\n    else\n        Clone at x [0] y [0]\n        switch costume to (level 3 1 v)\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <not <<(x) = (x position)> and <(y) = (y position)>>> then\n    hide\nelse\n    show\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\nClone at x [0] y [300]\nClone at x [500] y [0]\nClone at x [500] y [-200]\nClone at x [500] y [0]\n\n@Background\n\nwhen I receive [green v]\nhide\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 (level 1 1 v)\n    Clone at x [0] y [0]\n    switch costume to (level 1 1 v)\n    Clone at x [600] y [0]\n    Clone at x [600] y [-300]\n    switch costume to (level 1 3 v)\n    Clone at x [-200] y [300]\n    switch costume to (level 1 4 v)\n    change [x v] by (600)\n    change [y v] by (-600)\n    Clone at x [600] y [300]\n    Clone at x [-200] y [-350]\n    switch costume to (level 1 6 v)\n    create clone of (_myself_ v)\n    set [x v] to [2086]\n    set [y v] to [-410]\n    Clone at x [-] y [-350]\n    switch costume to (level 1 7 v)\n    Clone at x [-200] y [-350]\n    switch costume to (level 1 8 v)\n    Clone at x [0] y [0]\n    switch costume to (level 1 9 v)\n    Clone at x [700] y [0]\n    switch costume to (level 1 10 v)\n    set [x v] to [4258]\n    set [y v] to [-370]\n    create clone of (_myself_ v)\n    switch costume to (level 1 11 v)\n    set [x v] to [4620]\n    set [y v] to [-631]\n    create clone of (_myself_ v)\n    go to [front v] layer\n    Clone at x [600] y [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x [0] y [300]\n        Clone at x [460] y [0]\n    else\n        switch costume to (level 3 1 v)\n    end\nend\n\ndefine Position (x) (y)\ngo to [back v] layer\ngo [forward v] (5) layers\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\n@Opponents\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\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\nwhen I receive [tick v]\nif <(MY PLAYER #) = (player #)> then\n    set [offline v] to [100]\n    hide\nelse\n    Tick\nend\n\nforever\n\ndefine value = cloud # (player)\nif <(player) = [1]> then\n    set [value v] to (☁ 1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ 2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ 3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ 4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ 5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ 6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ 7)\n                        else\n                            if <(player) = [8]> then\n                                set [value v] to (☁ 8)\n                            else\n                                if <(player) = [9]> then\n                                    set [value v] to (☁ 9)\n                                else\n                                    set [value v] to (☁ 10)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [setup - opponents v]\nsetup players\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]\n    begin decode of (value)\n    value = read from encoded\n    set [user v] to (value)\n    value = read from encoded\n    say (join (user) (join [ ] (item (value) of [chat v])))\n    value = read from encoded\n    value = read from encoded\n    repeat until <(value) = []>\n        add (value) to [buffer v]\n        value = read from encoded\n    end\nend\nif <(length of [buffer v]) > [0]> then\n    set [x v] to (item (1) of [buffer v])\n    delete (1) of [buffer v]\n    set [y v] to (item (1) of [buffer v])\n    delete (1) of [buffer 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 Position (x) (y)\ngo to x: (x) y: (y)\nif <touching (_edge_ v)?> then\n    set [ghost v] effect to (100)\nelse\n    set [ghost v] effect to (0)\nend\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [begin v]\nhide\n\nif <<(x) = (x position)> and <(y) = (y position)>> then\n\nshow\n\n@Portal1\n\nwhen I receive [green v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\nturn right (2) degrees\n\nwhen I receive [setup v]\nhide\nset size to (100) %\nclear graphic effects\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    switch costume to ( v)\n    Clone at x [5745] y [-653]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to ( v)\n        Clone at x [-115] y [-70]\n        Clone at x [94] y [-8]\n        Clone at x [-67] y [79]\n        Clone at x [-161] y [177]\n        Clone at x [145] y [254]\n    end\nend\nset [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)\nswitch costume to (1 v)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\nrepeat (20)\n    change size by (-1)\nend\n\nchange [ghost v] effect by (10)\nchange y by (0.5)\n\nset size to (100) %\n\n@Portal2\n\nwhen I receive [green v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [win]\nelse\n    turn left (2) degrees\nend\n\nwhen I receive [setup v]\nhide\nset size to (100) %\nclear graphic effects\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    switch costume to ( v)\n    Clone at x [5745] y [-653]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to ( v)\n        Clone at x [-115] y [-70]\n        Clone at x [94] y [-8]\n        Clone at x [-67] y [79]\n        Clone at x [-161] y [177]\n        Clone at x [145] y [254]\n    end\nend\nset [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)\nswitch costume to (1 v)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\nrepeat (20)\n    change size by (-1)\nend\n\nchange [ghost v] effect by (10)\nchange y by (0.5)\n\nset size to (100) %\n\n@Win!\n\ndefine Smooth Glide: (x) (y) (speed)\nrepeat until <<(round (x)) = (round (x position))> and <(round (y)) = (round (y position))>>\n    change x by (((round (x)) - (round (x position))) / (speed))\n    change y by (((round (y)) - (round (y position))) / (speed))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\ngo to [front v] layer\nshow\ngo to x: (20) y: (200)\nSmooth Glide: [20] [0] [20]\n\nhide\n\nwhen this sprite clicked\nhide\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nhide\n\nreset timer\nset [stop v] to [0]\n\nhide\n\nif <(EXIT) = []> then\n    clear graphic effects\nend\n\ngo to x: (0) y: (200)\n\nwhen I receive [tick v]\n\nset [stop v] to [1]\ngo to [front v] layer\nset [ghost v] effect to (100)\nhide\nreset timer\n\nwhen I receive [end v]\n\nbroadcast (end v)\n\nshow\ngo [backward v] (1) layers\n\nforever\nend\n\nclear graphic effects\ngo to [front v] layer\nset [ghost v] effect to (100)\n\nwait (1) seconds\n\n@Particles\n\nwhen flag clicked\nhide\ngo to x: (0) y: (178)\nset [clon v] to [no]\n\nwhen I start as a clone\nset size to (pick random (80) to (100)) %\nset [clon v] to [jo]\nshow\npoint in direction (180)\n\nwhen I receive [tick v]\nif <(particle) = [jo]> then\n    if <(clon) = [no]> then\n        go to x: (pick random (-200) to (200)) y: (178)\n        create clone of (_myself_ v)\n    else\n    end\nend\nif <(clon) = [jo]> then\n    if <(pick random (1) to (2)) = [2]> then\n        turn right (3) degrees\n    else\n        turn right (-3) degrees\n    end\n    move (10) steps\n    if <<touching (_edge_ v)?> or > then\n        delete this clone\n    end\nend\n\n@Shop\n\nwhen flag clicked\nset [jb? v] to [0]\ngo to x: (-180) y: (-153)\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (20)\nset size to (100) %\n\nwhen I start as a clone\n\n\n\nset size to (50) %\n\nset size to (40) %\n\nwhen I receive [tick v]\npoint in direction (90)\nif <(costume [number v]) = [1]> then\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        go to [front v] layer\n        set size to (110) %\n        if <mouse down?> then\n            wait until <not <mouse down?>>\n            broadcast (s2 v)\n            go to [front v] layer\n        end\n    else\n        set size to (100) %\n    end\n    go to [front v] layer\n    set [ghost v] effect to (20)\n    go to x: (-180) y: (-153)\nend\nif <<mouse down?> and <not <touching (mouse-pointer v)?>>> then\n    if <(costume [number v]) = [2]> then\n        broadcast (sc2 v)\n    end\nend\nif <(clon?) = [jo]> then\n    switch costume to (fly?)\n    if <(costume [number v]) = [3]> then\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <(C2) > [10]> then\n                    set [fly? v] to [jo]\n                    change [c2 v] by (-10)\n                    switch costume to (jo v)\n                end\n            end\n        else\n            set size to (60) %\n        end\n    end\nend\n\nwhen I receive [s2 v]\ncreate clone of (_myself_ v)\nswitch costume to (kostüm2 v)\nset size to (100) %\nset [ghost v] effect to (20)\ngo to x: (36) y: (-100)\nglide (0.5) secs to x: (36) y: (28)\n\nwhen I receive [flying v]\nwait (10) seconds\n\nwhen I receive [flying v]\ngo to x: (-180) y: (-153)\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (20)\nset size to (100) %\n\nif <(costume [number v]) = [3]> then\n    if <touching (mouse-pointer v)?> then\n        set size to (50) %\n        if <mouse down?> then\n            set [jb? v] to [1]\n            change [collected v] by (-10)\n        end\n    else\n        set size to (40) %\n    end\nend\n\nwhen I receive [end v]\nhide\n\nwhen flag clicked\nhide\nset [fly? v] to [no]\nset [clon? v] to [no]\n\nwhen I receive [begin v]\nshow\n\nwhen I receive [sc2 v]\nglide (0.5) secs to x: (36) y: (-200)\ngo to x: (-180) y: (-153)\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (20)\nset size to (100) %\n\nwhen I start as a clone\nset [clon? v] to [jo]\nclear graphic effects\nswitch costume to (fly?)\ngo to [front v] layer\nhide\nwait (0.3) seconds\nshow\nset size to (60) %\ngo to x: (120) y: (-130)\n\nwhen I receive [sc2 v]\ndelete this clone\n\n@fly\n\nwhen flag clicked\nset [ghost v] effect to (20)\nswitch costume to (kostüm1 v)\nhide\ngo to x: (169) y: (-150)\nset [flying v] to [no]\n\nwhen I receive [tick v]\nif <(fly?) = [jo]> then\n    show\n    if <(costume [number v]) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            set size to (110) %\n            if <mouse down?> then\n                broadcast (10 sek v)\n            end\n        else\n            set size to (100) %\n        end\n    end\nelse\n    hide\nend\n\nwhen I receive [10 sek v]\nset [flying v] to [jo]\nswitch costume to (kostüm2 v)\nclear graphic effects\nset size to (90) %\nrepeat (10)\n    next costume\n    wait (1) seconds\nend\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (20)\nset [flying v] to [no]\n\nwhen flag clicked\n\nwait (1) seconds\nif <(username) = [asterixdavid]> then\n    set [fly? v] to [jo]\nend\n\nwhen flag clicked\nif <(username) = [asterixdavid]> then\nend\n\nset [flying v] to [no]\n\n@DangerTurn\n\nwhen I receive [green v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <(round (high)) = [0]> then\n    set [high v] to [50]\nend\nset [high v] to ((high) * (0.8))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [clon? v] to [NO]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x [185] y [-80]\n    Clone at x [360] y [-80]\n    Clone at x [3112] y [-80]\n    Clone at x [3325] y [-80]\n    Clone at x [3862] y [280]\n    Clone at x [4117] y [-395]\n    Clone at x [3959] y [-395]\n    Clone at x [4489] y [-696]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x [0] y [300]\n        Clone at x [460] y [0]\n    else\n        switch costume to (level 3 1 v)\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <(clon?) = [JES]> then\n    go to [back v] layer\n    go [forward v] (10) layers\n    if <<(x) = (x position)> and <(y) = (y position)>> then\n        show\n    else\n        hide\n    end\n    turn right (high) degrees\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x (x) y (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nchange [x v] by (x)\n\nwhen I receive [intro? v]\nhide\n\nwhen I start as a clone\nset [clon? v] to [JES]\n\nnext costume\n\nset [checkx v] to [0]\n\nwhen flag clicked\nhide\n\nwhen I receive [fire v]\nswitch costume to (level 1 2 v)\n\nwhen I receive [normal v]\nswitch costume to (level 1 1 v)\n\n@Exit\n\nwhen I receive [begin v]\nset [checktime v] to [0]\nset [checkx v] to [0]\nset [checky v] to [0]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    if <(True?) = [false]> then\n        set [checkx v] to (x)\n        set [checktime v] to (TIME)\n        set [checky v] to (y)\n        switch costume to (open2 v)\n        broadcast (particle v)\n        set [true? v] to [true]\n    end\nend\nif <(Night?) = [0]> then\n    if <(True?) = [false]> then\n        switch costume to (open v)\n    else\n        if <(True?) = [true]> then\n            switch costume to (open2 v)\n        end\n    end\n    go to [front v] layer\n    go [backward v] (100) layers\nelse\n    if <(True?) = [false]> then\n        switch costume to (nopen v)\n    else\n        if <(True?) = [true]> then\n            switch costume to (nopen2 v)\n        end\n    end\n    go to [front v] layer\n    go [backward v] (100) layers\nend\n\nset [collected v] to [0]\n\nwhen I receive [begin v]\nhide\nset [collected v] to [0]\nset [x v] to [0]\nset [true? v] to [false]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (open v)\n    set [collectcheck v] to [0]\n    Clone at x [1900] y [-115]\n    set [collectcheck v] to [0]\n    Clone at x [2956] y [-60]\n    set [collectcheck v] to [0]\n    Clone at x [3623] y [308]\n    set [collectcheck v] to [0]\n    Clone at x [4600] y [-681]\nelse\n    if <(LEVEL) = [2]> then\n        Clone at x [786] y [490]\n    else\n        set [x v] to [-99999]\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\nwhen I receive [reset v]\n\ndelete this clone\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 I receive [intro? v]\nhide\n\nwhen flag clicked\nhide\n\nchange [level v] by (1)\n\n@Figur1\n\nwhen I receive [particle v]\nclear graphic effects\nhide\nrepeat (10)\n    create clone of (_myself_ v)\n    change [color v] effect by (25)\nend\n\nwhen flag clicked\nhide\nclear graphic effects\n\nwhen I start as a clone\nshow\nset [v1 v] to [0]\nset [v2 v] to [0]\nset [v1 v] to [15]\nset [v2 v] to (pick random (-30) to (30))\nrepeat (40)\n    change y by (v1)\n    change [v1 v] by (-1)\n    change x by (v2)\n    set [v2 v] to ((v2) * (0.8))\nend\ndelete this clone\n\n@INTRO\n\nwhen I start as a clone\nif < (cSTAT) contains [par]?> then\n    show\n    set size to (130) %\n    go to x: (0) y: (0)\n    set [v4 v] to [0]\n    set [v5 v] to [0]\n    set [v4 v] to [15]\n    set [v5 v] to (pick random (-30) to (30))\n    repeat (40)\n        change y by (v4)\n        change [v4 v] by (-1)\n        change x by (v5)\n        set [v5 v] to ((v5) * (0.8))\n    end\n    delete this clone\nend\n\nwhen flag clicked\nreset timer\npoint in direction (90)\nset [cstat v] to [Background]\nset [stat v] to [Background]\nhide\nset [v1 v] to [0]\nswitch costume to (1 v)\nrepeat (7)\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    next costume\n    wait (0.01) seconds\nend\nset [cstat v] to [Whisher]\nset [stat v] to (cSTAT)\nhide\nwait (0.8) seconds\nset [v1 v] to [0]\nswitch costume to (kostüm1 v)\ngo to x: (0) y: (0)\nmove (-500) steps\npoint in direction (90)\ncreate clone of (_myself_ v)\npoint in direction (-90)\ngo to x: (0) y: (0)\nmove (-500) steps\nset [v1 v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [cstat v] to [Point]\nset [stat v] to [Point]\nset [brightness v] effect to (0)\nhide\nset [v1 v] to [0]\nswitch costume to (kostüm2 v)\nrepeat (5)\n    set [v1 v] to [0]\n    go to [front v] layer\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-10)\n    wait (0.05) seconds\nend\nset [cstat v] to [Raster]\nset [stat v] to [Raster]\nhide\ngo to [front v] layer\nwait (0.09) seconds\nset [v1 v] to [0]\nswitch costume to (raster v)\nset [v1 v] to [0]\ncreate clone of (_myself_ v)\nset [cstat v] to [Logo]\nset [stat v] to [Logo]\nhide\nset [v1 v] to [0]\nswitch costume to (logo3 v)\nset [v1 v] to [0]\ncreate clone of (_myself_ v)\npoint in direction (90)\nrepeat (3)\n    set [cstat v] to [part]\n    set [stat v] to [particle]\n    hide\n    set [v1 v] to [0]\n    switch costume to (kostüm4 v)\n    clear graphic effects\n    repeat (10)\n        go to [front v] layer\n        set [v1 v] to [0]\n        create clone of (_myself_ v)\n        change [brightness v] effect by (15)\n        switch costume to (kostüm4 v)\n    end\n    clear graphic effects\n    set [cstat v] to [whide]\n    set [stat v] to [whide]\n    hide\n    set [v1 v] to [0]\n    switch costume to (kostüm4 v)\n    clear graphic effects\n    go to [front v] layer\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    change [brightness v] effect by (15)\n    switch costume to (kostüm4 v)\n    wait (0.6) seconds\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    change [brightness v] effect by (15)\n    switch costume to (kostüm4 v)\n    set [cstat v] to [bow]\n    set [stat v] to [bow]\n    hide\n    set [v1 v] to [0]\n    clear graphic effects\n    go to [front v] layer\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    change [brightness v] effect by (15)\n    clear graphic effects\n    set [cstat v] to [whide2]\n    set [stat v] to [whide2]\n    hide\n    set [v1 v] to [0]\n    switch costume to (kostüm4 v)\n    clear graphic effects\n    go to [front v] layer\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\nend\nwait (0.5) seconds\nbroadcast (Start v)\nwait (0.5) seconds\nset [cstat v] to [Point]\nset [stat v] to [Point]\nset [brightness v] effect to (0)\nhide\nset [v1 v] to [0]\nswitch costume to (kostüm2 v)\nrepeat (5)\n    set [v1 v] to [0]\n    go to [front v] layer\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-10)\n    wait (0.05) seconds\nend\nwait (0.05) seconds\nbroadcast (nowIO v)\nbroadcast (IntroOut v)\n\nwhen I start as a clone\nif < (cSTAT) contains [Background]?> then\n    show\n    set [v1 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v1 v] to [20]\n    repeat (50)\n        change size by (v1)\n        set [v1 v] to ((v1) * (0.8))\n    end\nend\n\nwhen I start as a clone\nif < (cSTAT) contains [BigBack]?> then\n    go to [front v] layer\n    show\n    set [v2 v] to [0]\n    set size to (100) %\n    go to x: (0) y: (0)\n    set [v2 v] to [70]\n    repeat (15)\n        change y by (v2)\n        set [v2 v] to ((v2) * (0.8))\n    end\n    delete this clone\nend\n\nchange size by (10)\n\ndelete this clone\n\nwait (0.09) seconds\n\nwhen I start as a clone\nif < (cSTAT) contains [Logo]?> then\n    go to [front v] layer\n    reset timer\n    point in direction (90)\n    clear graphic effects\n    show\n    set [v3 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v3 v] to [18]\n    repeat (50)\n        change size by (v3)\n        set [v3 v] to ((v3) * (0.8))\n        set y to ((([sin v] of ((timer) * (100)) ) * (29)) + (0))\n    end\n    clear graphic effects\n    go to [front v] layer\n    show\n    go to x: (0) y: (0)\n    point in direction (90)\n    forever\n        set y to ((([sin v] of ((timer) * (100)) ) * (29)) + (0))\n    end\nend\n\nset size to (100) %\n\nset [v2 v] to [70]\n\nchange x by (2)\nchange y by (-2)\n\nwhen I start as a clone\n\nif < (cSTAT) contains [Logo]?> then\n    wait (3) seconds\n    repeat (10)\n        change size by (10)\n        change [ghost v] effect by (10)\n        change [brightness v] effect by (10)\n    end\n    stop [other scripts in sprite v]\n    broadcast (Start v)\n    delete this clone\nend\n\nwhen I start as a clone\n\nchange size by (-10)\n\nset [v1 v] to ((v1) * (0.8))\n\nif <not < (STAT) contains [Background]?>> then\n    delete this clone\nend\n\nforever\n    if <not < (STAT) contains [Background]?>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif < (cSTAT) contains [Whisher]?> then\n    go to [front v] layer\n    show\n    set [v2 v] to [0]\n    set size to (100) %\n    set [v2 v] to [70]\n    set [cstat v] to [---]\n    repeat (15)\n        set [v2 v] to ((v2) * (0.8))\n        move (v2) steps\n        create clone of (_myself_ v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (cSTAT) contains [Point]?> then\n    go to [front v] layer\n    switch costume to (kostüm3 v)\n    show\n    set [v1 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v1 v] to [450]\n    repeat (50)\n        switch costume to (point v)\n        change size by (v1)\n        set [v1 v] to ((v1) * (0.8))\n        switch costume to (kostüm2 v)\n    end\nend\n\nwhen I receive [nowio v]\ndelete this clone\n\nbroadcast (reset v)\n\nbroadcast (reset v)\nswitch costume to (kostüm3 v)\nset [cstat v] to []\nset size to (100) %\ngo to [front v] layer\nshow\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nif < (cSTAT) contains [whide]?> then\n    clear graphic effects\n    go to [front v] layer\n    switch costume to (cSTAT)\n    show\n    set [v1 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v1 v] to [240]\n    repeat (20)\n        switch costume to (point v)\n        change size by (v1)\n        set [v1 v] to ((v1) * (0.8))\n        switch costume to (cSTAT)\n    end\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    delete this clone\nend\n\nrepeat (10)\n\nwhen I start as a clone\nif < (cSTAT) contains [Raster]?> then\n    clear graphic effects\n    set [v2 v] to [0]\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    set size to (200) %\n    show\n    set [ghost v] effect to (50)\n    forever\n        set y to ((([sin v] of ((timer) * (-100)) ) * (29)) + (0))\n        set [ghost v] effect to ((([sin v] of ((timer) * (-100)) ) * (29)) + (56))\n    end\nend\n\nswitch costume to (point v)\n\nset [v2 v] to [70]\n\nswitch costume to (raster v)\n\nshow\n\nif < (cSTAT) contains [Raster]?> then\n    wait (3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n        change [brightness v] effect by (10)\n    end\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen I receive [start v]\nif < (cSTAT) contains [Logo]?> then\n    point in direction (90)\n    repeat (25)\n        turn left (15) degrees\n        change [ghost v] effect by (2)\n        change size by (-10)\n    end\n    delete this clone\nend\n\nstop [other scripts in sprite v]\ndelete this clone\n\n@werbung\n\nwhen I receive [begin v]\ngo to x: (36) y: (28)\nshow\nset [ghost v] effect to (100)\nrepeat (2)\n    wait (pick random (10) to (20)) seconds\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (5) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    wait (pick random (10) to (20)) seconds\nend\n\nwhen flag clicked\nhide\n\n
                                  ◊  Frosty ◊\n-------------------------------------------------------------------------\n                  A multiplayer scrolling Platformer\n\n                        - My biggest Game ever -\n                                   - 15+ Days -\n\n                                    Instructions \n                                    ----------------\n- Jump over the prongs and overcome the dangers to get to your destination, to reach the portal!\n- You can play together with a total of 9 other players!\nexplore caves and take to the skies!\n- R to restart\n- have fun!\n\n- Springe über die Zacken und überwinde die Gefahren, um ans ziel zu kommen, um das Portal zu erreichen!\n- Du kannst insgesamt mit 9 anderen Spielern gemeinsam spielen!\n- Erforsche Höhlen und fliege in die Lüfte!\n- R für Neustart\n- Viel Spaß!\n\n                                        News\n                                    ----------------\n13.05.21 - 300+ Likes!! My first game with so much \n                 Likes!!!\n26.11.20 - 100+ Likes: Jeah\n23.11.20 - 1st on german Trends: Jeah  37 Likes :|\n20.11.20 - share\n\n                                      Credits\n                                    ----------------\n- @HelloMellon for the Smoth Glide Tutorial\n- @griffpatch for the Multiplayer Tutorial and the \n   scrolling Platformer Tutorial\n\nPlease Like, Fav and Follow if you like it :)\nBitte Liken, Faven und folgen, wenn du dieses Spiel magst :)\n\n@Multiplayer @Cloud @AsterixDavid @Scrolling @Platfomer @Scrolling Platformer @Games @Multiplayer scrolling Platformer @Fun @NotAllone @Work @Great Game@Multiplayer @Cloud @AsterixDavid @Scrolling @Platfomer @Scrolling Platformer @Games @Multiplayer scrolling Platformer @Fun @NotAllone @Work @Great Game