Platformer Rush II REMASTERED

Instructions: RECORD GOES TO...\n@whatsupeepomar,\n@Brtersigni,\nand @KingHannibal\n\nWelcome to my new platformer!\n- Use the arrow keys or WASD\n- Avoid spikes and Lava\n- Complete all the 10 levels quickly to get a score\n- Deaths Fixed\nNotes and credits \n- Thank you cooltext.com for thumbnail text\n- Thank you ME for the epic intro!\n- Thank you Youtube for some sounds\n- music by ParagonX9 - Chaoz Fantasy\\n-I May unshare.\n-3000 views maybe?!!!?!?!??!?\n-Check out my other projects here: @TH3_B1G_h3R0\n\n\nMany people are saying that i changed nothing. but there was a time glitch and i added deaths\n\nAlso: Follow me for 69 years of good luck!

@Stage\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [intro v]\nswitch costume to (costume1 v)\nforever\n    if <(level) = [8]> then\n        go to x: (8) y: (-114)\n        show\n    end\n    if <(level) = [9]> then\n        go to x: (8) y: (-114)\n        show\n    end\n    if <(level) = [10]> then\n        go to x: (39) y: (-115)\n        show\n    end\n    if <(level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [intro v]\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            wait (0.01) seconds\n            next costume\n        end\n        start sound [Mario Jump - Gaming Sound Effect \(HD\) v]\n        switch costume to (costume4 v)\n        wait (0.01) seconds\n        switch costume to (costume3 v)\n        wait (0.01) seconds\n        switch costume to (costume2 v)\n        wait (0.01) seconds\n        switch costume to (costume1 v)\n    end\nend\n\n@player\n\ndefine Platformer Physics (speed) (friction) (jump height)\nchange [y vel v] by (-1)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x vel v] by (speed)\n    switch costume to (costume1 v)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x vel v] by ((speed) * (-1))\n    switch costume to (costume2 v)\nend\nset [x vel v] to ((X vel) * (friction))\nchange x by (X vel)\nset [slope v] to [0]\nif <touching (level v)?> then\n    repeat until <<not <touching (level v)?>> or <(slope) = [-8]>>\n        change [slope v] by (-1)\n        change y by (1)\n    end\nend\nif <touching (level v)?> then\n    change y by (slope)\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (X vel) ) / (X vel)) * (-1))\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(X vel) > [0]> then\n            set [x vel v] to [-12]\n        else\n            set [x vel v] to [12]\n        end\n        set [y vel v] to [12]\n    else\n        set [x vel v] to [0]\n    end\nend\nchange y by (Y vel)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (Y vel) ) / (Y vel)) * (-1))\n    end\n    set [y vel v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching (level v)?>> then\n    set [y vel v] to (jump height)\nend\nchange y by (1)\n\nwhen flag clicked\n\nwhen I receive [end v]\ngo to x: (-198) y: (-10)\n\nwhen I receive [intro v]\nwait (1) seconds\nshow\ngo to [front v] layer\nset [level v] to [1]\nset [x vel v] to [0]\nset [y vel v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-189) y: (-78)\npoint in direction (90)\nforever\n    Platformer Physics [1] [0.9] [13]\n    if <touching (danger v)?> then\n        start sound [Roblox Death Sound - OOF Sound Effect v]\n        go to x: (-198) y: (-10)\n        broadcast (Deaths v)\n    end\n    if <touching (trampoline v)?> then\n        set [y vel v] to [20]\n    end\n    if <touching (golden diamond v)?> then\n        start sound [Tada v]\n        broadcast (enter v)\n    end\nend\n\nwhen I receive [intro v]\nwait (2) seconds\nforever\n    play sound [recording3 v] until done\nend\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [hurt v]\nstart sound [recording1 v]\ngo to x: (-198) y: (-10)\n\nwhen I receive [intro v]\nwait (2) seconds\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (effect v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nhide variable [deaths v]\nset [deaths v] to [0]\n\nwhen I receive [deaths v]\nchange [deaths v] by (0.2)\n\nwhen I receive [you won v]\nshow variable [deaths v]\n\n@level\n\nwhen flag clicked\nhide\ngo to x: (-2) y: (6)\nswitch costume to (costume1 v)\n\nwhen I receive [end v]\nnext costume\n\nwhen I receive [intro v]\nwait (1) seconds\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (YOU WON v)\n    end\nend\n\n@end\n\nwhen flag clicked\nhide\n\nwhen I receive [intro v]\nwait (1) seconds\nswitch costume to (costume1 v)\nshow\nforever\n    if <touching (player v)?> then\n        start sound [Ding Sound Effect v]\n        repeat (5)\n            wait (0.02) seconds\n            next costume\n        end\n        broadcast (end v)\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [intro v]\nforever\n    if <(level) = [1]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [2]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [3]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [4]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [5]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [6]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [7]> then\n        go to x: (-227) y: (210)\n    end\n    if <(level) = [8]> then\n        go to x: (153) y: (87)\n    end\n    if <(level) = [9]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [10]> then\n        go to x: (131) y: (-4)\n    end\n    if <(level) = [11]> then\n        hide\n    end\nend\n\n@danger\n\nwhen flag clicked\nhide\ngo to x: (-2) y: (6)\nswitch costume to (costume1 v)\n\nwhen I receive [end v]\nshow\ngo to [back v] layer\nnext costume\n\nwhen I receive [intro v]\nshow\n\nwhen flag clicked\npoint in direction (90)\nforever\n    go to [back v] layer\n    glide (0.75) secs to x: (-2) y: (-4)\n    glide (0.75) secs to x: (-2) y: (6)\nend\n\n@Blank\n\nwhen I receive [end v]\nchange [level v] by (1)\n\n@next level\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (-1000)\nrepeat (40)\n    change y by (((0) - (y position)) / (5))\nend\nset y to (1)\nrepeat (8)\n    change y by (y position)\nend\nhide\n\n@music\n\nwhen I receive [intro v]\nforever\n    play sound [ParagonX9 - Chaoz Fantasy v] until done\nend\n\n@Score\n\nwhen flag clicked\nhide variable [score v]\nhide\n\nwhen I receive [intro v]\nwait (1) seconds\nshow variable [score v]\nrepeat until <(level) = [11]>\n    wait (0.1) seconds\n    change [score v] by (1)\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@intro Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [ghost v] effect to (6)\n\nwhen I receive [\(intro\) beat v]\nwait (3) seconds\nhide\n\nwhen flag clicked\nshow\n\n@intro Itself\n\nwhen flag clicked\nbroadcast (intro complete v)\nwait (9.4) seconds\nbroadcast (intro v)\n\nwhen I receive [intro complete v]\nhide\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nbroadcast (\(Intro\) Beat v)\nstart sound [Cradles v]\nClone [Bg]\nClone [PFP]\n\ndefine Clone (id)\nset [cloneid v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(cloneID) = [Bg]> then\n    switch costume to (black background v)\n    set y to (348)\n    wait (2.5) seconds\n    show\n    repeat until <(y position) < [0.5]>\n        change y by (((0) - (y position)) / (3))\n    end\n    switch costume to (white background 1 v)\n    repeat (170)\n        go to x: (0) y: (0)\n    end\n    repeat (20)\n        next costume\n    end\n    delete this clone\nend\nif <(cloneID) = [PFP]> then\n    switch costume to (1 v)\n    set [var v] to [0]\n    set y to (-237)\n    wait (2.5) seconds\n    show\n    repeat until <(y position) > [-0.5]>\n        change y by (((0) - (y position)) / (3))\n    end\n    switch costume to (2 v)\n    wait (0.3) seconds\n    repeat (160)\n        change [var v] by (11)\n        point in direction ((([sin v] of (var) ) * (10)) + (90))\n        set y to (([sin v] of ((var) * (2)) ) * (10))\n        change size by (((100) - (size)) / (10))\n    end\n    point in direction (90)\n    repeat (10)\n        change size by (((200) - (size)) / (5))\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\nif <(cloneID) = [M.Bt]> then\n    switch costume to (beat v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    show\n    repeat until <(size) > [299.5]>\n        change size by (((300) - (size)) / (5))\n        change [ghost v] effect by (6)\n    end\n    delete this clone\nend\nif <(join (join (letter (1) of (cloneID)) (letter (2) of (cloneID))) (join (letter (3) of (cloneID)) (letter (4) of (cloneID)))) = [C.bt]> then\n    switch costume to (beat v)\n    set size to (0) %\n    if <(letter (6) of (cloneID)) = [1]> then\n        go to x: (-180) y: (120)\n    end\n    if <(letter (6) of (cloneID)) = [2]> then\n        go to x: (180) y: (120)\n    end\n    if <(letter (6) of (cloneID)) = [3]> then\n        go to x: (-180) y: (-120)\n    end\n    if <(letter (6) of (cloneID)) = [4]> then\n        go to x: (180) y: (-120)\n    end\n    show\n    repeat until <(size) > [99.5]>\n        change size by (((100) - (size)) / (5))\n        change [ghost v] effect by (6)\n    end\n    delete this clone\nend\n\nwhen I receive [\(intro\) beat v]\nwait (3) seconds\nset [var v] to [1]\nClone [M.Bt]\nrepeat (4)\n    wait (0.35) seconds\n    Clone (join [C.bt ] (var))\n    change [var v] by (1)\nend\nwait (0.33) seconds\nset [var v] to [1]\nbroadcast (\(Intro\) PFP Beat v)\nClone [M.Bt]\nrepeat (2)\n    wait (0.35) seconds\n    Clone (join [C.bt ] (var))\n    change [var v] by (1)\nend\nwait (0.33) seconds\nbroadcast (\(Intro\) PFP Beat v)\nClone [M.Bt]\nset [var v] to [1]\nbroadcast (\(Intro\) PFP Beat v)\nClone [M.Bt]\nrepeat (4)\n    wait (0.35) seconds\n    Clone (join [C.bt ] (var))\n    change [var v] by (1)\nend\nwait (0.33) seconds\nset [var v] to [1]\nbroadcast (\(Intro\) PFP Beat v)\nClone [M.Bt]\nrepeat (2)\n    wait (0.35) seconds\n    Clone (join [C.bt ] (var))\n    change [var v] by (1)\nend\n\nwhen I receive [\(intro\) pfp beat v]\nif <(cloneID) = [PFP]> then\n    set size to (150) %\nend\n\nwhen I receive [intro v]\nset [ghost v] effect to (68)\n\nwhen flag clicked\nset [score v] to [0]\n\n