The Greatest Showman Platformer

Instructions: Arrow Keys To Move \n\n\n\n                                               STORY\n___________________________________________\nYou Are Looking For The Bearded Lady For Your Show! \nLike In The Movie!\n___________________________________________

@Stage\n\nwhen flag clicked\nforever\n    play sound [The Greatest Show \(from The Greatest Showman Soundtrack\) Official Audio.mp3 v] until done\n    play sound [Come Alive \(from The Greatest Showman Soundtrack\) \[Official Audio\].mp3 v] until done\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Popfiz910]> then\n        if <key (q v) pressed?> then\n            switch backdrop to (thumbnail v)\n        end\n    end\nend\n\nwhen I receive [next! level v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen backdrop switches to [backdropwin v]\nstop [all v]\n\n@Sprite1\n\nwhen flag clicked\nset [level v] to [0]\nset [lives v] to [5]\nset [yvelocity v] to [0]\ngo to x: (-181) y: (-36)\nforever\n    change y by (yvelocity)\n    if <<key (up arrow v) pressed?> and <(yvelocity) < [0]>> then\n        if <touching color (#666666)?> then\n            set [yvelocity v] to [10]\n            change y by (10)\n        end\n    end\n    if <<key (space v) pressed?> and <(yvelocity) < [0]>> then\n        if <touching color (#666666)?> then\n            set [yvelocity v] to [10]\n            change y by (10)\n        end\n    end\n    if <touching color (#666666)?> then\n        if <(yvelocity) < [0]> then\n            set [yvelocity v] to [0]\n        end\n        if <(yvelocity) > [0]> then\n            change y by ((0) - (yvelocity))\n            set [yvelocity v] to [-4]\n        end\n    end\n    repeat until <not <touching color (#666666)?>>\n        change y by (1)\n    end\n    change [yvelocity v] by (-0.5)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (-193) y: (-140)\n\nwhen backdrop switches to [backdrop1 v]\nshow variable [lives v]\nshow variable [level v]\n\nwhen backdrop switches to [backdrop8 v]\nif <not <(hardcore) = [1]>> then\n    set [lives v] to [5]\nend\n\nwhen flag clicked\nforever\n    set [hardcore v] to [0]\n    if <<(username) = [Enderlord2017]> and <key (1 v) pressed?>> then\n        set [hardcore v] to [1]\n    end\n    if <<(username) = [Enderlord2017]> and <key (2 v) pressed?>> then\n        set [hardcore v] to [0]\n    end\nend\n\nwhen flag clicked\nif <(hardcore) = [1]> then\n    switch costume to (costume2 v)\nelse\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [shadow ball2 v]\nhide\n\nwhen flag clicked\nforever\n    if <(username) = [Popfiz910]> then\n        if <key (q v) pressed?> then\n            switch backdrop to (shadow ball2 v)\n        end\n    end\nend\n\nwhen backdrop switches to [shadow ball2 v]\nhide variable [lives v]\nhide variable [level v]\n\nwhen backdrop switches to [start screen2 v]\nhide\n\nwhen backdrop switches to [start screen v]\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop13 v]\nif <touching (sprite13 v)?> then\n    go to x: (-193) y: (-140)\n    change [lives v] by (-1)\nend\nif <<touching (sprite13 v)?> and <[costume] = [3]>> then\n    change [lives v] by (-1)\nend\n\nwhen flag clicked\nif <(lives) = [0]> then\n    switch backdrop to (game over v)\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Popfiz910]> then\n        if <key (x v) pressed?> then\n            switch backdrop to (backdrop12 v)\n            set [lives v] to [100000000000000000 ]\n        end\n        if <key (z v) pressed?> then\n            broadcast (Time To Win v)\n        end\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [win v]\nset [level v] to [WIN]\n\nwhen flag clicked\nset [xvelocity v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [scrollx v] by (3)\n        set [xvelocity v] to [15]\n    end\n    if <key (left arrow v) pressed?> then\n        set [xvelocity v] to [-15]\n    end\n    set [xvelocity v] to ((xvelocity) / (2))\n    change x by (xvelocity)\n    if <touching color (#666666)?> then\n        change x by ((0) - (xvelocity))\n        set [xvelocity v] to [0]\n    end\n    if <touching color (#000000)?> then\n        change [level v] by (1)\n        broadcast (Next! level v)\n        if <(level) = [4]> then\n            go to x: (-87) y: (-83)\n        else\n            go to x: (-193) y: (-140)\n        end\n    end\n    if <<touching color (#ff0000)?> and <not <(level) = [6]>>> then\n        go to x: (-193) y: (-140)\n        change [lives v] by (-1)\n        if <(level) = [4]> then\n            go to x: (-87) y: (-83)\n        else\n            go to x: (-193) y: (-140)\n        end\n    end\n    if <<touching color (#ff0000)?> and <(level) = [6]>> then\n        go to x: (-193) y: (-160)\n        change [lives v] by (-1)\n        if <(level) = [4]> then\n            go to x: (-87) y: (-83)\n        else\n            go to x: (-193) y: (-140)\n        end\n    end\n    if <(lives) < [1]> then\n        switch backdrop to (gameover v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-163) y: (-157)\n\nwhen flag clicked\nshow variable [lives v]\nshow variable [level v]\nset [level v] to [1]\n\nwhen flag clicked\nset [lives v] to [5]\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-162) y: (-143)\n\nwhen backdrop switches to [gameover v]\nhide variable [level v]\nhide variable [lives v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\nhide variable [level v]\nhide variable [lives v]\n\n