Dark Night || A Platformer

Instructions: Wad keys, and Arrow keys to move, \n1 is mute, 2 is unmute,\nEVERYONE CHECK OUT @DINOMAN252 NOW!\n\n1,000 VIEWS!?!? THANKS!!! New Platformer!\nhttps://scratch.mit.edu/projects/639129948/\n\nTook FOREVER to make, \nLet's get this featured!\nI Promise all levels are Possible!!!\nCOMPLETELY DONE NOW!!!\n

@Stage\n\nwhen flag clicked\nwait (2) seconds\nswitch backdrop to (tag v)\n\nwhen flag clicked\nswitch backdrop to (tag v)\nswitch backdrop to (intro v)\nwait (1) seconds\nbroadcast (\[INTRO\] Play intro v) and wait\nnext backdrop\n\nwhen flag clicked\nwait (8) seconds\nforever\n    play sound [284502 v] until done\nend\n\nwhen flag clicked\nforever\n    if <key (1 v) pressed?> then\n        set volume to (0) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (2 v) pressed?> then\n        set volume to (100) %\n    end\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-216) y: (100)\nset [level v] to [1]\nshow\nforever\n    go to [front v] layer\n    set [y v] to [0]\n    set [x v] to [0]\n    forever\n        change [y v] by (-1)\n        set [x v] to ((x) * (0.9))\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [x v] by (-1)\n        end\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [x v] by (1)\n        end\n        change x by (x)\n        if <touching (platforms v)?> then\n            change y by (1)\n        end\n        if <touching (platforms v)?> then\n            change y by (1)\n        end\n        if <touching (platforms v)?> then\n            change y by (1)\n        end\n        if <touching (platforms v)?> then\n            change y by (1)\n        end\n        if <touching (platforms v)?> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [y v] to [10]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-4]\n                else\n                    set [x v] to [4]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (y)\n        if <touching (platforms v)?> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching (platforms v)?>> then\n            set [y v] to [15]\n        end\n        change y by (1)\n        if <touching (bouncer v)?> then\n            set [y v] to [19]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (danger v)?> or <touching (lava v)?>> then\n        go to x: (-216) y: (100)\n        play sound [OOF v] until done\n    end\n    if <(x position) = [242]> then\n        broadcast (Next Level v)\n        change [level v] by (1)\n        go to x: (-216) y: (100)\n    end\n    if <(y position) = [-179]> then\n        go to x: (-216) y: (100)\n    end\nend\n\nwhen flag clicked\nhide\nwait (11.10) seconds\nshow\n\n@Platforms\n\nwhen flag clicked\nhide\nwait (11.10) seconds\nshow\nswitch costume to (level 1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nnext costume\n\n@Danger\n\nwhen flag clicked\nhide\nwait (11.10) seconds\nshow\ngo to [back v] layer\nswitch costume to (level 1 v)\ngo to x: (-35) y: (-28)\n\nwhen I receive [next level v]\nnext costume\n\n@Bouncer\n\nwhen flag clicked\nhide\nwait (11.10) seconds\nshow\nswitch costume to (level 1 v)\ngo to x: (17) y: (-34)\n\nwhen I receive [next level v]\nnext costume\n\n@Lava\n\nwhen flag clicked\nhide\nwait (11.10) seconds\nshow\ngo to [back v] layer\nswitch costume to (level 1 v)\ngo to x: (0) y: (-181)\nforever\n    repeat (5)\n        wait (0.01) seconds\n        change y by (-3)\n    end\n    wait (0.1) seconds\n    repeat (5)\n        change y by (3)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Player cloner\n\nwhen flag clicked\nswitch costume to (clone v)\nforever\n    if <<key (up arrow v) pressed?> or <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<key (d v) pressed?> or <key (w v) pressed?>>>>>> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nrepeat (100)\n    change [ghost v] effect by (15)\n    change size by (-3)\nend\ndelete this clone\n\nwhen flag clicked\nhide\nwait (11.10) seconds\nshow\ngo to [back v] layer\nforever\n    go to (player v)\nend\n\n@Daytime\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (level 1 v)\ngo to [back v] layer\n\nwhen flag clicked\nhide\nwait (11.10) seconds\nshow\n\n@Intro\n\ndefine 🎥 go to x: (x) y: (y) z: (z)\nset [🎥 x pos v] to (x)\nset [🎥 y pos v] to (y)\nset [🎥 z pos v] to (z)\n\ndefine 🎥 move cam to x: (x) y: (y) z: (z)\nset [\[intro\] 🎥 cam x pos v] to (x)\nset [\[intro\] 🎥 cam y pos v] to (y)\nset [\[intro\] 🎥 cam z pos v] to (z)\n\ndefine 🎥 Frame tween size: (s) speed: (spd)\nchange [🎥 size v] by (((round (s)) - (round (🎥 size))) / (spd))\n\ndefine Frame tween rotation: (r) speed: (spd)\nturn right (((round (r)) - (round (direction))) / (spd)) degrees\n\ndefine 🎥 Frame tween position  x: (x) y: (y) z: (z) speed: (spd)\nchange [🎥 x pos v] by (((round (x)) - (round (🎥 x pos))) / (spd))\nchange [🎥 y pos v] by (((round (y)) - (round (🎥 y pos))) / (spd))\nchange [🎥 z pos v] by (((round (z)) - (round (🎥 z pos))) / (spd))\n\ndefine 🎥 Frame tween animation  x: (x) y: (y) z: (z) size: (s) rotate: (r) speed: (spd)\n🎥 Frame tween position  x: (x) y: (y) z: (z) speed: (spd)\n🎥 Frame tween size: (s) speed: (spd)\nFrame tween rotation: (r) speed: (spd)\n\nwhen I start as a clone\nif <(CloneID) = [SE]> then\n    go to [front v] layer\n    set [🖼️ autoupdatecolor v] to [true]\n    set [🎥 use3dfx v] to [true]\n    set [🎥 auto scale hack v] to [true]\n    wait (0) seconds\n    set [var1 v] to [10]\n    set [val2 v] to (pick random (25) to (50))\n    set [var4 v] to ((Var4) + (pick random (0) to (10)))\n    set [🎥 costume v] to [138]\n    set [s v] to [0]\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) (🖼️ Ghost)\n    🎥 Frame tween animation  x: (X) y: (Y) z: [0] size: [100] rotate: [90] speed: [1]\n    set [x v] to ((X) + (pick random ((Var5) * (-1)) to (Var5)))\n    set [y v] to ((Y) + (pick random ((Var5) * (-1)) to (Var5)))\n    show\n    repeat until <[100] < (🖼️ Ghost)>\n        change [🎥 costume v] by (((round (147)) - (round (🎥 Costume))) / ((Var4) * (0.75)))\n        change [var1 v] by (((round (0)) - (round (Var1))) / ((Var4) * (1)))\n        change [var6 v] by (((round (0)) - (round (Var6))) / ((Var4) * (1)))\n        change [s v] by (Val2)\n        set [🎥 size v] to ([abs v] of (([sin v] of (S) ) * ((Var6) * (Var6))) )\n        🎥 Frame tween position  x: (X) y: (Y) z: [0] speed: (Var4)\n        if <(Var1) < [1]> then\n            change [🖼️ ghost v] by (25)\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [GS]> then\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) [0]\n    Frame Tween Animation   x: [0] y: [0] size: [0] rotate: [90] speed: [1]\n    show\n    repeat (25)\n        change [🖼️ ghost v] by (4)\n        switch costume to (scalingdot v)\n        Frame Tween Size: [575] speed: [7]\n        switch costume to (gradientshockwave v)\n        go to [front v] layer\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [S4]> then\n    set [var1 v] to [169]\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) [0]\n    switch costume to (screen1 v)\n    Frame Tween Animation   x: (X) y: (Y) size: [99999] rotate: (R) speed: [1]\n    set size to (0) %\n    show\n    repeat until <[189] < (Var1)>\n        switch costume to (scalingdot v)\n        Frame Tween Size: (S) speed: (Var3)\n        switch costume to (Var1)\n        turn right (Val2) degrees\n        change [var1 v] by (((round (190)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Var3))\n    end\n    repeat (4)\n        change [🖼️ ghost v] by (25)\n        Frame Tween Size: (S) speed: (Var3)\n        switch costume to (Var1)\n        turn right (Val2) degrees\n        change [var1 v] by (((round (190)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Var3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [S8]> then\n    set [var1 v] to [191]\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) [0]\n    switch costume to (screen1 v)\n    Frame Tween Animation   x: (X) y: (Y) size: [99999] rotate: (R) speed: [1]\n    set size to (0) %\n    show\n    repeat until <[211] < (Var1)>\n        switch costume to (scalingdot v)\n        Frame Tween Size: (S) speed: [5]\n        switch costume to (Var1)\n        turn right (Val2) degrees\n        change [var1 v] by (((round (212)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Var3))\n    end\n    repeat (4)\n        change [🖼️ ghost v] by (25)\n        switch costume to (scalingdot v)\n        Frame Tween Size: (S) speed: [5]\n        switch costume to (Var1)\n        turn right (Val2) degrees\n        change [var1 v] by (((round (212)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Var3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [LE]> then\n    set [var1 v] to [66]\n    set [var5 v] to [0]\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) (🖼️ Ghost)\n    switch costume to (screen1 v)\n    Frame Tween Animation   x: (X) y: (Y) size: [0] rotate: (R) speed: [1]\n    show\n    repeat until <[75] < (Var1)>\n        switch costume to (screen1 v)\n        Frame Tween Size: (S) speed: ((Var3) * (0.25))\n        switch costume to (Var1)\n        change [var1 v] by (((round (76)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Var3))\n        change [var4 v] by (((round (0)) - (round (Var4))) / (Var3))\n        change [var5 v] by (Val2)\n        go to x: (X) y: (Y)\n        turn right (Var4) degrees\n        move (Var5) steps\n    end\n    repeat (4)\n        change [🖼️ ghost v] by (25)\n        switch costume to (screen1 v)\n        Frame Tween Size: (S) speed: ((Var3) * (0.25))\n        switch costume to (Var1)\n        change [var1 v] by (((round (76)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Val2))\n        change [var4 v] by (((round (0)) - (round (Var4))) / (Var3))\n        change [var5 v] by (Val2)\n        go to x: (X) y: (Y)\n        turn right (Var4) degrees\n        move (Var5) steps\n    end\n    delete this clone\nend\n\ndefine 💥 Clone line explosion (x) (y) (s) (r) (spread) (spd) (aspd) (rspd) (count)\nset [val2 v] to (spd)\nset [var3 v] to (aspd)\nset [var4 v] to (rspd)\nset [x v] to (x)\nset [y v] to (y)\nset [s v] to (s)\nset [r v] to (r)\nset [cloneid v] to [LE]\nrepeat (count)\n    create clone of (_myself_ v)\n    change [r v] by ((spread) / (count))\nend\nset [cloneid v] to [0]\n\nwhen I start as a clone\nif <(CloneID) = [SF]> then\n    go to [front v] layer\n    🖼️ Set colors: [0] [100] [100]\n    switch costume to (screen2 v)\n    Frame Tween Animation   x: [0] y: [0] size: [100] rotate: [90] speed: [1]\n    show\n    forever\n        change [🖼️ ghost v] by (((round (100)) - (round (🖼️ Ghost))) / (5))\n        go to [front v] layer\n    end\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(CloneID) = [SF]> then\n    set [🖼️ ghost v] to [50]\nend\n\ndefine 💥 Clone 1/8 shockwave (x) (y) (s) (r) (aspd) (rspd)\nset [val2 v] to (rspd)\nset [var3 v] to (aspd)\nset [x v] to (x)\nset [y v] to (y)\nset [s v] to (s)\nset [r v] to ((r) + ((-45) / (2)))\nset [cloneid v] to [S8]\ncreate clone of (_myself_ v)\nset [cloneid v] to [0]\n\ndefine 💥 Clone 1/4 shockwave (x) (y) (s) (r) (aspd) (rspd)\nset [val2 v] to (rspd)\nset [var3 v] to (aspd)\nset [x v] to (x)\nset [y v] to (y)\nset [s v] to (s)\nset [r v] to ((r) + ((-90) / (2)))\nset [cloneid v] to [S4]\ncreate clone of (_myself_ v)\nset [cloneid v] to [0]\n\ndefine 💥 Clone gradient shockwave\nset [cloneid v] to [GS]\ncreate clone of (_myself_ v)\nset [cloneid v] to [0]\n\ndefine 💥 Clone sparkle explosion (x) (y) (s) (spread) (aspd) (count)\nset [x v] to (x)\nset [y v] to (y)\nset [var4 v] to (spread)\nset [var5 v] to (aspd)\nset [var6 v] to (s)\nset [cloneid v] to [SE]\nrepeat (count)\n    create clone of (_myself_ v)\nend\nset [cloneid v] to [0]\n\ndefine 💥 Clone screen flash\nset [cloneid v] to [SF]\ncreate clone of (_myself_ v)\nset [cloneid v] to [0]\n\nwhen I start as a clone\nif <(CloneID) = [S]> then\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) (🖼️ Ghost)\n    Frame Tween Animation   x: (X) y: (Y) size: [0] rotate: [90] speed: [1]\n    show\n    repeat until <[99] < (🖼️ Ghost)>\n        change [🖼️ ghost v] by (((round (100)) - (round (🖼️ Ghost))) / (Var1))\n        switch costume to (dot v)\n        Frame Tween Size: (S) speed: (Var1)\n        switch costume to (circle v)\n        go to [front v] layer\n    end\n    delete this clone\nend\n\ndefine 💥 Clone shockwave (x) (y) (s) (aspd)\nset [x v] to (x)\nset [y v] to (y)\nset [s v] to (s)\nset [var1 v] to (aspd)\nset [cloneid v] to [S]\ncreate clone of (_myself_ v)\nset [cloneid v] to [0]\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(CloneID) = [0]> then\n    set [zoom v] to [0]\n    set [csx v] to [0]\n    set [csy v] to [0]\n    set [css v] to [0]\n    forever\n        🎥 move cam to x: ((([sin v] of (csX) ) * (csS)) + (0)) y: ((([sin v] of (csY) ) * (csS)) + (0)) z: (((csS) * (0.05)) + (Zoom))\n        change [\[intro\] 🎥 cam fov v] by (((round ((60) * (0.01))) - (round (\[INTRO\] 🎥 cam fov))) / (8))\n        change [css v] by (((round (0)) - (round (csS))) / (8))\n        change [csx v] by (45)\n        change [csy v] by (37.5)\n    end\nend\n\ndefine 💥 Clone 1/1 shockwave (x) (y) (s) (aspd)\nset [var3 v] to (aspd)\nset [x v] to (x)\nset [y v] to (y)\nset [s v] to (s)\nset [cloneid v] to [S1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [0]\n\nwhen I start as a clone\nif <(CloneID) = [S1]> then\n    set [var1 v] to [5]\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) [0]\n    switch costume to (screen1 v)\n    Frame Tween Animation   x: (X) y: (Y) size: [99999] rotate: [90] speed: [1]\n    set size to (0) %\n    show\n    repeat until <[27] < (Var1)>\n        switch costume to (scalingdot v)\n        Frame Tween Size: (S) speed: (Var3)\n        switch costume to (Var1)\n        change [var1 v] by (((round (28)) - (round (Var1))) / (Var3))\n    end\n    repeat (4)\n        change [🖼️ ghost v] by (25)\n        Frame Tween Size: (S) speed: (Var3)\n        switch costume to (Var1)\n        change [var1 v] by (((round (28)) - (round (Var1))) / (Var3))\n    end\n    delete this clone\nend\n\ndefine Frame Tween Size: (s) speed: (spd)\nchange size by (((round (s)) - (round (size))) / (spd))\n\ndefine Start intro\nif <(\[INTRO\] Playing) = [false]> then\n    hide\n    set rotation style [all around v]\n    Frame Tween Animation   x: [0] y: [0] size: [100] rotate: [90] speed: [1]\n    🖼️ Set colors: [0] [0] [0]\n    🎥 move cam to x: [0] y: [0] z: [0]\n    set [\[intro\] 🎥 cam fov v] to ((60) * (0.01))\n    set [\[intro\] keyframe v] to [1]\n    set [🖼️ autoupdatecolor v] to [true]\n    set [🎥 use3dfx v] to [false]\n    set [🎥 auto scale hack v] to [true]\n    set [\[intro\] playing v] to [true]\n    Clone sprites [1] [1]\n    Clone clouds\n    Clone sprites [100] [4]\n    💥 Clone screen flash\n    switch costume to (text v)\n    set [\[intro\] keyframe v] to [1]\n    broadcast (\[INTRO\] listen for keyframes v)\n    reset timer\n    clear sound effects\n    play sound [IMPERIOUS v] until done\n    wait (1) seconds\n    set [\[intro\] playing v] to [false]\n    broadcast (\[INTRO\] Stop intro v)\n    stop [other scripts in sprite v]\nend\n\nwhen flag clicked\nset [\[intro\] playing v] to [false]\n\ndefine 🖼️ Set colors: (color) (brightness) (transparency)\nset [🖼️ color v] to (color)\nset [🖼️ brightness v] to (brightness)\nset [🖼️ ghost v] to (transparency)\nset [color v] effect to (🖼️ Color)\nset [brightness v] effect to (🖼️ Brightness)\nset [ghost v] effect to (🖼️ Ghost)\n\nwhen I receive [\[intro\] play intro v]\ndelete this clone\n\nwhen I receive [\[intro\] play intro v]\nStart intro\n\ndefine Frame Tween Animation   x: (x) y: (y) size: (s) rotate: (r) speed: (spd)\nFrame Tween Position  x: (x) y: (y) speed: (spd)\nFrame Tween Size: (s) speed: (spd)\nFrame tween rotation: (r) speed: (spd)\n\nwhen I receive [\[intro\] stop intro v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(CloneID) = [0]> then\n    forever\n        if <(item (\[INTRO\] Keyframe) of [keyframes v]) < (timer)> then\n            broadcast (\[INTRO\] keyframe signal v)\n            change [\[intro\] keyframe v] by (1)\n            if <(length of [keyframes v]) < (\[INTRO\] Keyframe)> then\n                stop [this script v]\n            end\n        end\n    end\nend\n\ndefine Clone same sprite (id) (count)\nset [cloneid v] to (id)\nrepeat (count)\n    create clone of (_myself_ v)\nend\nset [cloneid v] to [0]\n\ndefine Clone sprites (id) (count)\nset [cloneid v] to (id)\nrepeat (count)\n    create clone of (_myself_ v)\n    change [cloneid v] by (1)\nend\nset [cloneid v] to [0]\n\ndefine Frame Tween Position  x: (x) y: (y) speed: (spd)\nchange x by (((round (x)) - (round (x position))) / (spd))\nchange y by (((round (y)) - (round (y position))) / (spd))\n\nwhen I start as a clone\nif <not <(CloneID) = [0]>> then\n    forever\n        if <(🖼️ AutoUpdateColor) = [true]> then\n            set [color v] effect to (🖼️ Color)\n            set [brightness v] effect to (🖼️ Brightness)\n            set [ghost v] effect to (🖼️ Ghost)\n        end\n        if <(🎥 Use3DFX) = [true]> then\n            if <(🎥 auto scale hack) = [true]> then\n                switch costume to (scalingdot v)\n                set size to (9999999999) %\n                switch costume to (screen1 v)\n            end\n            go to x: (((🎥 x pos) - (\[INTRO\] 🎥 cam x pos)) / ((((🎥 z pos) - (\[INTRO\] 🎥 cam z pos)) * (\[INTRO\] 🎥 cam fov)) + (1))) y: (((🎥 y pos) - (\[INTRO\] 🎥 cam y pos)) / ((((🎥 z pos) - (\[INTRO\] 🎥 cam z pos)) * (\[INTRO\] 🎥 cam fov)) + (1)))\n            set size to ((🎥 size) / ((((🎥 z pos) - (\[INTRO\] 🎥 cam z pos)) * (\[INTRO\] 🎥 cam fov)) + (1))) %\n            switch costume to (🎥 Costume)\n        end\n    end\nend\n\ndefine 💥 Clone spline explosion (x) (y) (s) (r) (spread) (spd) (aspd) (rspd) (count)\nset [val2 v] to (spd)\nset [var3 v] to (aspd)\nset [var4 v] to (rspd)\nset [x v] to (x)\nset [y v] to (y)\nset [s v] to (s)\nset [r v] to (r)\nset [cloneid v] to [SP]\nrepeat (count)\n    create clone of (_myself_ v)\n    change [r v] by ((spread) / (count))\nend\nset [cloneid v] to [0]\n\nwhen I start as a clone\nif <(CloneID) = [SP]> then\n    set [var1 v] to [213]\n    set [var5 v] to [0]\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) (🖼️ Ghost)\n    switch costume to (screen1 v)\n    Frame Tween Animation   x: (X) y: (Y) size: (S) rotate: (R) speed: [1]\n    show\n    repeat until <[271] < (Var1)>\n        switch costume to (screen1 v)\n        switch costume to (Var1)\n        change [var1 v] by (((round (272)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Var3))\n        change [var4 v] by (((round (0)) - (round (Var4))) / (Var3))\n        change [var5 v] by (Val2)\n        go to x: (X) y: (Y)\n        turn right (Var4) degrees\n        move (Var5) steps\n    end\n    repeat (4)\n        change [🖼️ ghost v] by (25)\n        switch costume to (screen1 v)\n        Frame Tween Size: (S) speed: ((Var3) * (0.25))\n        switch costume to (Var1)\n        change [var1 v] by (((round (272)) - (round (Var1))) / (Var3))\n        change [val2 v] by (((round (0)) - (round (Val2))) / (Val2))\n        change [var4 v] by (((round (0)) - (round (Var4))) / (Var3))\n        change [var5 v] by (Val2)\n        go to x: (X) y: (Y)\n        turn right (Var4) degrees\n        move (Var5) steps\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(CloneID) = [0]> then\n    if <(item ((\[INTRO\] Keyframe) + (-1)) of [keyframetypes v]) = [kick]> then\n        set [css v] to [20]\n        set [\[intro\] 🎥 cam fov v] to ((50) * (0.01))\n    else\n        set [css v] to [4]\n        set [\[intro\] 🎥 cam fov v] to ((58) * (0.01))\n    end\nend\n\ndefine 💥 Clone spark explosion (x) (y) (s) (r) (spread) (spd) (rspd) (count)\nset [x v] to (x)\nset [y v] to (y)\nset [s v] to (s)\nset [r v] to (r)\nset [var4 v] to (spread)\nset [var5 v] to (spd)\nset [var6 v] to (rspd)\nset [cloneid v] to [SPK]\nrepeat (count)\n    create clone of (_myself_ v)\nend\nset [cloneid v] to [0]\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(CloneID) = [0]> then\n    wait until <[1] < (\[INTRO\] Keyframe)>\n    🖼️ Set colors: [0] [100] [0]\n    💥 Clone gradient shockwave\nend\n\n💥 Clone sparkle explosion [0] [0] [10] [25] [50] [10]\n💥 Clone spline explosion [0] [0] [10] [0] [360] [10] [5] [10] [10]\n💥 Clone line explosion [0] [0] [100] [0] [360] [10] [5] [10] [10]\n💥 Clone 1/1 shockwave [0] [0] [500] [10]\n💥 Clone 1/4 shockwave [0] [0] [500] [0] [5] [10]\n💥 Clone 1/8 shockwave [0] [0] [500] [0] [5] [10]\n💥 Clone shockwave [0] [0] [250] [5]\n\nwhen I start as a clone\nif <(CloneID) = [SPK]> then\n    set [var1 v] to [213]\n    set [var4 v] to ((Var4) * (pick random (0.1) to (1)))\n    set [var5 v] to ((Var5) * (pick random (0.1) to (1)))\n    set [var7 v] to (pick random (-180) to (180))\n    set [var8 v] to (pick random (-45) to (45))\n    set rotation style [all around v]\n    go to [front v] layer\n    🖼️ Set colors: (🖼️ Color) (🖼️ Brightness) (🖼️ Ghost)\n    switch costume to (screen1 v)\n    Frame Tween Animation   x: (X) y: (Y) size: (S) rotate: ((R) + ((pick random ((Var6) * (-1)) to (Var6)) / (2))) speed: [1]\n    show\n    repeat until <[271] < (Var1)>\n        switch costume to (screen1 v)\n        switch costume to (Var1)\n        change [var1 v] by (((round (272)) - (round (Var1))) / (Var3))\n        change [var5 v] by (((round (0)) - (round (Var5))) / (Var3))\n        move (Var5) steps\n        turn right (([sin v] of (Var7) ) * (Var4)) degrees\n        change [var7 v] by (Var8)\n    end\n    repeat (4)\n        change [🖼️ ghost v] by (25)\n        switch costume to (screen1 v)\n        Frame Tween Size: (S) speed: ((Var3) * (0.25))\n        switch costume to (Var1)\n        change [var1 v] by (((round (272)) - (round (Var1))) / (Var3))\n        change [var5 v] by (((round (0)) - (round (Var5))) / (Val2))\n        move (Var5) steps\n        turn right (([sin v] of (Var7) ) * (Var4)) degrees\n        change [var7 v] by (Var8)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [1]> then\n    go to [front v] layer\n    🖼️ Set colors: [0] [0] [100]\n    Frame Tween Animation   x: [0] y: [0] size: [100] rotate: [90] speed: [1]\n    switch costume to (screen4 v)\n    show\n    repeat (20)\n        change [🖼️ ghost v] by (-5)\n    end\n    wait until <[8] < (\[INTRO\] Keyframe)>\n    set [🖼️ brightness v] to [100]\n    repeat (25)\n        change [🖼️ ghost v] by (4)\n    end\n    delete this clone\nend\n\ndefine Clone clouds\nset [cloneid v] to [2]\nset [var1 v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    change [var1 v] by (1)\nend\nset [cloneid v] to [0]\n\nwhen I start as a clone\nif <(CloneID) = [2]> then\n    go to [front v] layer\n    🖼️ Set colors: [0] [-12] [0]\n    set [🎥 use3dfx v] to [true]\n    set [🎥 auto scale hack v] to [false]\n    🎥 Frame tween animation  x: [0] y: [-600] z: [4] size: [400] rotate: [90] speed: [1]\n    set [🎥 costume v] to (((Var1) * (-1)) + (285))\n    wait (0) seconds\n    wait (((Var1) * (-0.2)) + (0.6)) seconds\n    show\n    repeat until <[8] < (\[INTRO\] Keyframe)>\n        🎥 Frame tween position  x: [0] y: [0] z: [4] speed: [6]\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [102]> then\n    go to [front v] layer\n    🖼️ Set colors: [0] [0] [0]\n    set [🎥 use3dfx v] to [true]\n    set [🎥 auto scale hack v] to [false]\n    🎥 Frame tween animation  x: [0] y: [0] z: [0] size: [100] rotate: [90] speed: [1]\n    set [🎥 costume v] to [278]\n    wait (0) seconds\n    wait until <[1] < (\[INTRO\] Keyframe)>\n    show\n    repeat until <[8] < (\[INTRO\] Keyframe)>\n        🎥 Frame tween position  x: [0] y: [0] z: [0] speed: [5]\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [100]> then\n    go to [front v] layer\n    🖼️ Set colors: [0] [0] [0]\n    set [🎥 use3dfx v] to [true]\n    set [🎥 auto scale hack v] to [false]\n    🎥 Frame tween animation  x: [0] y: [0] z: [0] size: [100] rotate: [90] speed: [1]\n    set [🎥 costume v] to [279]\n    wait (0) seconds\n    wait until <[1] < (\[INTRO\] Keyframe)>\n    show\n    repeat until <[8] < (\[INTRO\] Keyframe)>\n        🎥 Frame tween position  x: [0] y: [0] z: [0] speed: [3]\n        change [🖼️ brightness v] by (((round (0)) - (round (🖼️ Brightness))) / (3))\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(CloneID) = [101]> then\n    🎥 Frame tween position  x: [10] y: [3] z: [0] speed: [1]\n    set [🖼️ brightness v] to [100]\nend\n\nwhen I start as a clone\nif <(CloneID) = [101]> then\n    go to [front v] layer\n    🖼️ Set colors: [0] [0] [0]\n    set [🎥 use3dfx v] to [true]\n    set [🎥 auto scale hack v] to [false]\n    🎥 Frame tween animation  x: [0] y: [0] z: [0] size: [100] rotate: [90] speed: [1]\n    set [🎥 costume v] to [280]\n    wait (0) seconds\n    wait until <[1] < (\[INTRO\] Keyframe)>\n    show\n    repeat until <[8] < (\[INTRO\] Keyframe)>\n        🎥 Frame tween position  x: [0] y: [0] z: [0] speed: [3]\n        change [🖼️ brightness v] by (((round (0)) - (round (🖼️ Brightness))) / (3))\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(CloneID) = [100]> then\n    🎥 Frame tween position  x: [-10] y: [-3] z: [0] speed: [1]\n    set [🖼️ brightness v] to [100]\nend\n\nwhen I start as a clone\nif <[clonegroup1 v] contains (CloneID)?> then\n    wait until <[7] < (\[INTRO\] Keyframe)>\n    forever\n        change [🖼️ brightness v] by (((round (100)) - (round (🖼️ Brightness))) / (20))\n    end\nend\n\nwhen I receive [\[intro\] listen for keyframes v]\nif <(CloneID) = [0]> then\n    wait until <[7] < (\[INTRO\] Keyframe)>\n    repeat until <[8] < (\[INTRO\] Keyframe)>\n        change [zoom v] by (0.05)\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [102]> then\n    wait until <[7] < (\[INTRO\] Keyframe)>\n    forever\n        change [🎥 size v] by ((Zoom) * (0.75))\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [101]> then\n    wait until <[7] < (\[INTRO\] Keyframe)>\n    forever\n        change [🎥 size v] by ((Zoom) * (0.75))\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [100]> then\n    wait until <[7] < (\[INTRO\] Keyframe)>\n    forever\n        change [🎥 size v] by ((Zoom) * (0.75))\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [103]> then\n    go to [front v] layer\n    🖼️ Set colors: [0] [100] [0]\n    set [🎥 use3dfx v] to [true]\n    set [🎥 auto scale hack v] to [false]\n    🎥 Frame tween animation  x: [0] y: [0] z: [0] size: [400] rotate: [90] speed: [1]\n    set [🎥 costume v] to [153]\n    wait (0) seconds\n    wait until <[1] < (\[INTRO\] Keyframe)>\n    show\n    repeat (10)\n        change [🖼️ ghost v] by (((round (100)) - (round (🖼️ Ghost))) / (5))\n    end\n    wait until <[7] < (\[INTRO\] Keyframe)>\n    repeat until <[8] < (\[INTRO\] Keyframe)>\n        change [🖼️ ghost v] by (((round (0)) - (round (🖼️ Ghost))) / (5))\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\] keyframe signal v]\nif <(CloneID) = [0]> then\n    if <(item ((\[INTRO\] Keyframe) + (-1)) of [keyframetypes v]) = [kick]> then\n        🖼️ Set colors: [0] [100] [0]\n        💥 Clone spark explosion [0] [0] [10] [0] [25] [25] [360] [25]\n        💥 Scattered Shockwave effect\n        💥 Clone 1/1 shockwave [0] [0] [500] [8]\n    end\n    if <(item ((\[INTRO\] Keyframe) + (-1)) of [keyframetypes v]) = [hihat]> then\n        🖼️ Set colors: [0] [100] [0]\n        💥 Clone shockwave [0] [0] [300] [4]\n    end\n    if <(item ((\[INTRO\] Keyframe) + (-1)) of [keyframetypes v]) = [snare]> then\n        🖼️ Set colors: [0] [100] [0]\n        💥 Clone spline explosion [0] [0] [25] [35] [360] [40] [5] [0] [5]\n        💥 Clone line explosion [0] [0] [100] [0] [360] [20] [5] [0] [5]\n    end\nend\n\ndefine 💥 Scattered Shockwave effect\nrepeat (10)\n    💥 Clone 1/8 shockwave [0] [0] (pick random (500) to (700)) (pick random (-180) to (180)) (pick random (5) to (7)) (pick random (-5) to (5))\nend\n\n