Pixel Jump: Lost in Space|| A Platformer

Instructions: Green flag like 8 times. If you spawn above words restart project. Im sorry it does that.

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [building v]\nnext backdrop\n\nwhen I receive [rocket v]\nnext backdrop\n\n@play\n\nwhen this sprite clicked\nbroadcast (start game v)\nchange [level v] by (1)\n\nwhen flag clicked\nshow\ngo to x: (14) y: (34)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [start game v]\nhide\n\n@Arrow right2\n\nwhen this sprite clicked\nbroadcast (left v)\nwait (.5) seconds\n\nwhen I receive [start game v]\nhide\n\nwhen flag clicked\ngo [backward v] (1) layers\ngo to x: (-55) y: (-61)\nshow\n\n@Arrow right\n\nwhen this sprite clicked\nbroadcast (right v)\nwait (.5) seconds\n\nwhen I receive [start game v]\nhide\n\nwhen flag clicked\ngo [backward v] (1) layers\ngo to x: (49) y: (-61)\nshow\n\n@Logo\n\nwhen I receive [fade v]\nforever\n    change [ghost v] effect by (5)\nend\n\nstop [other scripts in sprite v]\n\npoint in direction (90)\n\nwhen flag clicked\nshow\nwait (7) seconds\nbroadcast (start screen v)\nhide\nforever\n    play sound [159 Xenogenesis v] until done\nend\n\nwhen flag clicked\nplay sound [TheFatRat - Jackpot \(Jackpot EP Track 1\).mp3 v] until done\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [sine v] to [0]\npoint in direction (90)\nforever\n    change [sine v] by (7.5)\n    point in direction ((([sin v] of (sine) ) * (15)) + (90))\n    set size to ((([sin v] of ((sine) * (2)) ) * (25)) + (100)) %\nend\n\nwhen I receive [cutscene v]\nstop [other scripts in sprite v]\n\n@Player\n\nwhen flag clicked\nshow\nset [level v] to [1]\ngo to [back v] layer\nswitch costume to (costume1 v)\ngo to x: (0) y: (-60)\nset size to (500) %\nforever\n    if <touching (danger v)?> then\n        go to x: (-198) y: (-116)\n    end\nend\n\nwhen I receive [right v]\nnext costume\n\nwhen I receive [left v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [start game v]\nshow\ngo to x: (-198) y: (-116)\nset size to (400) %\nforever\n    go to [front v] layer\n    if <key (left arrow v) pressed?> then\n        change [xvel v] by (-1.2)\n    end\n    if <key (right arrow v) pressed?> then\n        change [xvel v] by (1.2)\n    end\n    set [xvel v] to ((Xvel) * (0.9))\n    change x by (Xvel)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (1)\n                                if <touching (ground v)?> then\n                                    change x by ((Xvel) * (-1))\n                                    change y by (-7)\n                                    if <key (up arrow v) pressed?> then\n                                        if <(Xvel) > [0]> then\n                                            set [xvel v] to [-5]\n                                        else\n                                            set [xvel v] to [5]\n                                        end\n                                        set [yvel v] to [10]\n                                    else\n                                        set [xvel v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yvel v] by (-1)\n    change y by (Yvel)\n    if <touching (ground v)?> then\n        change y by ((Yvel) * (-1))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <key (up arrow v) pressed?> then\n            set [yvel v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [next level v]\ngo to x: (-198) y: (-116)\nchange [level v] by (1)\n\nwhen I receive [player died v]\ngo to x: (-198) y: (-116)\nbroadcast (boss fight v)\n\nwhen I receive [cutscene v]\nhide\n\n@Words\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (0)\nhide\nwait (3) seconds\nset [x v] to [30]\nshow\ngo to x: (300) y: (0)\nrepeat until <(x position) = [0]>\n    set [x v] to ((x) / (1.1))\n    change x by ((0) - (x))\nend\n\nwhen flag clicked\nwait (5) seconds\nbroadcast (Fade v)\nforever\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [start screen v]\nhide\n\n@Back\n\nwhen flag clicked\nshow\n\nwhen I receive [start screen v]\nhide\n\n@Ground\n\nwhen flag clicked\nshow\ngo to [back v] layer\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait until <(costume [number v]) = [8]>\nbroadcast (building v)\n\nwhen flag clicked\nwait until <(costume [number v]) = [12]>\nbroadcast (Rocket v)\n\nwhen flag clicked\nwait until <(costume [number v]) = [12]>\nbroadcast (Rocket v)\n\nwhen flag clicked\nwait until <(costume [number v]) = [13]>\nbroadcast (Cutscene v)\n\n@Title\n\nwhen flag clicked\ngo to x: (0) y: (28)\nshow\n\nwhen I receive [start game v]\nhide\n\n@3\n\nwhen flag clicked\nshow\ngo to [back v] layer\n\nwhen I receive [start game v]\nhide\n\n@Next\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nforever\n    if <touching (player v)?> then\n        broadcast (next level v)\n        wait (1) seconds\n    end\nend\n\n@Danger\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@Cut Scene\n\nwhen I receive [cutscene v]\ngo to [front v] layer\nshow\nstop all sounds\nset [brightness v] effect to (0)\nswitch costume to (costume2 v)\nrepeat (28)\n    wait (.01) seconds\n    next costume\nend\nplay sound [recording3 v] until done\nwait (2) seconds\nnext costume\nspeak [Launching in ]::tts\nspeak [3]::tts\nwait (1) seconds\nspeak [2]::tts\nwait (1) seconds\nspeak [1]::tts\nnext costume\nrepeat (10)\n    change [brightness v] effect by (10)\n    wait (.1) seconds\nend\nwait (1) seconds\nnext costume\nclear graphic effects\nrepeat (8)\n    wait (.1) seconds\n    next costume\nend\nnext costume\nplay sound [recording2 v] until done\nwait (1) seconds\nplay sound [recording4 v] until done\nwait (1) seconds\nplay sound [recording1 v] until done\nwait (1) seconds\nplay sound [recording5 v] until done\nwait (.5) seconds\nplay sound [recording6 v] until done\nnext costume\nrepeat (5)\n    wait (.1) seconds\n    next costume\nend\nplay sound [recording7 v] until done\nwait (.5) seconds\nrepeat (10)\n    change [brightness v] effect by (10)\n    wait (.1) seconds\nend\nnext costume\nwait (2) seconds\nclear graphic effects\n\nwhen flag clicked\nhide\n\n@Thumnail.\n\nwhen flag clicked\nhide\n\n