(MARATHON) a platformer #trending #games

Instructions:                                 *MARATHON*\ni just find out that this project was in trending!!\npress the see inside and u will get a ultimate troll hehe boi\n#69 in games!!!!\n=========================================\nAlerts:\nCLICK TRIPLE TIMES OR YOU WILL GET LAGGED\nBECAUSE OF THE INTRO\n=========================================\nGame type:\nplatformer\n=========================================\nGame name:\nMARATHON\n=========================================\nInstructions:\nuse arrows to move\nyou can use mouse to move but harder\navoid spikes they will harm you\nthe ground is harmless(LOL)\n=========================================\nRules:\nno ads or else you will get reported\nno f4f\nno swear words\n=========================================\nCredits:\nnone\n100% by me\n=========================================\nMy platformer projects:\n\nhttps://scratch.mit.edu/projects/627655382/\n(Nether a platformer!)\n\nhttps://scratch.mit.edu/projects/615799860/\n(The adventure 2)\n\nhttps://scratch.mit.edu/projects/614899009/\n(The adventure 1)\n=========================================\nTags:\n#Jaydenhoo2123 #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #platformer #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon #marathon \n\n\n

@Stage\n\nwhen I receive [\[intro\] start v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [\[intro\] over v]\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        switch backdrop to (backdrop3 v)\n    else\n        if <(Level) = [14]> then\n            switch backdrop to (backdrop1 v)\n        end\n    end\nend\n\nwhen I receive [\[intro\] over v]\nforever\n    play sound (pick random (1) to (2)) until done\nend\n\n@blank\n\n@Player\n\nif <touching (trampoline v)?> then\n    set [y v] to [21]\nend\n\nwhen flag clicked\ngo to x: (-154) y: (0)\nhide\n\nwhen I start as a clone\nswitch costume to (black v)\nrepeat (7)\n    change [ghost v] effect by (7)\n    change size by (-3)\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [music v] to [1]\nforever\n    reset\n    if <(music) = [2]> then\n        stop [this script v]\n    end\nend\n\ndefine reset\nif <<<mouse down?> and <(mouse x) > (x position)>> or <key (right arrow v) pressed?>> then\n    change [x v] by (2)\n    switch costume to (right v)\nend\nif <<<mouse down?> and <(mouse x) < (x position)>> or <key (left arrow v) pressed?>> then\n    switch costume to (left v)\n    change [x v] by (-2)\nend\nset [x v] to ((x) * (0.8))\nchange x by (round (x))\nif <touching (level v)?> then\n    change x by (round ((x) * (-1)))\n    if <<<mouse down?> and <(mouse y) > (y position)>> or <key (up arrow v) pressed?>> then\n        switch costume to (up v)\n        if <(x) > [0]> then\n            set [x v] to [-13]\n        else\n            set [x v] to [13]\n        end\n        set [y v] to [14]\n    else\n        set [x v] to [0]\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <touching (level v)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<touching (level v)?> and <<<mouse down?> and <(mouse y) > (y position)>> or <key (up arrow v) pressed?>>> then\n    set [y v] to [12]\nend\nchange y by (1)\nif <(x position) > [233]> then\n    set x to (-240)\n    broadcast (next level v)\nend\nif <<<touching (spikes & lava v)?> or <touching (lava v)?>> or <(y position) < [-180]>> then\n    change [ghost v] effect by (50)\n    go to x: (-206) y: (-30)\n    wait (0.05) seconds\n    set [ghost v] effect to (0)\nend\nif <touching (trampoline v)?> then\n    set [y v] to [21]\nend\n\nwhen flag clicked\nforever\n    reset\n    if <(music) = [2]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [\[intro\] over v]\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    switch costume to (player v)\n    go to [front v] layer\n    create clone of (_myself_ v)\nend\n\nwhen I receive [\[intro\] start v]\nhide variable [level v]\n\nwhen I receive [\[intro\] over v]\nshow variable [level v]\n\nwhen flag clicked\nforever\n\n@Level\n\nwhen I receive [next level v]\nchange [level v] by (1)\nnext costume\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (0) y: (10)\nswitch costume to (1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [\[intro\] over v]\nshow\n\n@Intro\n\ndefine 🎥 Disable from Cam Control? <disable?>\nif <disable?> then\n    set [enabled? v] to [0]\nelse\n    set [enabled? v] to [1]\nend\n\ndefine Play Intro\nSet size to [100] %\npoint in direction (90)\ngo to x: (0) y: (0)\nset rotation style [all around v]\nhide\ndelete all of [\[intro\] cam x/y/z/r v]\ndelete all of [\[intro\] cam2 x/y/z/r v]\nrepeat (4)\n    add [0] to [\[intro\] cam x/y/z/r v]\n    add [0] to [\[intro\] cam2 x/y/z/r v]\nend\nset [costume v] to [blank]\nset [\[intro\] color v] to [110]\nset [\[intro\] keyframe v] to [1]\nset [greyscale? v] to [0]\n🎥 Move cam to [0] [0] [0] [0]\n🎥 Transition x/y/z/s/r [0] [0] [1] [100] [90] speed: [1]\n🎥 Disable from Cam Control? \n🖼 Set effects c/b/g [0] [0] [0]\nClone same sprite [controller] spec: [0] [0] [0]\nClone same sprite [controller2] spec: [0] [0] [0]\nClone sprites [10] [1]\nset [x v] to [0]\nrepeat (3)\n    Clone same sprite [2] [3]\n    change [x v] by (480)\nend\nset [greyscale? v] to [1]\nset [x v] to [0]\nClone same sprite [2] [2]\nset [x v] to [480]\nClone same sprite [2] [2]\nset [greyscale? v] to [0]\nset [fx_frame v] to [1]\nset [_v1 v] to [1]\n🖼 Set effects c/b/g [110] [100] [0]\n💥 Spline explosion [60] [60] [110] [40] [135] [0] [12] [10] [0] [1]\n💥 Spline explosion [50] [50] [110] [40] [135] [0] [12] [10] [0] [1]\n💥 Spline explosion [60] [-60] [110] [40] [225] [0] [12] [10] [0] [1]\n💥 Spline explosion [50] [-50] [110] [40] [225] [0] [12] [10] [0] [1]\n💥 Spline explosion [-60] [-60] [110] [40] [315] [0] [12] [10] [0] [1]\n💥 Spline explosion [-50] [-50] [110] [40] [315] [0] [12] [10] [0] [1]\n💥 Spline explosion [-60] [60] [110] [40] [405] [0] [12] [10] [0] [1]\n💥 Spline explosion [-50] [50] [110] [40] [405] [0] [12] [10] [0] [1]\nset [_v1 v] to [1]\n🖼 Set effects c/b/g [110] [-20] [0]\n💥 Spline explosion [55] [55] [90] [20] [135] [0] [12] [11] [0] [1]\n💥 Spline explosion [55] [-55] [90] [20] [225] [0] [12] [11] [0] [1]\n💥 Spline explosion [-55] [-55] [90] [20] [315] [0] [12] [11] [0] [1]\n💥 Spline explosion [-55] [55] [90] [20] [405] [0] [12] [11] [0] [1]\nset [fx_frame v] to [2]\n🖼 Set effects c/b/g [110] [100] [0]\n💥 Line explosion [0] [0] [50] [70] [0] [360] [6] [11] [0] [8]\nset [fx_frame v] to [3]\nset [_v1 v] to [1]\n💥 Spline explosion ((-50) * ([cos v] of (0) )) ((50) * ([sin v] of (0) )) [110] [80] [45] [0] [12] [10] [0] [1]\n💥 Spline explosion ((-50) * ([cos v] of (45) )) ((50) * ([sin v] of (45) )) [110] [80] [90] [0] [12] [10] [0] [1]\n💥 Spline explosion ((-50) * ([cos v] of (90) )) ((50) * ([sin v] of (90) )) [110] [80] [135] [0] [12] [10] [0] [1]\n💥 Spline explosion ((-50) * ([cos v] of (135) )) ((50) * ([sin v] of (135) )) [110] [80] [180] [0] [12] [10] [0] [1]\n💥 Spline explosion ((-50) * ([cos v] of (180) )) ((50) * ([sin v] of (180) )) [110] [80] [225] [0] [12] [10] [0] [1]\n💥 Spline explosion ((-50) * ([cos v] of (225) )) ((50) * ([sin v] of (225) )) [110] [80] [270] [0] [12] [10] [0] [1]\n💥 Spline explosion ((-50) * ([cos v] of (270) )) ((50) * ([sin v] of (270) )) [110] [80] [315] [0] [12] [10] [0] [1]\n💥 Spline explosion ((-50) * ([cos v] of (315) )) ((50) * ([sin v] of (315) )) [110] [80] [360] [0] [12] [10] [0] [1]\nset [fx_frame v] to [4]\nset [_v1 v] to [20]\n💥 Spline explosion [480] [0] [110] [80] [120] [45] [9] [13] [0] [3]\n💥 Spline explosion [480] [0] [110] [80] [-60] [45] [9] [13] [0] [3]\n💥 Spline explosion [0] [0] [110] [80] [120] [45] [9] [13] [0] [3]\n💥 Spline explosion [0] [0] [110] [80] [-60] [45] [9] [13] [0] [3]\nset [fx_frame v] to [9]\nset [_v1 v] to [1]\n💥 Spline explosion [240] [0] [90] [80] [90] [45] [9] [12] [0] [1]\n💥 Spline explosion [220] [25] [90] [80] [90] [45] [9] [12] [0] [1]\n💥 Spline explosion [220] [-25] [90] [80] [90] [45] [9] [12] [0] [1]\n💥 Spline explosion [200] [50] [90] [80] [90] [45] [9] [12] [0] [1]\n💥 Spline explosion [200] [-50] [90] [80] [90] [45] [9] [12] [0] [1]\nset [fx_frame v] to [10]\nset [_v1 v] to [1]\n💥 Spline explosion [720] [0] [90] [80] [-90] [45] [9] [12] [0] [1]\n💥 Spline explosion [740] [25] [90] [80] [-90] [45] [9] [12] [0] [1]\n💥 Spline explosion [740] [-25] [90] [80] [-90] [45] [9] [12] [0] [1]\n💥 Spline explosion [760] [50] [90] [80] [-90] [45] [9] [12] [0] [1]\n💥 Spline explosion [760] [-50] [90] [80] [-90] [45] [9] [12] [0] [1]\nClone same sprite [5] [108]\nClone same sprite [6] [1]\nset [x v] to [0]\nrepeat (2)\n    Clone same sprite [3] [2]\n    Clone sprites [100] [1]\n    set [greyscale? v] to [1]\n    Clone sprites [100] [1]\n    set [greyscale? v] to [0]\n    change [x v] by (480)\nend\nClone same sprite [4] [108]\nClone same sprite [SF] spec: [0] [0] [100]\nset [fx_frame v] to [1]\n🖼 Set effects c/b/g [0] [-100] [0]\n💥 Gradient shockwave\nClone same sprite [1] [2]\nClone same sprite [9] [2]\nClone sprites [7] [2]\nswitch costume to (text v)\nbroadcast (\[Intro\] listen for keyframes v)\nreset timer\nclear sound effects\nplay sound [Diamond Eyes - Stars \[NCS Release\]2 v] until done\nbroadcast (\[Intro\] delete clones v)\nwait (1) seconds\nbroadcast (\[Intro\] over v)\nstop [other scripts in sprite v]\n\ndefine Set pos zrot: (x) (y) rot: (r) trans: (tx) (ty) scalar: (c)\nset [x v] to ((tx) + ((c) * ((([cos v] of (r) ) * (x)) - (([sin v] of (r) ) * (y)))))\nset [y v] to ((ty) + ((c) * ((([sin v] of (r) ) * (x)) + (([cos v] of (r) ) * (y)))))\n\ndefine 🎥 Cam set x/y/z/r (item) to: (val)\nreplace item (item) of [\[intro\] cam x/y/z/r v] with (val)\n\ndefine ⏱ Keyframe (keyframe)\nif <(\[Intro\] Keyframe) > (keyframe)> then\n\ndefine 🎥 Transition x/y/z/s/r (x) (y) (z) (s) (r) speed: (t)\nchange [x v] by (((round (x)) - (round (x))) / (t))\nchange [y v] by (((round (y)) - (round (y))) / (t))\nchange [z v] by (((round (z)) - (round (z))) / (t))\nchange [size v] by (((round (s)) - (round (size))) / (t))\nTransition direction (r) speed: (t)\n\nwhen I start as a clone\nif <(clone_id) = [controller]> then\n    🖼 Set effects c/b/g [0] [0] [100]\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    set [_v3 v] to [0]\n    set [_v4 v] to [0]\n    set [_v5 v] to [0]\n    \n        🎥 Cam set x/y/z/r [1] to: ((item (1) of [\[intro\] cam x/y/z/r v]) + ((((_v1) * ([sin v] of (_v2) )) - (item (1) of [\[intro\] cam x/y/z/r v])) / (4)))\n        🎥 Cam set x/y/z/r [2] to: ((item (2) of [\[intro\] cam x/y/z/r v]) + ((((_v5) * ([cos v] of (_v3) )) - (item (2) of [\[intro\] cam x/y/z/r v])) / (4)))\n        🎥 Cam set x/y/z/r [3] to: ((1) * ((item (3) of [\[intro\] cam x/y/z/r v]) + (((_v4) - (item (3) of [\[intro\] cam x/y/z/r v])) / (4))))\n        set [_v1 v] to ((_v1) * (.93))\n        set [_v5 v] to ((_v5) * (.93))\n        change [_v2 v] by (40)\n        change [_v3 v] by (30)\n        set [_v4 v] to ((_v4) * (.85))\n    end\nend\n\nwhen I receive [\[intro\] start v]\nstop [other scripts in sprite v]\nrepeat (1)\n    delete this clone\nend\nLoad frames\nPlay Intro\n\ndefine Clone sprites (id) (count)\nset [clone_id v] to (id)\nrepeat (count)\n    create clone of (_myself_ v)\n    change [clone_id v] by (1)\nend\nset [clone_id v] to [0]\n\ndefine Clone same sprite (id) (count)\nset [clone_val v] to [1]\nset [clone_id v] to (id)\nrepeat (count)\n    create clone of (_myself_ v)\n    change [clone_val v] by (1)\nend\nset [clone_id v] to [0]\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [controller]> then\n    set [_v1 v] to [8]\n    set [_v5 v] to [14]\n    set [_v4 v] to [1]\nend\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(clone_id) = [0]> then\n    repeat until <(\[Intro\] Keyframe) > (length of [keyframes v])>\n        wait until <(timer) > ((-.1) + (item (\[Intro\] Keyframe) of [keyframes v]))>\n        broadcast (\[Intro\] keyframe signal v)\n        change [\[intro\] keyframe v] by (1)\n    end\nend\n\ndefine 💥 Gradient shockwave\nClone same sprite [GS] [1]\n\ndefine 💥 Shockwave (x) (y) (s) (speed)\nset [_v1 v] to (s)\nset [_v3 v] to (speed)\nClone same sprite [S] spec: (x) (y) [0]\n\nwhen I start as a clone\nif <(clone_id) = [SF]> then\n    set [_v1 v] to [0]\n    \n        change [ghost v] by (((round ((100) - (_v1))) - (round (ghost))) / (2))\n        🖼 Set effects c/b/g [0] [100] (ghost)\n        set [_v1 v] to ((_v1) * (.85))\n    end\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [SF]> then\n    switch costume to (screen v)\n    Transition positions [0] [0] [100] speed: [1]\n    Transition direction [90] speed: [1]\n    set [_v1 v] to [50]\n    show\nend\n\ndefine 🎥 Move cam to (x) (y) (z) (r)\nreplace item (1) of [\[intro\] cam x/y/z/r v] with (x)\nreplace item (2) of [\[intro\] cam x/y/z/r v] with (y)\nreplace item (3) of [\[intro\] cam x/y/z/r v] with (z)\nreplace item (4) of [\[intro\] cam x/y/z/r v] with (r)\n\nwhen I start as a clone\nif <(clone_id) = [SW]> then\n    Transition direction (direction) speed: [1]\n    Set size to [0] %\n    switch costume to (join [shockwave1/] ((360) / (_v2)))\n    set [_v1 v] to [0]\n    ⏱ Keyframe (FX_frame)\n    show\n    repeat ((3.6) * (costume))\n        Transition positions (x) (y) (_v5) speed: (_v3)\n        Transition direction ((direction) + (_v4)) speed: (_v3)\n        set [fisheye v] effect to (([ceiling v] of (([tan v] of (_v1) ) * (68.6)) ) * (_v1))\n        change [_v1 v] by ((25) / (costume))\n    end\n    repeat ((.8) * (costume))\n        Transition positions (x) (y) (_v5) speed: (_v3)\n        Transition direction ((direction) + (_v4)) speed: (_v3)\n        change [ghost v] effect by ((5) * (costume))\n    end\n    delete this clone\nend\n\ndefine Change size by: (s) costume ph: (ph)\nSet size to ((size) + (s)) %\nswitch costume to (ph)\n\nwhen I start as a clone\nhide\ngo to [front v] layer\nif <(clone_id) = ((clone_id) * (1))> then\n    forever\n        🖼 Set effects c/b/g (color) (brightness) (ghost)\n        if <(enabled?) = [1]> then\n            Set size to [99999999999] %\n            set x to (((x) - (item (1) of [\[intro\] cam x/y/z/r v])) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1)))\n            set y to (((y) - (item (2) of [\[intro\] cam x/y/z/r v])) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1)))\n            Set size to ((size) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1))) %\n            switch costume to (costume)\n            change [color v] effect by (\[Intro\] Color)\n        else\n            Set size to [99999999999] %\n            set x to (x)\n            set y to (y)\n            Set size to (size) %\n            switch costume to (costume)\n        end\n    end\nelse\n    Transition positions (x) (y) (size) speed: [1]\n    Transition direction (direction) speed: [1]\n    🖼 Set effects c/b/g (color) (brightness) (ghost)\n    🎥 Disable from Cam Control? \nend\n\ndefine Transition direction (r) speed: (t)\nturn right (((round (r)) - (round (direction))) / (t)) degrees\n\ndefine Set size to (size) %\nif <[100] > (size)> then\n    switch costume to (screen v)\nelse\n    switch costume to (blank v)\nend\nset size to (size) %\nswitch costume to (screen v)\n\ndefine Clone same sprite (id) spec: (x) (y) (s)\nset [clone_id v] to (id)\nset [x v] to (x)\nset [y v] to (y)\nset [size v] to (s)\ncreate clone of (_myself_ v)\nset [clone_id v] to [0]\n\ndefine 💥 Line explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [costume v] to (framespeed)\nrepeat (count)\n    Clone same sprite [LE] spec: (x) (y) (s)\n    change [direction v] by ((spread) / (count))\nend\n\nwhen I start as a clone\nif <(clone_id) = [LE]> then\n    set [_v1 v] to [1]\n    set [_v2 v] to [0]\n    ⏱ Keyframe (FX_frame)\n    show\n    repeat ((3.6) * (costume))\n        switch costume to (join [lineexplosion] (round (_v1)))\n        Transition positions ((((x) - (item (1) of [\[intro\] cam x/y/z/r v])) * (1)) + ((_v2) * ([sin v] of (direction) ))) ((((y) - (item (1) of [\[intro\] cam x/y/z/r v])) * (1)) + ((_v2) * ([cos v] of (direction) ))) ((size) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1))) speed: [1]\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n        change [_v1 v] by (((round (11)) - (round (_v1))) / (costume))\n    end\n    repeat ((.8) * (costume))\n        switch costume to (join [lineexplosion] (round (_v1)))\n        Transition positions ((((x) - (item (1) of [\[intro\] cam x/y/z/r v])) * (1)) + ((_v2) * ([sin v] of (direction) ))) ((((y) - (item (1) of [\[intro\] cam x/y/z/r v])) * (1)) + ((_v2) * ([cos v] of (direction) ))) ((size) * (((item (3) of [\[intro\] cam x/y/z/r v]) / (z)) + (1))) speed: [1]\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n        change [_v1 v] by (((round (11)) - (round (_v1))) / (costume))\n        change [ghost v] effect by ((125) / (_v3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [RE]> then\n    set [_v1 v] to [1]\n    set [_v2 v] to [0]\n    ⏱ Keyframe (FX_frame)\n    show\n    repeat until <(round (_v1)) = [20]>\n        switch costume to (join [rectexplosion] (round (_v1)))\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        Transition positions ((((x) - (item (1) of [\[intro\] cam x/y/z/r v])) * (1)) + ((_v2) * ([sin v] of (direction) ))) ((((y) - (item (2) of [\[intro\] cam x/y/z/r v])) * (1)) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        change [_v1 v] by ((2.5) / (costume))\n        change [_v2 v] by ((((_v5) - (_v2)) / (_v3)) + (1))\n    end\n    delete this clone\nend\n\ndefine 💥 Rect explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [costume v] to (framespeed)\nrepeat (count)\n    Clone same sprite [RE] spec: (x) (y) (s)\n    change [direction v] by ((spread) / (count))\nend\n\nwhen I start as a clone\nif <(clone_id) = [SE]> then\n    set [_v2 v] to [0]\n    ⏱ Keyframe (FX_frame)\n    show\n    repeat until <(round (_v1)) = [41]>\n        Set size to [999] %\n        Transition positions ((item (1) of [\[intro\] cam2 x/y/z/r v]) + (((x) - (item (1) of [\[intro\] cam x/y/z/r v])) + ((_v2) * ([sin v] of (direction) )))) (((y) - (item (2) of [\[intro\] cam x/y/z/r v])) + ((_v2) * ([cos v] of (direction) ))) (size) speed: [1]\n        switch costume to (join [spline-explosion] (round (_v1)))\n        Transition direction ((_v4) + (direction)) speed: (_v3)\n        change [_v1 v] by (((41) - (_v1)) / (costume))\n        change [_v2 v] by (((_v5) - (_v2)) / (_v3))\n    end\n    delete this clone\nend\n\ndefine 💥 Spline explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [costume v] to (framespeed)\nrepeat (count)\n    Clone same sprite [SE] spec: (x) (y) ((s) / (5))\n    change [direction v] by ((spread) / (count))\nend\n\ndefine 🖼 Set effects c/b/g (c) (b) (g)\nset [color v] to (c)\nset [brightness v] to (b)\nset [ghost v] to (g)\nset [color v] effect to (color)\nset [brightness v] effect to (brightness)\nset [ghost v] effect to (ghost)\n\ndefine Transition positions (x) (y) (z) speed: (t)\nchange x by (((round (x)) - (round (x position))) / (t))\nchange y by (((round (y)) - (round (y position))) / (t))\nChange size by: (((round (z)) - (round (size))) / (t)) costume ph: (costume [name v])\n\ndefine 💥 Shockwave (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nset [_v5 v] to (r)\nset [direction v] to (zrot)\nset [_v4 v] to (rot)\nset [_v3 v] to (speed)\nset [_v2 v] to (spread)\nset [costume v] to (framespeed)\nClone same sprite [SW] spec: (x) (y) (s)\n\nwhen I start as a clone\nif <(clone_id) = [GS]> then\n    🖼 Set effects c/b/g (color) (brightness) [0]\n    Transition positions [0] [0] [0] speed: [1]\n    switch costume to (gradientshock v)\n    ⏱ Keyframe (FX_frame)\n    wait (0) seconds\n    show\n    repeat (25)\n        change [ghost v] effect by (4)\n        Transition positions [0] [0] [575] speed: [7]\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [S]> then\n    switch costume to (shock v)\n    ⏱ Keyframe (FX_frame)\n    show\n    repeat until <(ghost) > [99]>\n        set [ghost v] effect to (ghost)\n        change [ghost v] by (((100) - (round (ghost))) / (_v3))\n        Transition positions (x) (y) (_v1) speed: (_v3)\n    end\n    delete this clone\nend\n\ndefine 💥 Sparkle explosion (x) (y) (s) (r) (zrot) (spread) (speed) (framespeed) (rot) (count)\nrepeat (count)\n    set [_v3 v] to (pick random (5) to (speed))\n    set [_v4 v] to (pick random (20) to (40))\n    set [costume v] to (pick random (10) to (30))\n    Clone same sprite [SP] spec: (pick random ((0) - (x)) to (x)) (pick random ((0) - (y)) to (y)) (pick random ((s) / (2.5)) to ((s) * (1.1)))\nend\n\nwhen I start as a clone\nif <(clone_id) = [SP]> then\n    Transition positions [0] [0] (size) speed: [1]\n    Transition direction [90] speed: [1]\n    switch costume to (sparkle v)\n    set [_v1 v] to [10]\n    set [_v2 v] to [0]\n    set [_v5 v] to [0]\n    set [z v] to [.9]\n    repeat until <[1] > (_v1)>\n        set [fisheye v] effect to ((5) * (round (((-45) + ((-45) * ([abs v] of ([sin v] of (_v2) ) ))) / (5))))\n        change [_v1 v] by (((0) - (round (_v1))) / (costume))\n        change [_v2 v] by (_v4)\n        Transition positions (x) (y) (((size) / (100)) * (((50) * ([sin v] of (_v2) )) + ([abs v] of (([sin v] of (_v2) ) * ((_v1) * (costume))) ))) speed: (_v3)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [100]> then\n    🎥 Transition x/y/z/s/r (x) [-5] [1] [0] [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    if <(greyscale?) = [1]> then\n        🖼 Set effects c/b/g ((1) / (0)) [25] [100]\n    else\n        🖼 Set effects c/b/g [0] [0] [0]\n    end\n    set [costume v] to [text]\n    set [_v3 v] to (x)\n    ⏱ Keyframe [1]\n    show\n    repeat until <(\[Intro\] Keyframe) > [3]>\n        🎥 Transition x/y/z/s/r [0] [0] [1] [80] [90] speed: [5]\n    end\n    wait (.6) seconds\n    repeat until <(\[Intro\] Keyframe) > [4]>\n        change [size v] by ((0) - (_v1))\n        change [_v1 v] by (2.1)\n    end\n    wait (0) seconds\n    \n        change [size v] by (((round (80)) - (round (size))) / (3))\n    end\nend\n\nwhen I receive [\[intro\] over v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(clone_id) = [0]> then\n\nwhen I start as a clone\nif <(clone_id) = [1]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [500] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] (((clone_val) * (-200)) - (-300)) [0]\n    set [costume v] to [shockwave1/1]\n    set [fisheye v] effect to (-80)\n    wait (1) seconds\n    show\n    wait ((2.1) + ((.2) * <(clone_val) = [1]>)) seconds\n    \n        change [fisheye v] effect by (12)\n        🎥 Transition x/y/z/s/r [0] [0] [1] [700] [90] speed: [20]\n    end\nend\n\nwhen I receive [\[intro\] delete clones v]\ndelete this clone\n\nwhen I start as a clone\nif <(clone_id) = [3]> then\n    🎥 Transition x/y/z/s/r (x) [0] [1] [101] ((clone_val) * (180)) speed: [1]\n    🎥 Disable from Cam Control? <>\n    🖼 Set effects c/b/g [0] [100] [0]\n    set [costume v] to [lightray22]\n    set [_v3 v] to (x)\n    ⏱ Keyframe [4]\n    wait (.3) seconds\n    show\n    set [_v1 v] to [22]\n    set [_v2 v] to [0]\n    set [direction v] to ((clone_val) * (180))\n    repeat (32)\n        if <[1] < (round (_v1))> then\n            set [costume v] to (join [lightray] (round (_v1)))\n        end\n        change [_v1 v] by (-.6)\n        change [direction v] by (_v2)\n        change [_v2 v] by (.5)\n        point in direction ((360) - (direction))\n    end\n    set [_v1 v] to [1]\n    repeat until <(round ((360) + ((clone_val) * (180)))) = (round (direction))>\n        if <(round (_v1)) < [22]> then\n            set [costume v] to (join [lightray] (round (_v1)))\n        end\n        change [_v1 v] by (.6)\n        change [direction v] by (((round ((360) + ((clone_val) * (180)))) - (round (direction))) / (7))\n        point in direction ((360) - (direction))\n    end\n    repeat (4)\n        change [ghost v] by (25)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone_id) = [2]> then\n    🎥 Transition x/y/z/s/r (x) (((560) - (-616)) * ((1) - (clone_val))) [3] [100] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    if <(greyscale?) = [1]> then\n        🖼 Set effects c/b/g ((1) / (0)) [25] [100]\n    else\n        🖼 Set effects c/b/g [0] [0] [0]\n    end\n    set [costume v] to [chevron]\n    ⏱ Keyframe [1]\n    show\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    set [_v3 v] to (x)\n    set [_v4 v] to [0]\n    \n        change [y v] by (((round ((_v2) + ((_v1) + (((560) - (-616)) * ((1) - (clone_val)))))) - (round (y))) / (5))\n        set [x v] to ((item (1) of [\[intro\] cam2 x/y/z/r v]) + ((_v3) + ((0) - (item (1) of [\[intro\] cam x/y/z/r v]))))\n        change [_v1 v] by ((.5) + (_v2))\n        set [_v2 v] to ((_v2) * (.85))\n        set [_v4 v] to ((_v4) * (.85))\n        set [brightness v] to ((_v4) + ((greyscale?) * (25)))\n        if <(greyscale?) = [0]> then\n            set [color v] to (\[Intro\] Color)\n        end\n    end\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [2]> then\n    set [_v2 v] to [40]\n    set [_v4 v] to [13]\nend\n\nwhen I start as a clone\nif <(clone_id) = [7]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [150] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] [-100] [0]\n    set [costume v] to [bars]\n    ⏱ Keyframe [1]\n    show\n    \n        🎥 Transition x/y/z/s/r [0] [0] [1] [100] [90] speed: [6]\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [4]> then\n    🎥 Transition x/y/z/s/r (pick random ((-450) - (item (1) of [\[intro\] cam2 x/y/z/r v])) to (750)) (pick random (-200) to (180)) [5] (pick random (20) to (120)) [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    🖼 Set effects c/b/g [0] [100] ((20) + ((size) * (.66)))\n    set [costume v] to [particle]\n    set [_v3 v] to (x)\n    set [z v] to [5]\n    wait (0) seconds\n    ⏱ Keyframe [1]\n    set [_v1 v] to [40]\n    set [_v2 v] to ((5) * ((18) / ((size) + (pick random (-.4999) to (.4999)))))\n    show\n    \n        if <(y) > ((120) + ((size) - (1)))> then\n            set [_v3 v] to (pick random ((-450) - (item (1) of [\[intro\] cam2 x/y/z/r v])) to (750))\n            set [y v] to (pick random (-200) to (-175))\n        end\n        change [_v3 v] by ((_v2) + (_v1))\n        set [x v] to ((_v3) + (item (1) of [\[intro\] cam2 x/y/z/r v]))\n        change [y v] by ((_v2) + (_v1))\n        set [_v1 v] to ((_v1) * (.85))\n    end\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [4]> then\n    set [_v1 v] to [10]\nend\n\nwhen I start as a clone\nif <(clone_id) = [5]> then\n    🎥 Transition x/y/z/s/r (pick random ((-220) - (item (1) of [\[intro\] cam2 x/y/z/r v])) to (820)) (pick random (-190) to (180)) [7] (pick random (4) to (18)) [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    🖼 Set effects c/b/g [0] [100] ((size) * (.98))\n    set [costume v] to [particle]\n    set [_v3 v] to (x)\n    set [z v] to [7]\n    wait (0) seconds\n    ⏱ Keyframe [1]\n    set [_v1 v] to [40]\n    set [_v2 v] to ((10) / ((size) + (pick random (-.4999) to (.4999))))\n    show\n    \n        if <(y) > ((170) + ((size) - (1)))> then\n            set [_v3 v] to (pick random ((-220) - (item (1) of [\[intro\] cam2 x/y/z/r v])) to (810))\n            set [y v] to (pick random (-195) to (-160))\n        end\n        change [_v3 v] by ((0) - ((_v2) + (_v1)))\n        set [x v] to ((_v3) + (item (1) of [\[intro\] cam2 x/y/z/r v]))\n        change [y v] by ((_v2) + (_v1))\n        set [_v1 v] to ((_v1) * (.85))\n    end\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [5]> then\n    set [_v1 v] to [7]\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(clone_id) = [100]> then\n    set [brightness v] to [5]\nend\n\nwhen I start as a clone\nif <(clone_id) = [100]> then\n    ⏱ Keyframe [1]\n    \n        set [brightness v] to ((brightness) * (.85))\n        set [x v] to ((_v3) + (item (1) of [\[intro\] cam2 x/y/z/r v]))\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [3]> then\n    ⏱ Keyframe [1]\n    \n        set [x v] to ((_v3) + (item (1) of [\[intro\] cam2 x/y/z/r v]))\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [8]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [150] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] [-100] [20]\n    set [costume v] to [screenshade]\n    ⏱ Keyframe [1]\n    show\n    \n        🎥 Transition x/y/z/s/r [0] [0] [1] [100] [90] speed: [6]\n    end\nend\n\ndefine Load frames\nSet size to ([tan v] of (90) ) %\nTransition positions [9999999] [9999999] [999] speed: [1]\nshow\nswitch costume to (spline-explosion41 v)\nrepeat (25)\n    next costume\nend\n\nwhen I start as a clone\nif <(clone_id) = [controller2]> then\n    🖼 Set effects c/b/g [0] [0] [100]\n    set [_v3 v] to [0]\n    set [_v4 v] to [0]\n    set [_v5 v] to [0]\n    ⏱ Keyframe [4]\n    wait (.4) seconds\n    repeat (20)\n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (_v5)\n        change [_v5 v] by (-2)\n    end\n    repeat until <(timer) > ((item (9) of [keyframes v]) - (0.27))>\n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (((round (-480)) - (round (_v4))) / (5))\n    end\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    set [_v5 v] to [0]\n    repeat (6)\n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (_v5)\n        change [_v5 v] by (1.9)\n    end\n    repeat until <(timer) > ((item (10) of [keyframes v]) - (0.33))>\n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (((round (-380)) - (round (_v4))) / (5))\n    end\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    set [_v5 v] to [0]\n    repeat (10)\n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (_v5)\n        change [_v5 v] by (-2.4)\n    end\n    repeat until <(timer) > ((item (11) of [keyframes v]) - (0.39))>\n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (((round (-600)) - (round (_v4))) / (5))\n    end\n    set [_v1 v] to [0]\n    set [_v2 v] to [0]\n    set [_v5 v] to [0]\n    repeat (10)\n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (_v5)\n        change [_v5 v] by (1.6)\n    end\n    \n        replace item (1) of [\[intro\] cam2 x/y/z/r v] with (_v4)\n        change [_v4 v] by (((round (-440)) - (round (_v4))) / (10))\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [6]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [0] [90] speed: [1]\n    🎥 Disable from Cam Control? \n    🖼 Set effects c/b/g [0] [100] [0]\n    set [costume v] to [hexagon]\n    ⏱ Keyframe [7]\n    show\n    \n        🎥 Transition x/y/z/s/r [0] [0] [1] [420] [90] speed: [10]\n    end\n    set [_v1 v] to [0]\n    repeat (10)\n        change [size v] by (_v1)\n        change [_v1 v] by (3)\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [9]> then\n    🎥 Transition x/y/z/s/r [9999999] [0] [1] ((200) + ((1300) * <(clone_val) = [2]>)) [90] speed: [1]\n    🎥 Disable from Cam Control? \n    if <(clone_val) = [1]> then\n        set [costume v] to [screen]\n        🖼 Set effects c/b/g [0] [-100] [0]\n    else\n        set [costume v] to [transout]\n        🖼 Set effects c/b/g [0] [0] [0]\n    end\n    wait until <(timer) > [11.2]>\n    set [_v1 v] to [2]\n    set [_v2 v] to ((500) + ((500) * <(clone_val) = [1]>))\n    repeat (15)\n        change [_v2 v] by ((0) - (_v1))\n        change [_v1 v] by (2)\n        if <(clone_val) = [2]> then\n            change [size v] by (-2)\n        end\n        Set pos zrot: (_v2) [0] rot: [45] trans: [0] [0] scalar: [1]\n        point in direction ((90) - (45))\n        show\n    end\n    repeat (50)\n        change [_v2 v] by (((round (-320)) - (round (_v2))) / ((10) + ((15) * <(clone_val) = [1]>)))\n        if <(clone_val) = [2]> then\n            change [size v] by (((round (100)) - (round (size))) / (10))\n        end\n        Set pos zrot: (_v2) [0] rot: [45] trans: [0] [0] scalar: [1]\n        point in direction ((90) - (45))\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [100]> then\n    ⏱ Keyframe [4]\n    wait (.3) seconds\n    set [_v2 v] to [0]\n    repeat (32)\n        turn right (_v2) degrees\n        change [_v2 v] by (.5)\n    end\n    \n        Transition direction [90] speed: [7]\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [controller2]> then\n    set [\[intro\] color v] to [110]\n    ⏱ Keyframe [4]\n    wait (.4) seconds\n    repeat until <(\[Intro\] Keyframe) > [6]>\n        change [\[intro\] color v] by (((round (205)) - (round (\[Intro\] Color))) / (5))\n    end\n    repeat until <(\[Intro\] Keyframe) > [7]>\n        change [\[intro\] color v] by (((round (215)) - (round (\[Intro\] Color))) / (5))\n    end\n    \n        change [\[intro\] color v] by (1.3)\n    end\nend\n\nwhen I start as a clone\nif <(clone_id) = [10]> then\n    🎥 Transition x/y/z/s/r [0] [0] [1] [500] [90] speed: [1]\n    🎥 Disable from Cam Control? <>\n    🖼 Set effects c/b/g [0] [-100] [100]\n    set [costume v] to [screen]\n    wait (.2) seconds\n    show\n    repeat (20)\n        change [ghost v] by (-5)\n    end\n    ⏱ Keyframe [1]\n    🖼 Set effects c/b/g [0] [0] [0]\nend\n\nwhen I start as a clone\nif <(greyscale?) = [1]> then\n    ⏱ Keyframe [4]\n    wait (.1) seconds\n    repeat (20)\n        change [ghost v] by (-5)\n    end\n    \n        change [ghost v] by (((round (100)) - (round (ghost))) / (10))\n    end\nend\n\nwhen I start as a clone\n⏱ Keyframe [11]\nif <(clone_id) = [9]> then\n    wait (1.5) seconds\n    \n        change [ghost v] by (3)\n    end\nelse\n    wait (1.4) seconds\n    delete this clone\nend\n\n@Call\n\nwhen flag clicked\nbroadcast (\[Intro\] start v)\n\nwhen I receive [\[intro\] over v]\n\n@Spikes & lava\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (10)\nswitch costume to (1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [\[intro\] over v]\nshow\n\n@trampoline\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(Level) = [5]> then\n        show\n        go to x: (-51) y: (-10)\n    else\n        if <(Level) = [6]> then\n            show\n            go to x: (-51) y: (-2)\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (not touched v)\nforever\n    if <touching (player v)?> then\n        switch costume to (touched v)\n        wait (0.1) seconds\n        switch costume to (not touched v)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n