✦Kippel's World v3.0.9 || A multiplayer scrolling platformer game #All #Trending #games ✦

Instructions: ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⫷⫸Kippel's World⫸⫸⠀⠀⠀⠀⠀⠀⠀⠀⠀\n✦→A ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ sᴄʀᴏʟʟɪɴɢ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ ɢᴀᴍᴇ←✦\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✦✦Iɴsᴛʀᴜᴄᴛɪᴏɴs✦✦⠀⠀⠀⠀⠀⠀⠀⠀⠀\n➥Added customize character ability \n➥Space for parachute\n➥Usᴇ ᴀʀʀᴏᴡ ᴋᴇʏs ᴛᴏ ᴍᴏᴠᴇ || Cᴏɴᴛʀᴏʟ sᴛɪᴄᴋ ᴀᴠᴀɪʟᴀʙʟᴇ!\n➥Iꜰ ᴏɴ ᴍᴏʙɪʟᴇ ᴛʜᴇɴ ᴜsᴇ ᴛʜᴇ ᴄᴏɴᴛʀᴏʟ sᴛɪᴄᴋ ᴛᴏ ᴍᴏᴠᴇ\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ✦✦Nᴏᴛᴇs✦✦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n➥Gᴏᴛ sᴏᴍᴇ ᴀʀᴛᴡᴏʀᴋ ɪᴅᴇᴀs ꜰʀᴏᴍ ʏᴏᴜᴛᴜʙᴇ || Fᴏʟʟᴏᴡ ᴍᴇ!\n➥Usᴇᴅ 3-4 ᴡᴇᴇᴋs ᴛᴏ ꜰɪɴɪsʜ ᴛʜɪs ɢᴀᴍᴇ\n➥Fɪɴᴅ ᴍᴇ ʜᴇʀᴇ - @Jɪʙʀᴀɴ_ʟᴀʙs || Lɪᴋᴇ ᴀɴᴅ Hᴇᴀʀᴛ ❤️/⭐\n➥MY TIMER : 57  || Full screen Recomended\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✦✦Cʀᴇᴅɪᴛs✦✦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n➥ @Gʀɪꜰꜰᴘᴀᴛᴄʜ @Jɪʙʀᴀɴ_ʟᴀʙs @TimMcCool \n➥ @-LeafFighter- @Jarvin36 @beckster05\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀✦✦Tags ✦✦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n➥ #All #Trending #games #Kippel's World \n***READ---> OK, now that you have read everything make sure to hit the like and fav button and be sure to follow me for more fun games!⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ◢◣◥◤◢◣◥◤◢◣ ◥◤◢◣◥◤◢◣◥◤◢◣◥◤

@Stage\n\nwhen flag clicked\nswitch backdrop to (sky2 v)\n\nwhen I receive [@@@ v]\nswitch backdrop to (sky v)\n\nwhen [timer v] > (⏱️ Timer)\nswitch backdrop to (sky v)\n\n@Blank\n\nwhen I receive [start game v]\nforever\n    play sound [8 Bit Street! Funky City Chiptune Game Music by HeatleyBros v] until done\nend\n\n@Font\n\n@Joining\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nwait (1) seconds\nhide\n\nwhen I receive [connecting v]\nswitch costume to (joining v)\nshow\n\nwhen I receive [connected v]\nshow\nswitch costume to (connected v)\ngo [forward v] (1322) layers\nplay sound [Connect v] until done\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [full v]\nswitch costume to (full  v)\nplay sound [Disconnect v] until done\nshow\n\nwhen I receive [stop things v]\nstop [other scripts in sprite v]\n\n@Others\n\nwhen I receive [begin v]\nset [names v] to [1]\nforever\n    Fix overlap\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 (player #) (join [:] (value)))\nelse\n    say []\nend\nvalue = read from encoded\nvalue = read from encoded\nset x to ((value) - (SCROLL X))\nvalue = read from encoded\nset y to (((value) - (SCROLL Y)) + (8))\nvalue = read from encoded\nbroadcast (Decode Chat v)\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 [stop things v]\nstop [other scripts in sprite v]\n\ndefine Fix overlap\nif <<([abs v] of (y position) ) > [140]> or <([abs v] of (x position) ) > [200]>> then\n    go to [front v] layer\n    move (-52.6) steps\n    switch costume to (arrow v)\n    point towards (player v)\n    set rotation style [all around v]\nelse\n    switch costume to (normal v)\n    set rotation style [don't rotate v]\nend\n\nif on edge, bounce\n\n@Player\n\nwhen I receive [begin v]\nset [chat v] to [0]\nshow list [chat v]\nforever\n    Chat\nend\n\nwhen I receive [play game v]\nset [connected? v] to [0]\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\nwhen I receive [green flag 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)?> 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 <key (w v) pressed?>> or <(STICK Y) > [0.3]>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-18]\n        else\n            set [sx v] to [18]\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\nwhen flag clicked\npoint in direction (90)\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\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 Game On\nset [y v] to [0]\nset [x v] to [0]\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    broadcast (lose life v)\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\nif <touching (gears v)?> then\n    broadcast (lose life v)\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\n\ndefine Game - Die\nclear graphic effects\nset [exit v] to []\nstart sound [Oops v]\nset [set v] to [Hide]\nrepeat (20)\n    change [ghost v] effect by (8)\nend\nset [set v] to [Show]\n\ndefine Game - Win\nstart sound [Teleport2 v]\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\ngo [forward v] (1) layers\nhide\nset [ghost v] effect to (100)\nset size to (100) %\npoint in direction (90)\nchange [level v] by (1)\nwait (1) seconds\nshow\n\ndefine Tick\nif <not <key (any v) pressed?>> then\n    switch costume to (normal v)\nend\nif <<(STICK X) < [-0.3]> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    change [sx v] by (-2)\n    if <(jetpack?) = [0]> then\n        switch costume to (left v)\n    end\nend\nif <<(STICK X) > [0.3]> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    change [sx v] by (2)\n    if <(jetpack?) = [0]> then\n        switch costume to (right v)\n    end\nend\nif <<<(STICK Y) > [0.3]> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<(STICK X) < [-0.3]> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n    if <(jetpack?) = [0]> then\n        switch costume to (left up v)\n    end\nend\nif <<<(STICK Y) > [0.3]> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<(STICK X) > [0.3]> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n    if <(jetpack?) = [0]> then\n        switch costume to (right up 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 <<(STICK Y) > [0.3]> 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) > [-20]> then\n    change [sy v] by (-2)\nend\nChange Player y by (sy)\nTest - Die\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll x v] by (round (((x) - (SCROLL X)) / (5)))\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\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 (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 v] to [1]\n        say [Hi!]\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 [Bye!]\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 [Yes]\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 [Help Please!]\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 [No]\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 [This Way!]\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 [Lol!]\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 [I Am Lagging :\(]\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 [Got To Go!]\n                                        wait (2) seconds\n                                        say []\n                                        set [chat words v] to [0]\n                                    else\n                                        set [chat words v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\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]\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) > []>\n            Tick\n            broadcast (Tick v)\n        end\n        if <(EXIT) = [win]> then\n            Game - Win\n        else\n            Game - Die\n        end\n    end\nend\n\nwhen I receive [connected v]\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        set [sy v] to [0]\n        set [jetpack? v] to [1]\n        switch costume to (3b v)\n    else\n        set [jetpack? v] to [0]\n    end\nend\n\nwhen I receive [stop things v]\nstop [other scripts in sprite v]\n\nwhen I receive [{._.} v]\nhide\nset [max players v] to [8]\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)\nelse\n    if <(username) = []> then\n        broadcast (no username v)\n    end\n    broadcast (Full v)\nend\nbroadcast (Begin v)\n\nwhen I receive [...win v]\nhide\ngo to [back v] layer\n\nwhen I receive [begin v]\nswitch costume to (up v)\nforever\n    set volume to (10000) %\n    if <key (up arrow v) pressed?> then\n        if <(in air) < [4]> then\n            play sound [Jump v] until done\n        end\n    end\nend\n\ndefine show health bar (health) of (max) offset y (y)\nadd (x position) to [healths v]\nadd ((y position) + (y)) to [healths v]\nadd ((health) / (max)) to [healths v]\ncreate clone of (health bar v)\n\nwhen I receive [play game v]\nset [set v] to [Show]\nset [_health v] to [10]\nforever\n    if <(Connected?) = [1]> then\n        if <(set) = [Show]> then\n            show health bar (_health) of [10] offset y [25]\n            if <(EXIT) = [die]> then\n                change [_health v] by (-1)\n            end\n            if <(_health) = [0]> then\n                set [_health v] to [10]\n                broadcast (stop things v)\n                Test - Die\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(COLOR) = [Orange]> then\n        set [color v] effect to (95)\n    else\n        if <(COLOR) = [Yellow]> then\n            set [color v] effect to (110)\n        else\n            if <(COLOR) = [Green]> then\n                set [color v] effect to (130)\n            else\n                if <(COLOR) = [Light Blue]> then\n                    set [color v] effect to (175)\n                else\n                    if <(COLOR) = [Blue]> then\n                        set [color v] effect to (0)\n                    else\n                        if <(COLOR) = [Purple]> then\n                            set [color v] effect to (25)\n                        else\n                            if <(COLOR) = [Pink]> then\n                                set [color v] effect to (50)\n                            else\n                                if <(COLOR) = [Red]> then\n                                    set [color v] effect to (80)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Particle \n\ndefine Particles (#type)\nset [#type v] to (#type)\nrepeat (pick random (12) to (20))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nSetup\nif <(#type) = [1]> then\n    go to (mouse-pointer v)\n    go to [front v] layer\n    show\n    repeat until <[99] < (@Duration)>\n        move (_vel) steps\n        change size by ((_vel) / (2.5))\n        change y by (Height)\n        change [height v] by ((([abs v] of ((Height) * (Height)) ) / ((Height) * (8))) * (-2))\n        set [_vel v] to ((_vel) * (0.9))\n        change [ghost v] effect by (2.5)\n        change [@duration v] by (2.5)\n    end\n    delete this clone\nend\nif <(#type) = [2]> then\n    go to [front v] layer\n    repeat until <[99] < (@Duration)>\n        move (_vel) steps\n        change size by ((_vel) / (2.5))\n        change y by (Height)\n        change [height v] by ((([abs v] of ((Height) * (Height)) ) / ((Height) * (5))) * (-0.2))\n        set [_vel v] to ((_vel) * (0.2))\n        change [ghost v] effect by (2.5)\n        change [@duration v] by (2.5)\n    end\n    delete this clone\nend\nif <(#type) = [3]> then\n    go to [front v] layer\n    repeat until <[99] < (@Duration)>\n        move (_vel) steps\n        change size by ((_vel) / (2.5))\n        change y by (Height)\n        change [height v] by (-0.7)\n        set [_vel v] to ((_vel) * (0.9))\n        change [ghost v] effect by (2.5)\n        change [@duration v] by (2.5)\n    end\n    delete this clone\nend\n\ngo to (mouse-pointer v)\n\ndefine Setup\nset [@duration v] to [0]\nset size to (pick random (pick random (1) to (50)) to (pick random (25) to (75))) %\nset [ghost v] effect to (pick random (1) to (pick random (1) to (45)))\nset [brightness v] effect to (pick random (pick random (-1) to (-25)) to (pick random (1) to (25)))\nswitch costume to (middle v)\npoint in direction (pick random (0) to (360))\nset [height v] to (pick random (2) to (5))\nset [_vel v] to (pick random (5) to (7))\ngo to [front v] layer\nshow\nstop [this script v]\n\nwhen I receive [lose life v]\ngo to (player v)\nrepeat (3)\n    Particles [3]\nend\n\nwhen flag clicked\nforever\n    if <(COLOR) = [Orange]> then\n        set [color v] effect to (95)\n    else\n        if <(COLOR) = [Yellow]> then\n            set [color v] effect to (110)\n        else\n            if <(COLOR) = [Green]> then\n                set [color v] effect to (130)\n            else\n                if <(COLOR) = [Light Blue]> then\n                    set [color v] effect to (175)\n                else\n                    if <(COLOR) = [Blue]> then\n                        set [color v] effect to (0)\n                    else\n                        if <(COLOR) = [Purple]> then\n                            set [color v] effect to (25)\n                        else\n                            if <(COLOR) = [Pink]> then\n                                set [color v] effect to (50)\n                            else\n                                if <(COLOR) = [Red]> then\n                                    set [color v] effect to (80)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Chat Button\n\nwhen I receive [tick v]\nif <touching (mouse-pointer v)?> then\n    repeat until <(size) > [119]>\n        change [size v] by (.9)\n        change size by (size)\n    end\n    if <mouse down?> then\n        broadcast (Chat Open v)\n        hide\n        wait until <not <mouse down?>>\n    end\nelse\n    repeat until <(size) < [101]>\n        set [size v] to [-.8]\n        change [size v] by (-.9)\n        change size by (size)\n    end\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\ngo to [front v] layer\nhide\ngo to x: (0) y: (0)\nchange [ghost v] effect by (100)\n\nwhen flag clicked\ngo to x: (193) y: (-120)\nset size to (100) %\n\nwhen I receive [stop things v]\nstop [other scripts in sprite v]\n\n@Chat\n\nwhen I receive [tick v]\nif <(Chat) = [1]> then\n    go to [front v] layer\n    show\nelse\n    hide\nend\nif <key (space v) pressed?> then\n    broadcast (Chat Close v)\n    hide\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen flag clicked\nhide\nforever\n    go to x: (0) y: (([cos v] of ((timer) * (100)) ) * (10))\nend\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 [stop things v]\nstop [other scripts in sprite v]\n\n@Control Stick\n\nwhen flag clicked\nset [.mobilr=e v] to [false]\nhide\n\nwhen I start as a clone\nswitch costume to (stick v)\ngo [forward v] (1) layers\nset [ghost v] effect to (25)\nforever\n    go to [front v] layer\n    set [stick power v] to []\n    set [stick x v] to [0]\n    set [stick y v] to [0]\n    repeat until <mouse down?>\n        go to (myself)\n    end\n    if <(distance to [mouse-pointer v]) < ((size) * (0.4))> then\n        Stick Drag\n    else\n        wait until <not <mouse down?>>\n    end\nend\n\ndefine Stick Drag\nrepeat until <not <mouse down?>>\n    go to (mouse-pointer v)\n    point towards (myself)\n    turn right (180) degrees\n    set [stick direction v] to (direction)\n    set [stick power v] to (distance to [(myself) v])\n    if <(STICK POWER) > (max stick)> then\n        move ((max stick) - (STICK POWER)) steps\n        set [stick power v] to (max stick)\n    end\n    set [stick power v] to ((STICK POWER) / (max stick))\n    set [stick x v] to ((STICK POWER) * ([sin v] of (STICK DIRECTION) ))\n    set [stick y v] to ((STICK POWER) * ([cos v] of (STICK DIRECTION) ))\nend\n\nwhen I receive [begin v]\nif <(.mobilr=e) = [true]> then\n    show\n    go to [front v] layer\n    set [myself v] to [Control Stick]\n    set size to (140) %\n    set [max stick v] to ((size) / (4))\n    switch costume to (base v)\n    set [ghost v] effect to (60)\n    create clone of (_myself_ v)\nelse\n    hide\nend\n\n@DANGER\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Danger: x) - (SCROLL X)) ((Danger: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\ngo to x: (0) y: (0)\nset [danger: x v] to [0]\nset [danger: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 1 v)\n                    Clone at x: [460] y: [0]\n                    Clone at x: [460] y: [0]\n                    Clone at x: [460] y: [0]\n                    Clone at x: [460] y: [0]\n                    Clone at x: [460] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        switch costume to (level 6 1 v)\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(round (x)) = (round (x position))> and <(round (y)) = (round (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 [danger: x v] by (x)\nchange [danger: y v] by (y)\nnext costume\n\nwhen I start as a clone\nforever\n    go [backward v] (1) layers\nend\n\n@Collectables\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\nPosition ((Collectables: x) - (SCROLL X)) ((([cos v] of ((timer) * (100)) ) * (10)) + ((Collectables: y) - (SCROLL Y)))\nif <touching (player v)?> then\n    start sound [Coin v]\n    change [collected v] by (1)\n    change [total coins v] by (1)\n    if <(COLLECTED) = (COLLECTED MAX)> then\n        broadcast (Open Portal v)\n    end\n    delete this clone\nend\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nhide variable [total coins v]\nset [collected max v] to [0]\nset [collectables: x v] to [0]\nset [collectables: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [110] y: [0]\n    Clone at x: [500] y: [-60]\n    Clone at x: [200] y: [-60]\n    Clone at x: [340] y: [-60]\n    Clone at x: [900] y: [90]\n    Clone at x: [680] y: [0]\n    Clone at x: [1072] y: [-15]\n    Clone at x: [1206] y: [35]\n    Clone at x: [1081] y: [118]\nelse\n    if <(LEVEL) = [2]> then\n        Clone at x: [196] y: [-16]\n        Clone at x: [410] y: [23]\n        Clone at x: [511] y: [90]\n        Clone at x: [670] y: [80]\n        Clone at x: [788] y: [190]\n        Clone at x: [980] y: [60]\n        Clone at x: [867] y: [90]\n        Clone at x: [1234] y: [100]\n        Clone at x: [1350] y: [100]\n    else\n        if <(LEVEL) = [3]> then\n            Clone at x: [113] y: [30]\n            Clone at x: [250] y: [40]\n            Clone at x: [400] y: [-40]\n            Clone at x: [469] y: [0]\n            Clone at x: [550] y: [-40]\n            Clone at x: [714] y: [-66]\n            Clone at x: [837] y: [9]\n            Clone at x: [974] y: [9]\n            Clone at x: [1226] y: [30]\n            Clone at x: [1545] y: [-60]\n        else\n            if <(LEVEL) = [4]> then\n                Clone at x: [183] y: [27]\n                Clone at x: [340] y: [27]\n                Clone at x: [530] y: [27]\n                Clone at x: [738] y: [27]\n                Clone at x: [1124] y: [27]\n                Clone at x: [1334] y: [27]\n                Clone at x: [1564] y: [-30]\n                Clone at x: [1627] y: [90]\n                Clone at x: [2470] y: [-50]\n            else\n                if <(LEVEL) = [5]> then\n                    Clone at x: [189] y: [50]\n                    Clone at x: [375] y: [60]\n                    Clone at x: [432] y: [170]\n                    Clone at x: [759] y: [230]\n                    Clone at x: [958] y: [160]\n                    Clone at x: [1078] y: [140]\n                    Clone at x: [1340] y: [120]\n                    Clone at x: [1341] y: [-50]\n                end\n            end\n        end\n    end\nend\nset [collectables: 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\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: [1336] y: [19]\nClone at x: [1441] y: [19]\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen I start as a clone\nforever\n    next costume\nend\n\ndefine Clone at x: (x) y: (y)\nset [collectables: x v] to (x)\nset [collectables: y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\n\nwhen I start as a clone\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [470] y: [0]\n    Clone at x: [470] y: [0]\n    Clone at x: [470] y: [0]\n    Clone at x: [470] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                Clone at x: [460] y: [0]\n                wait (0.1) seconds\n                Clone at x: [460] y: [0]\n                wait (0.1) seconds\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n            else\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(round (x)) = (round (x position))> and <(round (y)) = (round (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)\nnext costume\n\nwhen I start as a clone\ngo [forward v] (3) layers\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [5]> then\n        broadcast (...win v)\n    end\nend\n\n@Gears\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nforever\n    point in direction ((90) + (([sin v] of ((Name) * (1.5)) ) * (300)))\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    change [name v] by (1)\nend\n\nwhen I receive [tick v]\nPosition ((Gears: x) - (SCROLL X)) ((Gears: y) - (SCROLL Y))\n\ndefine Clone x: (x) y: (y)\nset [gears: x v] to (x)\nset [gears: y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\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\nwhen I receive [setup v]\nhide\nset [gears: y v] to [0]\nset [gears: x v] to [0]\nif <(LEVEL) = [3]> then\n    Clone x: [10] y: [100]\n    Clone x: [350] y: [100]\nelse\n    if <(LEVEL) = [4]> then\n        Clone x: [1150] y: [-90]\n        Clone x: [2291] y: [-110]\n        Clone x: [2470] y: [70]\n    else\n    end\nend\nset [gears: y v] to [-99999999999]\n\n@Landskape\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [470] y: [0]\n    Clone at x: [470] y: [0]\n    Clone at x: [470] y: [0]\n    Clone at x: [470] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                Clone at x: [460] y: [0]\n                wait (0.1) seconds\n                Clone at x: [460] y: [0]\n                wait (0.1) seconds\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n            else\n                if <(LEVEL) = [5]> then\n                else\n                    if <(LEVEL) = [6]> then\n                    end\n                end\n            end\n        end\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 [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nwhen I start as a clone\ngo [forward v] (3) layers\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [5]> then\n        broadcast (...win v)\n    end\nend\n\n@Exit\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Exit: x) - (SCROLL X)) ((Exit: y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [win]\nend\n\nwhen I receive [setup v]\nhide\nset [exit: x v] to [0]\nset [exit: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (closed v)\n    Clone at x: [2000] y: [-68]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (closed v)\n        Clone at x: [1900] y: [-68]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (closed v)\n            Clone at x: [2000] y: [-68]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (closed v)\n                Clone at x: [2700] y: [-68]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (closed v)\n                    Clone at x: [1820] y: [-30]\n                else\n                    if <(LEVEL) = [6]> then\n                        switch costume to (closed v)\n                        Clone at x: [6500] y: [0]\n                    end\n                end\n            end\n        end\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)\nset [exit: x v] to (x)\nset [exit: y v] to (y)\n\nwhen I receive [open portal v]\nstart sound [Teleport v]\n\nwhen I start as a clone\n\nwhen flag clicked\nforever\n    repeat until <(costume [number v]) = [5]>\n        next costume\n        wait (0.03) seconds\n    end\n    repeat until <(costume [number v]) = [1]>\n        switch costume to ((costume [number v]) - (1))\n        wait (0.03) seconds\n    end\nend\n\n@Colors (Player)\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\nrepeat ((([sin v] of (timer \(e\)) ) * (4)) + (50))\n    create clone of (_myself_ v)\n    next costume\nend\nswitch costume to (check mark v)\ngo to x: (30) y: (0)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nforever\n    if <(change open?) = [y]> then\n        show\n    else\n        hide\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((125) - (size)) / (5))\n        set [brightness v] effect to (25)\n        if <mouse down?> then\n            if <(change open?) = [y]> then\n                set [x pos v] to (x position)\n                set [color v] to (color)\n            end\n        end\n    else\n        change size by (((100) - (size)) / (5))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    if <(costume [number v]) = [1]> then\n        go to x: (-120) y: (0)\n        set [z unique v] to [4]\n        set [color v] to [Blue]\n    end\n    if <(costume [number v]) = [2]> then\n        go to x: (-90) y: (0)\n        set [z unique v] to [3]\n        set [color v] to [Orange]\n    end\n    if <(costume [number v]) = [3]> then\n        go to x: (-60) y: (0)\n        set [z unique v] to [4]\n        set [color v] to [Yellow]\n    end\n    if <(costume [number v]) = [4]> then\n        go to x: (-30) y: (0)\n        set [z unique v] to [3]\n        set [color v] to [Green]\n    end\n    if <(costume [number v]) = [5]> then\n        go to x: (0) y: (0)\n        set [z unique v] to [4]\n        set [color v] to [Light Blue]\n    end\n    if <(costume [number v]) = [6]> then\n        go to x: (30) y: (0)\n        set [z unique v] to [3]\n        set [color v] to [Red]\n    end\n    if <(costume [number v]) = [7]> then\n        go to x: (60) y: (0)\n        set [z unique v] to [4]\n        set [color v] to [Purple]\n    end\n    if <(costume [number v]) = [8]> then\n        go to x: (90) y: (0)\n        set [z unique v] to [3]\n        set [color v] to [Pink]\n    end\n    change [timer \(e\) v] by (1)\n    if <(costume [number v]) = [9]> then\n        set x to (X POS)\n        set y to (0)\n    end\nend\n\nwhen flag clicked\nset [x pos v] to [30]\nset [variable v] to [3]\nrepeat (50)\n    set [color v] to [Blue]\nend\n\nwhen I receive [tick v]\n\nwhen flag clicked\nset [color v] to [Red]\n\n@Button7\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (2))\n    else\n        change size by (((50) - (size)) / (2))\n    end\nend\n\nwhen this sprite clicked\nstart sound [Click v]\nbroadcast (close all XD v)\nhide\n\nwhen I receive [help? v]\nshow\n\nwhen I receive [...help v]\nshow\n\nwhen I receive [...credits v]\nshow\n\nwhen I receive [...level v]\nshow\n\n@Back\n\nwhen I receive [begin v]\nshow\nforever\n    go to [back v] layer\n    go to x: ((((SCROLL X) * (-0.5)) mod (480)) - (240)) y: ((SCROLL Y) * (-0.5))\nend\n\nwhen flag clicked\nhide\n\n@Score &Time\n\nwhen I receive [second v]\nif <<<(last) = [0]> or <(last) = [1]>> and <not <(last) = [2]>>> then\n    if <not <(second) = [59]>> then\n        change [second v] by (1)\n    else\n        broadcast (minute v)\n        set [second v] to [0]\n    end\nend\n\nwhen I receive [start game v]\nset [. v] to [0]\nset [second v] to [0]\nset [minute v] to [0]\nset [time v] to [0]\nforever\n    if <(.ss) = [1]> then\n        if <not <(.) = [9]>> then\n            change [. v] by (1)\n            wait (0.05) seconds\n        else\n            broadcast (second v)\n            set [. v] to [0]\n        end\n    end\nend\n\nwhen I receive [minute v]\nif <<<(last) = [0]> or <(last) = [1]>> and <not <(last) = [2]>>> then\n    change [minute v] by (1)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nwait (0.5) seconds\nbroadcast (Start Game v)\nshow\nstop [this script v]\n\nwhen I receive [start game v]\nset [.ss v] to [0]\nforever\n    set [. v] to [0]\n    if <<key (any v) pressed?> or <(STICK POWER) > [0.1]>> then\n        set [.ss v] to [1]\n        stop [this script v]\n    end\nend\n\n@End\n\nwhen flag clicked\nhide\nset [level v] to [0]\nforever\n    if <(LEVEL) = [5]> then\n        broadcast (stop things v)\n        start sound [recording1 v]\n        set [win move v] to [15]\n        switch costume to (end v)\n        go to [front v] layer\n        show\n        go to x: (0) y: (0)\n        repeat ((Win move) * (2))\n            go [forward v] (10000000) layers\n            go to x: (pick random ((Win move) - ((Win move) * (2))) to (Win move)) y: (pick random ((Win move) - ((Win move) * (2))) to (Win move))\n            change [win move v] by (-0.5)\n        end\n        go to [front v] layer\n        stop [this script v]\n    else\n        set [win move v] to [30]\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Time - Minute\n\nwhen I receive [start game v]\nwait (0.1) seconds\nsetup\n\nwhen I start as a clone\nshow\nforever\n    if <(minute) > [9]> then\n        change costume to (join [a] (letter (.index) of (minute)))\n    else\n        change costume to (join [a] (letter (.index) of (join [0] (minute))))\n    end\n    if <(minute) > [9]> then\n        set x to ((((.index) - (0.5)) - ((length of (minute)) / (2))) * ((size) / (5.88235294118)))\n    else\n        set x to ((((.index) - (0.5)) - ((length of (join [0] (minute))) / (2))) * ((size) / (5.88235294118)))\n    end\n    change x by (137)\n    change size by ((0.2) * ((100) - (size)))\nend\n\ndefine setup\nhide\ngo to x: (145) y: (152)\nset [.index v] to [1]\nrepeat (2)\n    create clone of (_myself_ v)\n    change x by ((size) / (5.88235294118))\n    change [.index v] by (1)\nend\n\ndefine change costume to (costume)\nif <not <(costume) = (costume [name v])>> then\n    switch costume to (costume)\n    set size to (120) %\nend\n\nchange [minute v] by (-1)\n\nwhen I receive [start game v]\ndelete this clone\n\n@Time - .\n\nwhen I receive [start game v]\nwait (0.1) seconds\nsetup\n\nwhen I start as a clone\nshow\nforever\n    change costume to (join [a] (letter (.index) of (.)))\n    set x to ((((.index) - (0.5)) - ((length of (.)) / (2))) * ((size) / (5.88235294118)))\n    change x by (213)\n    change size by ((0.2) * ((100) - (size)))\nend\n\ndefine setup\nhide\ngo to x: (175) y: (152)\nset [.index v] to [1]\nrepeat (2)\n    create clone of (_myself_ v)\n    change x by ((size) / (5.88235294118))\n    change [.index v] by (1)\nend\n\ndefine change costume to (costume)\nif <not <(costume) = (costume [name v])>> then\n    switch costume to (costume)\n    set size to (120) %\nend\n\nchange [. v] by (1)\n\nwhen I receive [start game v]\ndelete this clone\n\n@Time - Second\n\nwhen I receive [start game v]\nwait (0.1) seconds\nsetup\n\nwhen I start as a clone\nshow\nforever\n    if <(second) > [9]> then\n        change costume to (join [a] (letter (.index) of (second)))\n    else\n        change costume to (join [a] (letter (.index) of (join [0] (second))))\n    end\n    if <(second) > [9]> then\n        set x to ((((.index) - (0.5)) - ((length of (second)) / (2))) * ((size) / (5.88235294118)))\n    else\n        set x to ((((.index) - (0.5)) - ((length of (join [0] (second))) / (2))) * ((size) / (5.88235294118)))\n    end\n    change x by (182)\n    change size by ((0.2) * ((100) - (size)))\nend\n\ndefine setup\nhide\ngo to x: (175) y: (152)\nset [.index v] to [1]\nrepeat (2)\n    create clone of (_myself_ v)\n    change x by ((size) / (5.88235294118))\n    change [.index v] by (1)\nend\n\ndefine change costume to (costume)\nif <not <(costume) = (costume [name v])>> then\n    switch costume to (costume)\n    set size to (120) %\nend\n\nchange [second v] by (1)\n\nwhen I receive [start game v]\ndelete this clone\n\n@Sprite5\n\nwhen this sprite clicked\nchange size by (((50) - (size)) / (2))\nset [.mobilr=e v] to [False]\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\nwhen I receive [@@@ v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n    else\n        change size by (((100) - (size)) / (2))\n    end\nend\n\nwhen I receive [@hide intro v]\nhide\n\n@Sprite1\n\nwhen this sprite clicked\nchange size by (((50) - (size)) / (2))\nbroadcast (@Hide intro v)\n\nwhen flag clicked\nhide\n\nwhen I receive [@hide intro v]\nhide\n\nwhen I receive [@@@ v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n    else\n        change size by (((100) - (size)) / (2))\n    end\nend\n\n@TB\n\nwhen [timer v] > (⏱️ Timer)\nwait (0.1) seconds\nshow\nset size to (200) %\nset [ghost v] effect to (100)\nrepeat (100)\n    change size by (((size) - (100)) / (-3))\n    change [ghost v] effect by (-10)\n    change size by (((size) - (100)) / (-8))\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nreset timer\nforever\n    set [⏱️ timer v] to (timer)\nend\n\nwhen I receive [{._.} v]\nclear graphic effects\nrepeat (100000)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen I receive [@hide intro v]\nshow\nset [level v] to [Loading...]\nset [ghost v] effect to (0)\nswitch costume to (tb v)\nforever\n    go to [back v] layer\nend\n\nwhen [timer v] > (⏱️ Timer)\ngo to [front v] layer\nforever\n    switch costume to (thumbnail v)\n    go to x: (0) y: (0)\nend\n\nwhen I receive [@@@ v]\nshow\nswitch costume to (tb v)\ngo to x: (153) y: (0)\nforever\n    go to [back v] layer\n    if <(costume [name v]) = [TB]> then\n        set x to ((((Name) * (-3)) mod (480)) - (240))\n    end\nend\n\nwhen I receive [_hide v]\nclear graphic effects\nrepeat (100000)\n    change [ghost v] effect by (5)\nend\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nchange size by (((50) - (size)) / (2))\nset [.mobilr=e v] to [true]\n\nwhen I receive [@hide intro v]\nhide\n\nwhen I receive [@@@ v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n    else\n        change size by (((100) - (size)) / (2))\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [@hide intro v]\nhide\n\nwhen I receive [@@@ v]\nset size to (0) %\nshow\ngo to [back v] layer\nforever\n    change size by (((100) - (size)) / (2))\nend\n\n@Button2\n\nwhen flag clicked\ngo to x: (0) y: (-100)\n\nwhen this sprite clicked\nchange size by (((95) - (size)) / (4))\nbroadcast (...help v)\nplay sound [Click v] until done\n\nwhen I receive [aaabbbccc v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [@hide intro v]\nshow\nset size to (0) %\ngo to x: (-118) y: (-60)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        switch costume to (button3-b2 v)\n    else\n        change size by (((100) - (size)) / (2))\n        switch costume to (button3-b v)\n    end\nend\n\ndefine logo float\nchange [y thing v] by (4)\nchange y by (([sin v] of (y thing) ) / (2))\n\n@Button4\n\nwhen flag clicked\ngo to x: (0) y: (-50)\n\nwhen this sprite clicked\nchange size by (((95) - (size)) / (4))\nbroadcast (...level v)\nplay sound [Click v] until done\n\nwhen I receive [aaabbbccc v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [@hide intro v]\nshow\nset size to (0) %\ngo to x: (-117) y: (-9)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        switch costume to (button3-b2 v)\n    else\n        change size by (((100) - (size)) / (2))\n        switch costume to (button3-b v)\n    end\nend\n\nlogo float\n\ndefine logo float\nchange [y thing v] by (4)\nchange y by (([sin v] of (y thing) ) / (2))\n\n@Button3\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen this sprite clicked\nstart sound [click v]\nchange size by (((95) - (size)) / (4))\nbroadcast (aaabbbccc v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [@hide intro v]\nset [_ v] to [0]\nshow\nset size to (0) %\ngo to x: (-117) y: (40)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        switch costume to (play v)\n    else\n        change size by (((100) - (size)) / (2))\n        switch costume to (play hover v)\n    end\nend\n\nwhen I receive [@hide intro v]\nrepeat until <(Connected?) = [1]>\n    play sound [Title Begin v] until done\nend\n\nwhen I receive [connected v]\nstop [other scripts in sprite v]\n\n@Button6\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen this sprite clicked\nset [_ v] to [true]\nstart sound [Start v]\nchange size by (((95) - (size)) / (4))\nbroadcast ({._.} v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [aaabbbccc v]\nset [_ v] to [0]\nshow\nset size to (0) %\ngo to x: (-117) y: (25)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        switch costume to (play v)\n    else\n        change size by (((100) - (size)) / (2))\n        switch costume to (play hover v)\n    end\nend\n\nlogo float\n\ndefine logo float\nchange [y thing v] by (4)\nchange y by (([sin v] of (y thing) ) / (2))\n\nwhen I receive [@hide intro v]\nrepeat until <(_) = [true]>\n    play sound [Title intro v] until done\nend\n\nstop all sounds\n\nwhen this sprite clicked\nstop [other scripts in sprite v]\n\nwhen I receive [{._.} v]\nhide\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [_hide v]\nhide\n\n@Button5\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen this sprite clicked\nset [_ v] to [true]\nstart sound [Start v]\nchange size by (((95) - (size)) / (4))\nbroadcast (_hide v)\nbroadcast (Begin v)\nbroadcast (Connected v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [aaabbbccc v]\nset [_ v] to [0]\nshow\nset size to (0) %\ngo to x: (-117) y: (-40)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        switch costume to (play v)\n    else\n        change size by (((100) - (size)) / (2))\n        switch costume to (play hover v)\n    end\nend\n\nlogo float\n\ndefine logo float\nchange [y thing v] by (4)\nchange y by (([sin v] of (y thing) ) / (2))\n\nwhen I receive [@hide intro v]\nrepeat until <(_) = [true]>\n    play sound [Title intro v] until done\nend\n\nstop all sounds\n\nwhen this sprite clicked\nstop [other scripts in sprite v]\n\nwhen I receive [{._.} v]\nhide\n\nset [connected? v] to [1]\n\n@Bouncing icon\n\nwhen flag clicked\nhide\n\nwhen [timer v] > (⏱️ Timer)\nwait (0.15) seconds\nshow\nset size to (100) %\nset [ghost v] effect to (100)\ngo to x: (-300) y: (-148)\nchange x by (-100)\nforever\n    go to [front v] layer\n    change [ghost v] effect by (-10)\n    change x by (vel)\n    set [vel v] to (((vel) * (0.6)) + (((x position) - (-203)) * (-0.2)))\nend\n\nwhen [timer v] > (⏱️ Timer)\nforever\n    wait until <touching (mouse-pointer v)?>\n    repeat (10)\n        change [brightness v] effect by (5)\n    end\n    wait until <not <touching (mouse-pointer v)?>>\n    repeat (10)\n        change [brightness v] effect by (-5)\n    end\n    clear graphic effects\nend\n\nwhen [timer v] > (⏱️ Timer)\nforever\n    repeat until <touching (mouse-pointer v)?>\n        change size by (((size) - (100)) / (-4))\n    end\n    wait until <not <touching (mouse-pointer v)?>>\n    start sound [Boing v]\n    set size to (100) %\n    set [__stop_effect_size_vel v] to [20]\n    repeat (17)\n        change [__stop_effect_size_vel v] by (-2.5)\n        change size by (__stop_effect_size_vel)\n    end\nend\n\nwhen [timer v] > (⏱️ Timer)\nforever\n    go to [front v] layer\nend\n\n@health bar\n\nwhen flag clicked\nhide\ndelete all of [healths v]\n\nwhen I start as a clone\nset x to (item (1) of [healths v])\nset y to (item (2) of [healths v])\nswitch costume to ((10) * (item (3) of [healths v]))\ndelete (1) of [healths v]\ndelete (1) of [healths v]\ndelete (1) of [healths v]\nif <not <touching (_edge_ v)?>> then\n    go to [front v] layer\n    show\n    wait (0) seconds\nend\ndelete this clone\n\ndefine show health bar (health) of (max) offset y (y)\nadd (x position) to [healths v]\nadd ((y position) + (y)) to [healths v]\nadd ((health) / (max)) to [healths v]\ncreate clone of (health bar v)\n\nwhen I start as a clone\nforever\n    if <(EXIT) = [die]> then\n        go to [front v] layer\n        hide\n        wait (0) seconds\n        delete this clone\n    else\n        show\n    end\nend\n\n@Intro\n\nwhen flag clicked\nshow\nswitch costume to (intro v)\nrepeat (47)\n    wait (.05) seconds\n    next costume\nend\nbroadcast (@@@ v)\nhide\n\n@Bouncing icon2\n\nwhen flag clicked\nhide\n\nwhen [timer v] > (⏱️ Timer)\nwait (0.15) seconds\nshow\nset size to (100) %\nset [ghost v] effect to (100)\ngo to x: (0) y: (-200)\nchange y by (-100)\nforever\n    go to [front v] layer\n    change [ghost v] effect by (-10)\n    change y by (vel)\n    set [vel v] to (((vel) * (0.6)) + (((y position) - (0)) * (-0.2)))\nend\n\n@clock\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nshow\n\n@Help\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [...help v]\nshow\n\nwhen I receive [close all xd v]\nhide\n\n@High Scores\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [...level v]\nshow\n\nwhen I receive [close all xd v]\nhide\n\n@back (customize)\n\nwhen flag clicked\nhide\n\nwhen I receive [tick v]\nif <not <(shop open?) = [y]>> then\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (5))\n        if <mouse down?> then\n            set [change open? v] to [n]\n        end\n    else\n        change size by (((50) - (size)) / (5))\n        go to x: (114) y: (-156)\n    end\nend\nif <(change open?) = [y]> then\n    show\nelse\n    hide\nend\nif <(shop open?) = [y]> then\n    hide\nelse\nend\n\nwhen flag clicked\nset [shop open? v] to [n]\n\n@customize\n\nwhen flag clicked\ngo to x: (193) y: (-156)\nset [change open? v] to [0]\nset size to (50) %\n\nwhen I receive [tick v]\nshow\nif <not <<(change open?) = [y]> or <(shop open?) = [y]>>> then\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (5))\n        if <mouse down?> then\n            set [change open? v] to [y]\n        end\n    else\n        change size by (((50) - (size)) / (5))\n    end\nend\nif <(change open?) = [y]> then\n    hide\nelse\n    show\nend\nif <(shop open?) = [y]> then\n    hide\nend\n\nwhen flag clicked\nhide\n\n@cloud\n\nwhen flag clicked\nhide\n\nwhen I receive [connecting v]\ngo to x: (0) y: (150)\nshow\nset [ghost v] effect to (100)\nrepeat (30)\n    change [f v] by (1)\n    if <[29] < (f)> then\n        set [f v] to [1]\n    end\n    set size to (100) %\n    switch costume to (join [f] (f))\n    change [ghost v] effect by (-10)\n    change y by (((y position) - (30)) / (-4))\nend\nrepeat until <(connecting.status) = [3]>\n    change [f v] by (1)\n    if <[29] < (f)> then\n        set [f v] to [1]\n    end\n    switch costume to (join [f] (f))\nend\nrepeat (30)\n    change size by (((size) - (100)) / (-3))\n    change [f v] by (1)\n    if <[29] < (f)> then\n        set [f v] to [1]\n    end\n    switch costume to (join [f] (f))\n    change [ghost v] effect by (-10)\nend\nset [connecting.status v] to [6]\nrepeat (70)\n    change size by (((size) - (100)) / (-3))\n    change [f v] by (1)\n    if <[29] < (f)> then\n        set [f v] to [1]\n    end\n    switch costume to (join [f] (f))\n    change [ghost v] effect by (-10)\nend\nset [modus v] to [lobby]\nstart sound [wadasdalan woooooo v]\nhide\n\nwhen I receive [connected v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [@hide intro v]\nshow\n\nwhen I receive [{._.} v]\nhide\n\nwhen I receive [_hide v]\nhide\n\n