I’m blue- a platformer [FIXED]

Instructions: SCRATCH UPDATE BROKE THIS GAME\n#48th on games!\n#168th on trending\nIf you luv and fave it will reduce lag greatly\n#14th on stories! UwU\nSpam that flag\n100 likes!!!!!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Eiffel 65 - Blue \(Da Ba Dee\) \(Video Edit\) \(Video Edit\) my-free-mp3s v] until done\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [dyeet v]\nnext costume\n\nwhen I receive [let’s do dis v]\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [14]> then\n        broadcast (Stapp v)\n        stop [this script v]\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [let’s do dis v]\nshow\nNewton\n\nset x to (36)\n\ndefine Newton\nset [saastds v] to [0]\nswitch costume to (costume3 v)\nset [my variable v] to [0]\nset [wow a state v] to [0]\nset rotation style [left-right v]\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-226) y: (0)\nforever\n    if <(Wow a state) = [0]> then\n        change [yv v] by (-1)\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            set [xv v] to [6]\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            set [xv v] to [-6]\n            point in direction (-90)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <touching color (#004781)?> then\n            change y by (1)\n            if <touching color (#004781)?> then\n                change y by (1)\n                if <touching color (#004781)?> then\n                    change y by (1)\n                    if <touching color (#004781)?> then\n                        change y by (1)\n                        if <touching color (#004781)?> then\n                            change y by (1)\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                        end\n                    end\n                end\n            end\n        end\n        change y by (Yv)\n        if <touching color (#004781)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if <touching color (#004781)?> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n                set [yv v] to [15]\n            end\n        end\n        change y by (1)\n        if <(x position) > [235]> then\n            broadcast (DYEET v)\n            change [my variable v] by (1)\n            go to x: (-226) y: (0)\n        end\n        if <touching (sprite5 v)?> then\n            broadcast (Reset v)\n        end\n        \n            broadcast (Reset v)\n        end\n    end\n    if <(Saastds) = [50]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [reset v]\ngo to x: (-226) y: (0)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (30) %\nrepeat (10)\n    change size by (-2)\n    change [ghost v] effect by (7)\nend\ndelete this clone\n\nwhen I receive [upside down v]\nswitch costume to (costume1 v)\nset rotation style [left-right v]\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-226) y: (0)\n\n\n\nwhen flag clicked\nforever\n    if <<(username) = [Yellowtrees]> and <key (s v) pressed?>> then\n        broadcast (DYEET v) and wait\n        change [my variable v] by (1)\n    end\nend\n\nwhen I receive [stapp v]\nbroadcast (Upside down v)\nforever\n    set [wow a state v] to [1]\n    set [saastds v] to [50]\n    forever\n        change [yv v] by (1)\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            set [xv v] to [5]\n            point in direction (90)\n        end\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            set [xv v] to [-5]\n            point in direction (-90)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <touching color (#004781)?> then\n            change y by (-1)\n            if <touching color (#004781)?> then\n                change y by (-1)\n                if <touching color (#004781)?> then\n                    change y by (-1)\n                    if <touching color (#004781)?> then\n                        change y by (-1)\n                        if <touching color (#004781)?> then\n                            change y by (-1)\n                            change x by ((Xv) * (-1))\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n        change y by (Yv)\n        if <touching color (#004781)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (1)\n        if <touching color (#004781)?> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                set [yv v] to [-15]\n            end\n        end\n        change y by (-1)\n        if <(x position) > [235]> then\n            broadcast (DYEET v)\n            change [my variable v] by <(mouse y) > (y position)>\n            go to x: (-226) y: (0)\n        end\n        if <<<touching (sprite3 v)?> or <touching (sprite7 v)?>> or <<(my variable) = [3]> and <(y position) < [-167]>>> then\n            broadcast (Reset v)\n        end\n        \n            broadcast (Reset v)\n        end\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [let’s do dis v]\nhide\n\nwhen I receive [start v]\nshow\n\n@Sprite4\n\nwhen this sprite clicked\nbroadcast (Let’s do dis v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    point in direction ((([cos v] of ((tic) * (1.4)) ) * (5)) + (90))\n    change y by (([cos v] of ((tic) * (2.1)) ) * (1.4))\n    change size by (([cos v] of ((tic) * (1.4)) ) * (0.3))\n    change [tic v] by (5)\nend\n\n@Sprite5\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume2 v)\nhide\ngo [backward v] (2) layers\n\nwhen I receive [dyeet v]\nnext costume\n\nwhen I receive [let’s do dis v]\nshow\n\n@yellow tree\n\nwhen flag clicked\nshow\nswitch costume to (yellow tree v)\ngo to x: (-131) y: (311)\npoint in direction (120)\nset [rotate v] to [0]\nrepeat (2)\n    repeat (10)\n        turn left (Rotate) degrees\n        change [rotate v] by (0.5)\n    end\n    repeat (20)\n        turn left (Rotate) degrees\n        change [rotate v] by (-0.5)\n    end\n    repeat (10)\n        turn left (Rotate) degrees\n        change [rotate v] by (0.5)\n    end\nend\nrepeat (10)\n    turn left (Rotate) degrees\n    change [rotate v] by (0.5)\nend\nrepeat (20)\n    turn left (Rotate) degrees\n    change [rotate v] by (-0.5)\nend\nswitch costume to (yellow tree2 v)\nwait (3) seconds\nbroadcast (Start v)\nhide\n\nwhen flag clicked\nglide (3.5) secs to x: (-131) y: (70)\n\n@Sprite6\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\nhide\n\n@IntroBlank\n\nwhen flag clicked\nshow\ngo to x: (36) y: (28)\nwait (4) seconds\nglide (1) secs to x: (300) y: (28)\nhide\n\n