Platformer HACKED

Instructions: \npart 2 hacked: https://scratch.mit.edu/projects/784876907/\nPlatformer game: https://scratch.mit.edu/projects/789599069/\nAnother platformer: https://scratch.mit.edu/projects/796018235/\n\nUpdate Log:\n 1. Took away spikes\n 2. Gave SUPER SPEED\n 3. Added intro(Credit to -Tic- )

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [play v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    play sound [d v] until done\nend\n\n@player\n\ndefine platformer\nswitch costume to (costume9 v)\nset rotation style [don't rotate v]\nchange [on ground v] by (-1)\nchange [-y- v] by (-1)\nchange y by (-y-)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (-y-) ) / (-y-)) * (-1))\n    end\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <(-y-) < [4]>> then\n        start sound [Jump3 v]\n        set [-y- v] to [30]\n    else\n        set [on ground v] to [2]\n        set [-y- v] to [0]\n    end\nend\nset [-x- v] to ((-x-) * (0.7))\nchange x by (-x-)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (-x-) ) / (-x-)) * (-1))\n    end\n    set [-x- v] to [0]\nend\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [-x- v] by (-19)\n    point in direction (-90)\nend\nif <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n    change [-x- v] by (19)\n    point in direction (90)\nend\nset rotation style [left-right v]\nswitch costume to (costume2 v)\nif <<<key (a v) pressed?> or <key (d v) pressed?>> or <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>>> then\n    switch costume to ((5) + ([floor v] of (((timer) * (40)) mod (13)) ))\nend\nif <(on ground) < [1]> then\n    if <(-y-) < [0]> then\n        switch costume to (costume18 v)\n    else\n        switch costume to (costume17 v)\n    end\nend\n\nwhen I receive [play v]\nset [gameplay v] to [1]\nset up []\n\ndefine set up (number or text)\npoint in direction (90)\nif <not <(level) = [8]>> then\n    go to x: (-156) y: (-132)\nelse\n    go to x: (0) y: (-132)\nend\nshow\nset size to (150) %\nset [on ground v] to [0]\nset [-y- v] to [0]\nset [-x- v] to [0]\nforever\n    platformer\nend\n\nif <touching (spikes v)?> then\n    wait (0.1) seconds\nend\n\ndefine event\nif <touching (door v)?> then\n    start sound [1up4 v]\n    broadcast (win v) and wait\n    go to x: (-156) y: (-132)\nend\nif <touching (spikes v)?> then\n    start sound [Hit4 v]\n    wait (0.1) seconds\n    go to x: (-156) y: (-132)\nend\nif <touching (jumping pad v)?> then\n    start sound [Jump2 v]\n    set [-y- v] to [23]\nend\n\nwhen I receive [play v]\nforever\n    event\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [gameplay v] to [0]\nset [costumes v] to [1]\n\nwhen I receive [favourite v]\nsay [You're my favorite too! ] for (2) seconds\nforever\n    change [color v] effect by (25)\nend\n\nwhen I receive [love v]\nsay [Thanks for loving me!] for (2) seconds\nforever\n    change [color v] effect by (25)\nend\n\n@level\n\nwhen I receive [next level v]\nchange [costumes v] by (1)\n\nbroadcast (play v)\n\nwhen I receive [play v]\nshow\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nhide\n\n@loading scene\n\nwhen I receive [win v]\nshow\ngo to [front v] layer\npoint in direction (90)\nswitch costume to (costume1 v)\nrepeat (30)\n    next costume\nend\nbroadcast (next level v)\nchange [level v] by (1)\nwait (2) seconds\nbroadcast (win 2 v)\n\nwhen flag clicked\nbroadcast (menu v)\nhide\n\nwhen I receive [win 2 v]\nshow\ngo to [front v] layer\npoint in direction (-90)\nrepeat (30)\n    switch costume to ((costume [number v]) - (1))\nend\n\nwhen I receive [menu v]\nshow\ngo to [front v] layer\npoint in direction (-90)\nswitch costume to (costume31 v)\nwait (2) seconds\nrepeat (30)\n    switch costume to ((costume [number v]) - (1))\nend\n\nwhen I receive [play 2 v]\nshow\ngo to [front v] layer\npoint in direction (90)\nswitch costume to (costume1 v)\nrepeat (30)\n    next costume\nend\nbroadcast (next level v)\nwait (2) seconds\nbroadcast (win 2 v)\n\n@door\n\nwhen I receive [play v]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nhide\n\n@jumping pad\n\nwhen I receive [play v]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\ngo to [front v] layer\nshow\nswitch costume to (level)\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset [ghost v] effect to (0)\nwait (0.7) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (100)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\ngo to [front v] layer\nshow\nswitch costume to (costume9 v)\nset [ghost v] effect to (100)\nrepeat (10)\n    go to [front v] layer\n    change [ghost v] effect by (-10)\nend\nset [ghost v] effect to (0)\nwait (0.7) seconds\nrepeat (10)\n    go to [front v] layer\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (100)\nhide\n\n@Sprite2\n\nwhen I receive [play v]\nshow\ngo to [back v] layer\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen flag clicked\nset [gameplay v] to [0]\nshow\nrepeat until <(gameplay) = [1]>\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (4))\n        if <mouse down?> then\n            wait until <not <mouse down?>>\n            start sound [Siren Whistle v]\n            broadcast (play 2 v) and wait\n            broadcast (play v)\n        end\n    else\n        start sound [Crank v]\n        change size by (((100) - (size)) / (4))\n    end\nend\nhide\n\nwhen flag clicked\nforever\n    change [play button dir v] by (1)\n    point in direction ((([sin v] of ((play button dir) * (4)) ) * (6)) + (90))\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    go to [front v] layer\n    go to [front v] layer\n    go to [front v] layer\n    go to [front v] layer\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\n@😍 \n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (love v)\n    end\nend\n\n@🌟 \n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (favourite v)\n    end\nend\n\n@YOUR Intro\n\nwhen flag clicked\nhide\nReset\nset [waiting v] to [0]\nset [clonenumber v] to [0]\nset [sides v] to [0]\nset [value v] to [0]\nset [velocity v] to [0]\ncreate clone of (_myself_ v)\nswitch costume to (name v)\nstart sound [Electro-Light - Symbolism v]\nwait (1.82) seconds\nset [clonenumber v] to [1]\nset [i v] to [5]\nrepeat (10)\n    create clone of (_myself_ v)\n    if <(sides) = [1]> then\n        set [sides v] to [0]\n        change [value v] by (10)\n        change [i v] by (-.4)\n    else\n        set [sides v] to [1]\n    end\nend\nset [clonenumber v] to [2]\nwait (.3) seconds\nrepeat (4)\n    create clone of (_myself_ v)\n    change [value v] by (10)\n    wait (0.1) seconds\nend\nclear graphic effects\nswitch costume to (name v)\ngo [forward v] (99) layers\ngo to [front v] layer\nset size to (0) %\nshow\nrepeat until <(round (size)) = [50]>\n    change size by (((50) - (size)) / (3))\nend\ncreate clone of (_myself_ v)\nwait until <touching color (#fbffe6)?>\nrepeat until <(round (size)) = [100]>\n    change size by (((100) - (size)) / (5))\nend\nset [velocity v] to [17]\nset [waiting v] to [1]\nset [clonenumber v] to [3]\ncreate clone of (_myself_ v)\nset [clonenumber v] to [4]\ncreate clone of (_myself_ v)\nset [waiting v] to [2]\nrepeat (25)\n    go [forward v] (99) layers\n    set [velocity v] to ((velocity) * (.95))\n    set size to ((100) + (velocity)) %\nend\nreset timer\nrepeat until <(timer) > [3]>\n    go to x: (pick random (-3) to (3)) y: (pick random (-3) to (3))\n    change size by (((150) - (size)) / (3))\nend\npoint in direction (90)\nset [value v] to [5]\nrepeat (16)\n    turn right (value) degrees\n    change [value v] by (1)\nend\nrepeat until <(round (direction)) = [90]>\n    turn right (((90) - (direction)) / (5)) degrees\nend\nrepeat until <(timer) > [6]>\n    go to x: (pick random (-3) to (3)) y: (pick random (-3) to (3))\n    change size by (((175) - (size)) / (3))\nend\nset [velocity v] to [12]\nrepeat (30)\n    change size by (velocity)\n    change [velocity v] by (-1)\n    change [ghost v] effect by (3.3)\n    go to x: (pick random (-3) to (3)) y: (pick random (-3) to (3))\nend\nbroadcast (Intro End Animation v)\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [0]> then\n    Reset\n    show\n    set size to (0) %\n    point in direction (-15)\n    switch costume to (square v)\n    set [velocity v] to [0]\n    set [value v] to [0]\n    repeat (15)\n        change [value v] by (1)\n        turn right (value) degrees\n        change [velocity v] by (1)\n        change size by (velocity)\n    end\n    set [value v] to [8]\n    repeat (30)\n        set [value v] to (((value) * (0.69)) + ((90) - (direction)))\n        turn right (value) degrees\n    end\n    repeat (12)\n        next costume\n    end\n    repeat until <(round (size)) = [2000]>\n        switch costume to (blank v)\n        change size by (((2000) - (size)) / (5))\n        switch costume to (square13 v)\n    end\nend\n\ndefine Reset\nclear graphic effects\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    Reset\n    show\n    switch costume to (blank v)\n    set size to (150) %\n    point in direction (90)\n    switch costume to (square13 v)\n    set [brightness v] effect to (value)\n    go to x: (0) y: (0)\n    set [i v] to (i)\n    if <(sides) = [1]> then\n        repeat until <(round (y position)) = [180]>\n            change y by (((180) - (y position)) / (i))\n            change [ghost v] effect by (5)\n        end\n    else\n        repeat until <(round (y position)) = [-180]>\n            change y by (((-180) - (y position)) / (i))\n            change [ghost v] effect by (5)\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clonenumber) = [2]> then\n    Reset\n    show\n    switch costume to (blank v)\n    set size to (150) %\n    point in direction (90)\n    set [brightness v] effect to (value)\n    go to x: (240) y: (-180)\n    point in direction (-135)\n    switch costume to (screen v)\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) / (5)) degrees\n    end\n    point in direction (90)\n    wait until <(waiting) = [1]>\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clonenumber) = [3]> then\n    Reset\n    show\n    go to [front v] layer\n    switch costume to (screennormal v)\n    set size to (100) %\n    point in direction (90)\n    set [brightness v] effect to (100)\n    go to x: (0) y: (0)\n    repeat (5)\n        change [brightness v] effect by (-20)\n    end\nend\n\nwhen I start as a clone\nif <(clonenumber) = [4]> then\n    Reset\n    clear graphic effects\n    show\n    go to [front v] layer\n    go [forward v] (999) layers\n    switch costume to (screennormal v)\n    set size to (100) %\n    point in direction (90)\n    set [brightness v] effect to (100)\n    go to x: (0) y: (0)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\ndefine Move and Clones\nset [clonenumber v] to [5]\ncreate clone of (_myself_ v)\ngo to x: (-150) y: (80)\ncreate clone of (_myself_ v)\ngo to x: (150) y: (80)\ncreate clone of (_myself_ v)\ngo to x: (-150) y: (-80)\ncreate clone of (_myself_ v)\ngo to x: (150) y: (-80)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nif <(clonenumber) = [5]> then\n    show\n    clear graphic effects\n    set size to (10) %\n    point in direction (90)\n    switch costume to (sidesquareline v)\n    set [velocity v] to [0]\n    set [value v] to [0]\n    go to [front v] layer\n    repeat until <(round (size)) = [300]>\n        change size by (((300) - (size)) / (15))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait until <(waiting) = [2]>\nreset timer\nrepeat until <(timer) > [6]>\n    Move and Clones\n    wait (1) seconds\nend\n\nwhen I receive [intro end animation v]\nif <not <(costume [number v]) = [14]>> then\n    repeat (20)\n        change size by (((0) - (size)) / (5))\n        change [ghost v] effect by (5)\n    end\nelse\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) / (5))\n        switch costume to (blank v)\n        switch costume to (square v)\n    end\n    set [velocity v] to [12]\n    repeat (30)\n        change size by (velocity)\n        change [velocity v] by (-1)\n        change [ghost v] effect by (3.3)\n        turn right (([abs v] of (velocity) ) / (2)) degrees\n    end\n    delete this clone\nend\n\n@Sprite5\n\n