Powerups - A Platformer #games #All #Trending #parachute #doublejump #teleport #music #confetti #art

Instructions: ----------------------------------Powerups-----------------------------\nThis is made for @JackPigPro 's competition.\nREAD THE INSTRUCTIONS\nDOUBLE CLICK THE GREEN FLAG\nREAD THE COMMENTS BEFORE YOU REQUEST FOR SOLUTION FOR LEVELS\n\nCheck out my new game! https://scratch.mit.edu/projects/704970973/\n\nCheck out part 2!:\nhttps://scratch.mit.edu/projects/659373191/\n\n> What this game contains:\n   This game contains powerups such as double jumping, parachute, and teleportation. It involves parkour too.\n\n> Instructions:\n   Move with WASD or arrow keys.\n   Go to the end of the level to progress to the next level.\n   Collect powerups.\n   For double jump, press up twice. Use can also jump midair.\n   For parachute, hold space to slow fall.\n   For teleportation, press space to teleport once. There is a teleport cooldown. If you teleport and end up in a wall, you will die.\n   Press R to reset.\n   Press J to skip a level.\n\n> Cloud Highscore ☁️\n   To see the cloud highscore, click the green flag and click highscore. If you skip or go more than 40 fps, your score won't be recorded. New scratchers' scores won't be recorded. Try to beat the highscore!\n\n> Credits:\n   Music belongs to their rightful owners.\n   @Timmccool for the turbo mode sensor.\n   @mfyy (me) for everything else\n\n> You can slide the slider in the settings to change the volume of the in-game sounds and music.\n\n> Comment levels that you think are difficult and I might tell you how to finish it.\n\n> If you want Part 2, comment "Part 2" and state the powerup you want to add.\n\n> Yes, the parachute can be found.\n\n> Please like and favourite this project and follow me @mfyy. Add this to studios too.\n\n> Please tell me if there are any glitches and give me constructive feedback.\n\n> Switch powerups by pressing 1, 2, or 3.\n\n> Join my contest https://scratch.mit.edu/projects/632261655/\n\n> Hope you enjoy. Bye! :)\n\n> If you want to know clues on how to finish levels, look below.\n\n\n\n\n> Powerup list (Comment):\n1. Fly\n2. Invisibility\n3. Water\n4. Shooting\n5. Ghost\n6. Super speed\n7. Switch gravity\n8. Shrink \n9. Boomerang\n10. Laser\n11. Ice breath\n12. Shop\n13. Heat sensor\n14. Walljump\n15. Size Change\n16. Fire Ball\n\n\n> Tags:\n#games #All #Trending #parachute #doublejump #teleport #music #confetti #art #lava #bored #fun #mfyy #spikes #shadow #powerups #platformer\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n> Parachute is at Level 10. Jump into the spikes and you will see the secret tunnel. When you go inside it, turn left to get the parachute.\n\n> At level 5, fall through the platform and double jump. You can double jump mid-air. After that, just spam up.\n\n> At level 6, double jump over the spike first. After that, jump so that you're on the right of the little platform above the words. After that, double jump up to the little platform and go to the end of the level.\n\n> For level 12, you'll need the parachute found in level 10.\n\nI'm kinda busy with school now so part 2 won't be coming up so soon.\n\nTysm for the views and the likes.\n\n\n\n\n\n\n\n\n\n\n\n\nComment ":))" if you reached here.

@Stage\n\nwhen flag clicked\nforever\n    play sound (pick random (1) to (7)) until done\n    play sound (pick random (1) to (7)) until done\nend\n\nwhen [z v] key pressed\nstop all sounds\n\nwhen I receive [play v]\nforever\n    switch backdrop to (backdrop1 v)\n    set volume to (MUSIC) %\nend\n\n@tb\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    reset timer\nend\n\nset [level v] to [8]\n\n@Player\n\ndefine Platformer\nif <(SETTING) = [0]> then\n    switch costume to (clone v)\n    create clone of (_myself_ v)\n    switch costume to (0 v)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n        end\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n            end\n        end\n    end\n    if <touching (level v)?> then\n        change x by ((xv) * (-1))\n        change y by (-4)\n    end\n    if <(POWERUP) = [p]> then\n        if <<key (space v) pressed?> and <(yv) < [0]>> then\n            set [yv v] to [0]\n            change [yv v] by (-1)\n            set [para v] to [1]\n        else\n            set [para v] to [0]\n            change [yv v] by (-1)\n        end\n    else\n        set [para v] to [0]\n        change [yv v] by (-1)\n    end\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <(POWERUP) = [d]> then\n        if <touching (level v)?> then\n            set [djump v] to [0]\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [yv v] to [15]\n            end\n        else\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(djump) = [1]>> then\n                set [djump v] to [2]\n                set [yv v] to [15]\n                create clone of (djump v)\n            end\n        end\n    else\n        if <touching (level v)?> then\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [yv v] to [15]\n            end\n        end\n    end\n    change y by (1)\n    if <<not <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <(djump) = [0]>> then\n        set [djump v] to [1]\n    end\n    if <<(x position) > [240]> or <key (j v) pressed?>> then\n        broadcast (next level v)\n        hide\n        wait (1) seconds\n        reset\n    end\n    if <(POWERUP) = [t]> then\n        if <key (space v) pressed?> then\n            if <(RELOAD) = [0]> then\n                if <(xv) < [0]> then\n                    set [tele clone v] to [0]\n                else\n                    set [tele clone v] to [1]\n                end\n                create clone of (tele v)\n                start sound [Teleport2 v]\n                wait (0) seconds\n                if <(xv) < [0]> then\n                    change x by (-100)\n                else\n                    change x by (100)\n                end\n                set [reload v] to [3]\n            end\n        end\n        if <touching (level v)?> then\n            change x by (-1)\n            if <touching (level v)?> then\n                change x by (2)\n            end\n        end\n        get up 2 [50]\n    end\n    if <<<key (r v) pressed?> or <<<touching (dangers v)?> or <(y position) < [-182]>> or <touching (lava v)?>>> or <<touching (level v)?> and <(POWERUP) = [t]>>> then\n        if <<touching (level v)?> and <(POWERUP) = [t]>> then\n            change x by (-1)\n        end\n        costume\n        go to [front v] layer\n        start sound [Punch Sound Effect v]\n        set rotation style [all around v]\n        set [yv v] to [12]\n        change y by (yv)\n        repeat until <(y position) < [-182]>\n            change [yv v] by (-1)\n            turn left (4) degrees\n            change x by (-2)\n            change y by (yv)\n            change [ghost v] effect by (2)\n        end\n        hide\n        reset\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine costume\nif <(SETTING) = [0]> then\n    if <(para) = [0]> then\n        if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <not <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n            point in direction (-90)\n            switch costume to (1s v)\n        end\n        if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <not <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n            point in direction (90)\n            switch costume to (1s v)\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <not <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>>> then\n            point in direction (90)\n            switch costume to (left v)\n        end\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> and <not <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>>> then\n            point in direction (-90)\n            switch costume to (left v)\n        end\n        if <not <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>>> then\n            point in direction (90)\n            switch costume to (0 v)\n        end\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <not <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>>> then\n            point in direction (90)\n            switch costume to (1 v)\n        end\n    else\n        if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <not <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n            point in direction (-90)\n            switch costume to (ps v)\n        end\n        if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <not <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n            point in direction (90)\n            switch costume to (ps v)\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <not <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>>> then\n            point in direction (90)\n            switch costume to (p left v)\n        end\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> and <not <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>>> then\n            point in direction (-90)\n            switch costume to (p left v)\n        end\n        if <not <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>>> then\n            point in direction (90)\n            switch costume to (p v)\n        end\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <not <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>>> then\n            point in direction (90)\n            switch costume to (p1 v)\n        end\n    end\nend\n\ndefine reset\nset [xv v] to [0]\nset [reload v] to [0]\nset [yv v] to [0]\nset rotation style [left-right v]\nshow\nset [ghost v] effect to (100)\nset size to (100) %\ngo to x: (-194) y: (-59)\nswitch costume to (0 v)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        get up\n    end\nend\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        get up\n    end\nend\nset [ghost v] effect to (0)\n\nget up\nget up\nget up\nget up\n\n\n\nwhen I start as a clone\nrepeat (10)\n    if <(SETTING) = [0]> then\n        change size by (-6)\n        change [ghost v] effect by (10)\n    end\nend\ndelete this clone\n\nset [level v] to [18]\n\nset [can para v] to [1]\n\ndefine get up\nrepeat until <not <touching (level v)?>>\n    change y by (1)\nend\n\nset [level v] to [10]\n\nwhen flag clicked\nforever\n    change [reload v] by (-0.1)\n    if <(RELOAD) < [0]> then\n        set [reload v] to [0]\n    end\nend\n\nsay []\n\ndefine get up 2 (amount)\nif <touching (level v)?> then\n    repeat (amount)\n        change y by (1)\n        if <not <touching (level v)?>> then\n            stop [this script v]\n        end\n    end\nend\nif <touching (level v)?> then\n    change y by ((amount) * (-1))\nend\n\nset size to (100) %\ngo to x: (-194) y: (-59)\nswitch costume to (0 v)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        get up\n    end\nend\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        get up\n    end\nend\n\nwhen I receive [play v]\nshow\nset rotation style [left-right v]\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nset [can dj v] to [0]\nset [can para v] to [0]\ngo to [front v] layer\ngo [backward v] (4) layers\nreset\ngo to x: (-194) y: (-121)\nforever\n    Platformer\n    costume\nend\n\nwhen I receive [play v]\nforever\n    set volume to (VOLUME) %\nend\n\n@Level\n\nwhen flag clicked\n\ngo to [front v] layer\ngo [backward v] (1) layers\n\nset [level v] to [10]\n\nset [level v] to [3]\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\ngo to [front v] layer\ngo [backward v] (2) layers\nforever\n    switch costume to (LEVEL)\nend\n\nset [level v] to [24]\n\n@Dangers\n\nwhen flag clicked\n\nset [level v] to [8]\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\ngo to [front v] layer\ngo [backward v] (3) layers\nforever\n    switch costume to (LEVEL)\nend\n\n@djump\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nstart sound [Boing v]\ngo to (player v)\nshow\nrepeat (10)\n    change size by (-10)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    set volume to (VOLUME) %\nend\n\n@Next Level\n\nwhen I receive [next level v]\ngo to [front v] layer\nset size to (1) %\nshow\nswitch costume to (costume1 v)\nstart sound [High Whoosh v]\nrepeat until <(round (size)) = [87]>\n    change size by (((87) - (size)) / (5))\nend\nchange [level v] by (1)\nwait (0.5) seconds\nrepeat until <(round (size)) = [1]>\n    change size by (((1) - (size)) / (5))\nend\nhide\n\nwhen flag clicked\nhide\n\nrepeat (10)\n    change size by (10)\nend\n\ngo to [front v] layer\nshow\n\nset size to (90) %\n\ngo to [front v] layer\nset size to (1) %\nshow\nswitch costume to (costume1 v)\nstart sound [High Whoosh v]\n\nrepeat until <(round (size)) = [87]>\n    change size by (((87) - (size)) / (5))\nend\n\nwhen I receive [play v]\nforever\n    set volume to (VOLUME) %\nend\n\n@Lava\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\nset [timer v] to [0]\nforever\n    switch costume to (LEVEL)\n    change [timer v] by ((1) / (30))\n    set y to (([sin v] of ((timer) * (200)) ) * (6))\nend\n\n@powerups\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [xv v] to (pick random (3) to (2))\nset [yv v] to (pick random (-1) to (1))\nset [timer v] to [0]\nforever\n    if <(LEVEL) = (level#)> then\n        show\n        if <(costume [name v]) = [dj]> then\n            repeat until <touching (player v)?>\n                if <(LEVEL) = (level#)> then\n                    show\n                    change [yv v] by (-0.5)\n                    change y by (yv)\n                    if <<touching (level v)?> or <touching (_edge_ v)?>> then\n                        set [yv v] to ((yv) * (-0.9))\n                        change y by ((yv) * (1.1))\n                    end\n                    change x by (xv)\n                    if <<touching (level v)?> or <touching (_edge_ v)?>> then\n                        set [xv v] to ((xv) * (-1))\n                        change x by ((xv) * (1.1))\n                    end\n                else\n                    hide\n                end\n            end\n            start sound [Collect v]\n            set [powerup v] to [d]\n            set [can dj v] to [1]\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        else\n            if <(costume [name v]) = [para]> then\n                repeat until <touching (player v)?>\n                    if <(LEVEL) = (level#)> then\n                        show\n                    else\n                        hide\n                    end\n                end\n                start sound [Collect v]\n                set [powerup v] to [p]\n                set [can para v] to [1]\n                repeat (10)\n                    change [ghost v] effect by (10)\n                end\n                delete this clone\n            else\n                if <(costume [name v]) = [tele]> then\n                    repeat until <touching (player v)?>\n                        change [timer v] by ((1) / (30))\n                        change y by (([sin v] of ((timer) * (600)) ) * (2))\n                        if <(LEVEL) = (level#)> then\n                            show\n                        else\n                            hide\n                        end\n                    end\n                    start sound [Collect v]\n                    set [powerup v] to [t]\n                    set [can tele v] to [1]\n                    repeat (10)\n                        change [ghost v] effect by (10)\n                    end\n                    delete this clone\n                end\n            end\n        end\n    else\n        hide\n    end\nend\n\ndefine clone (x) (y) (level) (type)\ngo to x: (x) y: (y)\nset [level# v] to (level)\nswitch costume to (type)\ncreate clone of (_myself_ v)\n\nset [yv v] to ((yv) * (0.9))\nif <<touching (level v)?> or <touching (_edge_ v)?>> then\n    set [yv v] to ((yv) * (-1))\nend\n\nchange x by (xv)\n\nstart sound [Collect v]\nset [powerup v] to [d]\nset [can dj v] to [1]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nset [can para v] to [1]\n\nset [powerup v] to [t]\nset [can tele v] to [1]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [play v]\nclone [-8] [-91] [3] [dj]\nclone [-180] [-147] [10] [para]\nclone [-35] [-125] [18] [tele]\n\nwhen I receive [play v]\nforever\n    set volume to (VOLUME) %\nend\n\nwhen I start as a clone\nforever\n    set volume to (VOLUME) %\nend\n\n@Powerup\n\nwhen flag clicked\n\nwhen I start as a clone\nforever\n    if <(POWERUP) = (costume [name v])> then\n        go to [front v] layer\n        show\n        go to x: (-144) y: (120)\n        set [ghost v] effect to (50)\n    else\n        hide\n    end\nend\n\ndefine stuff\nswitch costume to ( v)\nrepeat (5)\n    next costume\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nswitch costume to ( v)\ngo to x: (-200) y: (120)\nset [ghost v] effect to (50)\n\nwhen I receive [play v]\nforever\n    if <key (0 v) pressed?> then\n        set [powerup v] to [n]\n    end\n    if <key (1 v) pressed?> then\n        if <(CAN DJ) = [1]> then\n            set [powerup v] to [d]\n        end\n    end\n    if <key (2 v) pressed?> then\n        if <(CAN PARA) = [1]> then\n            set [powerup v] to [p]\n        end\n    end\n    if <key (3 v) pressed?> then\n        if <(CAN TELE) = [1]> then\n            set [powerup v] to [t]\n        end\n    end\nend\n\nwhen I receive [play v]\nset [powerup v] to [n]\nset [can tele v] to [0]\nstuff\nforever\n    show\n    go to [front v] layer\n    go [backward v] (1) layers\n    switch costume to ( v)\n    go to x: (-200) y: (120)\n    set [ghost v] effect to (50)\nend\n\n@word\n\nwhen flag clicked\n\nwait until <(LEVEL) > [1]>\n\nwait until <(LEVEL) > [2]>\n\nwait until <(LEVEL) > [3]>\n\nwait until <(LEVEL) > [4]>\n\nwait until <(LEVEL) > [5]>\n\nwait until <(LEVEL) > [6]>\n\nwait until <(LEVEL) > [17]>\n\nwait until <(LEVEL) > [19]>\n\ndefine smooth to (x) (y) (amount)\nstart sound [High Whoosh v]\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    erase all\n    change x by (((x) - (x position)) / (amount))\n    change y by (((y) - (y position)) / (amount))\n    set [brightness v] effect to (80)\n    change y by (-5)\n    change x by (-5)\n    stamp\n    set [brightness v] effect to (0)\n    change y by (5)\n    change x by (5)\n    change [ghost v] effect by (-10)\nend\nset [brightness v] effect to (80)\nchange y by (-5)\nchange x by (-5)\nstamp\nset [brightness v] effect to (0)\nchange y by (5)\nchange x by (5)\n\nwhen flag clicked\nerase all\n\nerase all\n\nwhen flag clicked\nhide\n\nset [level v] to [10]\n\nwhen I receive [next level v]\nhide\nwait (1.4) seconds\nshow\nif <(LEVEL) = [1]> then\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    smooth to [0] [85] [5]\nend\nif <(LEVEL) = [2]> then\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    smooth to [0] [85] [5]\nend\nif <(LEVEL) = [3]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (130) y: (0)\n    smooth to [130] [85] [5]\nend\nif <(LEVEL) = [4]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (0) y: (0)\n    smooth to [0] [85] [5]\nend\nif <(LEVEL) = [5]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (0) y: (-200)\n    smooth to [0] [-100] [5]\nend\nif <(LEVEL) = [6]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (80) y: (-150)\n    smooth to [80] [-80] [5]\nend\nif <(LEVEL) = [7]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (0) y: (100)\n    smooth to [0] [130] [5]\nend\nif <(LEVEL) = [18]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (0) y: (0)\n    smooth to [0] [130] [5]\nend\nif <(LEVEL) = [19]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (0) y: (0)\n    smooth to [0] [130] [5]\nend\nif <(LEVEL) = [25]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (-84) y: (20)\n    smooth to [-84] [69] [5]\nend\nif <(LEVEL) = [26]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (0) y: (0)\n    smooth to [0] [78] [5]\nend\n\nif <(LEVEL) = [26]> then\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    go to x: (0) y: (78)\n    smooth to [0] [0] [5]\nend\n\nwhen I receive [play v]\nshow\nset [level# v] to [1]\nforever\n    go to [back v] layer\n    if <not <(level#) = (LEVEL)>> then\n        erase all\n        set [level# v] to (LEVEL)\n    end\nend\n\nwhen I receive [play v]\nswitch costume to (backdrop1 v)\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    smooth to [0] [85] [5]\n    wait until <not <(LEVEL) = [1]>>\n    stop [this script v]\nend\n\nwhen I receive [play v]\nforever\n    switch costume to (LEVEL)\nend\n\nwhen I receive [play v]\nforever\n    set volume to (VOLUME) %\nend\n\n@particle\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(costume [name v]) = [blue]> then\n    show\n    go to [back v] layer\n    set [ghost v] effect to (pick random (50) to (80))\n    go to x: (300) y: (pick random (-180) to (180))\n    glide (pick random (1) to (3)) secs to x: (-246) y: (pick random (-180) to (180))\n    delete this clone\nend\nif <not <(costume [name v]) = [blue]>> then\n    if < (costume [name v]) contains [cloudycloud]?> then\n        show\n        set [cos v] to (costume [name v])\n        set [ghost v] effect to (pick random (10) to (50))\n        switch costume to (big v)\n        if <(pick random (1) to (2)) = [2]> then\n            go to x: (-350) y: (pick random (75) to (155))\n            point in direction (90)\n        else\n            go to x: (350) y: (pick random (75) to (155))\n            point in direction (-90)\n        end\n        switch costume to (cos)\n        if <(x position) < [0]> then\n            repeat until <(x position) > [350]>\n                switch costume to (big v)\n                move (pick random (0.5) to (2)) steps\n                switch costume to (cos)\n            end\n        else\n            repeat until <(x position) < [-350]>\n                switch costume to (big v)\n                move (pick random (0.5) to (2)) steps\n                switch costume to (cos)\n            end\n        end\n        switch costume to (cos)\n        delete this clone\n    else\n        show\n        go to [back v] layer\n        set [ghost v] effect to (pick random (10) to (40))\n        set [x v] to (pick random (0.9) to (-0.9))\n        set [y v] to (pick random (1) to (3))\n        repeat (50)\n            change [ghost v] effect by (2)\n            change x by (x)\n            change y by (y)\n        end\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\n\nwhen I receive [play v]\nforever\n    wait (0.05) seconds\n    switch costume to (blue v)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [play v]\nforever\n    if <(LEVEL) = [2]> then\n        go to x: (pick random (62) to (173)) y: (-119)\n        switch costume to (pick random (2) to (4))\n        wait (0.025) seconds\n        create clone of (_myself_ v)\n    else\n        if <(LEVEL) = [6]> then\n            go to x: (pick random (-11) to (216)) y: (-155)\n            switch costume to (pick random (2) to (4))\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n        else\n            if <(LEVEL) = [11]> then\n                go to x: (pick random (-190) to (216)) y: (-155)\n                switch costume to (pick random (2) to (4))\n                wait (0) seconds\n                create clone of (_myself_ v)\n            else\n                if <(LEVEL) = [13]> then\n                    go to x: (pick random (28) to (240)) y: (-155)\n                    switch costume to (pick random (2) to (4))\n                    wait (0) seconds\n                    create clone of (_myself_ v)\n                else\n                    if <(LEVEL) = [17]> then\n                        go to x: (pick random (-143) to (150)) y: (-123)\n                        switch costume to (pick random (2) to (4))\n                        wait (0) seconds\n                        create clone of (_myself_ v)\n                    else\n                        if <(LEVEL) = [24]> then\n                            go to x: (pick random (-131) to (-46)) y: (22)\n                            switch costume to (pick random (2) to (4))\n                            wait (0) seconds\n                            create clone of (_myself_ v)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    wait (pick random (2) to (5)) seconds\n    switch costume to (pick random (5) to (7))\n    create clone of (_myself_ v)\nend\n\nwhen I receive [play v]\nif <not < (costume [name v]) contains [cloudycloud]?>> then\n    delete this clone\nend\n\n@yayy\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to [front v] layer\ngo to x: (pick random (-240) to (240)) y: (180)\nset [xv v] to (pick random (-5.0) to (5.0))\nset [yv v] to (pick random (-1) to (-7))\nshow\nrepeat until <<(y position) < [-175]> or <<(x position) > [235]> or <(x position) < [-235]>>>\n    turn right (xv) degrees\n    change y by (yv)\n    change x by (xv)\nend\ndelete this clone\n\nset [level v] to [26]\n\nwhen I receive [play v]\nwait (1) seconds\nwait until <(LEVEL) = [26]>\nforever\n    wait until <key (c v) pressed?>\n    start sound [Cheer v]\n    repeat (50)\n        switch costume to (pick random (1) to (2))\n        set [ghost v] effect to (30)\n        set [color v] effect to (pick random (1) to (200))\n        create clone of (_myself_ v)\n    end\n    wait until <not <key (c v) pressed?>>\nend\n\n@Level#\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    set x to ((-195) + ((clone#) * (12)))\n    switch costume to (letter (clone#) of (LEVEL))\nend\n\ndefine stuff\nset [clone# v] to [0]\nrepeat (4)\n    change [clone# v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [play v]\nshow\nset [ghost v] effect to (50)\ngo to x: (-215) y: (150)\nstuff\nforever\n    switch costume to (level v)\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\ngo to [front v] layer\n\nwhen [timer v] > (0)\nhide\n\n@fake\n\nwhen flag clicked\nhide\n\nwait (1) seconds\n\nwhen I receive [play v]\nforever\n    go to [front v] layer\n    go [backward v] (6) layers\n    switch costume to (LEVEL)\n    if <(LEVEL) = [10]> then\n        repeat until <not <(LEVEL) = [10]>>\n            show\n            if <touching (player v)?> then\n                set [ghost v] effect to (20)\n            else\n                set [ghost v] effect to (0)\n            end\n        end\n    else\n        hide\n    end\nend\n\n@fake2\n\nwhen flag clicked\n\nset [level v] to [9]\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nforever\n    go to [front v] layer\n    go [backward v] (5) layers\n    switch costume to (LEVEL)\n    if <(LEVEL) = [10]> then\n        show\n        repeat until <not <(LEVEL) = [10]>>\n            show\n            if <touching (player v)?> then\n                set [ghost v] effect to (20)\n            else\n                set [ghost v] effect to (0)\n            end\n        end\n    else\n        hide\n    end\nend\n\n@sun\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\nset [timer v] to [0]\nswitch costume to (costume1 v)\nforever\n    change [timer v] by ((1) / (30))\n    go to [back v] layer\n    set [ghost v] effect to (20)\n    set size to ((([sin v] of ((timer) * (50)) ) * (40)) + (100)) %\nend\n\n@tele\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nswitch costume to (TELE CLONE)\nshow\ngo to (player v)\nrepeat (25)\n    change [ghost v] effect by (4)\nend\ndelete this clone\n\nset [level v] to [18]\n\nwhen I start as a clone\nforever\n    set volume to (VOLUME) %\nend\n\nwhen I receive [play v]\nforever\n    set volume to (VOLUME) %\nend\n\n@love\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\ndefine clone\nset [type v] to [og]\ngo to x: (-190) y: (80)\ncreate clone of (_myself_ v)\nnext costume\ngo to x: (-190) y: (-90)\ncreate clone of (_myself_ v)\nnext costume\ngo to x: (140) y: (80)\ncreate clone of (_myself_ v)\nnext costume\ngo to x: (140) y: (-90)\ncreate clone of (_myself_ v)\nnext costume\n\nrepeat (4)\n\nwhen I start as a clone\nif <(type) = [og]> then\n    set [timer v] to [0]\n    show\n    forever\n        change [timer v] by ((1) / (30))\n        set [ghost v] effect to (30)\n        point in direction ((([sin v] of ((timer) * (400)) ) * (10)) + (90))\n        set size to ((([cos v] of ((timer) * (400)) ) * (10)) + (100)) %\n    end\nelse\n    switch costume to (pick random (1) to (4))\n    show\n    point in direction (pick random (0) to (360))\n    set size to (50) %\n    repeat (20)\n        move (5) steps\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nnext costume\n\nforever\n    wait (0.01) seconds\n    go to (mouse-pointer v)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [play v]\nwait (1) seconds\nwait until <(LEVEL) = [26]>\nclone\nset [type v] to [yes]\nforever\n    wait (0.01) seconds\n    go to (mouse-pointer v)\n    create clone of (_myself_ v)\nend\n\n@Timer#\n\nwhen flag clicked\n\nwhen I start as a clone\nforever\n    set x to ((110) + ((clone#) * (12)))\n    switch costume to (letter (clone#) of (TIMER))\nend\n\ndefine stuff\nset [clone# v] to [0]\nrepeat (10)\n    change [clone# v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\ngo to x: (200) y: (150)\n\nwhen I receive [play v]\nshow\nset [ghost v] effect to (50)\nset [timer v] to [0]\nset [level v] to [1]\nwait (0) seconds\nwait until <not <<([x position v] of [player v]) = [-194]> and <([y position v] of [player v]) = [-121]>>>\nforever\n    go to [front v] layer\n    go to [front v] layer\n    change [timer v] by ((1) / (30))\n    set [timer v] to ((round ((TIMER) * (100))) / (100))\n    if <<key (j v) pressed?> or <(TURBO) = [1]>> then\n        set [timer v] to [c]\n        stop [this script v]\n    end\n    if <(LEVEL) > [25]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [play v]\nshow\nset [ghost v] effect to (50)\ngo to x: (180) y: (150)\nset [timer v] to [0]\nstuff\nforever\n    go to x: (140) y: (150)\n    switch costume to (level v)\n    go to [front v] layer\nend\n\nset [level v] to [26]\n\nwhen [timer v] > (0)\nhide\n\n@turbo mode checker (timmccool)\n\nwhen flag clicked\nset [tick v] to [0]\nforever\n    change [tick v] by (1)\nend\n\nwhen flag clicked\nhide\nset [turbo v] to [0]\nset [1 v] to [0]\nforever\n    set [2 v] to (tick)\n    wait (0.01) seconds\n    set [1 v] to ((((tick) - (2)) * (1)) * (1))\n    set [turbo v] to <((1) * (1)) > [40]>\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nset [old time v] to [0]\nforever\n    set [old time v] to (TIMER)\n    wait (1) seconds\n    if <([abs v] of ((old time) - (TIMER)) ) > [1.5]> then\n        set [turbo v] to [1]\n    end\nend\n\n@Buttons\n\nwhen flag clicked\nset size to (300) %\nclone\nhide\n\ndefine clone\ngo to x: (-100) y: (-70)\nswitch costume to (play v)\ncreate clone of (_myself_ v)\ngo to x: (100) y: (-70)\nswitch costume to (highscore v)\ncreate clone of (_myself_ v)\ngo to x: (-170) y: (-150)\nswitch costume to (home v)\ncreate clone of (_myself_ v)\n\nswitch costume to (play v)\n\nwhen I start as a clone\nshow\nset [timer v] to [0]\nforever\n    if <(show) = [1]> then\n        change [timer v] by (1)\n        if <(costume [number v]) = [1]> then\n            point in direction ((([sin v] of ((timer) * (400)) ) * (7)) + (90))\n        else\n            point in direction ((([sin v] of ((timer) * (400)) ) * (7)) + (90))\n        end\n        if <(costume [number v]) = [3]> then\n            if <touching (mouse-pointer v)?> then\n                change size by (((300) - (size)) / (7))\n            else\n                change size by (((200) - (size)) / (7))\n            end\n        else\n            if <touching (mouse-pointer v)?> then\n                change size by (((400) - (size)) / (7))\n            else\n                change size by (((300) - (size)) / (7))\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nset [timer v] to [0]\nforever\n    if <(show) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (20)\n            start sound [Clock Ticking v]\n            wait until <not <touching (mouse-pointer v)?>>\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I start as a clone\nset [page v] to [home]\nforever\n    if <(show) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                set [page v] to (costume [name v])\n                play sound [Wood Tap v] until done\n                wait until <not <mouse down?>>\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nset [timer v] to [0]\nforever\n    if <(PAGE) = [home]> then\n        if <(costume [number v]) = [3]> then\n            set [show v] to [0]\n        else\n            set [show v] to [1]\n        end\n    end\n    if <(PAGE) = [play]> then\n        set [show v] to [0]\n    end\n    if <(PAGE) = [highscore]> then\n        if <(costume [number v]) = [3]> then\n            set [show v] to [1]\n        else\n            set [show v] to [0]\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nset [timer v] to [0]\nforever\n    if <(show) = [0]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nwait (0) seconds\nforever\n    if <(PAGE) = [play]> then\n        broadcast (play v)\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    set volume to (VOLUME) %\nend\n\nwhen I receive [play v]\nforever\n    set volume to (VOLUME) %\nend\n\n@heading\n\nwhen flag clicked\nshow\nforever\n    change [timer v] by ((1) / (30))\n    switch costume to (PAGE)\n    point in direction ((([sin v] of ((timer) * (200)) ) * (7)) + (90))\n    set size to ((([cos v] of ((timer) * (200)) ) * (7)) + (100)) %\nend\n\ngo to x: () y: (100)\n\nset [timer v] to [0]\n\n@cloud highscore\n\ndefine decode\nset [decode v] to []\nforever\n    if <(join (letter (#) of (encode)) (letter ((#) + (1)) of (encode))) < [1]> then\n        stop [this script v]\n    end\n    set [decode v] to (join (decode) (letter (join (letter (#) of (encode)) (letter ((#) + (1)) of (encode))) of (letters)))\n    change [# v] by (2)\nend\n\ndefine encode (something)\nset [letters v] to [abcdefghijklmnopqrstuvwxyz1234567890+-. _]\nset [# v] to [1]\nrepeat (length of (something))\n    set [#2 v] to [1]\n    repeat until <(letter (#2) of (letters)) = (letter (#) of (something))>\n        change [#2 v] by (1)\n    end\n    if <(length of (#2)) = [1]> then\n        set [encode v] to (join (encode) (join [0] (#2)))\n    else\n        set [encode v] to (join (encode) (#2))\n    end\n    change [# v] by (1)\nend\nset [encode v] to (join (encode) [00])\n\ndefine begin decode of (encoded)\nset [encode v] to (encoded)\nset [# v] to [1]\n\nwhen flag clicked\nforever\n    thingy\n    if <(FASTEST TIME) = []> then\n        set [fastest dude v] to [No one yet]\n        set [fastest time v] to [Try to be the first!]\n    else\n        set [fastest time v] to (join (FASTEST TIME) [s])\n    end\nend\n\ndefine thingy\nset [fastest time v] to []\nbegin decode of (☁ FASTEST TIME)\ndecode\nset [fastest time v] to (decode)\nset [fastest dude v] to []\nbegin decode of (☁ FASTEST DUDE)\ndecode\nset [fastest dude v] to (decode)\n\ndefine check\nthingy\nif <not <(TIMER) = [c]>> then\n    if <(FASTEST TIME) = []> then\n        set [encode v] to []\n        encode (TIMER)\n        set [☁ fastest time v] to (encode)\n        set [encode v] to []\n        encode (username)\n        set [☁ fastest dude v] to (encode)\n    else\n        if <(TIMER) < (FASTEST TIME)> then\n            set [encode v] to []\n            encode (TIMER)\n            set [☁ fastest time v] to (encode)\n            set [encode v] to []\n            encode (username)\n            set [☁ fastest dude v] to (encode)\n        end\n    end\nend\n\nset [encode v] to []\nencode []\n\nwhen flag clicked\nforever\n    if <(PAGE) = [highscore]> then\n        show\n        show variable [fastest dude v]\n        show variable [fastest time v]\n    else\n        hide\n        hide variable [fastest dude v]\n        hide variable [fastest time v]\n    end\nend\n\nthingy\n\nset [page v] to [0]\n\nset [☁ fastest dude v] to []\nset [☁ fastest time v] to []\n\nwhen I receive [play v]\nforever\n    if <(LEVEL) > [25]> then\n        check\n    end\nend\n\n@settings\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nset [setting v] to [0]\nswitch costume to (costume1 v)\ngo to x: (210) y: (150)\nshow\nset size to (70) %\nforever\n    go to [front v] layer\n    if <touching (player v)?> then\n        set [ghost v] effect to (60)\n    else\n        set [ghost v] effect to (30)\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (6))\n        set [brightness v] effect to (20)\n    else\n        change size by (((70) - (size)) / (6))\n        set [brightness v] effect to (0)\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (6))\n        set [brightness v] effect to (20)\n    else\n        change size by (((70) - (size)) / (6))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [play v]\nswitch costume to (costume1 v)\ngo to x: (210) y: (150)\nshow\nset size to (70) %\nforever\n    if <touching (mouse-pointer v)?> then\n        start sound [Clock Ticking v]\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen I receive [play v]\nset [setting v] to [0]\nswitch costume to (costume1 v)\ngo to x: (210) y: (150)\nshow\nset size to (70) %\nforever\n    go to [front v] layer\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        set [setting v] to [1]\n        start sound [Wood Tap v]\n        wait until <not <mouse down?>>\n    end\nend\n\nwhen I receive [play v]\nset [setting v] to [0]\nswitch costume to (costume1 v)\ngo to x: (210) y: (150)\nshow\nset size to (70) %\nforever\n    go to [front v] layer\n    if <(SETTING) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\n@setting\n\nwhen flag clicked\nset [music v] to [100]\nset [volume v] to [100]\nhide\n\ngo to [front v] layer\n\nwhen I receive [play v]\nforever\n    if <(SETTING) = [1]> then\n        switch costume to (back v)\n        go to x: (0) y: (0)\n        create clone of (_myself_ v)\n        switch costume to (close v)\n        go to x: (140) y: (100)\n        create clone of (_myself_ v)\n        switch costume to (slider back v)\n        go to x: (0) y: (20)\n        create clone of (_myself_ v)\n        go to x: (0) y: (-70)\n        create clone of (_myself_ v)\n        switch costume to (front v)\n        go to x: (0) y: (20)\n        create clone of (_myself_ v)\n        go to x: (0) y: (-70)\n        create clone of (_myself_ v)\n        switch costume to (music v)\n        go to x: (-100) y: (70)\n        create clone of (_myself_ v)\n        switch costume to (volume v)\n        go to x: (-100) y: (-30)\n        create clone of (_myself_ v)\n        wait until <(SETTING) = [0]>\n    else\n        broadcast (delete clone v)\n    end\nend\n\nwhen I receive [delete clone v]\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [number v]) = [1]> then\n        go to [back v] layer\n        go [forward v] (3) layers\n    end\n    if <(costume [number v]) = [2]> then\n        go to [back v] layer\n        go [forward v] (6) layers\n        if <touching (mouse-pointer v)?> then\n            change size by (((150) - (size)) / (7))\n            set [brightness v] effect to (20)\n        else\n            change size by (((100) - (size)) / (7))\n            set [brightness v] effect to (0)\n        end\n    end\n    if <(costume [number v]) = [3]> then\n        go to [back v] layer\n        go [forward v] (6) layers\n    end\n    if <(costume [number v]) = [4]> then\n        go to [back v] layer\n        go [forward v] (9) layers\n        if <(y position) > [0]> then\n            set x to (((MUSIC) * (2)) - (100))\n        else\n            set x to (((VOLUME) * (2)) - (100))\n        end\n        forever\n            wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n            repeat until <not <mouse down?>>\n                set x to (mouse x)\n                if <(x position) < [-100]> then\n                    set x to (-100)\n                else\n                    if <(x position) > [100]> then\n                        set x to (100)\n                    end\n                end\n                if <(y position) > [0]> then\n                    set [music v] to (((x position) + (100)) / (2))\n                else\n                    set [volume v] to (((x position) + (100)) / (2))\n                end\n            end\n        end\n    end\n    if <(costume [number v]) = [5]> then\n        go to [back v] layer\n        go [forward v] (10) layers\n        go to x: (-100) y: (70)\n    end\n    if <(costume [number v]) = [6]> then\n        go to [back v] layer\n        go [forward v] (10) layers\n        go to x: (-100) y: (-30)\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [number v]) = [2]> then\n        if <touching (mouse-pointer v)?> then\n            start sound [Clock Ticking v]\n            wait until <not <touching (mouse-pointer v)?>>\n        end\n    end\nend\n\nwait until <not <mouse down?>>\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [number v]) = [2]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            start sound [Wood Tap v]\n            set [setting v] to [0]\n            wait (0) seconds\n            wait (0) seconds\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [play v]\nforever\n    set volume to (VOLUME) %\nend\n\nwhen I start as a clone\nforever\n    set volume to (VOLUME) %\nend\n\n@setting#\n\nwhen flag clicked\n\nwhen I start as a clone\nforever\n    if <(SETTING) = [1]> then\n        show\n        set x to ((50) + ((clone#) * (12)))\n        if <(type) = [m]> then\n            set y to (70)\n            switch costume to (letter (clone#) of (round (MUSIC)))\n        else\n            set y to (-30)\n            switch costume to (letter (clone#) of (round (VOLUME)))\n        end\n    else\n        hide\n    end\nend\n\ndefine stuff\nset [type v] to [m]\nset [clone# v] to [0]\nrepeat (3)\n    change [clone# v] by (1)\n    create clone of (_myself_ v)\nend\nset [type v] to [s]\nset [clone# v] to [0]\nrepeat (3)\n    change [clone# v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\ngo to x: (200) y: (150)\n\nwhen I receive [play v]\nshow\nset [ghost v] effect to (0)\nstuff\n\ngo to x: (180) y: (150)\n\nwhen [timer v] > (0)\nhide\n\n