Ninja Pursuit | Part 2 | Desert | A Platformer |  #All Games #Stories #Trending

Instructions: NEW ANIMATION IS OUT!!! https://scratch.mit.edu/projects/679415995/\n\n▶︎▶︎▶︎Welcome to... Ninja Pursuit PART 2!!◀︎◀︎◀︎\nI would really appreciate it if we could get this trending! :D\n\nTopped loved Again! :O\nPart 3 at 3.5k followers! :D \n\nSorry, I took long to make this! XD\n\nYup! Mobile Friendly! :D\n==============INSTRUCTIONS===============\n\n❖ Arrow keys or A, D to move\n❖ Up arrow key or W to jump\n❖ Press space or click the slice button so you can slice with the sword.\n\nPut the magic word in the comments when you are done!\n(Also put your Time)\n\nSorry for taking a While to post this.\n\nTags:\n#games #all #platformers #music #art #stories #tutorials #animations #trending #generic #1st #toploved #topremixed #remixed #loved #featured #Animations #Stories #Games #Music #Art #Trending #All #Animations #Stories #Games #Music #Art #Trending #All #Animations #Stories #Games #Music #Art #Trending #All #Animations #Stories #Games #Music #Art #Trending #All #Animations #Storiese

@Stage\n\nwhen I receive [yell v]\nswitch costume to (house v)\nset [pain v] to [0]\nstart sound [yell v]\nrepeat (50)\n    go to x: (0) y: (0)\n    change x by (pick random (-10) to (5))\n    change y by (pick random (-10) to (5))\nend\ngo to x: (0) y: (0)\nwait (0.1) seconds\nbroadcast (beep v)\n\nwhen I receive [start! v]\nforever\n    play sound [RetroVision - Puzzle _NCS Release_ v] until done\nend\n\n@Player\n\ndefine reset  X (x) Y (y)\ngo to x: (x) y: (y)\nset [y v] to [0]\nset [x v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\nclear graphic effects\n\ndefine Speed (speed) Friction (friction) Gravity (gravity) Jump height (jump height)\nchange [y v] by (gravity)\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n    change [x v] by (1.8)\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    change [x v] by ((speed) * (-1.8))\n    point in direction (-90)\nend\nset [x v] to ((X) * (friction))\nchange x by (X)\nrepeat (8)\n    change y by <<touching (platform v)?> or <touching (trampoline v)?>>\nend\nif <<touching (platform v)?> or <touching (trampoline v)?>> then\n    change x by (() - (X))\n    change y by (-8)\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n        set [y v] to ((jump height) - (3))\n        set [x v] to ((5) - ((14) * <[0] < (X)>))\n    end\nend\nchange y by (Y)\nif <<touching (platform v)?> or <touching (trampoline v)?>> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n    if <<touching (platform v)?> or <touching (trampoline v)?>> then\n        start sound [huh v]\n        set [y v] to (jump height)\n    end\nend\nchange y by (1)\n\nwhen flag clicked\nwait until <(Actions \(love/fave\)) = [2]>\nswitch costume to (player2 v)\n\nif <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>>> then\n    switch costume to (player2 v)\nelse\n    switch costume to (player v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start! v]\nswitch costume to (player v)\nshow\n\nwhen I receive [start! v]\nshow\nreset  X [-200] Y [0]\nset [ok v] to [0]\nset [level v] to [1]\nforever\n    if <(ok) = [0]> then\n        Speed [1] Friction [0.88] Gravity [-1] Jump height [13]\n        if <<touching (spikes v)?> or <touching (enemies v)?>> then\n            broadcast (yell v)\n            set [ok v] to [1]\n            set rotation style [all around v]\n            set [y v] to [10]\n            start sound [Crunch v]\n            repeat (20)\n                change [y v] by (-1)\n                change [ghost v] effect by (5)\n                turn right (8) degrees\n                change y by (Y)\n            end\n            set [ok v] to [0]\n            reset  X [-200] Y [0]\n        end\n    end\n    if <touching (flag v)?> then\n        broadcast (Next v)\n        wait (1) seconds\n        change [level v] by (1)\n        reset  X [-200] Y [0]\n    end\nend\n\n@Platform\n\nwhen flag clicked\nhide\n\nwhen I receive [yell v]\nswitch costume to (house v)\nset [pain v] to [0]\nstart sound [yell v]\nrepeat (10)\n    go to x: (0) y: (0)\n    change x by (pick random (-6) to (5))\n    change y by (pick random (-6) to (5))\nend\ngo to x: (0) y: (0)\nwait (0.1) seconds\nbroadcast (beep v)\n\nwhen I receive [start! v]\nswitch costume to (level1 v)\nforever\n    show\n    switch costume to (level)\nend\n\nshow\nwait (7) seconds\nstop [this script v]\n\n@spikes\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen I receive [yell v]\nswitch costume to (house v)\nset [pain v] to [0]\nstart sound [yell v]\nrepeat (10)\n    go to x: (0) y: (0)\n    change x by (pick random (-6) to (5))\n    change y by (pick random (-6) to (5))\nend\ngo to x: (0) y: (0)\nwait (0.1) seconds\nbroadcast (beep v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start! v]\nswitch costume to (player v)\nshow\n\n@sun\n\nwhen flag clicked\ngo to x: (209) y: (171)\ngo to [back v] layer\nforever\n    set size to ((100) + (([cos v] of ((timer) * (200)) ) * (10))) %\nend\n\nwhen I receive [start! v]\nswitch costume to (player v)\nshow\n\nwhen flag clicked\nhide\n\n@background\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (level)\nend\n\nwhen I receive [yell v]\nswitch costume to (house v)\nset [pain v] to [0]\nstart sound [yell v]\nrepeat (10)\n    go to x: (0) y: (0)\n    change x by (pick random (-6) to (5))\n    change y by (pick random (-6) to (5))\nend\ngo to x: (0) y: (0)\nwait (0.1) seconds\nbroadcast (beep v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start! v]\nswitch costume to (player v)\nshow\n\n@Affect\n\nwhen flag clicked\nswitch costume to (0 v)\nforever\n    go to (player v)\nend\n\nwhen I receive [yell v]\nrepeat (5)\n    next costume\nend\nswitch costume to (0 v)\n\n@Sprite2\n\n@Transition\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nif <[0] = [0]> then\n    delete this clone\nend\nset [幽霊 v] to [80]\nrepeat (5)\n    クローン [1]\n    change [幽霊 v] by (-20)\n    wait (0) seconds\nend\n\ndefine 初期設定　x (x) y (y) 大きさ (大きさ) 向き (向き)\nset [x v] to (x)\nset [y v] to (y)\nset [大きさ v] to (大きさ)\nset [向き v] to (向き)\n\ndefine どこにでもいけるよ\nset [コスチューム v] to (costume [name v])\nset size to ((1) / (0)) %\ngo to x: (x) y: (y)\nif <[100] < (大きさ)> then\n    switch costume to (無限 v)\n    set size to (大きさ) %\n    switch costume to (コスチューム)\nelse\n    switch costume to (大きい v)\n    set size to (大きさ) %\n    switch costume to (コスチューム)\nend\npoint in direction (向き)\n\ndefine クローン (クローン)\nset [クローン番号 v] to (クローン)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(クローン番号) = [1]> then\n    set [ghost v] effect to (幽霊)\n    show\n    初期設定　x [0] y [-400] 大きさ [100] 向き [90]\n    repeat until <([abs v] of ((y) - (0)) ) < [1]>\n        どこにでもいけるよ\n        if <[-200] < (y)> then\n            change [y v] by (((0) - (y)) / (10))\n        else\n            change [y v] by (((y) + (450)) / (10))\n        end\n    end\n    wait (0) seconds\n    if <(幽霊) = [0]> then\n        broadcast (ゲームスタート v)\n    end\n    wait (0) seconds\n    repeat (10)\n        change [ghost v] effect by (20)\n    end\n    delete this clone\nend\nif <(クローン番号) = [2]> then\n    set [ghost v] effect to (幽霊)\n    show\n    初期設定　x [0] y [-400] 大きさ [100] 向き [90]\n    repeat until <([abs v] of ((y) - (0)) ) < [1]>\n        go to [front v] layer\n        どこにでもいけるよ\n        if <[-200] < (y)> then\n            change [y v] by (((0) - (y)) / (10))\n        else\n            change [y v] by (((y) + (450)) / (10))\n        end\n    end\n    wait (0) seconds\n    broadcast (Home準備 v)\n    if <(幽霊) = [0]> then\n        broadcast (Home v)\n    end\n    wait (0) seconds\n    repeat (10)\n        change [ghost v] effect by (30)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(クローン番号) = [1]> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I receive [ほめ画面切り替え v]\nif <[0] = [0]> then\n    delete this clone\nend\nset [幽霊 v] to [80]\nrepeat (2)\n    クローン [2]\n    change [幽霊 v] by (-20)\n    wait (0) seconds\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\n@Clouds\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (100) %\nshow\nswitch costume to (pick random (1) to (5))\nif <(pick random (1) to (2)) = [2]> then\n    set [d v] to [-250]\nelse\n    set [d v] to [250]\nend\ngo to x: (d) y: (pick random (130) to (150))\nset [ghost v] effect to (pick random (40) to (70))\nif <(d) = [250]> then\n    repeat until <(x position) < [-267]>\n        change x by (pick random (-1) to (-3))\n        go to [back v] layer\n        go to [back v] layer\n        go [backward v] (999) layers\n    end\nelse\n    repeat until <(x position) > [267]>\n        change x by (pick random (1) to (3))\n        go to [back v] layer\n        go to [back v] layer\n        go [backward v] (999) layers\n    end\nend\ndelete this clone\n\nwhen flag clicked\nset [ghost v] effect to (0)\nforever\n    hide\n    create clone of (_myself_ v)\n    wait (pick random (1.5) to (3)) seconds\nend\n\n@Flag\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start! v]\nswitch costume to (player v)\nshow\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n    end\nend\n\nwhen I receive [start! v]\nswitch costume to (costume1 v)\nshow\nforever\n    go to (player v)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [yell v]\nif <(level) > [4]> then\n    hide\n    wait (0.8) seconds\n    show\nend\n\nwhen I receive [whoosh v]\n\nwhen I receive [cut v]\nwait (0) seconds\nstart sound [Low Whoosh v]\nrepeat (6)\n    next costume\nend\nswitch costume to (costume1 v)\n\nif <key (space v) pressed?> then\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        start sound [Low Whoosh v]\n        repeat (6)\n            next costume\n        end\n        wait (0.1) seconds\n    end\nend\n\nwhen I receive [start! v]\nif <<(level) = [3]> and <touching (player v)?>> then\n    hide\n    wait (0.8) seconds\n    show\n    broadcast (whoosh v)\nend\n\n@Enemies\n\nwhen flag clicked\nswitch costume to (costume2 v)\ngo to [back v] layer\nhide\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        show\n        if <touching (sprite1 v)?> then\n            start sound [splat v]\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        show\n        if <touching (sprite1 v)?> then\n            start sound [splat v]\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        show\n        if <touching (sprite1 v)?> then\n            start sound [splat v]\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n    end\n    if <touching (sprite1 v)?> then\n        start sound [splat v]\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [start! v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (level)\nend\n\nwhen I receive [next v]\nhide\n\n\n\nforever\n\n@Click (Mobile Friendly)\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        go to [front v] layer\n        show\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nwait (0) seconds\nbroadcast (Cut v)\n\n@detector\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nset [actions \(love/fave\) v] to [0]\nforever\n    set [touching v] to [none]\n    Detect [love] at [-201] [-220]\n    Detect [fave] at [-201] [-220]\nend\n\ndefine Detect (thing) at (x) (y)\nswitch costume to (empty v)\nset size to (27000) %\ngo to x: (x) y: (y)\nset size to (100) %\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [touching v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [love]>\n    wait (0.2) seconds\n    if <(touching) = [love]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [fave]>\n    wait (0.2) seconds\n    if <(touching) = [fave]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\n@Love and fave reminder\n\nwhen flag clicked\nwait (2.5) seconds\ngo to [front v] layer\n\nwhen I receive [start! v]\nhide\nwait (1) seconds\nforever\n    if <(Actions \(love/fave\)) < [2]> then\n        switch costume to (costume1 v)\n        go to x: (0) y: (150)\n        show\n        go to [front v] layer\n        start sound [High Whoosh v]\n        repeat (11)\n            change y by (-6)\n        end\n        repeat (7)\n            change y by (3)\n        end\n        repeat (6)\n            change y by (-2)\n        end\n        wait (5) seconds\n        start sound [High Whoosh v]\n        repeat (17)\n            change y by (7)\n        end\n        hide\n        wait (pick random (10) to (20)) seconds\n    else\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@Thanks\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(Actions \(love/fave\)) = [2]>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\ngo to [front v] layer\nswitch costume to (3 v)\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nswitch costume to (3 v)\n\n@Intro\n\nwhen I start as a clone\nif <(ID) = [Chev1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (chev3 v)\n    set size to (1) %\n    if <(#) = [1]> then\n        set [ghost v] effect to (86)\n    else\n        set [ghost v] effect to (90)\n    end\n    set [svel v] to [5]\n    show\n    if <(#) = [1]> then\n        repeat (((#) * (2)) + (4))\n            change size by (Svel)\n            change [svel v] by ((Svel) / (4))\n            change [direction v] by (2.5)\n        end\n        repeat until <[5] < (timer)>\n            switch costume to (size hack v)\n            change size by ((((#) * (350)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (2.5)\n        end\n        repeat (4)\n            change [brightness v] effect by (25)\n            change [ghost v] effect by (2)\n            switch costume to (size hack v)\n            change size by ((((#) * (350)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (2.5)\n        end\n        repeat until <[7.3] < (timer)>\n            switch costume to (size hack v)\n            change size by ((((#) * (350)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (2.5)\n        end\n        repeat (20)\n            switch costume to (size hack v)\n            change size by ((((#) * (350)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (2.5)\n            change [ghost v] effect by (2)\n        end\n        delete this clone\n    else\n        repeat (((#) * (2)) + (4))\n            change size by (Svel)\n            change [svel v] by ((Svel) / (4))\n            change [direction v] by (-2.5)\n        end\n        repeat until <[5] < (timer)>\n            switch costume to (size hack v)\n            change size by ((((#) * (425)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (-2.5)\n        end\n        repeat (4)\n            change [brightness v] effect by (25)\n            change [ghost v] effect by (2)\n            switch costume to (size hack v)\n            change size by ((((#) * (425)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (-2.5)\n        end\n        repeat until <[7.5] < (timer)>\n            switch costume to (size hack v)\n            change size by ((((#) * (425)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (-2.5)\n        end\n        repeat (20)\n            switch costume to (size hack v)\n            change size by ((((#) * (425)) - (size)) / (6))\n            switch costume to (chev3 v)\n            change [direction v] by (-2.5)\n            change [ghost v] effect by (2)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [CircExplo1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (DefY)\n    switch costume to (circexplo v)\n    set size to (1) %\n    set [ghost v] effect to (25)\n    set [brightness v] effect to (0)\n    set [svel v] to [25]\n    set [xvel v] to [25]\n    set [fisheye v] effect to (100)\n    show\n    repeat (25)\n        change size by (Svel)\n        change [xvel v] by ((Xvel) / (3))\n        change [fisheye v] effect by (Xvel)\n        set [svel v] to ((Svel) * (0.9))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [BCircExplo1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (circexplo v)\n    set size to (1) %\n    set [ghost v] effect to (25)\n    set [brightness v] effect to (0)\n    set [svel v] to [35]\n    set [xvel v] to [30]\n    set [fisheye v] effect to (100)\n    show\n    repeat (25)\n        change size by (Svel)\n        change [xvel v] by ((Xvel) / (3))\n        change [fisheye v] effect by (Xvel)\n        set [svel v] to ((Svel) * (0.9))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\ndefine Shake (vel) (deter) (domain)\nset [var v] to [0]\nset [shakevel v] to (vel)\nrepeat until <(ShakeVel) < [0.2]>\n    set [camx v] to (([sin v] of ((Var) * (4)) ) * ((ShakeVel) / (10)))\n    set [camy v] to (([cos v] of ((Var) * (4)) ) * ((ShakeVel) / (10)))\n    set [camd v] to ((([sin v] of ((Var) * (4)) ) * ((ShakeVel) / (10))) + (90))\n    change [var v] by (domain)\n    set [shakevel v] to ((ShakeVel) - (deter))\nend\n\nwhen I start as a clone\nif <not << (ID) contains [par]?> or < (ID) contains [line]?>>> then\n    wait (0.1) seconds\n    set [defx v] to (x position)\n    set [defy v] to (y position)\n    forever\n        if <not <<[6.4] < (timer)> and <(ID) = [Circ3]>>> then\n            go to x: ((DefX) + (CamX)) y: ((DefY) + (CamY))\n            point in direction ((CamD) + (Direction))\n        end\n    end\nend\n\nwhen flag clicked\nhide\nset [camd v] to [90]\nset [direction v] to [0]\nset [shakevel v] to [0]\nset [var v] to [0]\nset [defx v] to [0]\nset [defy v] to [0]\npoint in direction (90)\nShake [1] [3] [1]\nwait until <[2.7] < (timer)>\nShake [50] [3] [4]\nwait until <[3.5] < (timer)>\nShake [25] [3] [4]\nwait until <[4.2] < (timer)>\nShake [25] [3] [4]\nwait until <[4.6] < (timer)>\nShake [50] [3] [4]\nwait until <[5.4] < (timer)>\nShake [25] [3] [4]\nwait until <[5.9] < (timer)>\nShake [50] [3] [4]\n\nwhen I start as a clone\nif <(ID) = [Fade]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (fade v)\n    set size to (200) %\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (25)\n    wait until <[2.7] < (timer)>\n    show\n    repeat (5)\n        change [ghost v] effect by (-2)\n    end\n    repeat until <[8] < (timer)>\n        go to [front v] layer\n    end\n    repeat (10)\n        change [ghost v] effect by (2)\n        delete this clone\n    end\nend\n\nwhen I receive [end v]\nif << (ID) contains [Text]?> or << (ID) contains [par]?> or << (ID) contains [fade]?> or << (ID) contains [hex]?> or << (ID) contains [arrows]?> or < (ID) contains [chev]?>>>>>> then\n    if <(ID) = [hex2]> then\n        set [svel v] to [-3]\n        switch costume to (size hack v)\n        set size to (1200) %\n        repeat (25)\n            switch costume to (size hack v)\n            change size by (Svel)\n            change [svel v] by ((Svel) / (8))\n            switch costume to (chev4 v)\n            change [direction v] by ((Svel) / (6))\n        end\n        repeat until <(size) < [15]>\n            change size by (Svel)\n            change [svel v] by ((Svel) / (12))\n            change [direction v] by ((Svel) / (6))\n        end\n        delete this clone\n    end\n    if <(ID) = [hex1]> then\n        wait (0.3) seconds\n        set [svel v] to [-3]\n        switch costume to (size hack v)\n        set size to (1200) %\n        repeat (25)\n            switch costume to (size hack v)\n            change size by (Svel)\n            change [svel v] by ((Svel) / (8))\n            switch costume to (chev2 v)\n            change [direction v] by ((Svel) / (6))\n        end\n        repeat until <(size) < [15]>\n            change size by (Svel)\n            change [svel v] by ((Svel) / (12))\n            change [direction v] by ((Svel) / (6))\n        end\n        Clone [par2] [7]\n        Clone [circexplo2] [1]\n        delete this clone\n    end\nelse\n    delete this clone\nend\n\ndefine Clone (id) (#)\nset [id v] to (id)\nset [# v] to [1]\nrepeat (#)\n    create clone of (_myself_ v)\n    change [# v] by (1)\nend\n\nwhen flag clicked\nhide\npoint in direction (90)\nreset timer\nstart sound [RetroVision - Heroes \[NCS Release\] v]\nClone [fade] [1]\nClone [fade2] [1]\nwait until <[1.8] < (timer)>\nClone [Arrows1] [1]\nClone [text1] [1]\nwait until <[2.1] < (timer)>\nClone [Hex3] [1]\nClone [text2] [1]\nwait until <[2.3] < (timer)>\nClone [text3] [1]\nClone [Hex1] [1]\nClone [Chev1] [2]\nwait until <[2.7] < (timer)>\nClone [Par1] [7]\nClone [CircExplo1] [1]\nwait until <[2.85] < (timer)>\nClone [SplineTurn1] [4]\nwait until <[3.5] < (timer)>\nClone [Par1] [7]\nwait until <[4.55] < (timer)>\nClone [BCircExplo1] [1]\nClone [Par1] [7]\nwait until <[4.8] < (timer)>\nClone [Hex2] [1]\nwait until <[5.35] < (timer)>\nClone [Par2] [7]\nClone [BGtext1] [1]\nwait until <[5.9] < (timer)>\nClone [BCircExplo2] [1]\nClone [Par2] [7]\nClone [Spline2] [4]\n\nwhen I start as a clone\nif <(ID) = [Par1]> then\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (pick random (3) to (4))\n    set size to (pick random (35) to (25.11)) %\n    Turn\n    turn right (pick random (-25) to (25.1)) degrees\n    set [ddir v] to (direction)\n    point in direction (pick random (-180) to (180))\n    set [vdir v] to (direction)\n    set [brightness v] effect to (0)\n    set [ghost v] effect to (pick random (10) to (0))\n    show\n    set [svel v] to (pick random (14) to (18.11))\n    repeat (pick random (15) to (25))\n        point in direction (DDir)\n        move (Svel) steps\n        change [vdir v] by (Svel)\n        change [svel v] by (((0) - (Svel)) / (9))\n        point in direction (VDir)\n    end\n    repeat (10)\n        point in direction (DDir)\n        move (Svel) steps\n        change [vdir v] by (Svel)\n        change [svel v] by (((0) - (Svel)) / (9))\n        point in direction (VDir)\n        change size by (-2)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\ndefine Turn\npoint in direction (90)\nrepeat (#)\n    turn right ((360) / (7)) degrees\nend\n\nwhen I start as a clone\nif <(ID) = [CircRight]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (240) y: (0)\n    switch costume to (circ1 v)\n    set size to (1) %\n    set [ghost v] effect to (0)\n    set [brightness v] effect to (0)\n    set [svel v] to [9]\n    show\n    repeat (12)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (4))\n    end\n    repeat (25)\n        switch costume to (size hack v)\n        change size by (((1075) - (size)) / (6))\n        switch costume to (circ1 v)\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [Par2]> then\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (pick random (3) to (4))\n    set size to (pick random (35) to (25.11)) %\n    Turn\n    turn right (pick random (-25) to (25.1)) degrees\n    set [ddir v] to (direction)\n    point in direction (pick random (-180) to (180))\n    set [vdir v] to (direction)\n    set [brightness v] effect to (100)\n    set [ghost v] effect to (pick random (10) to (0))\n    show\n    set [svel v] to (pick random (14) to (18.11))\n    repeat (pick random (15) to (25))\n        point in direction (DDir)\n        move (Svel) steps\n        change [vdir v] by (Svel)\n        change [svel v] by (((0) - (Svel)) / (9))\n        point in direction (VDir)\n    end\n    repeat (10)\n        point in direction (DDir)\n        move (Svel) steps\n        change [vdir v] by (Svel)\n        change [svel v] by (((0) - (Svel)) / (9))\n        point in direction (VDir)\n        change size by (-2)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [SplineTurn1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (spline1 v)\n    set size to (50) %\n    point in direction (((#) * (90)) + (45))\n    move (1) steps\n    point in direction (Direction)\n    set [direction v] to (((#) * (90)) + (-45))\n    point in direction (((#) * (90)) + (45))\n    set [brightness v] effect to (0)\n    set [svel v] to [-16]\n    show\n    repeat (7)\n        turn right ((Svel) / (2)) degrees\n        change [svel v] by (((0) - (Svel)) / (5))\n        next costume\n        change size by ((Svel) / (-1))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [Spline2]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (spline1 v)\n    set size to (50) %\n    point in direction (((#) * (90)) + (45))\n    move (1) steps\n    point in direction (Direction)\n    set [direction v] to (((#) * (90)) + (-45))\n    point in direction (((#) * (90)) + (45))\n    set [brightness v] effect to (100)\n    set [svel v] to [16]\n    show\n    repeat (7)\n        change [svel v] by (((0) - (Svel)) / (5))\n        next costume\n        change size by (Svel)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [BCircExplo2]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (circexplo v)\n    set size to (1) %\n    set [ghost v] effect to (25)\n    set [brightness v] effect to (100)\n    set [svel v] to [35]\n    set [xvel v] to [30]\n    set [fisheye v] effect to (100)\n    show\n    repeat (25)\n        change size by (Svel)\n        change [xvel v] by ((Xvel) / (3))\n        change [fisheye v] effect by (Xvel)\n        set [svel v] to ((Svel) * (0.9))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [CircExplo2]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (circexplo v)\n    set size to (1) %\n    set [ghost v] effect to (25)\n    set [brightness v] effect to (100)\n    set [svel v] to [25]\n    set [xvel v] to [25]\n    set [fisheye v] effect to (100)\n    show\n    repeat (25)\n        change size by (Svel)\n        change [xvel v] by ((Xvel) / (3))\n        change [fisheye v] effect by (Xvel)\n        set [svel v] to ((Svel) * (0.9))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [Fade2]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (fade2 v)\n    set size to (200) %\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (25)\n    wait until <[2.7] < (timer)>\n    show\n    repeat (5)\n        change [ghost v] effect by (-3)\n    end\n    repeat until <[8] < (timer)>\n        go to [front v] layer\n    end\n    repeat (10)\n        change [ghost v] effect by (2)\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [Text1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (text1 v)\n    set size to (1) %\n    set [ghost v] effect to (0)\n    set [brightness v] effect to (0)\n    set [svel v] to [2]\n    show\n    repeat (5)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (2))\n    end\n    repeat until <[2.9] < (timer)>\n        change size by (((100) - (size)) / (3))\n    end\n    set [rvel v] to [-1]\n    repeat until <[3.4] < (timer)>\n        change size by (((100) - (size)) / (3))\n        change [direction v] by (Rvel)\n        change [rvel v] by ((Rvel) / (3))\n    end\n    repeat until <[4.1] < (timer)>\n        change size by (((100) - (size)) / (3))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [3]\n    repeat until <[4.6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (3)))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [4]\n    repeat until <[5] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((145) - (size)) / (3)))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [3]\n    repeat until <[6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (4)))\n        change [brightness v] effect by (25)\n    end\n    set [svel v] to [3]\n    repeat until <[7.3] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((150) - (size)) / (4)))\n    end\n    set [svel v] to [-1]\n    repeat until <[8] < (timer)>\n        change size by (Svel)\n        change [svel v] by ((Svel) / (4))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [Text2]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (text2 v)\n    set size to (1) %\n    set [svel v] to [2]\n    show\n    repeat (5)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (2))\n    end\n    repeat until <[2.9] < (timer)>\n        change size by (((100) - (size)) / (3))\n    end\n    set [rvel v] to [-1]\n    repeat until <[3.4] < (timer)>\n        change size by (((100) - (size)) / (3))\n        change [direction v] by (Rvel)\n        change [rvel v] by ((Rvel) / (3))\n    end\n    repeat until <[4.1] < (timer)>\n        change size by (((100) - (size)) / (3))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [3]\n    repeat until <[4.6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (3)))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [4]\n    repeat until <[5] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((145) - (size)) / (3)))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [3]\n    repeat until <[6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (4)))\n        change [brightness v] effect by (25)\n    end\n    set [svel v] to [3]\n    repeat until <[7.3] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((150) - (size)) / (4)))\n    end\n    set [svel v] to [-1]\n    repeat until <[8] < (timer)>\n        change size by (Svel)\n        change [svel v] by ((Svel) / (4))\n    end\n    delete this clone\nend\n\nset [ghost v] effect to (0)\nset [brightness v] effect to (0)\n\nwhen I start as a clone\nif <(ID) = [text3]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (text3 v)\n    set size to (1) %\n    set [ghost v] effect to (0)\n    set [brightness v] effect to (0)\n    set [svel v] to [2]\n    show\n    repeat (5)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (2))\n    end\n    repeat until <[2.9] < (timer)>\n        change size by (((100) - (size)) / (3))\n    end\n    set [rvel v] to [-1]\n    repeat until <[3.4] < (timer)>\n        change size by (((100) - (size)) / (3))\n        change [direction v] by (Rvel)\n        change [rvel v] by ((Rvel) / (3))\n    end\n    repeat until <[4.1] < (timer)>\n        change size by (((100) - (size)) / (3))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [3]\n    repeat until <[4.6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (3)))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [4]\n    repeat until <[5] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((145) - (size)) / (3)))\n        set [direction v] to (Rvel)\n        change [rvel v] by (((-360) - (Rvel)) / (4))\n    end\n    set [svel v] to [3]\n    repeat until <[6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (4)))\n        change [brightness v] effect by (0)\n    end\n    set [svel v] to [3]\n    repeat until <[6.6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((150) - (size)) / (4)))\n    end\n    broadcast (End v)\n    wait until <[7.3] < (timer)>\n    set [svel v] to [-1]\n    repeat until <[8] < (timer)>\n        change size by (Svel)\n        change [svel v] by ((Svel) / (4))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [Hex1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (chev2 v)\n    set size to (1) %\n    set [ghost v] effect to (0)\n    set [brightness v] effect to ()\n    go to [back v] layer\n    set [svel v] to [8]\n    show\n    repeat (11)\n        change [direction v] by ((Svel) / (6))\n        change size by (Svel)\n        change [svel v] by ((Svel) / (3))\n    end\n    change [svel v] by (-10)\n    repeat (25)\n        switch costume to (size hack v)\n        change size by (((1200) - (size)) / (5))\n        switch costume to (chev2 v)\n        set [svel v] to ((Svel) * (0.6))\n        change [direction v] by (Svel)\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [Hex2]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (chev4 v)\n    set size to (1) %\n    set [ghost v] effect to (0)\n    set [brightness v] effect to (0)\n    go to [back v] layer\n    go [forward v] (1) layers\n    set [svel v] to [8]\n    show\n    repeat (11)\n        change [direction v] by ((Svel) / (6))\n        change size by (Svel)\n        change [svel v] by ((Svel) / (3))\n    end\n    change [svel v] by (-10)\n    repeat (25)\n        switch costume to (size hack v)\n        change size by (((1200) - (size)) / (5))\n        switch costume to (chev4 v)\n        set [svel v] to ((Svel) * (0.6))\n        change [direction v] by (Svel)\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [Arrows1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (arrows v)\n    set size to (1) %\n    set [ghost v] effect to (65)\n    set [brightness v] effect to (0)\n    set [svel v] to [2]\n    show\n    set [yvel v] to [-5]\n    repeat (5)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (2))\n        change [direction v] by (Yvel)\n    end\n    repeat until <[2.9] < (timer)>\n        change size by (((100) - (size)) / (3))\n        change [direction v] by (Yvel)\n    end\n    set [rvel v] to [-2]\n    repeat until <[3.4] < (timer)>\n        change size by (((100) - (size)) / (3))\n        change [direction v] by (Rvel)\n        change [rvel v] by ((Rvel) / (3))\n        change [direction v] by (Yvel)\n    end\n    repeat until <[4.1] < (timer)>\n        change size by (((100) - (size)) / (3))\n        change [direction v] by (Rvel)\n        change [rvel v] by (((0) - (Rvel)) / (4))\n        change [direction v] by (Yvel)\n    end\n    set [svel v] to [3]\n    repeat until <[4.6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (3)))\n        change [direction v] by (Rvel)\n        change [rvel v] by (((0) - (Rvel)) / (4))\n        change [direction v] by (Yvel)\n    end\n    set [svel v] to [4]\n    repeat until <[5] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((135) - (size)) / (3)))\n        change [direction v] by (Rvel)\n        change [rvel v] by (((0) - (Rvel)) / (4))\n        change [direction v] by (Yvel)\n    end\n    set [svel v] to [3]\n    repeat until <[5.3] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((125) - (size)) / (4)))\n        change [brightness v] effect by (25)\n        change [direction v] by (Yvel)\n    end\n    set [svel v] to [-1]\n    repeat (10)\n        change [ghost v] effect by (5)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (3))\n        change [brightness v] effect by (25)\n        change [direction v] by (Yvel)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [BGtext1]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (2022 v)\n    set size to (1) %\n    set [ghost v] effect to (90)\n    set [brightness v] effect to (100)\n    show\n    set [svel v] to [3]\n    repeat (4)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (2))\n    end\n    repeat until <[5.9] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((200) - (size)) / (3)))\n    end\n    set [svel v] to [5]\n    repeat (4)\n        change size by (Svel)\n        change [svel v] by ((Svel) / (2))\n    end\n    repeat until <[7.6] < (timer)>\n        change size by (Svel)\n        set [svel v] to (((Svel) * (0.6)) + (((250) - (size)) / (3)))\n    end\n    repeat (4)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [Hex3]> then\n    hide\n    switch costume to (pos hack v)\n    go to x: (0) y: (0)\n    switch costume to (chev2 v)\n    set size to (1) %\n    set [ghost v] effect to (0)\n    set [brightness v] effect to (0)\n    go to [back v] layer\n    set [svel v] to [9]\n    show\n    repeat (11)\n        change [direction v] by ((Svel) / (6))\n        change size by (Svel)\n        change [svel v] by ((Svel) / (3))\n        go to [back v] layer\n    end\n    change [svel v] by (-10)\n    repeat until <[3.1] < (timer)>\n        switch costume to (size hack v)\n        go to [back v] layer\n        change size by (((1300) - (size)) / (5))\n        switch costume to (chev2 v)\n        set [svel v] to ((Svel) * (0.6))\n        change [direction v] by (Svel)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait (8) seconds\nbroadcast (START! v)\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\nwhen I receive [start! v]\nforever\n    play sound [Vexento - Tevo v] until done\nend\n\n