A Christmas Platformer

Instructions: More Levels Have Been Added there are currently 13 Levels Now 

@Stage\n\nwhen flag clicked\nset [time v] to [0]\nswitch backdrop to (hi v)\n\nwhen I receive [next level v]\nif <(backdrop [number v]) < [13]> then\n    wait (1) seconds\n    next backdrop\nend\n\nwhen I receive [start v]\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [13]> then\n        show variable [time v]\n        show variable [☁ world_record v]\n    else\n        hide variable [time v]\n        hide variable [☁ world_record v]\n    end\nend\n\nwhen I receive [start v]\nrepeat until <(backdrop [number v]) = [13]>\n    change [time v] by (0.1)\n    wait (0.1) seconds\nend\nstop [this script v]\n\nwhen flag clicked\nif <(username) = [HELIFIRE]> then\n    stop [this script v]\nelse\n    wait until <(backdrop [number v]) = [13]>\n    if <(Time) < (☁ World_record)> then\n        set [☁ world_record v] to (Time)\n    end\nend\n\nwhen I receive [next level v]\nchange [level v] by (1)\n\nwhen flag clicked\nset [level v] to [1]\nhide variable [level v]\n\nwhen I receive [start v]\nshow variable [level v]\n\nwhen I receive [start v]\nshow variable [_time v]\nforever\n    repeat until <(backdrop [number v]) = [13]>\n        change [_time v] by (0.1)\n        wait (0.1) seconds\n    end\n    if <(backdrop [number v]) = [13]> then\n        hide variable [_time v]\n    end\nend\n\nwhen flag clicked\nhide variable [_time v]\nset [_time v] to [0]\n\nwhen flag clicked\nhide variable [deaths v]\nset [deaths v] to [0]\n\nwhen I receive [start v]\nshow variable [deaths v]\nif <(backdrop [number v]) = [13]> then\n    hide variable [deaths v]\nend\nif <(backdrop [number v]) = [13]> then\n    hide variable [level v]\nend\n\nwhen I receive [restart v]\nchange [deaths v] by (1)\n\nwhen [r v] key pressed\nbroadcast (restart v)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [13]> then\n        hide variable [level v]\n    end\n    if <(backdrop [number v]) = [13]> then\n        hide variable [deaths v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [13]> then\n        wait (5) seconds\n        broadcast (end v)\n        stop all sounds\n    end\n    if <(backdrop [name v]) = [outro]> then\n        hide variable [time v]\n        hide variable [☁ world_record v]\n    end\nend\n\nwhen I receive [end v]\nswitch backdrop to (outro v)\n\n@Sprite1\n\nwhen I receive [restart v]\ngo to x: (-228) y: (-100)\n\nwhen I receive [next level v]\nwait (1) seconds\nshow\ngo to x: (-228) y: (-100)\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\ngo to x: (-210) y: (-100)\nforever\n    if <touching (sprite2 v)?> then\n        hide\n        broadcast (next level v)\n    end\n    if <touching color (#ff0000)?> then\n        broadcast (bouncey v)\n    end\n    if <touching color (#000000)?> then\n        broadcast (restart v)\n    end\n    change [y v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-0.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (0.5)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if  then\n        change y by (1)\n        if  then\n            change y by (1)\n            if  then\n                change y by (1)\n                if  then\n                    change y by (1)\n                    if  then\n                        change y by (1)\n                        if  then\n                            change y by (1)\n                            if  then\n                                change y by (-6)\n                                if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                    set [y v] to [7]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-7]\n                                    else\n                                        set [x v] to [7]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if  then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if < and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y v] to [7]\n    end\n    change y by (0.5)\n    if <touching color (#ff0000)?> then\n        set [y v] to [10]\n    end\nend\n\nwhen I receive [bouncey v]\nchange y by (50)\n\nwhen [m v] key pressed\nforever\n    stop all sounds\nend\n\nwhen flag clicked\nwait until <(backdrop [number v]) = [15]>\nif <touching (sprite2 v)?> then\n    broadcast (start v)\nend\n\nwhen I receive [restart v]\nchange [☁ death v] by (1)\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    play sound (pick random (1) to (6)) until done\n    wait (1) seconds\n    if <(backdrop [name v]) = [outro]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [end v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\nwait (3) seconds\nshow\ngo to x: (220) y: (-120)\nswitch costume to (74018-200 v)\n\nwhen I receive [next level v]\nswitch costume to (74018-2 v)\ngo to x: (220) y: (-120)\nglide (1) secs to x: (260) y: (-120)\ngo to x: (220) y: (-120)\nswitch costume to (74018-200 v)\n\n@THUMBNAIL\n\nwhen flag clicked\nshow\nwait (3) seconds\nhide\nbroadcast (Start v)\n\n@Sprite3\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nhide\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo to x: (pick random (-240) to (240)) y: (180)\nglide (pick random (1.5) to (5)) secs to x: (((x position) + (x position)) - (x position)) y: (-180)\nforever\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nhide\n\n@Sprite4\n\nwhen I receive [end v]\ngo to x: (0) y: (0)\nshow\nforever\n    play sound (pick random (1) to (3)) until done\n    wait (1) seconds\nend\n\nwhen I receive [end v]\nset size to (100) %\nswitch costume to (costume3 v)\nforever\n    next costume\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\n@Flying objects\n\nwhen I receive [end v]\nshow\ngo to [front v] layer\nwait (1) seconds\nhide\ngo to x: (0) y: (-195)\nforever\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nset [turn v] to (pick random (-3) to (5))\ngo to x: (pick random (-235) to (235)) y: (-195)\nset size to (pick random (75) to (115)) %\nswitch costume to (pick random (1) to (6))\nshow\n\nwhen I start as a clone\nset [yvelocity v] to [0]\nif <(yvelocity) = [0]> then\n    set [yvelocity v] to [25]\nend\nrepeat (50)\n    change y by (yvelocity)\n    change [yvelocity v] by (-1)\n    turn right (turn) degrees\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\n@Sprite5\n\nwhen I receive [end v]\nshow\ngo to [front v] layer\nshow\nforever\n    set size to (50) %\n    forever\n        next costume\n        wait (0.7) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\n