Taken- A Platformer

Instructions: --------------------Taken---------------------------------------------\n-DOUBLE-CLICK THE FLAG!\n-All levels are 100% passable (or just skip them :P)\nLeave a Love and Fav, please, this game has over 1000+ blocks of code and I took me a month. Plus, It reduces lag. :P Famous loves and favs further down.\n-Controls-\nWASD, Arrow Keys, Mouse/Finger (Yay Mobile!)\n---Difficulty--- Medium\n@sushi_slamer Smacked the Love button!\n@noodlebot743 Smashed the Love button!\n100 views!\n@duoof Destroyed the Love button!\n@anthonybug hacked the Love button! :P\n@Levi_Minecraft Loved and Pounded the Fav Button!\n@crazy44spider Beat up the Love and Fav buttons!\n@DaviidPlayz literally ATE the love button! O_o (jk he just poked it)\n@BlueCappy91 mashed up the Love and Fav buttons!\n@Falcon0327 clapped the Love button!\n@Ultra-UltimateGamer wrecked the Love and Fav buttons!\n@-Infinite- danced on the Love button!\n@-Orbitron- Snapped the Love buton in half!\n200 views!\n@Lukas1410 bopped the Love button!\n300 views!\n@RendHeaven slashed the Love button!\n50 loves!\n@Timo1os laid the smackdown on the Love button!\n@SyntheticHuman demolished the Love button!\n@FlippyGod pummeled the Love button!\n400 views!\n@Capt_Boanerges whopped the Love button!\n@SuperCanon20 kicked the Love and Fav buttons!\n500 views!\n@StratfordJames chopped the Love and Fav buttons!\n@TerrificTillandsia hammered the love button!\n@BenjaminWins11 cracked the Love button!\n100 loves!\n@MONEYBUDDY6 spun the Love and Favorite buttons!\nkodiak77-77 sliced the Love button!\n600 views!\nGo to something shared on august 23rd\n--PeriodicGames-- tapped the Love button!\n@PonderingPixel SAT ON the Love Button!\n700 views!\n800 views!\n900 views!\n100 favs!\n150 loves!\n\n\nChange Log:\n3/16/2020: Shared Briefly-- I've been working for about 2 months... INCLUDING procrastination. Bruh.\n3/25/2020: Shared as a TEST\n3/27/2020: Finished Menu!\n

@Stage\n\nwhen I receive [previous level v]\nswitch backdrop to ((backdrop [number v]) - (1))\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Hi\n\nwhen I receive [start v]\nshow\nset [yy v] to [0]\nset [y v] to [0]\ngo to x: (-204) y: (100)\nforever\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (hello3 v)\n        change [x v] by (-1)\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        switch costume to (hello2 v)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    change [y v] by (-0.6)\n    change y by (y)\n    go to [front v] layer\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (1)\n                                if <touching (level v)?> then\n                                    change y by (1)\n                                    if <touching (level v)?> then\n                                        change y by (-8)\n                                        change x by ((x) * (-1))\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <touching (level v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> and <touching (level v)?>> then\n        switch costume to (hello4 v)\n        set [y v] to [9]\n    end\n    change y by (1)\n    set [level v] to ([x position v] of [level v])\n    if <<touching (spikes v)?> or <<touching (smashy-thing1 v)?> or <<touching (catcher v)?> or <<touching (enemy v)?> or <touching (lazar v)?>>>>> then\n        repeat (10)\n            wait (0.001) seconds\n            change [ghost v] effect by (10)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-216) y: (-82)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <<touching (_edge_ v)?> and <(x position) > [220]>> then\n        set [done v] to [10]\n        wait (0.1) seconds\n        set [done v] to [0]\n        go to x: (216) y: (-82)\n        broadcast (Next Level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) < [-161]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-216) y: (-82)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (portals v)?> and <(backdrop [number v]) = [3]>> then\n        go to x: (-88) y: (122)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (zoom v)?> then\n        wait (0.01) seconds\n        change [x v] by (5)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-232) y: (-101)\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\n\nwhen I receive [restart v]\ngo to x: (-232) y: (-101)\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\n\nwhen I receive [previous level v]\ngo to x: (-232) y: (-101)\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nforever\n    if <touching (trampoline v)?> then\n        wait (0.01) seconds\n        change [y v] by (10)\n    end\nend\n\n\n\n@Level\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nhide\nswitch costume to (costume2 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        repeat (10)\n            go to x: (-23) y: (-96)\n        end\n    end\n    if <(costume [number v]) = [1]> then\n        repeat (10)\n            go to x: (-33) y: (-87)\n        end\n    end\nend\n\nwhen I receive [previous level v]\nswitch costume to ((costume [number v]) - (1))\n\n@Spikes\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [previous level v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(backdrop [number v]) = [1]> then\n        go to x: (-38) y: (-115)\n    end\n    if <(backdrop [number v]) = [2]> then\n        go to x: (-38) y: (-115)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Particles1\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (15) to (75))\nshow\ngo to (hi v)\nset [y vel v] to [0]\nset [x vel v] to [0]\nset [accel v] to [8]\nset [t v] to [0]\nset [timestep v] to ((1) / (10))\nset [velocity v] to (pick random (-70) to (-10))\nset [angle v] to (pick random (-10) to (10))\nset [x vel v] to ((Velocity) * ([sin v] of (Angle) ))\nset [y vel v] to ((Velocity) * ([cos v] of (Angle) ))\nrepeat until <(y position) < [-165]>\n    change [t v] by (Timestep)\n    change x by ((X Vel) * (Timestep))\n    change y by (((Y Vel) * (Timestep)) - ((Accel) * ((T) * (Timestep))))\nend\nset y to (-164)\ndelete this clone\n\nwhen I start as a clone\ngo to [back v] layer\nset [rotation v] to (pick random (5) to (20))\nforever\n    repeat (pick random (1) to (10))\n        turn right (Rotation) degrees\n    end\n    repeat (pick random (1) to (10))\n        turn left (Rotation) degrees\n    end\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (6))\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nforever\n    wait (0.25) seconds\n    create clone of (_myself_ v)\nend\n\ngo to x: (pick random (-100) to (100)) y: (151)\n\n@Smashy-Thing1\n\nwhen flag clicked\nrepeat (100)\n    hide\nend\n\nnext costume\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [2]> then\n        go to x: (36) y: (88)\n        show\n        switch costume to (costume7 v)\n        wait (0.65) seconds\n        repeat until <not <(backdrop [number v]) = [2]>>\n            glide (1) secs to x: (36) y: (28)\n            glide (1) secs to x: (36) y: (88)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Clone ID) = [1]> then\nif <(Clone ID) = [2]> then\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [2]>> then\n        hide\n    else\n        show\n    end\nend\n\nshow\n\n@Portals2\n\nwhen flag clicked\nchange [whirl v] effect by (800)\nforever\n    if <not <(backdrop [number v]) = [3]>> then\n        hide\n    else\n        go to x: (-90) y: (111)\n        show\n        repeat until <not <(backdrop [number v]) = [3]>>\n            repeat (10)\n                wait (0.05) seconds\n                change [pixelate v] effect by (5)\n            end\n            repeat (10)\n                wait (0.05) seconds\n                change [pixelate v] effect by (-5)\n            end\n        end\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [4]> then\n        switch costume to (hi3 v)\n        go to x: (-111) y: (-116)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (hi v)?> then\n        repeat (5)\n            wait (0.3) seconds\n            next costume\n        end\n    end\nend\n\n@Particles2\n\nwhen I start as a clone\nshow\nset size to (pick random (200) to (300)) %\nset [ghost v] effect to (pick random (25) to (100))\ngo to (random position v)\nif <(y position) < [-100]> then\n    hide\nend\nrepeat (((100) - (pick random (80) to (90))) / (5))\n    change [ghost v] effect by (-5)\nend\nrepeat until <touching (_edge_ v)?>\n    change x by (-5)\n    change [ghost v] effect by (-1)\nend\ndelete this clone\n\nwhen I receive [delete all clones v]\n\nwhen I receive [start v]\nforever\n    wait (0.0001) seconds\n    create clone of (_myself_ v)\nend\n\n@Portals\n\nwhen flag clicked\nchange [whirl v] effect by (800)\nforever\n    if <(backdrop [number v]) = [3]> then\n        show\n        go to x: (-208) y: (22)\n        repeat until <not <(backdrop [number v]) = [3]>>\n            repeat (10)\n                wait (0.05) seconds\n                change [pixelate v] effect by (5)\n            end\n            repeat (10)\n                wait (0.05) seconds\n                change [pixelate v] effect by (-5)\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Enemy\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [6]> then\n        go to x: (98) y: (-72)\n        show\n        repeat until <not <(backdrop [number v]) = [6]>>\n            glide (1) secs to x: (-3) y: (-71)\n            broadcast (Fire LAZAR v)\n            glide (1) secs to x: (91) y: (-71)\n            broadcast (Fire LAZAR v)\n        end\n    else\n        repeat (10)\n            hide\n        end\n    end\nend\n\n@Particles3\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (15) to (75))\nshow\ngo to (enemy v)\nset [y vel v] to [0]\nset [x vel v] to [0]\nset [accel v] to [8]\nset [t v] to [0]\nset [timestep v] to ((1) / (10))\nset [velocity v] to (pick random (-70) to (-10))\nset [angle v] to (pick random (-10) to (10))\nset [x vel v] to ((Velocity) * ([sin v] of (Angle) ))\nset [y vel v] to ((Velocity) * ([cos v] of (Angle) ))\nrepeat until <(y position) < [-165]>\n    change [t v] by (Timestep)\n    change x by ((X Vel) * (Timestep))\n    change y by (((Y Vel) * (Timestep)) - ((Accel) * ((T) * (Timestep))))\nend\nset y to (-164)\ndelete this clone\n\nwhen I start as a clone\ngo to [back v] layer\nset [rotation v] to (pick random (5) to (20))\nforever\n    repeat (pick random (1) to (10))\n        turn right (Rotation) degrees\n    end\n    repeat (pick random (1) to (10))\n        turn left (Rotation) degrees\n    end\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (6))\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [6]> then\n        show\n        repeat until <not <(backdrop [number v]) = [6]>>\n            go to (enemy v)\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n        end\n    else\n        go to x: (0) y: (0)\n        hide\n    end\nend\n\n@Skip\n\nwhen this sprite clicked\nbroadcast (Next Level v)\n\nwhen flag clicked\nhide\n\nwhen I receive [close menu v]\nhide\n\nwhen I receive [open menu v]\ngo to x: (124) y: (142)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    else\n        set size to (100) %\n    end\nend\n\n@LAZAR\n\nwhen I start as a clone\nif <(backdrop [number v]) = [6]> then\n    go to [front v] layer\n    go to (enemy v)\n    show\n    point towards (hi v)\n    set size to (20) %\n    repeat (9)\n        move (20) steps\n        wait (0.01) seconds\n    end\n    delete this clone\nend\n\nwhen flag clicked\nrepeat (100)\n    hide\nend\n\nwhen I receive [fire lazar v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <touching (level v)?> then\n    delete this clone\nend\n\n@Thingamabob (Thanks @Explosion!)\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nset [ghost v] effect to (90)\nbroadcast (Layer v)\n\nwhen I receive [layer v]\ngo to [back v] layer\n\nwhen flag clicked\nif <(backdrop [number v]) = [7]> then\n    switch costume to (grunge2 v)\nelse\n    switch costume to (grunge v)\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nwait (0.1) seconds\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@Enemy2\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [7]> then\n        go to x: (133) y: (-94)\n        show\n        repeat until <not <(backdrop [number v]) = [7]>>\n            go to x: (133) y: (-107)\n            wait (0.65) seconds\n            broadcast (Fire LAZAR v) and wait\n        end\n    else\n        repeat (10)\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nrepeat (100)\n    hide\nend\n\n@Enemy3\n\nwhen flag clicked\nrepeat (100)\n    hide\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [7]> then\n        go to x: (131) y: (-40)\n        show\n        wait (0.5) seconds\n        repeat until <not <(backdrop [number v]) = [7]>>\n            go to x: (131) y: (-40)\n            wait (0.65) seconds\n            broadcast (Fire LAZAR v)\n        end\n    else\n        repeat (10)\n            hide\n        end\n    end\nend\n\n@LAZAR2\n\nwhen I start as a clone\nif <touching (level v)?> then\n    delete this clone\nend\n\nwhen flag clicked\nrepeat (100)\n    hide\nend\n\nwhen I receive [fire lazar v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <(backdrop [number v]) = [7]> then\n        go to [front v] layer\n        go to (enemy3 v)\n        show\n        point towards (hi v)\n        set size to (20) %\n        repeat (11)\n            move (20) steps\n            wait (0.01) seconds\n        end\n        delete this clone\n    else\n        hide\n    end\nend\n\n@Menu\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (203) y: (141)\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Open MENU v)\n\n@Restart\n\nwhen I receive [close menu v]\nhide\n\nwhen flag clicked\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    end\nend\n\nwhen this sprite clicked\nrepeat (5)\n    change [brightness v] effect by (4)\nend\nbroadcast (Restart v)\nset [brightness v] effect to (0)\n\nwhen I receive [open menu v]\ngo to x: (146) y: (93)\nshow\n\nwhen this sprite clicked\nbroadcast (Restart v)\n\n@Last Level\n\nwhen I receive [close menu v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [open menu v]\ngo to x: (202) y: (92)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Previous level v)\n\nwhen I receive [delete all clones v]\n\n@Sound\n\nwhen I receive [close menu v]\nhide\n\nwhen flag clicked\nforever\n    play sound [Dramatic MUSIC USE THIS v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [open menu v]\ngo to x: (204) y: (39)\nshow\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        set volume to (0) %\n    end\n    if <(costume [number v]) = [1]> then\n        set volume to (100) %\n    end\nend\n\nrepeat until <not <(costume [number v]) = [2]>>\n    stop all sounds\nend\n\n@Close menu\n\nwhen I receive [open menu v]\ngo to x: (150) y: (39)\nshow\n\nwhen this sprite clicked\nbroadcast (Close MENU v)\n\nwhen flag clicked\nhide\n\nwhen I receive [close menu v]\nhide\n\n@Particles4\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (15) to (75))\nshow\ngo to (enemy2 v)\n\nset [y vel v] to [0]\nset [x vel v] to [0]\nset [accel v] to [8]\nset [t v] to [0]\nset [timestep v] to ((1) / (10))\nset [velocity v] to (pick random (-70) to (-10))\nset [angle v] to (pick random (-10) to (10))\nset [x vel v] to ((Velocity) * ([sin v] of (Angle) ))\nset [y vel v] to ((Velocity) * ([cos v] of (Angle) ))\nrepeat until <(y position) < [-165]>\n    change [t v] by (Timestep)\n    change x by ((X Vel) * (Timestep))\n    change y by (((Y Vel) * (Timestep)) - ((Accel) * ((T) * (Timestep))))\nend\nset y to (-164)\ndelete this clone\n\nwhen I start as a clone\ngo to [back v] layer\nset [rotation v] to (pick random (5) to (20))\nforever\n    repeat (pick random (1) to (10))\n        turn right (Rotation) degrees\n    end\n    repeat (pick random (1) to (10))\n        turn left (Rotation) degrees\n    end\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (6))\n\n@Particles5\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (15) to (75))\nshow\ngo to (enemy3 v)\nset [y vel v] to [0]\nset [x vel v] to [0]\nset [accel v] to [8]\nset [t v] to [0]\nset [timestep v] to ((1) / (10))\nset [velocity v] to (pick random (-70) to (-10))\nset [angle v] to (pick random (-10) to (10))\nset [x vel v] to ((Velocity) * ([sin v] of (Angle) ))\nset [y vel v] to ((Velocity) * ([cos v] of (Angle) ))\nrepeat until <(y position) < [-165]>\n    change [t v] by (Timestep)\n    change x by ((X Vel) * (Timestep))\n    change y by (((Y Vel) * (Timestep)) - ((Accel) * ((T) * (Timestep))))\nend\nset y to (-164)\ndelete this clone\n\nwhen I start as a clone\ngo to [back v] layer\nset [rotation v] to (pick random (5) to (20))\nforever\n    repeat (pick random (1) to (10))\n        turn right (Rotation) degrees\n    end\n    repeat (pick random (1) to (10))\n        turn left (Rotation) degrees\n    end\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (6))\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [7]> then\n        show\n        repeat until <not <(backdrop [number v]) = [7]>>\n            go to (enemy3 v)\n            wait (0.01) seconds\n            create clone of (_myself_ v)\n        end\n    else\n        go to x: (0) y: (0)\n        hide\n    end\nend\n\n@LAZAR3\n\nwhen I start as a clone\nif <touching (level v)?> then\n    delete this clone\nend\n\nwhen flag clicked\nrepeat (100)\n    hide\nend\n\nwhen I receive [fire lazar v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <(backdrop [number v]) = [7]> then\n        go to [front v] layer\n        go to (enemy2 v)\n        show\n        point towards (hi v)\n        set size to (20) %\n        repeat (11)\n            move (20) steps\n            wait (0.01) seconds\n        end\n        delete this clone\n    else\n        hide\n    end\nend\n\n@Smashy-Thing2\n\nwhen flag clicked\nrepeat (100)\n    hide\nend\n\nnext costume\n\nwhen I start as a clone\nshow\nswitch costume to (costume7 v)\nif <(Clone ID) = [1]> then\n    go to x: (-93) y: (-78)\n    repeat until <not <(backdrop [number v]) = [8]>>\n        glide (0.85) secs to x: (-93) y: (-138)\n        glide (0.85) secs to x: (-93) y: (-78)\n    end\nend\nif <(Clone ID) = [2]> then\n    go to x: (93) y: (-138)\n    repeat until <not <(backdrop [number v]) = [8]>>\n        glide (0.85) secs to x: (93) y: (-78)\n        glide (0.85) secs to x: (93) y: (-138)\n    end\nend\nif <not <(backdrop [number v]) = [8]>> then\n    hide\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [8]> then\n        broadcast (Start Cloning v)\n        wait until <not <(backdrop [number v]) = [8]>>\n    else\n        broadcast (YEET Smashy Clones v)\n    end\nend\n\nwhen flag clicked\nset [clone id v] to [0]\n\nwhen I receive [start cloning v]\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\n\n@Zoom\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [9]> then\n        go to x: (-52) y: (-17)\n        show\n    else\n        hide\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Light\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    go to (hi v)\nend\n\n@Darkstar177's PFP\n\nwhen flag clicked\nhide\n\n@Intro\n\nwhen flag clicked\nset [intro? v] to [1]\nIntro\n\nhide\nwait until <(Intro?) = [0]>\nshow\n\ndefine Intro\nerase all\npen up\nstart sound [-Xaf- Inferno v]\nreset timer\nhide\npoint in direction (90)\ngo to x: (0) y: (400)\nset size to (100) %\nswitch costume to (bk v)\ncreate clone of (_myself_ v)\nswitch costume to (tnunderlay v)\ncreate clone of (_myself_ v)\nswitch costume to (tntext v)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\ngo to x: (0) y: (0)\nset [intro? v] to [2]\nwait (.4) seconds\nswitch costume to (timmccool v)\ncreate clone of (_myself_ v)\nParticles\nset [θ v] to [0]\nset [j v] to [0]\nrepeat (50)\n    change [j v] by (((75) - (j)) / (5))\n    change [θ v] by (((300) - (ϴ)) / (5))\n    Box W (ϴ) H (j) R [10]\nend\nwait (.75) seconds\nset [intro? v] to [2.5]\nrepeat (15)\n    change [j v] by (((5) - (j)) / (5))\n    change [θ v] by (((0) - (ϴ)) / (5))\n    Box W (ϴ) H (j) R [10]\nend\nFill\nset [intro? v] to [3]\nset [θ v] to [0]\nset size to (0) %\nswitch costume to (logo1 v)\ncreate clone of (_myself_ v)\nParticles\nset [j v] to [0]\nrepeat (50)\n    change [j v] by (((360) - (j)) / (5))\n    Ellipse Start [0] Length (round (j)) Size [75]\nend\nFill\nset [intro? v] to [4]\nbroadcast (Start v)\n\nwhen I start as a clone\nif <(costume [name v]) = [BK]> then\n    show\n    repeat until <(Intro?) = [2]>\n        change y by (((0) - (y position)) / (3))\n    end\n    wait (.4) seconds\n    hide\n    wait until <(Intro?) = [4]>\n    show\n    erase all\n    repeat until <(y position) > [200]>\n        change y by (((300) - (y position)) / (3))\n    end\n    set [intro? v] to [0]\n    delete this clone\nelse\n    if <(costume [name v]) = [TNtext]> then\n        go to x: (-400) y: (0)\n        show\n        repeat until <(Intro?) = [2]>\n            change x by (((0) - (x position)) / (5))\n        end\n        repeat until <(y position) > [170]>\n            change y by (((300) - (y position)) / (3))\n        end\n        delete this clone\n    else\n        if <(costume [name v]) = [TNunderlay]> then\n            go to x: (400) y: (0)\n            show\n            repeat until <(Intro?) = [2]>\n                change x by (((0) - (x position)) / (5))\n            end\n            repeat until <(y position) > [170]>\n                change y by (((300) - (y position)) / (3))\n            end\n            delete this clone\n        else\n            if <(costume [name v]) = [Logo1]> then\n                show\n                repeat until <(Intro?) = [4]>\n                    set [θ v] to (((ϴ) * (.65)) + (((150) - (size)) / (5)))\n                    change size by (ϴ)\n                end\n                repeat until <(y position) > [170]>\n                    change size by (((0) - (size)) / (3))\n                    change y by (((200) - (y position)) / (5))\n                end\n                delete this clone\n            else\n                if <(costume [name v]) = [TimMcCool]> then\n                    set size to (0) %\n                    show\n                    set [θ v] to [0]\n                    repeat until <(Intro?) = [2.5]>\n                        set [θ v] to (((ϴ) * (.7)) + (((60) - (size)) / (5)))\n                        change size by (ϴ)\n                    end\n                    repeat until <[12] > (size)>\n                        change size by (((0) - (size)) / (3))\n                    end\n                    delete this clone\n                else\n                    if <(costume [name v]) = [Particle]> then\n                        show\n                        set size to (100) %\n                        set [j v] to (pick random (-10) to (10))\n                        set [θ v] to [5]\n                        set [ghost v] effect to (80)\n                        repeat until <touching (_edge_ v)?>\n                            change [ghost v] effect by (1)\n                            change x by (j)\n                            change y by (ϴ)\n                            change [θ v] by (-2)\n                        end\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen [space v] key pressed\nif <not <(Intro?) = [0]>> then\n    stop [other scripts in sprite v]\n    set [intro? v] to [0]\nend\n\nset [intro? v] to []\n\ndefine @Save\nshow\ngo to [front v] layer\nset [intro? v] to [1]\npoint in direction (90)\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (tn v)\nstop [all v]\n\n@Save\n\ndefine Box W (width) H (height) R (radius)\nFill\nset pen color to (#ffffff)\nset pen size to ((radius) * (2))\ngo to x: ((radius) - ((width) / (2))) y: ((radius) - ((height) / (2)))\npen down\ngo to x: (((width) / (2)) - (radius)) y: ((radius) - ((height) / (2)))\ngo to x: (((width) / (2)) - (radius)) y: (((height) / (2)) - (radius))\ngo to x: ((radius) - ((width) / (2))) y: (((height) / (2)) - (radius))\ngo to x: ((radius) - ((width) / (2))) y: ((radius) - ((height) / (2)))\nif <(height) > ((radius) * (4))> then\n    pen up\n    set pen size to ((radius) * (4))\n    go to x: (((radius) * (2)) - ((width) / (2))) y: (0)\n    pen down\n    go to x: (((width) / (2)) - ((radius) * (2))) y: (0)\nend\npen up\n\ndefine Ellipse Start (start) Length (length) Size (size)\nFill\nset pen color to (#ffffff)\nset pen size to (10)\nset [θ v] to (start)\ngo to x: (([sin v] of (ϴ) ) * (size)) y: (([cos v] of (ϴ) ) * (size))\npen down\nrepeat (((length) * (4)) - (1))\n    go to [front v] layer\n    change [θ v] by (.25)\n    go to x: (([sin v] of (ϴ) ) * (size)) y: (([cos v] of (ϴ) ) * (size))\nend\nset [θ v] to ((length) + (start))\ngo to x: (([sin v] of (ϴ) ) * (size)) y: (([cos v] of (ϴ) ) * (size))\npen up\n\ndefine Fill\ngo to x: (0) y: (0)\nerase all\nset pen color to (#0090ff)\nset pen size to (999)\npen down\npen up\n\ndefine Particles\nswitch costume to (particle v)\nrepeat (10)\n    create clone of (_myself_ v)\nend\n\n