Black- A platformer V1.9

Instructions: Arrow keys or WASD to move, R to restart a level, M to mute, T for the time, Y for the deaths, P to pass levels and H to use hacks (to see the list of hacks press G)\n                FULLSCREEN RECOMENDED\nPut your opinion here: https://scratch.mit.edu/discuss/topic/460966/  

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\n@Player\n\nwhen [up arrow v] key pressed\nswitch costume to (up v)\n\nwhen [left arrow v] key pressed\nswitch costume to (left v)\n\nwhen [right arrow v] key pressed\nswitch costume to (right v)\n\nwhen flag clicked\nset size to (25) %\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        switch costume to (walljump right v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        switch costume to (walljump left v)\n    end\nend\n\nwhen [p v] key pressed\n1\n\nwhen [o v] key pressed\n2\n\nwhen [r v] key pressed\nrespawn\n\nwhen backdrop switches to [end v]\nhide variable [☁ level v]\nhide variable [admin mode v]\nhide\nstop [other scripts in sprite v]\n\nwhen [m v] key pressed\nchange volume by (-100)\n\nwhen I receive [start sound v]\nforever\n    play sound [Dance Energetic v] until done\nend\n\ndefine 1\nnext backdrop\nchange [level v] by (1)\n\ndefine 2\nif <(admin mode) = [Admin mode]> then\n    go to (mouse-pointer v)\nend\n\nwhen [d v] key pressed\nswitch costume to (right v)\n\nwhen [w v] key pressed\nswitch costume to (up v)\n\nwhen [a v] key pressed\nswitch costume to (left v)\n\ndefine respawn\ngo to x: (-215) y: (-42)\nif <(backdrop [name v]) = [fondo2]> then\n    go to x: (-219) y: (-110)\nend\n\nwhen I receive [message1 v]\nshow variable [level v]\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\nhide variable [admin mode v]\nset drag mode [not draggable v]\nchange volume by (100)\nswitch backdrop to (1 v)\nrespawn\nhide variable [x v]\nhide variable [y v]\nset [y v] to [0]\nset [x v] to [0]\nset [level v] to [1]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>>> then\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<<touching color (#000000)?> or <touching color (#808080)?>> or <<touching color (#00e86d)?> or <touching color (#80f4b6)?>>> then\n        change y by (1)\n        if <<<touching color (#000000)?> or <touching color (#808080)?>> or <<touching color (#00e86d)?> or <touching color (#80f4b6)?>>> then\n            change y by (1)\n            if <<<touching color (#000000)?> or <touching color (#808080)?>> or <<touching color (#00e86d)?> or <touching color (#80f4b6)?>>> then\n                change y by (1)\n                if <<<touching color (#000000)?> or <touching color (#808080)?>> or <<touching color (#00e86d)?> or <touching color (#80f4b6)?>>> then\n                    change y by (1)\n                    if <<<touching color (#000000)?> or <touching color (#808080)?>> or <<touching color (#00e86d)?> or <touching color (#80f4b6)?>>> then\n                        change x by ((X) * (-1))\n                        change y by (-4)\n                        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n                            if <(X) > [0]> then\n                                set [x v] to [-5]\n                            else\n                                set [x v] to [5]\n                            end\n                            set [y v] to [10]\n                        else\n                            set [y v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <<<touching color (#000000)?> or <touching color (#808080)?>> or <<touching color (#00e86d)?> or <touching color (#80f4b6)?>>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<touching color (#000000)?> or <touching color (#808080)?>> or <<touching color (#00e86d)?> or <touching color (#80f4b6)?>>> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-215) y: (-60)\n        change [level v] by (1)\n    end\n    if <<touching color (#ff0000)?> or <touching color (#ff8080)?>> then\n        respawn\n        change [deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (stop v)\n    end\nend\n\nwhen [y v] key pressed\nsay (join [deaths: ] (deaths)) for (2) seconds\n\nwhen [t v] key pressed\nsay (join [time: ] (time)) for (1) seconds\n\nwhen [h v] key pressed\nask [Hack] and wait\nif <(answer) = [small]> then\n    change size by (-10)\nend\nif <(answer) = [big]> then\n    change size by (10)\nend\nif <(answer) = [normal]> then\n    set size to (25) %\nend\nif <(answer) = [debug]> then\n    respawn\nend\n\nwhen flag clicked\nforever\n    if <key (g v) pressed?> then\n        hide list [hacks v]\n    else\n        show list [hacks v]\n    end\nend\n\ndefine setup variables\nset [deaths v] to [0]\nhide variable [deaths v]\nset [time v] to [0]\nhide variable [time v]\nforever\n    change [time v] by (1)\n    wait (1) seconds\nend\n\nwhen flag clicked\nsetup variables\n\ndefine admins\nif <(username) = [Marshmello2008125]> then\n    forever\n        show variable [admin mode v]\n        set [admin mode v] to [Admin mode]\n    end\nelse\n    hide variable [admin mode v]\n    set [admin mode v] to []\nend\nif <(username) = [Badembo]> then\n    forever\n        show variable [admin mode v]\n        set [admin mode v] to [Admin mode]\n    end\nelse\n    hide variable [admin mode v]\n    set [admin mode v] to []\nend\nif <(username) = [Elosobigote]> then\n    forever\n        set [admin mode v] to [Admin mode]\n        show variable [admin mode v]\n    end\nelse\n    hide variable [admin mode v]\n    set [admin mode v] to []\nend\nif <(username) = [Windman280]> then\n    forever\n        set [admin mode v] to [Admin mode]\n        show variable [admin mode v]\n    end\nelse\n    hide variable [admin mode v]\n    set [admin mode v] to []\nend\nif <(username) = [sfcoleg]> then\n    forever\n        set [admin mode v] to [Admin mode]\n        show variable [admin mode v]\n    end\nelse\n    hide variable [admin mode v]\n    set [admin mode v] to []\nend\n\nwhen I receive [message1 v]\nadmins\n\nwhen backdrop switches to [11 v]\ngo to x: (-219) y: (-110)\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (0)\nswitch costume to (disfraz3 v)\nhide\n\nwhen I receive [intro end animation v]\nwait (2) seconds\nshow\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (message1 v)\nbroadcast (start sound v)\nhide\n\nwhen I receive [message1 v]\nforever\n    stop [other scripts in sprite v]\nend\n\n@Cloud Moving 2\n\nwhen I start as a clone\nshow\nforever\n    set size to (pick random (80) to (100)) %\n    go to x: (400) y: (pick random (50) to (168))\n    glide (pick random (3) to (8)) secs to x: (-300) y: (y position)\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (50)\ngo to [back v] layer\nrepeat (1)\n    create clone of (_myself_ v)\n    wait (pick random (1) to (7)) seconds\nend\n\nwhen flag clicked\nforever\n    clear graphic effects\nend\n\nwhen backdrop switches to [end v]\nhide\nstop [other scripts in sprite v]\n\n@intro\n\nwhen flag clicked\nhide variable [level v]\ngo to [front v] layer\nset [direction v] to [6]\ngo to x: (0) y: (0)\nshow\nset [brightness v] effect to (-100)\nrepeat (200)\n    set size to ((120) + ((30) * ([sin v] of (((timer) - (-29.7)) * (200)) ))) %\n    point in direction ((90) + ((7) * ([sin v] of (((timer) - (-180.9)) * (100)) )))\n    change [color v] effect by (6)\n    create clone of (_myself_ v)\n    set [direction v] to ((direction) * (-1))\nend\nhide\nbroadcast (Intro End Animation v)\n\nwhen I start as a clone\nset [direction2 v] to (direction)\nset [brightness v] effect to (0)\nrepeat (30)\n    change [color v] effect by (6)\n    change [ghost v] effect by (3)\n    change size by (3)\n    turn right (direction2) degrees\n    change y by (direction2)\n    change x by (direction2)\nend\ndelete this clone\n\nwhen [q v] key pressed\nif <(admin mode) = [Admin mode]> then\n    hide\n    broadcast (message1 v)\n    show variable [admin mode v]\nend\n\nwhen flag clicked\nhide variable [admin mode v]\n\n@Black\n\nwhen flag clicked\nshow\n\nwhen I receive [intro end animation v]\nwait (2) seconds\nhide\n\nwhen [q v] key pressed\nif <(admin mode) = [Admin mode]> then\n    wait (3) seconds\n    hide\n    broadcast (message1 v)\nend\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nbroadcast (MINION v)\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (23) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n