Speedrun Platformer - A Scratch competition for all Scratchers!

Instructions:  The competition is now over and the winner is.....\n                           @KlimbRio1 !!!\n\n                      His speedrun video: \n\nhttps://scratch.mit.edu/discuss/youtube/hge16vLTJu4/\n\nI also want to thank of few people who, even though they did not win, speedrun this games for hours to dominate the leaderboard.\n- @Judpomme\n- @bearbro10\n- @jojoinpurple\n\n\n\n\nHello everyone, this is not an ordinary platformer... it's a speedrun platformer! This means that the goal is to complete it as fast as possible. Check the in-game leaderboard to see who as the fastest times!\n\nCONTROLS (also presented in the game in ''info'')\n-restart            q+r\n-move              left/right arrows    or A/D\n-jump               up/down arrows   or W/S\n-Long jump      down arrow and quickly after up arrow\n-slide               down arrow while moving\n\n\n\nGood luck!

@Stage\n\n@this reduces lag\n\n@back ground\n\nwhen I receive [play v]\nforever\n    go to x: ((ScrollX) / (-5)) y: (0)\nend\n\nwhen flag clicked\n\nwhen I receive [play clicked v]\nforever\n    wait until <(level #) = [1]>\n    switch costume to (costume2 v)\n    set size to (600) %\n    switch costume to (costume1 v)\n    wait until <(level #) = [2]>\n    switch costume to (costume2 v)\n    set size to (300) %\n    switch costume to (costume3 v)\nend\n\nwhen flag clicked\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen I receive [q r v]\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen I receive [back to the menu v]\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen I receive [eliminated v]\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen I receive [level 2 started v]\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen I receive [0 v]\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen I receive [play clicked v]\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen I receive [set up play v]\nclear graphic effects\nset [britness v] to [0]\nset [set b to 0 v] to [1]\nwait (1) seconds\nset [set b to 0 v] to [0]\n\nwhen flag clicked\nforever\n    if <(level #) = [1]> then\n        if <(ScrollX) > [4669]> then\n            set [checkpoint x v] to [4669]\n        else\n            set [checkpoint x v] to [0]\n        end\n    end\n    if <(level #) = [2]> then\n        if <(ScrollX) > [5250]> then\n            set [checkpoint x v] to [5250]\n        else\n            set [checkpoint x v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<[7000] < (ScrollX)> and <(level #) = [2]>> then\n        if <(britness) > [-60]> then\n            wait (0.1) seconds\n            repeat until <<(britness) < [-59]> or <(ScrollX) < [5500]>>\n                if <(set b to 0) = [1]> then\n                    set [britness v] to [0]\n                    set [brightness v] effect to (britness)\n                    clear graphic effects\n                else\n                    change [britness v] by (-1)\n                    set [brightness v] effect to (britness)\n                end\n            end\n        end\n    else\n        if <[0] > (britness)> then\n            wait (0.1) seconds\n            repeat until <[-1] < (britness)>\n                if <(set b to 0) = [1]> then\n                    set [britness v] to [0]\n                    set [brightness v] effect to (britness)\n                    clear graphic effects\n                else\n                    change [britness v] by (1)\n                    set [brightness v] effect to (britness)\n                end\n            end\n        end\n    end\nend\n\n@Level ART\n\nstop [other scripts in sprite v]\n\nset [level costumes v] to [1]\nswitch costume to ((1) / (1))\nnext costume\nrepeat until <(costume [number v]) = [1]>\n    change [level costumes v] by (1)\n    next costume\nend\n\ndefine Create\nrepeat (32)\n    create clone of (_myself_ v)\n    change [level_x v] by (480)\n    next costume\nend\n\nwhen I receive [level loop v]\nforever\n    set x to ((Level_X) - (ScrollX))\n    if <([abs v] of ((Level_X) - (ScrollX)) ) > [480]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [setup v]\nshow\nclear graphic effects\ngo to x: (0) y: (0)\nset [level_x v] to [0]\nswitch costume to (1 v)\nCreate\nhide\n\nwhen I start as a clone\nwait until <(level #) = [2]>\nforever\n    wait until <(level #) = [2]>\n    switch costume to ((costume [number v]) + (33))\n    wait until <(level #) = [1]>\n    switch costume to ((costume [number v]) + (-33))\nend\n\n@Level HITBOX\n\ndefine Find Costume Number\n\nwhen I start as a clone\nwait until <(level #) = [2]>\nforever\n    wait until <(level #) = [2]>\n    switch costume to ((costume [number v]) + (33))\n    wait until <(level #) = [1]>\n    switch costume to ((costume [number v]) + (-33))\nend\n\nwait until <(level #) = [2]>\nswitch costume to ((costume [number v]) + (33))\n\nwhen flag clicked\nhide\n\ndefine Create\nwait (2) seconds\nset [level_x v] to [0]\nrepeat (32)\n    create clone of (_myself_ v)\n    change [level_x v] by (480)\n    next costume\nend\n\nwhen I receive [level loop v]\nforever\n    set x to ((Level_X) - (ScrollX))\n    if <([abs v] of ((Level_X) - (ScrollX)) ) > [480]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [setup v]\nshow\nclear graphic effects\ngo to x: (0) y: (0)\nset [level_x v] to [0]\nswitch costume to (costume1 v)\nCreate\nhide\nwait (0) seconds\ngo to x: (0) y: (0)\n\nset [level costumes v] to [1]\nswitch costume to ((1) / (1))\nnext costume\nrepeat until <(costume [number v]) = [1]>\n    change [level costumes v] by (1)\n    next costume\nend\n\nwhen I start as a clone\n\n@Player\n\ndefine Touch Ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <touching (level hitbox v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine Walk (direction) (speed)\npoint in direction (direction)\nchange x by (s)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (level hitbox v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (s))\n    change y by ((0) - (slope))\n    set [s v] to [5]\nend\nchange [frame v] by (0.5)\nif <(s) < (max speed)> then\n    change [s v] by (speed acceleration)\nend\nif <((max speed) + (0.2)) < (s)> then\n    change [s v] by (-0.1)\nend\n\ndefine Set Costume\nif <<<key (down arrow v) pressed?> or <key (s v) pressed?>> and <(falling?) < [6]>> then\n    if <(s) = [5]> then\n        switch costume to (crouch v)\n    else\n        switch costume to (slide v)\n    end\nelse\n    if <(falling?) < [6]> then\n        if <<(frame) = [0]> or <(s) = [5.2]>> then\n            switch costume to (stand_1 v)\n        else\n            switch costume to ([floor v] of ((4) + ((running frames) mod (5))) )\n        end\n    else\n        if <(long jumping) = [1]> then\n            switch costume to ([floor v] of ((11) + ((flip frames) mod (17))) )\n        else\n            if <(speed y) > [0]> then\n                switch costume to (jump_1 v)\n            else\n                switch costume to (fall_1 v)\n            end\n        end\n    end\nend\n\ndefine Griffpatch Platforming Engine (speed)\nif <(I can see the character) = [1]> then\n    if <<(speed y) < [4]> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n        change [speed y v] by (-1)\n    else\n        change [speed y v] by (-2)\n    end\n    switch costume to (hitbox y v)\n    change y by (speed y)\n    Touch Ground <(speed y) > [0]>\n    switch costume to (hitbox x v)\n    if <touching color (#ff40e8)?> then\n        go to x: (0) y: (-80)\n        point in direction (90)\n        set [scrollx v] to (checkpoint x)\n        set [speed y v] to [0]\n        broadcast (eliminated v)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        if <<key (s v) pressed?> or <key (down arrow v) pressed?>> then\n            slide left [-90]\n        else\n            walk left [-90]\n            set [slinding? v] to [0]\n        end\n    else\n        if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n            if <<key (s v) pressed?> or <key (down arrow v) pressed?>> then\n                slide [90]\n            else\n                Walk (90) (s)\n                set [slinding? v] to [0]\n            end\n        else\n            set [s v] to [5]\n            set [frame v] to [0]\n            set [slide speed v] to [0]\n            set [slinding? v] to [0]\n        end\n    end\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <(long jump possible?) = [1]>> then\n        if <<(jump key) = [0]> and <(falling?) < [3]>> then\n            start sound [jump v]\n            set [speed y v] to [20]\n            set [falling? v] to [6]\n            set [jump key v] to [1]\n        else\n            set [jump key v] to [0]\n        end\n    else\n        if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n            if <<(jump key) = [0]> and <(falling?) < [3]>> then\n                start sound [jump v]\n                set [speed y v] to [14]\n                set [falling? v] to [6]\n                set [jump key v] to [1]\n            end\n        else\n            set [jump key v] to [0]\n        end\n    end\n    if <(y position) < [-180]> then\n        start sound [fall v]\n        go to x: (0) y: (-80)\n        point in direction (90)\n        set [scrollx v] to (checkpoint x)\n        set [speed y v] to [0]\n        broadcast (eliminated v)\n    end\n    Set Costume\n    Scrolling Blocks\nend\n\ndefine Reset Player\nshow\nset size to (35) %\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (-105)\nset [speed y v] to [0]\nset [falling? v] to [10]\nset [scrollx v] to [0]\nhide\n\ndefine Scrolling Blocks\nchange [scrollx v] by (x position)\nset x to (0)\n\nwhen I receive [setup v]\nReset Player\n\ndefine Quick Scroll\nif <key (right arrow v) pressed?> then\n    change [scrollx v] by (100)\nend\nif <key (left arrow v) pressed?> then\n    change [scrollx v] by (-100)\nend\n\ndefine walk left (number or text)\npoint in direction (number or text)\nchange x by ((s) * (-1))\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (level hitbox v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by (s)\n    change y by ((0) - (slope))\n    set [s v] to [5]\nend\nchange [frame v] by (0.5)\nif <(s) < (max speed)> then\n    change [s v] by (speed acceleration)\nend\nif <((max speed) + (0.2)) < (s)> then\n    change [s v] by (-0.1)\nend\n\ndefine slide (ok)\nset [slinding? v] to [1]\npoint in direction (ok)\nchange x by (s)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (level hitbox v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (s))\n    change y by ((0) - (slope))\nend\nif <[6] > (falling?)> then\n    if <(slide speed) < [30]> then\n        change [slide speed v] by (0.7)\n    end\n    if <(s) > [2]> then\n        set [s v] to ((20) - ((slide speed) / (2)))\n    end\nend\n\ndefine slide left (ok)\nset [slinding? v] to [1]\npoint in direction (ok)\nchange x by ((s) * (-1))\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (level hitbox v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by (s)\n    change y by ((0) - (slope))\nend\nif <[6] > (falling?)> then\n    if <(slide speed) < [30]> then\n        change [slide speed v] by (0.7)\n    end\n    if <(s) > [2]> then\n        set [s v] to ((20) - ((slide speed) / (2)))\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> and <(s) < [10]>> then\n        set [slide speed v] to [0]\n    end\n    wait until <not <<key (down arrow v) pressed?> or <key (s v) pressed?>>>\nend\n\nwhen flag clicked\nforever\n    set [long jump possible? v] to (crouch?)\n    if <(long jump possible?) = [1]> then\n        wait until <[0] = (crouch?)>\n        wait (0.1) seconds\n    end\n    set [long jump possible? v] to (crouch?)\nend\n\nwhen flag clicked\nforever\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> and <(falling?) = [0]>> then\n        set [crouch? v] to [1]\n    else\n        set [crouch? v] to [0]\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <(long jump possible?) = [1]>> then\n        set [long jumping v] to [1]\n        wait (0) seconds\n        wait until <(speed y) = [0]>\n    end\n    wait until <(speed y) = [0]>\n    set [long jumping v] to [0]\nend\n\nwhen I receive [play v]\nforever\n    if <(long jumping) = [1]> then\n        change [flip frames v] by (1)\n    else\n        set [flip frames v] to [0]\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <<key (a v) pressed?> or <<key (d v) pressed?> or <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>>> then\n        change [running frames v] by ((s) / (20))\n    else\n        set [running frames v] to [0]\n    end\nend\n\nwait (0) seconds\n\nwhen flag clicked\nset [max speed v] to [15]\nset [speed acceleration v] to [0.2]\nwait (1) seconds\nforever\n    if <<(ScrollX) > [10273]> and <(level #) = [1]>> then\n        set [speed acceleration v] to [2]\n        set [max speed v] to [20]\n    else\n        set [max speed v] to [15]\n        set [speed acceleration v] to [0.2]\n    end\nend\n\nwhen flag clicked\n\nstop [other scripts in sprite v]\n\nwhen I receive [play clicked v]\nhide\nbroadcast (Transition In v) and wait\nbroadcast (Delete All Clones v) and wait\nbroadcast (SetUp v) and wait\nbroadcast (Level Loop v)\nbroadcast (Play v)\nbroadcast (Transition Out v) and wait\nbroadcast (Play BG Music v)\n\nwhen I receive [platformerr v]\nshow\nforever\n    Griffpatch Platforming Engine [5]\nend\n\nwhen I receive [cinematic ready v]\nset [in cinematic v] to [0]\nwait (1) seconds\nforever\n    if <(ScrollX) > [14750]> then\n        set [in cinematic v] to [1]\n        broadcast (cinematic v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [set up play v]\nwait (0.1) seconds\ngo to x: (0) y: (-105)\npoint in direction (90)\nset [speed x v] to [0]\n\nwhen I receive [q r v]\nwait (0.1) seconds\ngo to x: (0) y: (-105)\npoint in direction (90)\nset [speed x v] to [0]\n\nwhen I receive [set up play v]\nbroadcast (cinematic ready v)\nswitch costume to (stand_1 v)\n\nwhen I receive [play clicked v]\nbroadcast (cinematic ready v)\nswitch costume to (stand_1 v)\n\nwhen I receive [q r v]\nbroadcast (cinematic ready v)\nswitch costume to (stand_1 v)\n\n@Transition\n\nwhen I receive [transition in v]\nswitch costume to (costume1 v)\nhide\nshow\nstart sound [Disconnect v]\nrepeat (16)\n    next costume\nend\n\nwhen I receive [transition out v]\nswitch costume to (costume17 v)\nstart sound [Connect v]\nrepeat (16)\n    switch costume to ((costume [number v]) - (1))\nend\nhide\n\n@foodstep\n\nwhen I receive [cinematic v]\nplay sound [tic toc v] until done\n\nwhen I receive [cinematic v]\nset volume to (0) %\nrepeat (80)\n    change volume by (1)\nend\nrepeat (40)\n    change volume by (-1)\nend\n\nwhen I receive [black bars v]\nset volume to (70) %\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite1\n\nwhen I receive [speed boost animation v]\nclear graphic effects\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nclear graphic effects\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<([abs v] of ((ScrollX) - (10270)) ) < [10]> and <(level #) = [1]>> then\n        broadcast (speed boost animation v)\n    end\nend\n\n@Sprite3\n\nwhen I receive [black bars v]\nshow\nforever\n    go to x: (0) y: (0)\n    repeat (60)\n        change x by (-1.5)\n    end\n    go to x: (0) y: (0)\nend\n\nwhen I receive [cinematic v]\nshow\nset [i can see the character v] to [0]\n\nwhen I receive [last scene v]\nstop [other scripts in sprite v]\n\nwhen I receive [switching level screen v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite4\n\nwhen I receive [cinematic v]\nforever\n    switch costume to (cinematic frame)\nend\n\nwhen I receive [3 scene v]\nset size to (60) %\nshow\ngo to x: (-200) y: (-116)\nrepeat until <(x position) > [260]>\n    change x by (cinematic x speed)\nend\nstop [other scripts in sprite v]\nhide\nbroadcast (last scene v)\n\nwhen I receive [cinematic v]\nset size to (50) %\nset [cinematic frame v] to [0]\nforever\n    change [cinematic frame v] by (1)\n    if <(cinematic frame) = [5]> then\n        set [cinematic frame v] to [1]\n    end\n    wait (0.03) seconds\nend\n\nwhen I receive [cinematic v]\nhide\nwait (3) seconds\ngo to x: (-280) y: (-116)\nshow\nrepeat until <(x position) > [260]>\n    change x by (15)\nend\nhide\nwait (0.5) seconds\nstop [other scripts in sprite v]\nbroadcast (black bars v)\n\nwhen I receive [3 scene v]\nset [cinematic x speed v] to [1.1]\nwait (2) seconds\nrepeat (30)\n    change [cinematic x speed v] by (-0.02)\nend\nwait (1) seconds\nrepeat (50)\n    change [cinematic x speed v] by (0.1)\nend\n\nwhen I receive [3 scene v]\nset [cinematic frame v] to [0]\nforever\n    change [cinematic frame v] by (1)\n    if <(cinematic frame) = [5]> then\n        set [cinematic frame v] to [1]\n    end\n    wait (0.03) seconds\nend\n\nwhen I receive [3 scene v]\nforever\n    switch costume to (cinematic frame)\nend\n\nwhen I receive [last scene v]\nwait (1) seconds\nshow\ngo to x: (-270) y: (-116)\nset size to (35) %\nbroadcast (move v)\nrepeat (4)\n    switch costume to (1 v)\n    wait (0.05) seconds\n    switch costume to (2 v)\n    wait (0.05) seconds\n    switch costume to (3 v)\n    wait (0.05) seconds\n    switch costume to (4 v)\n    wait (0.05) seconds\n    switch costume to (5 v)\n    wait (0.05) seconds\nend\nswitch costume to (1 v)\nwait (0.05) seconds\nswitch costume to (2 v)\nwait (0.07) seconds\nswitch costume to (3 v)\nwait (0.08) seconds\nrepeat (1)\n    switch costume to (6 v)\n    repeat until <(costume [number v]) = [15]>\n        next costume\n        wait (0.03) seconds\n    end\nend\n\nwhen I receive [move v]\nglide (1.8) secs to x: (-60) y: (-116)\nglide (0.2) secs to x: (-24) y: (-85)\nglide (1) secs to x: (19) y: (-48)\nbroadcast (flash v)\nglide (1) secs to x: (55) y: (-23)\n\nwhen I receive [changes v]\nset size to (70) %\ngo to x: (-107) y: (-117)\nswitch costume to (16 v)\nglide (7) secs to x: (54) y: (-60)\n\nwhen I receive [glass scene v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite5\n\nwhen I receive [black bars v]\nforever\n    go to x: (0) y: (0)\n    repeat (6)\n        change x by (-8)\n    end\n    go to x: (0) y: (0)\nend\n\nwhen I receive [black bars v]\nhide\n\nwhen I receive [cinematic v]\nshow\n\nwhen I receive [3 scene v]\nshow\n\nwhen I receive [cinematic v]\nshow\n\nwhen I receive [last scene v]\nstop [other scripts in sprite v]\n\nwhen I receive [switching level screen v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@black bar\n\nwhen I receive [black bars v]\nshow\n\nwhen I receive [cinematic v]\nhide\n\nwhen I receive [3 scene v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite6\n\nwhen I receive [black bars v]\nshow\nforever\n    go to x: (0) y: (-130)\n    repeat (6)\n        change x by (-15)\n    end\nend\n\ngo to x: (0) y: (0)\n\nwhen I receive [3 scene v]\nhide\n\nwhen I receive [go up v]\nstop [other scripts in sprite v]\nset [y run v] to [0]\nrepeat (20)\n    change y by (y run)\nend\nrepeat (40)\n    change y by (y run)\nend\n\nwhen I receive [cinematic v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite7\n\nwhen I receive [black bars v]\nforever\n    switch costume to (cinematic frame)\nend\n\nwhen I receive [cinematic v]\n\nwhen I receive [black bars v]\nshow\nwait (3) seconds\nbroadcast (go up v)\n\nwhen I receive [black bars v]\nset [cinematic frame v] to [0]\ngo to x: (-70) y: (-50)\nforever\n    change [cinematic frame v] by (1)\n    if <(cinematic frame) = [5]> then\n        set [cinematic frame v] to [1]\n    end\n    wait (0.03) seconds\nend\n\nwhen I receive [3 scene v]\nhide\nstop [other scripts in sprite v]\n\ngo to x: (-70) y: (-50)\n\nwhen I receive [cinematic v]\nhide\n\nwhen I receive [go up v]\ngo to x: (-70) y: (-50)\nset [y run v] to [0]\nrepeat (20)\n    change y by (y run)\nend\nrepeat (40)\n    change y by (y run)\nend\nhide\n\nwhen flag clicked\nhide\ngo to x: (-70) y: (-50)\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite8\n\nwhen I receive [go up v]\nshow\nforever\n    switch costume to (cinematic frame)\nend\n\nwhen I receive [go up v]\nwait (3) seconds\nset [x speedd v] to [0]\nrepeat until <(x position) > [260]>\n    change [x speedd v] by (0.4)\n    change x by (x speedd)\nend\nhide\nwait (0.5) seconds\nbroadcast (3 scene v)\nstop [other scripts in sprite v]\n\nwhen I receive [go up v]\nwait (3) seconds\nrepeat (10)\n    turn right ((x speedd) / (7)) degrees\nend\n\nwhen I receive [go up v]\npoint in direction (90)\ngo to x: (-70) y: (-50)\nset [y run v] to [0]\nrepeat (20)\n    change [y run v] by (-0.5)\n    change y by (y run)\nend\nrepeat (40)\n    change [y run v] by (0.25)\n    change y by (y run)\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\ngo to x: (-70) y: (-50)\nset [y run v] to [-50]\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite9\n\nwhen I receive [last scene v]\nshow\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [changes v]\nswitch costume to (costume2 v)\n\nwhen I receive [glass scene v]\nswitch costume to (costume3 v)\n\nwhen I receive [loading v]\nswitch costume to (costume4 v)\nset [deatete clones v] to [1]\n\nwhen flag clicked\nset [deatete clones v] to [0]\n\nwhen I receive [switching level screen v]\nhide\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen I receive [flash v]\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (0.7) seconds\nbroadcast (changes v)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\n\nwhen I receive [changes v]\nwait (2.7) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nbroadcast (final flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\nbroadcast (fast flash v)\nwait (0.3) seconds\n\nwhen I receive [fast flash v]\nset [ghost v] effect to (100)\nshow\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\nclear graphic effects\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite11\n\nwhen flag clicked\nhide\n\nwhen I receive [final flash v]\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nbroadcast (glass scene v) and wait\nhide\nclear graphic effects\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite12\n\nwhen I start as a clone\nset size to (pick random (20) to (50)) %\ngo to x: (-249) y: (pick random (-20) to (60))\nswitch costume to (pick random (1) to (4))\nglide (pick random (3) to (7)) secs to x: (-50) y: (pick random (200) to (-200))\n\nwhen I start as a clone\nforever\n    turn right (2) degrees\nend\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nclear graphic effects\nwait (3) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\nclear graphic effects\n\nwhen I receive [glass scene v]\nif <(clone number) = [0]> then\n    set [clone number v] to [1]\n    wait (3) seconds\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [set up play v]\nset [clone number v] to [0]\n\nwhen I receive [q r v]\nset [clone number v] to [0]\n\nwhen I receive [play clicked v]\nset [clone number v] to [0]\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite13\n\nwhen I receive [glass scene v]\nwait (3) seconds\nshow\nclear graphic effects\ngo to x: (-299) y: (-2)\nset size to (20) %\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (10)\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite14\n\nwhen flag clicked\nhide\n\nwhen I receive [glass scene v]\nhide\nclear graphic effects\nwait (3) seconds\ngo to x: (-288) y: (-2)\nshow\nglide (5) secs to x: (-125) y: (9)\n\nwhen I receive [glass scene v]\nwait (5.5) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (switching level screen v)\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite15\n\nset [color v] to [100]\n\nwhen flag clicked\nforever\n    if <(mode selected) = [3]> then\n        switch costume to (mode selected)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [play clicked v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [back to the menu v]\nshow\n\nwhen I receive [set up play v]\nhide\n\n@Sprite16\n\nchange x by (-2.15)\nchange y by (-0.556)\n\nwhen I receive [color v]\nforever\n    set [color v] effect to (color)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    repeat (80)\n        go to x: ((x position) - (2.15)) y: ((y position) - (0.556))\n    end\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nforever\n    repeat until <([abs v] of ((color) - (color touching)) ) < [3]>\n        if <[0] < ((color) - (color touching))> then\n            change [color v] by (-6)\n        else\n            change [color v] by (6)\n        end\n    end\nend\n\nwhen I receive [play clicked v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [set up play v]\nhide\n\nwhen I receive [back to the menu v]\nshow\n\n@Sprite17\n\nwhen I receive [color v]\nforever\n    set [color v] effect to (color)\nend\n\nwhen I receive [play clicked v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [back to the menu v]\nshow\n\nwhen I receive [set up play v]\nhide\n\n@Sprite18\n\nwhen flag clicked\nset [i can see the character v] to [0]\n\nwhen flag clicked\nset [color touching v] to [0]\nset [mode selected v] to [1]\n\nwhen flag clicked\nset [first time clicking on play v] to [0]\n\nwhen I receive [play clicked v]\nhide\nset [level # v] to [1]\nset [scrollx v] to [0]\n\nwhen flag clicked\nforever\n    if <<<key (q v) pressed?> and <key (r v) pressed?>> and <(I can see the character) = [1]>> then\n        broadcast (q r v)\n        set [level # v] to [1]\n        set [scrollx v] to [0]\n        set [i can see the character v] to [1]\n        broadcast (reset timer v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [play clicked v]\nbroadcast (reset timer v)\n\nwhen I receive [set up play v]\nbroadcast (reset timer v)\n\nwhen flag clicked\nset [i can click play v] to [1]\n\nwhen I receive [back to the menu v]\nset [i can click play v] to [1]\n\nwhen I receive [play clicked v]\nset [i can click play v] to [0]\n\nwhen I receive [set up play v]\nset [i can click play v] to [0]\n\nwhen I receive [flashhh v]\nforever\n    if <<<<<(mouse x) > [-220]> and <(mouse x) < [-150]>> and <<(mouse y) > [50]> and <(mouse y) < [80]>>> and <mouse down?>> and <(i can click play) = [1]>> then\n        set [i can click play v] to [0]\n        if <(first time clicking on play) = [0]> then\n            broadcast (play clicked v)\n            set [first time clicking on play v] to [1]\n            wait (0.1) seconds\n        else\n            broadcast (set up play v)\n            wait (0.1) seconds\n        end\n    end\nend\n\nwhen I receive [click leaderboard v]\nset [i can click play v] to [0]\n\nwhen I receive [click info v]\nset [i can click on leaderboard v] to [0]\n\nwhen flag clicked\nforever\n    if <<<(mouse x) > [-220]> and <(mouse x) < [-150]>> and <<(mouse y) > [50]> and <(mouse y) < [80]>>> then\n        set [color touching v] to [0]\n        set [mode selected v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(mouse x) > [-220]> and <(mouse x) < [-150]>> and <<(mouse y) > [50]> and <(mouse y) < [80]>>> then\n        switch costume to (costume2 v)\n        set size to (110) %\n    else\n        set size to (100) %\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [set up play v]\nhide\nset [level # v] to [1]\nset [scrollx v] to [0]\nset [i can see the character v] to [0]\nbroadcast (3 2 1 go! v)\n\nwhen flag clicked\nshow\n\nwhen I receive [back to the menu v]\nshow\n\n@Sprite19\n\nwhen I receive [flashhh v]\nforever\n    if <<<(mouse x) > [-210]> and <(mouse x) < [-30]>> and <<(mouse y) > [-10]> and <(mouse y) < [30]>>> then\n        set [color touching v] to [50]\n        set [mode selected v] to [2]\n    end\nend\n\nwhen I receive [back to the menu v]\nset [i can click on leaderboard v] to [1]\n\nwhen I receive [play clicked v]\nset [i can click on leaderboard v] to [0]\n\nwhen I receive [set up play v]\nset [i can click on leaderboard v] to [0]\n\nwhen I receive [set up play v]\nhide\n\nwhen I receive [flashhh v]\nforever\n    if <<<<<<(mouse x) > [-210]> and <(mouse x) < [-30]>> and <<(mouse y) > [-10]> and <(mouse y) < [30]>>> and <mouse down?>> and <(delete clone) = [0]>> and <(i can click on leaderboard) = [1]>> then\n        broadcast (click leaderboard v)\n        set [i can click on leaderboard v] to [0]\n        wait (0.1) seconds\n    end\nend\n\nwhen I receive [click leaderboard v]\nset [i can click on leaderboard v] to [0]\n\nwhen flag clicked\nforever\n    if <<<(mouse x) > [-210]> and <(mouse x) < [-30]>> and <<(mouse y) > [-10]> and <(mouse y) < [30]>>> then\n        switch costume to (costume1 v)\n        set size to (110) %\n    else\n        set size to (100) %\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen I receive [play clicked v]\nhide\n\nwhen I receive [back to the menu v]\nshow\n\nwhen flag clicked\nset [i can click on leaderboard v] to [1]\n\nwhen I receive [click info v]\nset [i can click on leaderboard v] to [0]\n\n@Sprite20\n\nwhen flag clicked\nset [i can click info v] to [1]\n\nwhen I receive [back to the menu v]\nset [i can click info v] to [1]\n\nwhen I receive [set up play v]\nset [i can click info v] to [0]\n\nwhen I receive [play clicked v]\nset [i can click info v] to [0]\n\nwhen I receive [click leaderboard v]\nset [i can click info v] to [0]\n\nwhen I receive [flashhh v]\nforever\n    if <<<<(mouse x) > [-220]> and <(mouse x) < [-150]>> and <<(mouse y) > [-60]> and <(mouse y) < [-30]>>> and <<mouse down?> and <(i can click info) = [1]>>> then\n        broadcast (click info v)\n        set [i can click info v] to [0]\n    end\nend\n\nwhen I receive [set up play v]\nhide\n\nwhen flag clicked\nforever\n    if <<<(mouse x) > [-220]> and <(mouse x) < [-150]>> and <<(mouse y) > [-60]> and <(mouse y) < [-30]>>> then\n        set [color touching v] to [90]\n        set [mode selected v] to [3]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(mouse x) > [-220]> and <(mouse x) < [-150]>> and <<(mouse y) > [-60]> and <(mouse y) < [-30]>>> then\n        switch costume to (costume1 v)\n        set size to (110) %\n    else\n        set size to (100) %\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [play clicked v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [back to the menu v]\nshow\n\n@Sprite21\n\nset [color v] to [100]\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (gost 2)\nend\n\nwhen flag clicked\nforever\n    if <(mode selected) = [2]> then\n        if <[0] < (gost 2)> then\n            change [gost 2 v] by (-8)\n        end\n    else\n        if <not <(mode selected) = [2]>> then\n            if <(gost 2) < [100]> then\n                change [gost 2 v] by (8)\n            end\n        end\n    end\nend\n\nwhen I receive [play clicked v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [back to the menu v]\nshow\n\nwhen I receive [set up play v]\nhide\n\n@Sprite22\n\nset [gost 2 v] to [100]\nset [gost 3 v] to [100]\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (gost 3)\nend\n\nwhen flag clicked\nforever\n    if <(mode selected) = [3]> then\n        if <[0] < (gost 3)> then\n            change [gost 3 v] by (-8)\n        end\n    else\n        if <not <(mode selected) = [3]>> then\n            if <(gost 3) < [100]> then\n                change [gost 3 v] by (8)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen I receive [play clicked v]\nhide\n\nwhen I receive [back to the menu v]\nshow\n\nwhen I receive [set up play v]\nhide\n\n@Sprite23\n\nwhen flag clicked\nshow\n\nwhen I receive [intro changes v]\nhide\n\nwhen I receive [play clicked v]\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite24\n\nwhen flag clicked\nshow\nset size to (100) %\nbroadcast (music v)\nclear graphic effects\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nwait (0.2) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (0.1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (1) seconds\nswitch costume to (costume2 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (0.1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch costume to (costume2 v)\nwait (1) seconds\nswitch costume to (costum3 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset size to (100) %\nset [size v] to [0.1]\nbroadcast (flashhh v)\nrepeat (60)\n    change [size v] by ((size) / (8))\n    change size by (size)\nend\n\nchange size by (10)\n\nset [ghost v] effect to (-5)\n\nset [ghost v] effect to (-)\n\nwhen I receive [music v]\nforever\n    play sound [Tokyo Machine - EPIC v] until done\nend\n\nwhen flag clicked\nset volume to (100) %\n\nwhen I receive [transition out v]\nwait (1) seconds\nrepeat (100)\n    change volume by (-1)\nend\n\nwhen I receive [play start sog again v]\nforever\n    play sound [Tokyo Machine - EPIC2 v] until done\nend\n\nwhen I receive [back to menu for the song v]\nstop [other scripts in sprite v]\nbroadcast (play start sog again v)\nset volume to (0) %\nrepeat (20)\n    change volume by (5)\nend\n\nwhen I receive [song first level v]\nstop [other scripts in sprite v]\n\nwhen I receive [intro changes v]\nhide\n\nwhen I receive [play clicked v]\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite25\n\nwhen I receive [flashhh v]\nwait (1) seconds\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nbroadcast (intro changes v)\nbroadcast (color v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play clicked v]\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite26\n\nwhen flag clicked\nhide\n\nwhen I receive [play clicked v]\nshow\nclear graphic effects\n\nwhen I receive [transition out v]\nrepeat until <(ScrollX) > [14000]>\n    change [scrollx v] by (100)\nend\nset [scrollx v] to [0]\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nbroadcast (platformerr v)\nbroadcast (3 2 1 go! v)\n\nwhen I receive [song first level v]\nset volume to (100) %\nforever\n    play sound [HeatleyBros - Dark Alley v] until done\nend\n\nwhen I receive [cinematic v]\nrepeat (50)\n    change volume by (-2)\nend\n\nwhen I receive [level 2 started v]\nstop [other scripts in sprite v]\n\nwhen I receive [q r v]\nbroadcast (song first level v)\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite27\n\nwhen flag clicked\nhide\n\nwhen I receive [switching level screen v]\nset [i can see the character v] to [0]\nshow\nclear graphic effects\nset [scrollx v] to [0]\nset [level # v] to [2]\nrepeat until <(ScrollX) > [10800]>\n    change [scrollx v] by (100)\nend\nset [scrollx v] to [0]\nset [ghost v] effect to (0)\nset [i can see the character v] to [1]\nbroadcast (0 v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nbroadcast (level 2 started v)\n\nwhen I receive [level 2 started v]\nset volume to (100) %\nforever\n    play sound [Hyper Potions - Cozy v] until done\nend\n\nwhen I receive [stop last music v]\nrepeat (20)\n    change volume by (-5)\nend\n\nwhen I receive [you won v]\nstop [other scripts in sprite v]\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite28\n\nwhen I receive [level 2 started v]\nwait until <<(level #) = [2]> and <(ScrollX) > [11473]>>\nbroadcast (stop last music v)\nset [i can see the character v] to [0]\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (1) seconds\nbroadcast (you won v)\n\nwhen flag clicked\nhide\n\nwhen I receive [you won v]\nset volume to (100) %\nplay sound [HeatleyBros - 8 Bit Ending v] until done\n\nwhen I receive [back to the menu v]\nwait (0.1) seconds\nstop [other scripts in sprite v]\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite29\n\nwhen flag clicked\nhide\n\nwhen I receive [you won v]\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (1) seconds\nbroadcast (time v)\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite30\n\nwhen flag clicked\nhide\n\nwhen I receive [time v]\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [back to the menu v]\nhide\n\nwhen I receive [time v]\nset [my final time v] to (my number of mil)\nwait (0.1) seconds\nbroadcast (see if replace score v)\n\n@Sprite31\n\nwhen flag clicked\nhide\n\nwhen I receive [time v]\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen this sprite clicked\nset [i can see the character v] to [0]\nbroadcast (back to the menu v)\nbroadcast (back to menu for the song v)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite32\n\nwhen I receive [3 2 1 go! v]\nshow\nclear graphic effects\nswitch costume to (costume3 v)\nset size to (50) %\nbroadcast (nimber size v) and wait\nclear graphic effects\nswitch costume to (costume2 v)\nset size to (50) %\nbroadcast (nimber size v) and wait\nclear graphic effects\nswitch costume to (costume1 v)\nset size to (50) %\nbroadcast (nimber size v) and wait\nclear graphic effects\nswitch costume to (costume4 v)\nset size to (50) %\nbroadcast (nimber size v) and wait\nbroadcast (song first level v)\nset [i can see the character v] to [1]\nbroadcast (start timer v)\n\nwhen flag clicked\nhide\nset size to (100) %\n\nwhen I receive [nimber size v]\nrepeat (30)\n    change size by (1)\n    change [ghost v] effect by (4)\nend\n\n@Sprite33\n\nwhen flag clicked\nset [current name v] to (username)\nset [current letter number v] to [1]\ndelete all of [alphabet v]\nrepeat (length of [#########abcdefghijklmnopqrstuvwxyz0123456789-_])\n    add (letter (current letter number) of [#########abcdefghijklmnopqrstuvwxyz0123456789-_]) to [alphabet v]\n    change [current letter number v] by (1)\nend\nset [current letter number v] to [1]\nset [my coded name v] to []\nrepeat (length of (current name))\n    if < [abcdefghijklmnopqrstuvwxyz0123456789-_] contains (letter (current letter number) of (current name))?> then\n        set [my coded name v] to (join (my coded name) (item # of (letter (current letter number) of (current name)) in [alphabet v]))\n    end\n    change [current letter number v] by (1)\nend\n\nwhen flag clicked\ngo to x: (0) y: (-125)\nswitch costume to (costume2 v)\nset size to (125) %\nswitch costume to (costume1 v)\n\nwhen flag clicked\ngo to x: (0) y: (-125)\n\nwhen flag clicked\nforever\n    go to x: (0) y: ((-125) + ((leaderboard y) * (1)))\nend\n\nwhen flag clicked\n\nforever\n    set [time v] to ((10000000) - (timer))\n    set [sec v] to (((10000000) - (join (letter (1) of ((10000000) - (timer))) (join (letter (2) of ((10000000) - (timer))) (join (letter (3) of ((10000000) - (timer))) (join (letter (4) of ((10000000) - (timer))) (join (letter (5) of ((10000000) - (timer))) (join (letter (6) of ((10000000) - (timer))) (letter (7) of ((10000000) - (timer)))))))))) - (1))\n    set [time in 0,1 v] to (letter (9) of (time))\n    if <(time in 0,1) = []> then\n        set [real mil v] to []\n    else\n        set [real mil v] to (((10) - (time in 0,1)) mod (10))\n    end\n    set [my number of mil v] to ((10000000) - (join (sec) (real mil)))\n    if <(time) < [2000000]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [see if replace score v]\nif <<(my final time) > (join (letter (1) of (☁ spot11)) (join (letter (2) of (☁ spot11)) (join (letter (3) of (☁ spot11)) (join (letter (4) of (☁ spot11)) (join (letter (5) of (☁ spot11)) (join (letter (6) of (☁ spot11)) (letter (7) of (☁ spot11))))))))> or <(my final time) = (join (letter (1) of (☁ spot11)) (join (letter (2) of (☁ spot11)) (join (letter (3) of (☁ spot11)) (join (letter (4) of (☁ spot11)) (join (letter (5) of (☁ spot11)) (join (letter (6) of (☁ spot11)) (letter (7) of (☁ spot11))))))))>> then\n    set [spot fast 7 v] to (☁ spot66)\n    set [spot fast 6 v] to (☁ spot55)\n    set [spot fast 5 v] to (☁ spot44)\n    set [spot fast 4 v] to (☁ spot33)\n    set [spot fast 3 v] to (☁ spot22)\n    set [spot fast 2 v] to (☁ spot11)\n    set [spot fast 1 v] to (join (my final time) (my coded name))\n    set [☁ spot11 v] to (spot fast 1)\n    wait (0.1) seconds\n    set [☁ spot22 v] to (spot fast 2)\n    wait (0.1) seconds\n    set [☁ spot33 v] to (spot fast 3)\n    wait (0.1) seconds\n    set [☁ spot44 v] to (spot fast 4)\n    wait (0.1) seconds\n    set [☁ spot55 v] to (spot fast 5)\n    wait (0.1) seconds\n    set [☁ spot66 v] to (spot fast 6)\n    wait (0.1) seconds\n    set [☁ spot77 v] to (spot fast 7)\nelse\n    if <<(my final time) > (join (letter (1) of (☁ spot22)) (join (letter (2) of (☁ spot22)) (join (letter (3) of (☁ spot22)) (join (letter (4) of (☁ spot22)) (join (letter (5) of (☁ spot22)) (join (letter (6) of (☁ spot22)) (letter (7) of (☁ spot22))))))))> or <(my final time) = (join (letter (1) of (☁ spot22)) (join (letter (2) of (☁ spot22)) (join (letter (3) of (☁ spot22)) (join (letter (4) of (☁ spot22)) (join (letter (5) of (☁ spot22)) (join (letter (6) of (☁ spot22)) (letter (7) of (☁ spot22))))))))>> then\n        set [spot fast 7 v] to (☁ spot66)\n        set [spot fast 6 v] to (☁ spot55)\n        set [spot fast 5 v] to (☁ spot44)\n        set [spot fast 4 v] to (☁ spot33)\n        set [spot fast 3 v] to (☁ spot22)\n        set [spot fast 2 v] to (join (my final time) (my coded name))\n        set [spot fast 1 v] to (☁ spot11)\n        set [☁ spot11 v] to (spot fast 1)\n        wait (0.1) seconds\n        set [☁ spot22 v] to (spot fast 2)\n        wait (0.1) seconds\n        set [☁ spot33 v] to (spot fast 3)\n        wait (0.1) seconds\n        set [☁ spot44 v] to (spot fast 4)\n        wait (0.1) seconds\n        set [☁ spot55 v] to (spot fast 5)\n        wait (0.1) seconds\n        set [☁ spot66 v] to (spot fast 6)\n        wait (0.1) seconds\n        set [☁ spot77 v] to (spot fast 7)\n    else\n        if <<(my final time) > (join (letter (1) of (☁ spot33)) (join (letter (2) of (☁ spot33)) (join (letter (3) of (☁ spot33)) (join (letter (4) of (☁ spot33)) (join (letter (5) of (☁ spot33)) (join (letter (6) of (☁ spot33)) (letter (7) of (☁ spot33))))))))> or <(my final time) = (join (letter (1) of (☁ spot33)) (join (letter (2) of (☁ spot33)) (join (letter (3) of (☁ spot33)) (join (letter (4) of (☁ spot33)) (join (letter (5) of (☁ spot33)) (join (letter (6) of (☁ spot33)) (letter (7) of (☁ spot33))))))))>> then\n            set [spot fast 7 v] to (☁ spot66)\n            set [spot fast 6 v] to (☁ spot55)\n            set [spot fast 5 v] to (☁ spot44)\n            set [spot fast 4 v] to (☁ spot33)\n            set [spot fast 3 v] to (join (my final time) (my coded name))\n            set [spot fast 2 v] to (☁ spot22)\n            set [spot fast 1 v] to (☁ spot11)\n            set [☁ spot11 v] to (spot fast 1)\n            wait (0.1) seconds\n            set [☁ spot22 v] to (spot fast 2)\n            wait (0.1) seconds\n            set [☁ spot33 v] to (spot fast 3)\n            wait (0.1) seconds\n            set [☁ spot44 v] to (spot fast 4)\n            wait (0.1) seconds\n            set [☁ spot55 v] to (spot fast 5)\n            wait (0.1) seconds\n            set [☁ spot66 v] to (spot fast 6)\n            wait (0.1) seconds\n            set [☁ spot77 v] to (spot fast 7)\n        else\n            if <<(my final time) > (join (letter (1) of (☁ spot44)) (join (letter (2) of (☁ spot44)) (join (letter (3) of (☁ spot44)) (join (letter (4) of (☁ spot44)) (join (letter (5) of (☁ spot44)) (join (letter (6) of (☁ spot44)) (letter (7) of (☁ spot44))))))))> or <(my final time) = (join (letter (1) of (☁ spot44)) (join (letter (2) of (☁ spot44)) (join (letter (3) of (☁ spot44)) (join (letter (4) of (☁ spot44)) (join (letter (5) of (☁ spot44)) (join (letter (6) of (☁ spot44)) (letter (7) of (☁ spot44))))))))>> then\n                set [spot fast 7 v] to (☁ spot66)\n                set [spot fast 6 v] to (☁ spot55)\n                set [spot fast 5 v] to (☁ spot44)\n                set [spot fast 4 v] to (join (my final time) (my coded name))\n                set [spot fast 3 v] to (☁ spot33)\n                set [spot fast 2 v] to (☁ spot22)\n                set [spot fast 1 v] to (☁ spot11)\n                set [☁ spot11 v] to (spot fast 1)\n                wait (0.1) seconds\n                set [☁ spot22 v] to (spot fast 2)\n                wait (0.1) seconds\n                set [☁ spot33 v] to (spot fast 3)\n                wait (0.1) seconds\n                set [☁ spot44 v] to (spot fast 4)\n                wait (0.1) seconds\n                set [☁ spot55 v] to (spot fast 5)\n                wait (0.1) seconds\n                set [☁ spot66 v] to (spot fast 6)\n                wait (0.1) seconds\n                set [☁ spot77 v] to (spot fast 7)\n            else\n                if <<(my final time) > (join (letter (1) of (☁ spot55)) (join (letter (2) of (☁ spot55)) (join (letter (3) of (☁ spot55)) (join (letter (4) of (☁ spot55)) (join (letter (5) of (☁ spot55)) (join (letter (6) of (☁ spot55)) (letter (7) of (☁ spot55))))))))> or <(my final time) = (join (letter (1) of (☁ spot55)) (join (letter (2) of (☁ spot55)) (join (letter (3) of (☁ spot55)) (join (letter (4) of (☁ spot55)) (join (letter (5) of (☁ spot55)) (join (letter (6) of (☁ spot55)) (letter (7) of (☁ spot55))))))))>> then\n                    set [spot fast 7 v] to (☁ spot66)\n                    set [spot fast 6 v] to (☁ spot55)\n                    set [spot fast 5 v] to (join (my final time) (my coded name))\n                    set [spot fast 4 v] to (☁ spot44)\n                    set [spot fast 3 v] to (☁ spot33)\n                    set [spot fast 2 v] to (☁ spot22)\n                    set [spot fast 1 v] to (☁ spot11)\n                    set [☁ spot11 v] to (spot fast 1)\n                    wait (0.1) seconds\n                    set [☁ spot22 v] to (spot fast 2)\n                    wait (0.1) seconds\n                    set [☁ spot33 v] to (spot fast 3)\n                    wait (0.1) seconds\n                    set [☁ spot44 v] to (spot fast 4)\n                    wait (0.1) seconds\n                    set [☁ spot55 v] to (spot fast 5)\n                    wait (0.1) seconds\n                    set [☁ spot66 v] to (spot fast 6)\n                    wait (0.1) seconds\n                    set [☁ spot77 v] to (spot fast 7)\n                else\n                    if <<(my final time) > (join (letter (1) of (☁ spot66)) (join (letter (2) of (☁ spot66)) (join (letter (3) of (☁ spot66)) (join (letter (4) of (☁ spot66)) (join (letter (5) of (☁ spot66)) (join (letter (6) of (☁ spot66)) (letter (7) of (☁ spot66))))))))> or <(my final time) = (join (letter (1) of (☁ spot66)) (join (letter (2) of (☁ spot66)) (join (letter (3) of (☁ spot66)) (join (letter (4) of (☁ spot66)) (join (letter (5) of (☁ spot66)) (join (letter (6) of (☁ spot66)) (letter (7) of (☁ spot66))))))))>> then\n                        set [spot fast 7 v] to (☁ spot66)\n                        set [spot fast 6 v] to (join (my final time) (my coded name))\n                        set [spot fast 5 v] to (☁ spot55)\n                        set [spot fast 4 v] to (☁ spot44)\n                        set [spot fast 3 v] to (☁ spot33)\n                        set [spot fast 2 v] to (☁ spot22)\n                        set [spot fast 1 v] to (☁ spot11)\n                        set [☁ spot11 v] to (spot fast 1)\n                        wait (0.1) seconds\n                        set [☁ spot22 v] to (spot fast 2)\n                        wait (0.1) seconds\n                        set [☁ spot33 v] to (spot fast 3)\n                        wait (0.1) seconds\n                        set [☁ spot44 v] to (spot fast 4)\n                        wait (0.1) seconds\n                        set [☁ spot55 v] to (spot fast 5)\n                        wait (0.1) seconds\n                        set [☁ spot66 v] to (spot fast 6)\n                        wait (0.1) seconds\n                        set [☁ spot77 v] to (spot fast 7)\n                    else\n                        if <<(my final time) > (join (letter (1) of (☁ spot77)) (join (letter (2) of (☁ spot77)) (join (letter (3) of (☁ spot77)) (join (letter (4) of (☁ spot77)) (join (letter (5) of (☁ spot77)) (join (letter (6) of (☁ spot77)) (letter (7) of (☁ spot77))))))))> or <(my final time) = (join (letter (1) of (☁ spot77)) (join (letter (2) of (☁ spot77)) (join (letter (3) of (☁ spot77)) (join (letter (4) of (☁ spot77)) (join (letter (5) of (☁ spot77)) (join (letter (6) of (☁ spot77)) (letter (7) of (☁ spot77))))))))>> then\n                            set [spot fast 7 v] to (join (my final time) (my coded name))\n                            set [spot fast 6 v] to (☁ spot66)\n                            set [spot fast 5 v] to (☁ spot55)\n                            set [spot fast 4 v] to (☁ spot44)\n                            set [spot fast 3 v] to (☁ spot33)\n                            set [spot fast 2 v] to (☁ spot22)\n                            set [spot fast 1 v] to (☁ spot11)\n                            set [☁ spot11 v] to (spot fast 1)\n                            wait (0.1) seconds\n                            set [☁ spot22 v] to (spot fast 2)\n                            wait (0.1) seconds\n                            set [☁ spot33 v] to (spot fast 3)\n                            wait (0.1) seconds\n                            set [☁ spot44 v] to (spot fast 4)\n                            wait (0.1) seconds\n                            set [☁ spot55 v] to (spot fast 5)\n                            wait (0.1) seconds\n                            set [☁ spot66 v] to (spot fast 6)\n                            wait (0.1) seconds\n                            set [☁ spot77 v] to (spot fast 7)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nset [☁ spot11 v] to (join [9999999] (my coded name))\n\nset [☁ spot33 v] to [9999]\n\nset [☁ spot44 v] to [9999]\n\nset [☁ spot55 v] to [9999]\n\nset [☁ spot66 v] to [9999]\n\nset [☁ spot77 v] to [9999]\n\nwhen flag clicked\nhide\n\nwhen I receive [click leaderboard v]\nwait (0.5) seconds\nshow\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite34\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (5)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\ngo to x: (232) y: (64)\n\nwhen flag clicked\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        repeat until <not <mouse down?>>\n            if <(y position) > [64]> then\n                set y to (64)\n            else\n                if <[-199] > (y position)> then\n                    set y to (-199)\n                else\n                    if <<[65] > (mouse y)> and <(mouse y) > [-200]>> then\n                        set y to (mouse y)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set [leaderboard y v] to ((64) - (y position))\nend\n\nwhen [down arrow v] key pressed\nchange y by (-7)\n\nwhen [up arrow v] key pressed\nif <(y position) < [62]> then\n    change y by (7)\nend\n\nwhen I receive [click leaderboard v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@timer\n\nwhen flag clicked\nset [time v] to [0]\n\nwhen I receive [start timer v]\nforever\n    change [time v] by ((10) / (30))\n    set [my number of mil v] to ((10000000) - (round (time)))\n    set [time in 0,1 v] to (round (time))\n    go to x: (0) y: (0)\nend\n\nwhen I receive [reset timer v]\nset [time v] to [0]\n\nwhen I receive [stop timer v]\nstop [other scripts in sprite v]\n\nwhen I receive [cinematic v]\nbroadcast (stop timer v)\n\nwhen I receive [level 2 started v]\nbroadcast (start timer v)\n\nwhen I receive [you won v]\nbroadcast (stop timer v)\n\n@Sprite35\n\nwhen flag clicked\nforever\n    set [green min v] to ([floor v] of (((time in 0,1) / (10)) / (60)) )\n    set [green sec v] to (([floor v] of ((time in 0,1) / (10)) ) mod (60))\n    set [green mil v] to ((time in 0,1) mod (10))\nend\n\n@min 2\n\nwhen flag clicked\nforever\n    if <<(1) = [1]> and <(I can see the character) = [1]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(green min) < [10]> then\n        set [1 v] to [0]\n    else\n        if <(length of (green min)) = [2]> then\n            switch costume to (letter (1) of (green min))\n            set [1 v] to [1]\n        end\n        if <(length of (green min)) = [3]> then\n            switch costume to (letter (2) of (green min))\n            set [1 v] to [1]\n        end\n    end\nend\n\n@sec 1\n\nwhen flag clicked\nforever\n    if <(length of (green min)) = [1]> then\n        switch costume to (letter (1) of (green min))\n    end\n    if <(length of (green min)) = [2]> then\n        switch costume to (letter (2) of (green min))\n    end\n    if <(length of (green min)) = [3]> then\n        switch costume to (letter (3) of (green min))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(I can see the character) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@10 seconde\n\nwhen flag clicked\nforever\n    if <(green sec) < [10]> then\n        switch costume to (0 v)\n    else\n        if <(length of (green sec)) = [2]> then\n            switch costume to (letter (1) of (green sec))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(I can see the character) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@seconde\n\nwhen flag clicked\nforever\n    if <(length of (green sec)) = [1]> then\n        switch costume to (letter (1) of (green sec))\n    end\n    if <(length of (green sec)) = [2]> then\n        switch costume to (letter (2) of (green sec))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(I can see the character) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@dixième\n\nwhen flag clicked\nforever\n    if <(length of (green mil)) = [1]> then\n        switch costume to (letter (1) of (green mil))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(I can see the character) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite36\n\nwhen flag clicked\nforever\n    if <(I can see the character) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@100 minute\n\nwhen flag clicked\nforever\n    if <(green min) < [100]> then\n        set [2 v] to [0]\n    else\n        if <(length of (green min)) = [3]> then\n            switch costume to (letter (1) of (green min))\n            set [2 v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(2) = [1]> and <(I can see the character) = [1]>> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite37\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (1) to (6))\nset size to (pick random (100) to (130)) %\nset [ghost v] effect to (pick random (0) to (20))\ngo to x: (-200) y: (-169)\nset [confetie y v] to (pick random (15) to (10))\nset [confeti x v] to (pick random (-2) to (2))\nset [confeti turn v] to (pick random (10) to (10))\nrepeat until <touching (_edge_ v)?>\n    change x by (confeti x)\n    change y by (confetie y)\n    change [confetie y v] by (-0.4)\n    turn right (confeti turn) degrees\n    if <(back to menu?) = [1]> then\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [you won v]\nset [back to menu? v] to [0]\nforever\n    if <(back to menu?) = [0]> then\n        create clone of (_myself_ v)\n        wait (0.05) seconds\n    else\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@Sprite38\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (1) to (6))\nset size to (pick random (100) to (130)) %\nset [ghost v] effect to (pick random (0) to (20))\ngo to x: (200) y: (-169)\nset [confetie y v] to (pick random (15) to (10))\nset [confeti x v] to (pick random (-2) to (2))\nset [confeti turn v] to (pick random (10) to (10))\nrepeat until <touching (_edge_ v)?>\n    change x by (confeti x)\n    change y by (confetie y)\n    change [confetie y v] by (-0.4)\n    turn right (confeti turn) degrees\n    if <(back to menu?) = [1]> then\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [you won v]\nset [back to menu? v] to [0]\nforever\n    if <(back to menu?) = [0]> then\n        create clone of (_myself_ v)\n        wait (0.05) seconds\n    else\n        stop [this script v]\n    end\nend\n\nwhen I receive [back to the menu v]\nset [back to menu? v] to [1]\nwait (1) seconds\nset [back to menu? v] to [0]\n\nwhen flag clicked\nhide\n\n@minute\n\nwhen I receive [time v]\nif <(green min) < [100]> then\n    hide\nelse\n    if <(length of (green min)) = [3]> then\n        switch costume to (letter (1) of (green min))\n        show\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@minute2\n\nwhen I receive [time v]\nif <(green min) < [10]> then\n    hide\nelse\n    if <(length of (green min)) = [2]> then\n        switch costume to (letter (1) of (green min))\n        show\n    end\n    if <(length of (green min)) = [3]> then\n        switch costume to (letter (2) of (green min))\n        show\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@minute3\n\nwhen I receive [time v]\nshow\nif <(length of (green min)) = [1]> then\n    switch costume to (letter (1) of (green min))\nend\nif <(length of (green min)) = [2]> then\n    switch costume to (letter (2) of (green min))\nend\nif <(length of (green min)) = [3]> then\n    switch costume to (letter (3) of (green min))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@sec\n\nwhen I receive [time v]\nshow\nif <(green sec) < [10]> then\n    switch costume to (0 v)\nelse\n    if <(length of (green sec)) = [2]> then\n        switch costume to (letter (1) of (green sec))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@sec2\n\nwhen I receive [time v]\nshow\nif <(length of (green sec)) = [1]> then\n    switch costume to (letter (1) of (green sec))\nend\nif <(length of (green sec)) = [2]> then\n    switch costume to (letter (2) of (green sec))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@sec3\n\nwhen I receive [time v]\nshow\nif <(length of (green mil)) = [1]> then\n    switch costume to (letter (1) of (green mil))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite39\n\nwhen I receive [time v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite40\n\nwhen flag clicked\nhide\n\nwhen I receive [time v]\nshow\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite41\n\nwhen flag clicked\nhide\n\nwhen I receive [time v]\nshow\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite42\n\nwhen I receive [click leaderboard v]\nset [letter y v] to [72]\nset [spot decoded v] to [1]\nset [% v] to [0]\nrepeat (7)\n    set [hide this spot v] to [0]\n    set [letter x v] to [-173]\n    set [# letter v] to [0]\n    if <(spot decoded) = [1]> then\n        set [lenth of decoded spot v] to (length of (☁ spot11))\n    end\n    if <(spot decoded) = [2]> then\n        set [lenth of decoded spot v] to (length of (☁ spot22))\n    end\n    if <(spot decoded) = [3]> then\n        set [lenth of decoded spot v] to (length of (☁ spot33))\n    end\n    if <(spot decoded) = [4]> then\n        set [lenth of decoded spot v] to (length of (☁ spot44))\n    end\n    if <(spot decoded) = [5]> then\n        set [lenth of decoded spot v] to (length of (☁ spot55))\n    end\n    if <(spot decoded) = [6]> then\n        set [lenth of decoded spot v] to (length of (☁ spot66))\n    end\n    if <(spot decoded) = [7]> then\n        set [lenth of decoded spot v] to (length of (☁ spot77))\n    end\n    repeat (((lenth of decoded spot) - (7)) / (2))\n        if <(spot decoded) = [1]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot11)) (letter ((# letter) + (9)) of (☁ spot11)))\n            if <(☁ spot11) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [2]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot22)) (letter ((# letter) + (9)) of (☁ spot22)))\n            if <(☁ spot22) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [3]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot33)) (letter ((# letter) + (9)) of (☁ spot33)))\n            if <(☁ spot33) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [4]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot44)) (letter ((# letter) + (9)) of (☁ spot44)))\n            if <(☁ spot44) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [5]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot55)) (letter ((# letter) + (9)) of (☁ spot55)))\n            if <(☁ spot55) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [6]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot66)) (letter ((# letter) + (9)) of (☁ spot66)))\n            if <(☁ spot66) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [7]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot77)) (letter ((# letter) + (9)) of (☁ spot77)))\n            if <(☁ spot77) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (2)\n        change [letter x v] by (14)\n    end\n    if <(spot decoded) = [1]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot11)) (join (letter (2) of (☁ spot11)) (join (letter (3) of (☁ spot11)) (join (letter (4) of (☁ spot11)) (join (letter (5) of (☁ spot11)) (join (letter (6) of (☁ spot11)) (letter (7) of (☁ spot11)))))))))\n    end\n    if <(spot decoded) = [2]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot22)) (join (letter (2) of (☁ spot22)) (join (letter (3) of (☁ spot22)) (join (letter (4) of (☁ spot22)) (join (letter (5) of (☁ spot22)) (join (letter (6) of (☁ spot22)) (letter (7) of (☁ spot22)))))))))\n    end\n    if <(spot decoded) = [3]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot33)) (join (letter (2) of (☁ spot33)) (join (letter (3) of (☁ spot33)) (join (letter (4) of (☁ spot33)) (join (letter (5) of (☁ spot33)) (join (letter (6) of (☁ spot33)) (letter (7) of (☁ spot33)))))))))\n    end\n    if <(spot decoded) = [4]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot44)) (join (letter (2) of (☁ spot44)) (join (letter (3) of (☁ spot44)) (join (letter (4) of (☁ spot44)) (join (letter (5) of (☁ spot44)) (join (letter (6) of (☁ spot44)) (letter (7) of (☁ spot44)))))))))\n    end\n    if <(spot decoded) = [5]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot55)) (join (letter (2) of (☁ spot55)) (join (letter (3) of (☁ spot55)) (join (letter (4) of (☁ spot55)) (join (letter (5) of (☁ spot55)) (join (letter (6) of (☁ spot55)) (letter (7) of (☁ spot55)))))))))\n    end\n    if <(spot decoded) = [6]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot66)) (join (letter (2) of (☁ spot66)) (join (letter (3) of (☁ spot66)) (join (letter (4) of (☁ spot66)) (join (letter (5) of (☁ spot66)) (join (letter (6) of (☁ spot66)) (letter (7) of (☁ spot66)))))))))\n    end\n    if <(spot decoded) = [7]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot77)) (join (letter (2) of (☁ spot77)) (join (letter (3) of (☁ spot77)) (join (letter (4) of (☁ spot77)) (join (letter (5) of (☁ spot77)) (join (letter (6) of (☁ spot77)) (letter (7) of (☁ spot77)))))))))\n    end\n    set [lea min v] to ([floor v] of (((number to write) / (10)) / (60)) )\n    set [lea sec v] to (([floor v] of ((number to write) / (10)) ) mod (60))\n    set [lea 0.1 v] to ((number to write) mod (10))\n    set [letter x v] to ((136) - ((length of (lea min)) * (14)))\n    set [# letter v] to [1]\n    repeat (length of (lea min))\n        switch costume to ((letter (# letter) of (lea min)) + (36))\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (1)\n        change [letter x v] by (14)\n    end\n    set [letter x v] to [150]\n    if <(length of (lea sec)) = [1]> then\n        go to x: (letter x) y: (letter y)\n        switch costume to (36 v)\n        create clone of (_myself_ v)\n        change [letter x v] by (14)\n        go to x: (letter x) y: (letter y)\n        switch costume to ((letter (1) of (lea sec)) + (36))\n        create clone of (_myself_ v)\n    end\n    if <(length of (lea sec)) = [2]> then\n        switch costume to ((letter (1) of (lea sec)) + (36))\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (1)\n        change [letter x v] by (14)\n        switch costume to ((letter (2) of (lea sec)) + (36))\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (1)\n    end\n    set [letter x v] to [190]\n    switch costume to ((letter (1) of (lea 0.1)) + (36))\n    go to x: (letter x) y: (letter y)\n    set size to (100) %\n    create clone of (_myself_ v)\n    change [# letter v] by (1)\n    wait (0.2) seconds\n    change [letter y v] by (-55)\n    change [spot decoded v] by (1)\n    change [% v] by (14)\nend\nbroadcast (done v)\n\nwhen I start as a clone\nshow\nset [text scroll v] to (letter y)\nif <(hide this spot) = [1]> then\n    hide\nelse\n    show\nend\nforever\n    set y to ((text scroll) + (leaderboard y))\n    if <(delete clone) = [1]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nset [☁ spot11 v] to [11111112323]\n\nwhen flag clicked\n\nforever\n    if <<(username) = [alexandretherrien]> and <key (9 v) pressed?>> then\nend\n\nwhen I receive [click leaderboard v]\n\nset [letter y v] to [72]\nset [spot decoded v] to [1]\nset [% v] to [0]\nrepeat (7)\n    set [hide this spot v] to [0]\n    set [letter x v] to [-173]\n    set [# letter v] to [0]\n    repeat (((length of (☁ spot11)) - (7)) / (2))\n        if <(spot decoded) = [1]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot11)) (letter ((# letter) + (9)) of (☁ spot11)))\n            if <(☁ spot11) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [2]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot22)) (letter ((# letter) + (9)) of (☁ spot22)))\n            if <(☁ spot22) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [3]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot33)) (letter ((# letter) + (9)) of (☁ spot33)))\n            if <(☁ spot33) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [4]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot44)) (letter ((# letter) + (9)) of (☁ spot44)))\n            if <(☁ spot44) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [5]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot55)) (letter ((# letter) + (9)) of (☁ spot55)))\n            if <(☁ spot55) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [6]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot66)) (letter ((# letter) + (9)) of (☁ spot66)))\n            if <(☁ spot66) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        if <(spot decoded) = [7]> then\n            switch costume to (join (letter ((# letter) + (8)) of (☁ spot77)) (letter ((# letter) + (9)) of (☁ spot77)))\n            if <(☁ spot77) = [11111112323]> then\n                set [hide this spot v] to [1]\n            end\n        end\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (2)\n        change [letter x v] by (14)\n    end\n    if <(spot decoded) = [1]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot11)) (join (letter (2) of (☁ spot11)) (join (letter (3) of (☁ spot11)) (join (letter (4) of (☁ spot11)) (join (letter (5) of (☁ spot11)) (join (letter (6) of (☁ spot11)) (letter (7) of (☁ spot11)))))))))\n    end\n    if <(spot decoded) = [2]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot22)) (join (letter (2) of (☁ spot22)) (join (letter (3) of (☁ spot22)) (join (letter (4) of (☁ spot22)) (join (letter (5) of (☁ spot22)) (join (letter (6) of (☁ spot22)) (letter (7) of (☁ spot22)))))))))\n    end\n    if <(spot decoded) = [3]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot33)) (join (letter (2) of (☁ spot33)) (join (letter (3) of (☁ spot33)) (join (letter (4) of (☁ spot33)) (join (letter (5) of (☁ spot33)) (join (letter (6) of (☁ spot33)) (letter (7) of (☁ spot33)))))))))\n    end\n    if <(spot decoded) = [4]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot44)) (join (letter (2) of (☁ spot44)) (join (letter (3) of (☁ spot44)) (join (letter (4) of (☁ spot44)) (join (letter (5) of (☁ spot44)) (join (letter (6) of (☁ spot44)) (letter (7) of (☁ spot44)))))))))\n    end\n    if <(spot decoded) = [5]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot55)) (join (letter (2) of (☁ spot55)) (join (letter (3) of (☁ spot55)) (join (letter (4) of (☁ spot55)) (join (letter (5) of (☁ spot55)) (join (letter (6) of (☁ spot55)) (letter (7) of (☁ spot55)))))))))\n    end\n    if <(spot decoded) = [6]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot66)) (join (letter (2) of (☁ spot66)) (join (letter (3) of (☁ spot66)) (join (letter (4) of (☁ spot66)) (join (letter (5) of (☁ spot66)) (join (letter (6) of (☁ spot66)) (letter (7) of (☁ spot66)))))))))\n    end\n    if <(spot decoded) = [7]> then\n        set [number to write v] to ((10000000) - (join (letter (1) of (☁ spot77)) (join (letter (2) of (☁ spot77)) (join (letter (3) of (☁ spot77)) (join (letter (4) of (☁ spot77)) (join (letter (5) of (☁ spot77)) (join (letter (6) of (☁ spot11)) (letter (7) of (☁ spot77)))))))))\n    end\n    set [lea min v] to ([floor v] of (((number to write) / (10)) / (60)) )\n    set [lea sec v] to (([floor v] of ((number to write) / (10)) ) mod (60))\n    set [lea 0.1 v] to ((number to write) mod (10))\n    set [letter x v] to ((136) - ((length of (lea min)) * (14)))\n    set [# letter v] to [1]\n    repeat (length of (lea min))\n        switch costume to ((letter (# letter) of (lea min)) + (36))\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (1)\n        change [letter x v] by (14)\n    end\n    set [letter x v] to [150]\n    if <(length of (lea sec)) = [1]> then\n        go to x: (letter x) y: (letter y)\n        switch costume to (36 v)\n        create clone of (_myself_ v)\n        change [letter x v] by (14)\n        go to x: (letter x) y: (letter y)\n        switch costume to ((letter (2) of (lea sec)) + (36))\n        create clone of (_myself_ v)\n    end\n    if <(length of (lea sec)) = [2]> then\n        switch costume to ((letter (1) of (lea sec)) + (36))\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (1)\n        change [letter x v] by (14)\n        switch costume to ((letter (2) of (lea sec)) + (36))\n        go to x: (letter x) y: (letter y)\n        set size to (100) %\n        create clone of (_myself_ v)\n        change [# letter v] by (1)\n    end\n    set [letter x v] to [190]\n    switch costume to ((letter (1) of (lea 0.1)) + (36))\n    go to x: (letter x) y: (letter y)\n    set size to (100) %\n    create clone of (_myself_ v)\n    change [# letter v] by (1)\n    wait (0.2) seconds\n    change [letter y v] by (-55)\n    change [spot decoded v] by (1)\n    change [% v] by (14)\nend\nbroadcast (done v)\n\n@Sprite43\n\nwhen flag clicked\nreset timer\nset [privious timer v] to [0]\nforever\n    set [fps v] to (round ((1) / ((timer) - (privious timer))))\n    set [privious timer v] to (timer)\nend\n\nwhen flag clicked\nforever\n    if <(%) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(%) = [14]> then\n        switch costume to (14 v)\n    end\n    if <(%) = [28]> then\n        switch costume to (28 v)\n    end\n    if <(%) = [42]> then\n        switch costume to (42 v)\n    end\n    if <(%) = [56]> then\n        switch costume to (56 v)\n    end\n    if <(%) = [70]> then\n        switch costume to (70 v)\n    end\n    if <(%) = [84]> then\n        switch costume to (84 v)\n    end\n    if <(%) = [98]> then\n        switch costume to (98 v)\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [click leaderboard v]\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [done v]\nset [ghost v] effect to (0)\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\n@Sprite44\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (105) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nbroadcast (back to the menu v)\nset [# letter v] to [0]\nset [delete clone v] to [1]\nwait (0.1) seconds\nset [delete clone v] to [0]\n\nwhen I receive [click leaderboard v]\nwait (0.5) seconds\nshow\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite45\n\nwhen flag clicked\nhide\n\nwhen I receive [click info v]\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite46\n\nwhen this sprite clicked\nbroadcast (controls v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (102) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [click info v]\nwait (0.1) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite47\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (102) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [click info v]\nwait (0.1) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [back to the menu v]\nhide\n\nwhen this sprite clicked\nbroadcast (what is a speed run v)\n\n@Sprite48\n\nwhen I receive [click info v]\nwait (0.15) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen this sprite clicked\nbroadcast (back to the menu v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (102) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite49\n\nwhen flag clicked\nhide\n\nwhen I receive [controls v]\nwait (0.1) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite50\n\nwhen flag clicked\nhide\n\nwhen I receive [what is a speed run v]\nwait (0.1) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [back to the menu v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [cinematic v]\nwait (0.1) seconds\nshow\nset [ghost v] effect to (0)\nset [ghost skip v] to [0]\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\n    change [ghost skip v] by (10)\nend\nforever\n    set [old v] to (mouse x)\n    wait (0.1) seconds\n    set [new v] to (mouse x)\n    if <[5] < ([abs v] of ((new) - (old)) )> then\n        repeat (10)\n            change [ghost v] effect by (-10)\n            change [ghost skip v] by (-10)\n            clear graphic effects\n            change [ghost skip v] by (0)\n        end\n        wait (2) seconds\n    else\n        repeat until <(ghost skip) > [95]>\n            change [ghost v] effect by (10)\n            change [ghost skip v] by (10)\n        end\n    end\nend\n\nwhen I receive [cinematic v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (105) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nhide\nset [stop cinematic v] to [1]\nbroadcast (switching level screen v)\nbroadcast (stop cinematic v)\nwait (1) seconds\nset [stop cinematic v] to [0]\nwait (0) seconds\nstop [other scripts in sprite v]\n\nwhen flag clicked\nset [stop cinematic v] to [0]\n\nwhen I receive [switching level screen v]\nhide\nstop [other scripts in sprite v]\n\n@song\n\nwhen I receive [black bars v]\nwait (1) seconds\nplay sound [pop v] until done\n\nwhen I receive [stop cinematic v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite51\n\nwhen I receive [checkpoint animation v]\nshow\nset [size check v] to [10]\nset size to (1) %\nrepeat (20)\n    change [size check v] by (-0.50)\n    change size by (size check)\nend\nwait (2) seconds\nrepeat (20)\n    change [size check v] by (-0.50)\n    change size by (size check)\nend\nhide\n\nwhen flag clicked\nforever\n    if <(level #) = [1]> then\n        if <([abs v] of ((ScrollX) - (4655)) ) < [10]> then\n            broadcast (checkpoint animation v)\n        end\n    end\n    if <(level #) = [2]> then\n        if <([abs v] of ((ScrollX) - (5235)) ) < [10]> then\n            broadcast (checkpoint animation v)\n        end\n    end\nend\n\n@Sprite52\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nclear graphic effects\nset size to (100) %\n\nwhen [v v] key pressed\nshow variable [☁ spot11 v]\nshow variable [☁ spot22 v]\nshow variable [☁ spot33 v]\nshow variable [☁ spot44 v]\nshow variable [☁ spot55 v]\nshow variable [☁ spot66 v]\nshow variable [☁ spot77 v]\nwait until <not <key (v v) pressed?>>\nhide variable [☁ spot11 v]\nhide variable [☁ spot22 v]\nhide variable [☁ spot33 v]\nhide variable [☁ spot44 v]\nhide variable [☁ spot55 v]\nhide variable [☁ spot66 v]\nhide variable [☁ spot77 v]\n\nwhen flag clicked\nset [hello v] to [0]\nforever\n    change [hello v] by (1)\n    wait (1) seconds\n    if <(hello) > [800000]> then\n        stop [all v]\n    end\nend\n\nset [☁ spot11 v] to [99994001930132524222214]\nwait (0.1) seconds\nset [☁ spot22 v] to [99993991930132524222214]\nwait (0.1) seconds\nset [☁ spot33 v] to [99993951930132524222214]\nwait (0.1) seconds\nset [☁ spot44 v] to [99993791930132524222214]\nwait (0.1) seconds\nset [☁ spot55 v] to [99993791930132524222214]\nwait (0.1) seconds\nset [☁ spot66 v] to [99993771930132524222214]\nwait (0.1) seconds\nset [☁ spot77 v] to [99993741930132524222214]\nwait (0.1) seconds\n\n