Outlined || A 100% pen multiplayer platformer #games #all
@Stage\n\nwhen flag clicked\nbroadcast (Setup cloud v)\nerase all\nswitch backdrop to (connecting v)\n\nwhen I receive [begin v]\nswitch backdrop to (game v)\nstart sound [unlocked v]\nforever\n    play sound [Alan Walker - Force v] until done\n    play sound [\[Electro House\] Virtual Riot - Energy Drink \(320  kbps\).mp3 v] until done\n    play sound [\[Drumstep\] - Tristam  \[Mpgun v] until done\n    play sound [Imperfect v] until done\n    play sound [Good Stuff v] until done\nend\n\n@Pen\n\nwhen flag clicked\nhide\nset [!scroll x v] to [0]\nset [!scroll y v] to [0]\nset [y velocity v] to [0]\nset [x velocity v] to [0]\nset [x v] to ((-180) / (5))\nset [y v] to ((170) / (5))\nset [!distance for death animation v] to [0]\nset [lift y 1 v] to [0]\nset [!has won? v] to [False]\nset [!checkpoint y v] to [0]\nset [!checpoint x v] to [0]\nset [moving x v] to [0]\nset [transparency v] to [0]\nset [glow v] to [0]\nset [!dead v] to [False]\nset [__gravity flip v] to [-1]\nset [x for follow v] to [238]\nset [x for love v] to [49]\nset [x for star v] to [-180]\nset [y for star + like v] to [57]\nset [___still star and like v] to [0]\nset [star and like v] to [10]\ndelete all of [checkpoint selected v]\nrepeat (2)\n    add [False] to [checkpoint selected v]\nend\n\nwhen I receive [begin v]\nshow\npoint in direction (90)\nset [ghost v] effect to (100)\nset [__has flipped v] to [False]\nset [star and like v] to [0]\nset [___still star and like v] to [0]\nset [y vel v] to [15]\nset [x vel v] to [20]\nforever\n    Draw\n    Player controller\n    if <(!Dead???) = [True]> then\n        set [!dead v] to [True]\n        set [!distance for death animation v] to [0]\n        repeat (25)\n            change [!distance for death animation v] by (1)\n            change [y v] by ((((!CHECKPOINT Y) - (!SCROLL Y)) / (15)) / (5))\n            change [x v] by ((((!CHECPOINT X) - (!SCROLL X)) / (15)) / (5))\n            change [!scroll x v] by (((!CHECPOINT X) - (!SCROLL X)) / (15))\n            change [!scroll y v] by (((!CHECKPOINT Y) - (!SCROLL Y)) / (15))\n            Draw\n        end\n        set [x v] to [-180]\n        set [y v] to [170]\n        set [!dead??? v] to [False]\n        repeat (25)\n            change [!distance for death animation v] by (-1)\n            change [y v] by ((((!CHECKPOINT Y) - (!SCROLL Y)) / (5)) / (5))\n            change [x v] by ((((!CHECPOINT X) - (!SCROLL X)) / (5)) / (5))\n            change [!scroll x v] by (((!CHECPOINT X) - (!SCROLL X)) / (5))\n            change [!scroll y v] by (((!CHECKPOINT Y) - (!SCROLL Y)) / (5))\n            Draw\n        end\n        set [!distance for death animation v] to [0]\n        set [!scroll x v] to (!CHECPOINT X)\n        set [!scroll y v] to (!CHECKPOINT Y)\n        set [!dead v] to [False]\n    end\n    if <(!Has won?) = [True]> then\n        set [!dead v] to [True]\n        set [!distance for death animation v] to [0]\n        set [transparency v] to [0]\n        broadcast (Start win music v)\n        repeat (4)\n            repeat (15)\n                change [!distance for death animation v] by (1)\n                change [transparency v] by (1)\n                Draw\n            end\n            repeat (15)\n                change [!distance for death animation v] by (-1)\n                change [transparency v] by (1)\n                Draw\n            end\n        end\n        broadcast (WIN!!!! :\) v)\n        stop [this script v]\n    end\nend\n\ndefine Draw square from X: (x) Y: (y) to X: (x2) Y: (y2) with a type of (type)\nif <<<<((x) + (!SCROLL X)) < [240]> and <[-240] < ((x) + (!SCROLL X))>> and <<((y) + (!SCROLL Y)) < [180]> and <[-180] < ((y) + (!SCROLL Y))>>> or <<<<((x2) + (!SCROLL X)) < [240]> and <[-240] < ((x2) + (!SCROLL X))>> and <<((y2) + (!SCROLL Y)) < [180]> and <[-180] < ((y2) + (!SCROLL Y))>>> or <<<<(((x) + ((x2) - (x))) + (!SCROLL X)) < [240]> and <[-240] < (((x) + ((x2) - (x))) + (!SCROLL X))>> and <<((y) + (!SCROLL Y)) < [180]> and <[-180] < ((y) + (!SCROLL Y))>>> or <<<(((x2) + ((x) - (x2))) + (!SCROLL X)) < [240]> and <[-240] < (((x2) + ((x) - (x2))) + (!SCROLL X))>> and <<((y2) + (!SCROLL Y)) < [180]> and <[-180] < ((y2) + (!SCROLL Y))>>>>>> then\n    if <(type) = [Platform]> then\n        Draw line from (x) (y) to ((x) + ((x2) - (x))) (y) [55]\n        Draw line from ((x) + ((x2) - (x))) (y) to (x2) (y2) [55]\n        Draw line from (x2) (y2) to ((x2) + ((x) - (x2))) (y2) [55]\n        Draw line from ((x2) + ((x) - (x2))) (y2) to (x) (y) [55]\n        stop [this script v]\n    end\n    if <(type) = [Moving]> then\n        Draw line from (x) (y) to ((x) + ((x2) - (x))) (y) [79]\n        Draw line from ((x) + ((x2) - (x))) (y) to (x2) (y2) [79]\n        Draw line from (x2) (y2) to ((x2) + ((x) - (x2))) (y2) [79]\n        Draw line from ((x2) + ((x) - (x2))) (y2) to (x) (y) [79]\n    end\n    if <<(type) = [Bounce]> or <(type) = [Flip]>> then\n        set [i v] to [0]\n        repeat until <(y) < ((y2) + (I))>\n            if <(type) = [Flip]> then\n                Draw line from (x2) ((y2) + (I)) to ((x2) + ((x) - (x2))) ((y2) + (I)) [-1000]\n            else\n                Draw line from (x2) ((y2) + (I)) to ((x2) + ((x) - (x2))) ((y2) + (I)) [10]\n            end\n            change [i v] by (18)\n        end\n        stop [this script v]\n    end\n    if <(type) = [Moving]> then\n        set [i v] to [0]\n        repeat until <(y) < ((y2) + (I))>\n            Draw line from (x2) ((y2) + (I)) to ((x2) + ((x) - (x2))) ((y2) + (I)) [79]\n            change [i v] by (15)\n        end\n        stop [this script v]\n    end\n    if <(type) = [End]> then\n        set [i v] to [0]\n        repeat until <(y) < ((y2) + (I))>\n            Draw line from (x2) ((y2) + (I)) to ((x2) + ((x) - (x2))) ((y2) + (I)) [38]\n            change [i v] by (2)\n            change pen (brightness v) by (-0.5)\n        end\n        set pen (brightness v) to (100)\n        stop [this script v]\n    end\n    if <(item (ID) of [checkpoint selected v]) = [False]> then\n        Draw line from (x) (y) to ((x) + ((x2) - (x))) (y) [50]\n        Sense player\n        Draw line from ((x) + ((x2) - (x))) (y) to (x2) (y2) [50]\n        Sense player\n        Draw line from (x2) (y2) to ((x2) + ((x) - (x2))) (y2) [50]\n        Sense player\n        Draw line from ((x2) + ((x) - (x2))) (y2) to (x) (y) [50]\n        Sense player\n    else\n        Draw line from (x) (y) to ((x) + ((x2) - (x))) (y) [22]\n        Draw line from ((x) + ((x2) - (x))) (y) to (x2) (y2) [22]\n        Draw line from (x2) (y2) to ((x2) + ((x) - (x2))) (y2) [22]\n        Draw line from ((x2) + ((x) - (x2))) (y2) to (x) (y) [22]\n    end\nend\n\ndefine Draw line from (x) (y) to (x2) (y2) (colour)\nset pen (color v) to (colour)\nset pen size to (21)\nset pen (saturation v) to (100)\nif <(colour) = [-1000]> then\n    set pen color to (#ffffff)\nend\nif <(colour) = [50]> then\n    set pen size to (15)\nend\nset pen (brightness v) to (100)\nset pen (transparency v) to (78)\nrepeat (2)\n    pen up\n    go to x: ((x) + (!SCROLL X)) y: ((y) + (!SCROLL Y))\n    pen down\n    go to x: ((x2) + (!SCROLL X)) y: ((y2) + (!SCROLL Y))\n    pen up\n    if <(colour) = [50]> then\n        change pen size by (-8)\n    else\n        change pen size by (-10)\n    end\n    set pen (transparency v) to (0)\nend\n\nif <(colour) = [-1000]> then\n    set pen color to (#c3c3c3)\nelse\n    change pen (color v) by (7)\nend\n\ndefine Player controller\nswitch costume to (player hitbox v)\ngo to x: (0) y: (0)\nchange y by (Y velocity)\nchange [y velocity v] by (__GRAVITY FLIP)\nif <touching color (#bc00ff)?> then\n    change [x velocity v] by (Move on elevator)\nend\nif <<touching color (#00b2ff)?> or <touching color (#bc00ff)?>> then\n    repeat until <not <<touching color (#00b2ff)?> or <touching color (#bc00ff)?>>>\n        change y by ((([abs v] of (Y velocity) ) / (Y velocity)) * (-1))\n    end\n    if <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> and <((([abs v] of (Y velocity) ) / (Y velocity)) * (-1)) = ((-1) * (__GRAVITY FLIP))>> then\n        start sound [Basketball Bounce v]\n        set [y velocity v] to ((-15) * (__GRAVITY FLIP))\n    else\n        set [y velocity v] to [0]\n    end\nelse\n    if <touching color (#ff9900)?> then\n        start sound [Big Boing v]\n        set [y velocity v] to ((-23) * (__GRAVITY FLIP))\n    end\n    if <(__Has flipped) = [False]> then\n        if <touching color (#ffffff)?> then\n            start sound [High Whoosh v]\n            set [__gravity flip v] to ((__GRAVITY FLIP) * (-1))\n            set [__has flipped v] to [True]\n            set [y velocity v] to [0]\n        end\n    end\nend\nif <(__Has flipped) = [True]> then\n    if <not <touching color (#ffffff)?>> then\n        set [__has flipped v] to [False]\n    end\nend\nchange [x velocity v] by ((<<key (right arrow v) pressed?> or <<<[0] < (mouse x)> and <mouse down?>> or <key (d v) pressed?>>> * (5)) + (<<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(mouse x) < [0]> and <mouse down?>>>> * (-5)))\nset [x velocity v] to ((X Velocity) * (0.7))\nchange x by (X Velocity)\nset [slope v] to [0]\nrepeat until <<not <touching color (#00b2ff)?>> or <(Slope) = [-8]>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching color (#00b2ff)?> then\n    change y by (Slope)\n    repeat until <not <touching color (#00b2ff)?>>\n        change x by ((([abs v] of (X Velocity) ) / (X Velocity)) * (-1))\n    end\n    if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n        if <[0] < (X Velocity)> then\n            set [x velocity v] to [-32]\n        else\n            set [x velocity v] to [32]\n        end\n        set [y velocity v] to [12]\n        start sound [Clang v]\n    else\n        set [x velocity v] to [0]\n    end\nend\nif <<[300] < (!SCROLL Y)> or <<(!SCROLL Y) < [-2000]> or <touching color (#4200ff)?>>> then\n    Die :(\n    go to x: (0) y: (0)\n    stop [this script v]\nend\nif <touching color (#00ff47)?> then\n    set [!has won? v] to [True]\nend\nif <touching color (#00ffff)?> then\n    set [!checkpoint y v] to (!SCROLL Y)\n    set [!checpoint x v] to (!SCROLL X)\nend\nchange [!scroll x v] by (() - (x position))\nchange [!scroll y v] by (() - (y position))\nswitch costume to (costume2 v)\ngo to x: (0) y: (0)\n\ndefine Draw player\nset [i v] to [0]\nset [repeat times v] to [13]\nset [brightness v] to [100]\nset pen size to (5)\nDraw player (Repeat times) (Repeat times) ((0) - (Repeat times)) ((0) - (Repeat times)) []\n\ndefine Draw player line from (x) (y) to (x2) (y2)\nset pen color to (#ffbb00)\nset pen size to (10)\nchange pen (color v) by (!Distance for death animation)\nset pen (transparency v) to (Transparency)\npen up\ngo to x: (x) y: (y)\npen down\ngo to x: (x2) y: (y2)\npen up\n\ndefine Die :(\nset [y velocity v] to [0]\nset [x velocity v] to [0]\nset [__gravity flip v] to [-1]\nset [!dead??? v] to [True]\nstart sound [Oops v]\n\ndefine Draw\nset [id v] to [1]\npen up\nerase all\nset pen color to (#757575)\nset pen size to (15)\nset pen (transparency v) to (80)\nDraw grid\nset pen color to (#353535)\nset pen (transparency v) to (0)\nset pen size to (5)\nDraw grid\nset pen color to (#ff4800)\nset pen size to (5)\nset pen (transparency v) to (0)\nDraw spike [-80] [-14] [30]\nDraw spike [2650] [470] [40]\nDraw spike [3620] [470] [40]\nDraw spike [3580] [470] [40]\nDraw spike [4755] [1605] [40]\nset [spike place position v] to [0]\nrepeat (32)\n    Draw spike ((5200) + (Spike place position)) [1500] [30]\n    change [spike place position v] by (30)\nend\nDraw checkpoint [2150] [185] with a size of [30]\nDraw checkpoint [4640] [1630] with a size of [30]\nDraw square from X: [-100] Y: [-20] to X: [100] Y: [-81] with a type of [Platform]\nDraw square from X: [240] Y: [-20] to X: [320] Y: [-81] with a type of [Platform]\nDraw square from X: [440] Y: [-20] to X: [600] Y: [-120] with a type of [Flip]\nDraw square from X: [480] Y: [270] to X: [600] Y: [170] with a type of [Platform]\nDraw square from X: [700] Y: [270] to X: [1000] Y: [170] with a type of [Platform]\nDraw square from X: [1005] Y: [270] to X: [1160] Y: [170] with a type of [Bounce]\nDraw square from X: [1230] Y: [30] to X: [1430] Y: [-70] with a type of [Platform]\nDraw square from X: [1500] Y: [240] to X: [1600] Y: [130] with a type of [Platform]\nDraw square from X: [1650] Y: [395] to X: [1800] Y: [495] with a type of [Platform]\nDraw square from X: [1950] Y: [495] to X: [2100] Y: [395] with a type of [Flip]\nDraw square from X: [1950] Y: [160] to X: [2200] Y: [60] with a type of [Platform]\nDraw square from X: [2300] Y: ((160) + (Lift Y 1)) to X: [2450] Y: ((60) + (Lift Y 1)) with a type of [Platform]\nDraw square from X: [2550] Y: [460] to X: [2750] Y: [360] with a type of [Platform]\nDraw square from X: ((2825) + (Moving X)) Y: [460] to X: ((3025) + (Moving X)) Y: [360] with a type of [Moving]\nDraw square from X: [3500] Y: [460] to X: [3700] Y: [360] with a type of [Platform]\nDraw square from X: [3900] Y: [675] to X: [4000] Y: [560] with a type of [Platform]\nDraw square from X: [3900] Y: [1000] to X: [4000] Y: [750] with a type of [Platform]\nDraw square from X: [4200] Y: [1200] to X: [4250] Y: [1150] with a type of [Platform]\nDraw square from X: [4400] Y: [1400] to X: [4450] Y: [1350] with a type of [Platform]\nDraw square from X: [4600] Y: [1600] to X: [4800] Y: [1500] with a type of [Platform]\nDraw square from X: [4805] Y: [1600] to X: [5000] Y: [1500] with a type of [Flip]\nDraw square from X: [4805] Y: [1870] to X: [5000] Y: [1770] with a type of [Platform]\nDraw square from X: [5200] Y: [1870] to X: [5300] Y: [1770] with a type of [Platform]\nDraw square from X: [5555] Y: [1870] to X: [5305] Y: [1770] with a type of [Flip]\nDraw square from X: [5555] Y: [1870] to X: [5755] Y: [1770] with a type of [Platform]\nDraw square from X: [5960] Y: [1870] to X: [5760] Y: [1770] with a type of [Flip]\nDraw square from X: [5965] Y: [1870] to X: [6165] Y: [1770] with a type of [Platform]\nDraw square from X: [6370] Y: [1870] to X: [6170] Y: [1770] with a type of [Flip]\nDraw square from X: [6170] Y: [1600] to X: [6470] Y: [1500] with a type of [Platform]\nDraw square from X: [6570] Y: ((1600) + (Lift Y 1)) to X: [6800] Y: ((1500) + (Lift Y 1)) with a type of [Platform]\nDraw square from X: [6900] Y: [1900] to X: [7000] Y: [1800] with a type of [Platform]\nDraw square from X: [7000] Y: [1700] to X: [7200] Y: [1600] with a type of [Platform]\nDraw square from X: [7200] Y: [1500] to X: [7600] Y: [1400] with a type of [Platform]\nDraw square from X: [7500] Y: [1670] to X: [7600] Y: [1510] with a type of [End]\nset pen (brightness v) to (Transparency)\nDraw cloud player [10]\nDraw player\nRender star + like\nBorder\n\ndefine Draw grid\nswitch costume to (costume2 v)\nif <(((!SCROLL X) / (5)) + (X)) < [-240]> then\n    change [x v] by (40)\nend\nif <[-200] < (((!SCROLL X) / (5)) + (X))> then\n    change [x v] by (-40)\nend\ngo to x: (((!SCROLL X) / (5)) + (X)) y: (-180)\nforever\n    pen down\n    change y by (360)\n    pen up\n    set y to (-180)\n    change x by (40)\n    if <[238] < (x position)> then\n        Draw grid X\n        stop [this script v]\n    end\nend\n\ndefine Draw grid X\nif <(((!SCROLL Y) / (5)) - (Y)) < [-180]> then\n    change [y v] by (-40)\nend\nif <[-130] < (((!SCROLL Y) / (5)) - (Y))> then\n    change [y v] by (40)\nend\ngo to x: (-240) y: (((!SCROLL Y) / (5)) - (Y))\nforever\n    pen down\n    change x by (480)\n    pen up\n    set x to (-240)\n    change y by (40)\n    if <[179] < (y position)> then\n        stop [this script v]\n    end\nend\n\ndefine Draw spike (x) (y) (size)\nDraw line from (x) (y) to ((x) + (size)) (y) [-30]\nDraw line from ((x) + (size)) (y) to ((([abs v] of (((x) + (size)) - (x)) ) / (2)) + (x)) ((y) + (size)) [-30]\nDraw line from ((([abs v] of (((x) + (size)) - (x)) ) / (2)) + (x)) ((y) + (size)) to (x) (y) [-30]\n\nwhen I receive [begin v]\nforever\n    repeat (150)\n        change [lift y 1 v] by (2)\n        change [moving x v] by (2)\n        set [move on elevator v] to [2]\n    end\n    repeat (150)\n        change [lift y 1 v] by (-2)\n        change [moving x v] by (-2)\n        set [move on elevator v] to [-2]\n    end\n    set [lift y 1 v] to [0]\n    set [moving x v] to [0]\nend\n\nset [!scroll x v] to [-5269]\nset [!scroll y v] to [-2534]\n\ndefine Draw checkpoint (x) (y) with a size of (size)\nif <(item (ID) of [checkpoint selected v]) = [False]> then\n    set [size v] to (size)\n    Draw square from X: ((x) + ((3) * ([cos v] of (((____Timer) + (-3)) * (150)) ))) Y: ((y) + ((3) * ([cos v] of (((____Timer) + (-3)) * (150)) ))) to X: (((x) + (size)) + ((3) * ([cos v] of (((____Timer) + (3)) * (-150)) ))) Y: (((y) + (size)) + ((3) * ([cos v] of (((____Timer) + (3)) * (150)) ))) with a type of [Checkpoint]\n    Draw square from X: ((x) + ((10) * ([cos v] of (((____Timer) + (3)) * (150)) ))) Y: ((y) + ((10) * ([cos v] of (((____Timer) + (3)) * (150)) ))) to X: (((x) + (size)) + ((10) * ([cos v] of (((____Timer) + (-3)) * (-150)) ))) Y: (((y) + (size)) + ((10) * ([cos v] of (((____Timer) + (-3)) * (150)) ))) with a type of [Checkpoint]\nelse\n    Draw square from X: (x) Y: (y) to X: ((x) + (size)) Y: ((y) + (size)) with a type of [50]\n    if <<(!DEAD) = [True]> and <<(item (ID) of [checkpoint selected v]) = [True]> and <not <(!Has won?) = [True]>>>> then\n        Draw line from ((x) + ((size) / (2))) ((y) + ((size) / (2))) to ((!SCROLL X) * (-1)) ((!SCROLL Y) * (-1)) [22]\n    end\nend\nchange [id v] by (1)\n\ndefine Sense player\nif <<([abs v] of ((x position) - ()) ) < [13]> and <([abs v] of ((y position) - ()) ) < [13]>> then\n    if <(item (ID) of [checkpoint selected v]) = [False]> then\n        set [iteration # v] to [1]\n        repeat (length of [checkpoint selected v])\n            replace item (Iteration #) of [checkpoint selected v] with [False]\n            change [iteration # v] by (1)\n        end\n        replace item (ID) of [checkpoint selected v] with [True]\n        start sound [Coin v]\n    end\nend\n\nchange [glow v] by (1)\n\ndefine Render win message\npen up\nerase all\nset [size for win glow v] to [30]\nDraw grid\nBorder\npen up\nset pen (transparency v) to (80)\nrepeat (2)\n    Render YOU\n    Render WIN\n    change [size for win glow v] by (-20)\n    set pen (transparency v) to (0)\nend\n\ndefine Render YOU\npen up\nset pen (saturation v) to (100)\nset pen (brightness v) to (100)\nset pen (color v) to ((Counter) * (10))\nset pen size to (Size for win glow)\ngo to x: ((Win X) - (180)) y: ((Win Y 3) - (160))\npen down\nchange y by (40)\ngo to x: ((Win X) - (210)) y: ((Win Y 3) - (40))\ngo to x: ((Win X) - (180)) y: ((Win Y 3) - (120))\ngo to x: ((Win X) - (150)) y: ((Win Y 3) - (40))\npen up\nchange pen (color v) by (10)\nset pen size to (Size for win glow)\ngo to x: ((Win X) - (100)) y: ((Win Y) - (40))\npen down\ngo to x: ((Win X) - (100)) y: ((Win Y) - (160))\ngo to x: ((Win X) - (30)) y: ((Win Y) - (160))\ngo to x: ((Win X) - (30)) y: ((Win Y) - (40))\ngo to x: ((Win X) - (100)) y: ((Win Y) - (40))\npen up\nchange pen (color v) by (10)\nset pen size to (Size for win glow)\ngo to x: ((Win X) - (-20)) y: ((Win Y 2) - (40))\npen down\ngo to x: ((Win X) - (-20)) y: ((Win Y 2) - (160))\ngo to x: ((Win X) - (-80)) y: ((Win Y 2) - (160))\ngo to x: ((Win X) - (-80)) y: ((Win Y 2) - (40))\n\ndefine Render WIN\npen up\nchange pen (color v) by (10)\nset pen size to (Size for win glow)\ngo to x: ((Win X) - (230)) y: ((Win Y) - (230))\npen down\ngo to x: ((Win X) - (200)) y: ((Win Y) - (340))\ngo to x: ((Win X) - (175)) y: ((Win Y) - (300))\ngo to x: ((Win X) - (150)) y: ((Win Y) - (340))\ngo to x: ((Win X) - (120)) y: ((Win Y) - (230))\npen up\nchange pen (color v) by (10)\nset pen size to (Size for win glow)\ngo to x: ((Win X) - (75)) y: ((Win Y 2) - (230))\npen down\ngo to x: ((Win X) - (25)) y: ((Win Y 2) - (230))\ngo to x: ((Win X) - (50)) y: ((Win Y 2) - (230))\ngo to x: ((Win X) - (50)) y: ((Win Y 2) - (340))\ngo to x: ((Win X) - (25)) y: ((Win Y 2) - (340))\ngo to x: ((Win X) - (75)) y: ((Win Y 2) - (340))\npen up\nchange pen (color v) by (10)\nset pen size to (Size for win glow)\ngo to x: ((Win X) - (-25)) y: ((Win Y 3) - (340))\npen down\ngo to x: ((Win X) - (-25)) y: ((Win Y 3) - (230))\ngo to x: ((Win X) - (-95)) y: ((Win Y 3) - (340))\ngo to x: ((Win X) - (-95)) y: ((Win Y 3) - (230))\nset [ghost v] effect to (100)\n\nwhen I receive [win!!!! :\) v]\nset [win x v] to [50]\nset [win y v] to [180]\nset [win y 2 v] to [180]\nset [win y 3 v] to [180]\nset [counter v] to [0]\nforever\n    Render win message\n    change [win y v] by ((1) * ([cos v] of (((Counter) + (3)) * (150)) ))\n    change [win y 2 v] by ((1) * ([cos v] of (((Counter) + (-6)) * (150)) ))\n    change [win y 3 v] by ((1) * ([cos v] of (((Counter) + (-3)) * (150)) ))\n    change [win x v] by ((0.6) * ([cos v] of (((Counter) + (3)) * (150)) ))\n    change [counter v] by (0.03)\n    change [!scroll x v] by (5)\n    change [!scroll y v] by (5)\nend\n\nDraw square from X: ((0) + (Moving X)) Y: [-80] to X: ((90) + (Moving X)) Y: [0] with a type of [Moving]\n\ndefine Draw player (x) (y) (x2) (y2) (colour)\nDraw player line from (x) (y) to ((x) + ((x2) - (x))) (y)\nDraw player line from ((x) + ((x2) - (x))) (y) to (x2) (y2)\nDraw player line from (x2) (y2) to ((x2) + ((x) - (x2))) (y2)\nDraw player line from ((x2) + ((x) - (x2))) (y2) to (x) (y)\n\ndefine Draw cloud player (players)\nset [__player selected to draw v] to [1]\nrepeat (10)\n    if <not <(PLAYER #) = (__Player selected to draw)>> then\n        if <(item (__Player selected to draw) of [player status v]) = [Online]> then\n            Render cloud player ((item (((__Player selected to draw) * (2)) - (1)) of [player posotions v]) + (13)) ((item ((__Player selected to draw) * (2)) of [player posotions v]) + (13)) to ((item (((__Player selected to draw) * (2)) - (1)) of [player posotions v]) - (13)) ((item ((__Player selected to draw) * (2)) of [player posotions v]) - (13))\n        end\n    end\n    change [__player selected to draw v] by (1)\nend\n\ndefine Render star + like\nchange [star and like v] by (1)\nif <[-10] < (Y vel)> then\n    change [y for star + like v] by ((Y vel) * (-1))\n    change [y vel v] by (-1)\nend\nif <[-7] < (X vel)> then\n    change [x for star v] by ((X vel) * (1))\n    change [x for follow v] by ((X vel) * (-1.25))\n    change [x for love v] by ((X vel) * (-0.3))\n    change [x vel v] by (-1)\nelse\n    change [y for star + like v] by ((0.7) * ([sin v] of (((____Timer) + (3)) * (150)) ))\nend\nif <(___Still star and like) < [6]> then\n    if <[40] < (Star and like)> then\n        set [star and like v] to [0]\n        change [___still star and like v] by (1)\n    end\n    set pen color to (#ffe900)\n    set pen (transparency v) to (0)\n    set pen size to (5)\n    go to x: ((-79) + (x for star)) y: ((120) + (Y for star + like))\n    pen down\n    go to x: ((-75) + (x for star)) y: ((130) + (Y for star + like))\n    go to x: ((-85) + (x for star)) y: ((140) + (Y for star + like))\n    go to x: ((-75) + (x for star)) y: ((140) + (Y for star + like))\n    go to x: ((-68.5) + (x for star)) y: ((150) + (Y for star + like))\n    go to x: ((-62) + (x for star)) y: ((140) + (Y for star + like))\n    go to x: ((-52) + (x for star)) y: ((140) + (Y for star + like))\n    go to x: ((-62) + (x for star)) y: ((130) + (Y for star + like))\n    go to x: ((-57) + (x for star)) y: ((120) + (Y for star + like))\n    go to x: ((-68.5) + (x for star)) y: ((125) + (Y for star + like))\n    go to x: ((-79) + (x for star)) y: ((120) + (Y for star + like))\n    pen up\n    set pen color to (#ffffff)\n    set pen size to (7)\n    go to x: (-30) y: ((130) + (Y for star + like))\n    pen down\n    go to x: (-15) y: ((130) + (Y for star + like))\n    go to x: (-22.5) y: ((130) + (Y for star + like))\n    go to x: (-22.5) y: ((138) + (Y for star + like))\n    go to x: (-22.5) y: ((122) + (Y for star + like))\n    pen up\n    set pen color to (#00a9ff)\n    set pen size to (7)\n    go to x: ((-5) + (x for follow)) y: ((110) + (Y for star + like))\n    pen down\n    change x by (125)\n    change y by (40)\n    change x by (-125)\n    change y by (-40)\n    pen up\n    set pen color to (#ffffff)\n    set pen size to (5)\n    go to x: ((5) + (x for follow)) y: ((120) + (Y for star + like))\n    pen down\n    go to x: ((5) + (x for follow)) y: ((140) + (Y for star + like))\n    go to x: ((15) + (x for follow)) y: ((140) + (Y for star + like))\n    go to x: ((5) + (x for follow)) y: ((140) + (Y for star + like))\n    go to x: ((5) + (x for follow)) y: ((130) + (Y for star + like))\n    go to x: ((15) + (x for follow)) y: ((130) + (Y for star + like))\n    pen up\n    go to x: ((25) + (x for follow)) y: ((120) + (Y for star + like))\n    pen down\n    go to x: ((25) + (x for follow)) y: ((130) + (Y for star + like))\n    go to x: ((35) + (x for follow)) y: ((130) + (Y for star + like))\n    go to x: ((35) + (x for follow)) y: ((120) + (Y for star + like))\n    go to x: ((25) + (x for follow)) y: ((120) + (Y for star + like))\n    pen up\n    go to x: ((45) + (x for follow)) y: ((140) + (Y for star + like))\n    pen down\n    go to x: ((45) + (x for follow)) y: ((120) + (Y for star + like))\n    pen up\n    go to x: ((55) + (x for follow)) y: ((140) + (Y for star + like))\n    pen down\n    go to x: ((55) + (x for follow)) y: ((120) + (Y for star + like))\n    pen up\n    go to x: ((65) + (x for follow)) y: ((120) + (Y for star + like))\n    pen down\n    go to x: ((65) + (x for follow)) y: ((130) + (Y for star + like))\n    go to x: ((75) + (x for follow)) y: ((130) + (Y for star + like))\n    go to x: ((75) + (x for follow)) y: ((120) + (Y for star + like))\n    go to x: ((65) + (x for follow)) y: ((120) + (Y for star + like))\n    pen up\n    go to x: ((85) + (x for follow)) y: ((130) + (Y for star + like))\n    pen down\n    go to x: ((90) + (x for follow)) y: ((120) + (Y for star + like))\n    go to x: ((95) + (x for follow)) y: ((125) + (Y for star + like))\n    go to x: ((100) + (x for follow)) y: ((120) + (Y for star + like))\n    go to x: ((105) + (x for follow)) y: ((130) + (Y for star + like))\n    pen up\n    set pen color to (#ffffff)\n    set pen size to (7)\n    go to x: (130) y: ((130) + (Y for star + like))\n    pen down\n    go to x: (145) y: ((130) + (Y for star + like))\n    go to x: (137.5) y: ((130) + (Y for star + like))\n    go to x: (137.5) y: ((137) + (Y for star + like))\n    go to x: (137.5) y: ((123) + (Y for star + like))\n    pen up\n    set pen color to (#ff0000)\n    set pen size to (7)\n    go to x: ((162) + (x for love)) y: ((135) + (Y for star + like))\n    pen down\n    go to x: ((175) + (x for love)) y: ((115) + (Y for star + like))\n    go to x: ((190) + (x for love)) y: ((135) + (Y for star + like))\n    repeat (2)\n        point in direction (0)\n        repeat (20)\n            move (1.1) steps\n            turn left (9) degrees\n        end\n    end\n    pen up\n    point in direction (90)\nend\n\ndefine Border\ngo to x: (-235) y: (-175)\nset pen color to (#000000)\nset pen size to (20)\npen down\nchange x by (470)\nchange y by (350)\nchange x by (-470)\nchange y by (-360)\npen up\n\nset [x for star v] to [0]\nset [y for star + like v] to [0]\n\nset [!scroll x v] to [0]\nset [!scroll y v] to [0]\nset [x v] to [-236]\nset [y v] to [154]\nset [___still star and like v] to [0]\nset [star and like v] to [5]\nDraw\nhide\n\ndefine Render cloud player (x) (y) to (x2) (y2)\nif <<<<((x) + (!SCROLL X)) < [240]> and <[-240] < ((x) + (!SCROLL X))>> and <<((y) + (!SCROLL Y)) < [180]> and <[-180] < ((y) + (!SCROLL Y))>>> or <<<<((x2) + (!SCROLL X)) < [240]> and <[-240] < ((x2) + (!SCROLL X))>> and <<((y2) + (!SCROLL Y)) < [180]> and <[-180] < ((y2) + (!SCROLL Y))>>> or <<<<(((x) + ((x2) - (x))) + (!SCROLL X)) < [240]> and <[-240] < (((x) + ((x2) - (x))) + (!SCROLL X))>> and <<((y) + (!SCROLL Y)) < [180]> and <[-180] < ((y) + (!SCROLL Y))>>> or <<<(((x2) + ((x) - (x2))) + (!SCROLL X)) < [240]> and <[-240] < (((x2) + ((x) - (x2))) + (!SCROLL X))>> and <<((y2) + (!SCROLL Y)) < [180]> and <[-180] < ((y2) + (!SCROLL Y))>>>>>> then\n    Draw cloud player line (x) (y) ((x) + ((x2) - (x))) (y)\n    Draw cloud player line ((x) + ((x2) - (x))) (y) (x2) (y2)\n    Draw cloud player line (x2) (y2) ((x2) + ((x) - (x2))) (y2)\n    Draw cloud player line ((x2) + ((x) - (x2))) (y2) (x) (y)\nend\n\ndefine Draw cloud player line (x) (y) (x2) (y2)\npen up\nset pen color to (#ff2b2b)\nset pen size to (10)\nset pen (transparency v) to (0)\ngo to x: ((!SCROLL X) + (x)) y: ((!SCROLL Y) + (y))\npen down\ngo to x: ((!SCROLL X) + (x2)) y: ((!SCROLL Y) + (y2))\npen up\n\n@&Player\n\ndefine Create lists (players)\ndelete all of [player posotions v]\ndelete all of [player status v]\nrepeat (players)\n    add [Offline] to [player status v]\nend\nrepeat ((players) * (2))\n    add [0] to [player posotions v]\nend\n\ndefine Write (player #) to (encoded)\nif <(player #) = [1]> then\n    set [☁ player 1 v] to (encoded)\nelse\n    if <(player #) = [2]> then\n        set [☁ player 2 v] to (encoded)\n    else\n        if <(player #) = [3]> then\n            set [☁ player 3 v] to (encoded)\n        else\n            if <(player #) = [4]> then\n                set [☁ player 4 v] to (encoded)\n            else\n                if <(player #) = [5]> then\n                    set [☁ player 5 v] to (encoded)\n                else\n                    if <(player #) = [6]> then\n                        set [☁ player 6 v] to (encoded)\n                    else\n                        if <(player #) = [7]> then\n                            set [☁ player 7 v] to (encoded)\n                        else\n                            if <(player #) = [8]> then\n                                set [☁ player 8 v] to (encoded)\n                            else\n                                if <(player #) = [9]> then\n                                    set [☁ player 9 v] to (encoded)\n                                else\n                                    set [☁ player 10 v] to (encoded)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Sense spaces\nset [p1 value v] to (join [A] (☁ Player 1))\nset [p2 value v] to (join [A] (☁ Player 2))\nset [p3 value v] to (join [A] (☁ Player 3))\nset [p4 value v] to (join [A] (☁ Player 4))\nset [p5 value v] to (join [A] (☁ Player 5))\nset [player 6 value v] to (join [A] (☁ Player 6))\nset [player 7 value v] to (join [A] (☁ Player 7))\nset [player 8 value v] to (join [A] (☁ Player 8))\nset [player 9 value v] to (join [A] (☁ Player 9))\nset [player 10 value v] to (join [A] (☁ Player 10))\n\ndefine Add position to cloud\nchange [____timer v] by (0.03)\nif <[0] < (Player id)> then\n    set [encoded v] to []\n    Begin encode of (!SCROLL X)\n    Begin encode of (!SCROLL Y)\n    Begin encode of (username)\n    Begin encode of (____Timer)\n    Write (Player id) to (Encoded)\n    replace item (((Player id) * (2)) - (1)) of [player posotions v] with [0]\n    replace item ((Player id) * (2)) of [player posotions v] with [0]\n    replace item (Player id) of [player status v] with [Online]\nend\nif <<(Player id) = [1]> or <<(Player id) = [3]> or <<(Player id) = [5]> or <<(Player id) = [7]> or <(Player id) = [9]>>>>> then\n    switch costume to (blue v)\nelse\n    switch costume to (red v)\nend\nset [ghost v] effect to (_!!Ghost effect)\n\ndefine Begin encode of (value)\nset [letter # v] to [1]\nrepeat (length of (value))\n    set [last read v] to (item # of (letter (Letter #) of (value)) in [code v])\n    set [encoded v] to (join (Encoded) (Last read))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (Encoded) [00])\n\ndefine Position player (player direction)\npoint in direction (player direction)\nchange [scroll x v] by (() - (x position))\nchange [scroll y v] by (() - (y position))\ngo to x: (0) y: (0)\n\nwhen I receive [setup cloud v]\nreset timer\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (0)\nhide\nCreate lists [10]\nbroadcast (Joining v)\nSense spaces\nwait (3) seconds\nAssign space to player\nbroadcast (Setup floor v)\nbroadcast (Setup grid v)\nbroadcast (Begin v)\nshow variable [players online v]\n\nif <[32] < [50]> then\n\ndefine Assign space to player\nif <(P1 value) = (join [A] (☁ Player 1))> then\n    broadcast (Joined v)\n    set [player id v] to [1]\nelse\n    if <(P2 value) = (join [A] (☁ Player 2))> then\n        broadcast (Joined v)\n        set [player id v] to [2]\n    else\n        if <(P3 value) = (join [A] (☁ Player 3))> then\n            broadcast (Joined v)\n            set [player id v] to [3]\n        else\n            if <(P4 value) = (join [A] (☁ Player 4))> then\n                broadcast (Joined v)\n                set [player id v] to [4]\n            else\n                if <(P5 value) = (join [A] (☁ Player 5))> then\n                    broadcast (Joined v)\n                    set [player id v] to [5]\n                else\n                    if <(Player 6 value) = (join [A] (☁ Player 6))> then\n                        broadcast (Joined v)\n                        set [player id v] to [5]\n                    else\n                        if <(Player 7 value) = (join [A] (☁ Player 7))> then\n                            broadcast (Joined v)\n                            set [player id v] to [5]\n                        else\n                            if <(Player 8 value) = (join [A] (☁ Player 8))> then\n                                broadcast (Joined v)\n                                set [player id v] to [5]\n                            else\n                                if <(Player 9 value) = (join [A] (☁ Player 9))> then\n                                    broadcast (Joined v)\n                                    set [player id v] to [5]\n                                else\n                                    if <(Player 10 value) = (join [A] (☁ Player 10))> then\n                                        broadcast (Joined v)\n                                        set [player id v] to [5]\n                                    else\n                                        broadcast (Full v)\n                                        set [player id v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nset [player # v] to (Player id)\n\nwhen flag clicked\nhide\nhide variable [players online v]\n\ndefine Check players online (max players)\nset [test players v] to [0]\nif <(P1 value) = (join [A] (☁ Player 1))> then\n    change [test players v] by (1)\nend\nif <(P2 value) = (join [A] (☁ Player 2))> then\n    change [test players v] by (1)\nend\nif <(P3 value) = (join [A] (☁ Player 3))> then\n    change [test players v] by (1)\nend\nif <(P4 value) = (join [A] (☁ Player 4))> then\n    change [test players v] by (1)\nend\nif <(P5 value) = (join [A] (☁ Player 5))> then\n    change [test players v] by (1)\nend\nif <(Player 6 value) = (join [A] (☁ Player 6))> then\n    change [test players v] by (1)\nend\nif <(Player 7 value) = (join [A] (☁ Player 7))> then\n    change [test players v] by (1)\nend\nif <(Player 8 value) = (join [A] (☁ Player 8))> then\n    change [test players v] by (1)\nend\nif <(Player 9 value) = (join [A] (☁ Player 9))> then\n    change [test players v] by (1)\nend\nif <(Player 10 value) = (join [A] (☁ Player 10))> then\n    change [test players v] by (1)\nend\nset [players online v] to (join ((max players) - (Test players)) (join [ / ] (max players)))\nset [current number of people v] to ((max players) - (Test players))\n\ndefine Update position (costume) (edge sensing) (recorded x) (recorded y) (max scroll y) (min scroll y)\nPosition player []\nswitch costume to (costume)\nif <<(max scroll y) < (Scroll Y)> or <<(Scroll Y) < (min scroll y)> or <not <<(x position) = [0]> or <(y position) = [0]>>>>> then\n    go to x: (0) y: (0)\n    set [x vel v] to [0]\n    set [y vel v] to [0]\n    set [scroll x v] to (recorded x)\n    set [scroll y v] to (recorded y)\n    if <not <[] = [True]>> then\n        change [scroll x v] by (edge sensing)\n    end\n    if <not <[] = [True]>> then\n        change [scroll x v] by ((edge sensing) * (-2))\n    end\n    if <not <[] = [True]>> then\n        change [scroll x v] by (edge sensing)\n    end\nend\n\nwhen I receive [begin v]\nset [____timer v] to [0]\nforever\n    Add position to cloud\nend\n\ndefine Platformer physics (speed) (friction) (jump height) (slope)\nchange [y vel v] by (-1)\nchange y by (Y vel)\nif <not <touching (!ground v)?>> then\n    set [_touched ground??? v] to [False]\nend\nif <touching (!ground v)?> then\n    if <(_Touched Ground???) = [False]> then\n        set [_touched ground??? v] to [True]\n        broadcast (Ground impact v)\n        start sound [Clang v]\n    end\n    repeat until <not <touching (!ground v)?>>\n        change y by ((([abs v] of (Y vel) ) / (Y vel)) * (-1))\n    end\n    if <<((([abs v] of (Y vel) ) / (Y vel)) * (-1)) = [1]> and <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <[0] < (mouse y)>>>> then\n        set [y vel v] to ((jump height) + (_!!Jump boost??))\n    else\n        set [y vel v] to [0]\n    end\nend\nchange [x vel v] by ((<<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> * (((speed) * (-1)) * (__!!Speed increse))) + (<<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>>> * ((speed) * (__!!Speed increse))))\nset [x vel v] to ((X vel) * (friction))\nchange x by (X vel)\nset [slope v] to [0]\nrepeat until <<not <touching (!ground v)?>> or <(Slope) = (slope)>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (!ground v)?> then\n    change y by (Slope)\n    repeat until <not <touching (!ground v)?>>\n        change x by ((([abs v] of (X vel) ) / (X vel)) * (-1))\n    end\n    set [x vel v] to [0]\nend\nchange [scroll x v] by (() - (x position))\nchange [scroll y v] by (() - (y position))\ngo to x: (0) y: (0)\nif <[1000] < (Scroll Y)> then\n    DIE =D\n    start sound [Oops v]\nend\n\nbroadcast (Say message v)\n\nwhen I receive [say message v]\nSay message\n\ndefine Say message\nbroadcast (Lower volume v)\nset language to (en v)::tts\nset voice to (tenor v)::tts\nspeak [You were killed]::tts\nbroadcast (Lift volume v)\n\nwhen I receive [die v]\nDIE =D\nstart sound [Oops v]\n\ndefine DIE =D\nset [y vel v] to [0]\nset [x vel v] to [0]\nset [scroll y v] to [0]\nif <(costume [number v]) = [1]> then\n    set [scroll x v] to [-1500]\nelse\n    set [scroll x v] to [1500]\nend\n\nwhen I receive [reset world v]\nDIE =D\n\nwhen I receive [begin v]\nforever\n    Sense spaces\n    wait (3) seconds\n    Check players online [10]\nend\n\nwhen I receive [win!!!! :\) v]\nstop [other scripts in sprite v]\nhide\n\n@@Cloud player\n\ndefine Begin decode of value\nset [output v] to []\nforever\n    set [last read v] to (join (letter (Letter #) of (Value)) (letter ((Letter #) + (1)) of (Value)))\n    change [letter # v] by (2)\n    if <(Last read) < [1]> then\n        stop [this script v]\n    end\n    set [output v] to (join (Output) (item (Last read) of [code v]))\nend\n\nwhen I receive [begin v]\nforever\n    Add position to cloud\nend\n\ndefine Setup clones\nset [clone id v] to [1]\nrepeat ((MAX PLAYERS) - (1))\n    change [clone id v] by (1)\n    create clone of (_myself_ v)\nend\nset [clone id v] to [1]\n\nwhen flag clicked\nset [y vel v] to [0]\nset [x vel v] to [0]\nset [max players v] to [10]\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (0)\nhide\nSetup clones\n\ndefine Update decoder\nif <(Clone id) = [1]> then\n    set [value v] to (☁ Player 1)\nelse\n    if <(Clone id) = [2]> then\n        set [value v] to (☁ Player 2)\n    else\n        if <(Clone id) = [3]> then\n            set [value v] to (☁ Player 3)\n        else\n            if <(Clone id) = [4]> then\n                set [value v] to (☁ Player 4)\n            else\n                if <(Clone id) = [5]> then\n                    set [value v] to (☁ Player 5)\n                else\n                    if <(Clone id) = [6]> then\n                        set [value v] to (☁ Player 6)\n                    else\n                        if <(Clone id) = [7]> then\n                            set [value v] to (☁ Player 7)\n                        else\n                            if <(Clone id) = [8]> then\n                                set [value v] to (☁ Player 8)\n                            else\n                                if <(Clone id) = [9]> then\n                                    set [value v] to (☁ Player 9)\n                                else\n                                    set [value v] to (☁ Player 10)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nif <[32] < (Costume #)> then\n    set [costume # v] to [22]\nelse\n    if <(Costume #) < [21]> then\n        set [costume # v] to [21]\n    else\n        change [costume # v] by (1)\n    end\nend\n\ndefine Add position to cloud\nif <not <(Clone id) = (PLAYER #)>> then\n    set [letter # v] to [1]\n    Update decoder\n    Begin decode of value\n    set x to (((Output) * (-1)) + (!SCROLL X))\n    replace item (((Clone id) * (2)) - (1)) of [player posotions v] with ((Output) * (-1))\n    Begin decode of value\n    set y to (((Output) * (-1)) + (!SCROLL Y))\n    replace item ((Clone id) * (2)) of [player posotions v] with ((Output) * (-1))\n    Begin decode of value\n    say (Output)\n    Begin decode of value\n    if <<[1.2] < (Output)> and <(Output) < [1.7]>> then\n    if <(Test value) = (join [A] (Value))> then\n        if <[20] < (Counter)> then\n            hide\n            replace item (Clone id) of [player status v] with [Offline]\n        else\n            change [counter v] by (1)\n            set [test value v] to (join [A] (Value))\n        end\n    else\n        set [counter v] to [0]\n        set [test value v] to (join [A] (Value))\n        show\n        replace item (Clone id) of [player status v] with [Online]\n    end\nelse\n    hide\nend\n\nBegin decode of value\n\nbroadcast (WIN!!!! :\) v)\n\nset [clone id v] to [1]\n\nwhen I receive [win!!!! :\) v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Thumbnail\n\nwhen [timer v] > (0.1)\nswitch backdrop to (game v)\nhide variable [players online v]\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nset [pixelate v] effect to (200)\nrepeat (50)\n    change [ghost v] effect by (-2)\n    change [pixelate v] effect by (-4)\nend\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\n
                                OUTLINED V0.1\n*WASD / ARROW KEYS / TAP to move\n*Avoid purple the spikes and try to get to the end as fast as possible\n*Play online with people from around the Earth\n*Explore the level seeing what all the different kinds of platforms do