Notebook || a platformer

Instructions: Notebook || a platformer\nTravel in my notebook!\nArrow keys to move\nCool animation inside!\nLove+Fav+Follow for part 2!\nFeatures 36 levels!\nLiterally 100% hand drawn... (Now you guys know how bad I am at art)\nHELP PROPOSE THIS BE FEATURED BY TYPING THIS PROJECT LINK IN COMMENTS IN THIS STUDIO: https://scratch.mit.edu/studios/28715018\n<PART 2 IS GOING TO BE OUT!>

@Stage\n\nwhen flag clicked\nswitch backdrop to (costume1 \(1\) v)\nwait (.1) seconds\nwait until <(level) = [14]>\nswitch backdrop to (costume1 \(1\)2 v)\n\nwhen I receive [animation end :p v]\nswitch backdrop to (costume1 \(1\) v)\n\n@P-L-A-Y-E-R\n\nwhen flag clicked\nshow\nwait (0.1) seconds\nforever\n    if <key (right arrow v) pressed?> then\n        if <(costume [number v]) > [2]> then\n            change [xv v] by (0.48)\n        else\n            change [xv v] by (0.6)\n        end\n        set [key? v] to [2]\n    end\n    if <key (left arrow v) pressed?> then\n        if <(costume [number v]) > [2]> then\n            change [xv v] by (-0.48)\n        else\n            change [xv v] by (-0.6)\n        end\n        set [key? v] to [1]\n    end\n    if <<(KEY?) > [2]> and <<not <key (left arrow v) pressed?>> and <not <key (right arrow v) pressed?>>>> then\n        change [key? v] by (-2)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (level sprite v)?> then\n        change y by (1)\n        if <touching (level sprite v)?> then\n            change y by (1)\n            if <touching (level sprite v)?> then\n                change y by (1)\n                if <touching (level sprite v)?> then\n                    change y by (1)\n                    if <touching (level sprite v)?> then\n                        change y by (1)\n                        if <touching (level sprite v)?> then\n                            change y by (-5)\n                            change x by ((Xv) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (level sprite v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level sprite v)?> and <key (up arrow v) pressed?>> then\n        set [yv v] to [12]\n    end\n    if <key (down arrow v) pressed?> then\n        change [key? v] by (2)\n    end\n    if <touching (bounce\) v)?> then\n        set [yv v] to [20]\n    end\n    switch costume to (KEY?)\n    change y by (1)\nend\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <key (s v) pressed?> then\n        broadcast (New Lv v)\n        change [level v] by (1)\n        go to x: (-240) y: (0)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        wait until <not <key (s v) pressed?>>\n    end\nend\n\nwhen flag clicked\ngo to x: (-240) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen flag clicked\nforever\n    if <(x position) > [239]> then\n        broadcast (New Lv v)\n        change [level v] by (1)\n        go to x: (-240) y: (0)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<<touching (-bad- v)?> or <touching (saws are bad!!! v)?>> or <<(y position) < [-179]> or <key (r v) pressed?>>> then\n        start sound [Crunch v]\n        go to x: (-240) y: (0)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (p-l-a-y-e-r2 v)\nend\n\nwhen flag clicked\nwait (.1) seconds\nwait until <<(level) = [13]> and <(y position) < [-170]>>\nset [brightness v] effect to (100)\nbroadcast (New Lv v)\nchange [level v] by (1)\ngo to x: (-240) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen I receive [animation end :p v]\nset [brightness v] effect to (0)\ngo to x: (179) y: (-89)\n\nwhen flag clicked\nwait (.1) seconds\nwait until <<(level) = [27]> and <(y position) < [-170]>>\nbroadcast (New Lv v)\nchange [level v] by (1)\ngo to x: (-240) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\n\n@Level Sprite\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait (.1) seconds\nwait until <(level) = [14]>\nset [brightness v] effect to (100)\n\nwhen I receive [animation end :p v]\nset [brightness v] effect to (0)\n\n@Words\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait (.1) seconds\nwait until <(level) = [14]>\nset [brightness v] effect to (100)\n\nwhen I receive [animation end :p v]\nset [brightness v] effect to (0)\n\n@-Bad-\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait (.1) seconds\nwait until <(level) = [14]>\nset [brightness v] effect to (100)\n\nwhen I receive [animation end :p v]\nset [brightness v] effect to (0)\n\n@Bounce)\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait (.1) seconds\nrepeat until <(level) = [14]>\n    play sound [Alan Walker-Force v] until done\nend\nwait (0) seconds\nrepeat until <(level) = [25]>\n    play sound [Fantasy v] until done\nend\n\nwhen flag clicked\nwait (.1) seconds\nwait until <(level) = [14]>\nset [brightness v] effect to (100)\n\nforever\n\nwhen flag clicked\nwait (.1) seconds\nwait until <(level) = [14]>\nstop all sounds\nwait until <(level) = [25]>\nstop all sounds\n\nwhen I receive [animation end :p v]\nset [brightness v] effect to (0)\n\nwhen I receive [animation end :p v]\nforever\n    play sound [Alan Walker-Force v] until done\nend\n\n@-Thumbnail-\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@Tramp\n\nwhen flag clicked\nhide\nwait (.1) seconds\nwait until <(level) = [24]>\nshow\nrepeat until <touching (p-l-a-y-e-r v)?>\n    set y to ((([cos v] of ((timer) * (300)) ) * (3.5)) - (71))\nend\nstart sound [Collect v]\nrepeat (12)\n    change [ghost v] effect by (8)\nend\nhide\n\n\n\n@My Bad Animation\n\nwhen flag clicked\nhide\nwait (.1) seconds\nwait until <(level) = [25]>\ngo to [front v] layer\nshow\nswitch costume to (1 v)\nrepeat (44)\n    wait (0.1) seconds\n    next costume\nend\nrepeat (22)\n    switch costume to (46 v)\n    wait (0.1) seconds\n    switch costume to (47 v)\n    wait (0.1) seconds\n    switch costume to (48 v)\n    wait (0.1) seconds\nend\nrepeat (26)\n    wait (0.1) seconds\n    next costume\nend\nwait (0.2) seconds\nbroadcast (Animation End :P v)\nhide\n\n