Panda Platformer!

Instructions: Use the arrow keys to move, or W A D (Note be careful not to press s). The game is 100% possible, but it might be a little tricky (My best is 2 deaths, but I'm bad so...).\nFacts about pandas:\nOnly about 1,864 in the wild making them an endangered species. Adult pandas can grow up to be more than 4 feet in height, and can way any where from 220-330 pounds. Pandas can live in temperate broadleaf and mixed forests of southwest China. \nIf we all come together we can save the pandas!\nAll information from worldwildlife.org

@Stage\n\n@Panda\n\nwhen flag clicked\nset [p1x v] to [-200]\nset [p1y v] to [-150]\nset [p1yspeed v] to [0]\n\nwhen flag clicked\nforever\n    change [p1yspeed v] by (-1)\n    change [p1y v] by (p1yspeed)\nend\n\nwhen flag clicked\nforever\n    if <(p1y) < [-150]> then\n        set [p1y v] to [-150]\n    end\n    set x to (p1x)\n    set y to (p1y)\nend\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(p1y) = [-150]>> then\n        set [p1yspeed v] to [10]\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        if <[-220] < (x position)> then\n            change [p1x v] by (-10)\n        end\n    end\n    if <<(backdrop [number v]) = [6]> and <[220] < (x position)>> then\n    if <(backdrop [number v]) > [4]> then\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        switch costume to (costume6 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\nend\n\nwhen flag clicked\nset [deaths: v] to [0]\nforever\n    if <touching color (#3481ff)?> then\n        go to x: (-220) y: (-150)\n        set [p1x v] to [-220]\n        set [y v] to [-150]\n        change [deaths: v] by (1)\n    end\nend\n\nset [p1x v] to [200]\n\nwhen flag clicked\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> or <mouse down?>> then\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    end\nend\n\nset [p1x v] to [200]\n\nwhen flag clicked\nset [cheat v] to [0]\nforever\n    if <<(backdrop [number v]) = [5]> and <(p1x) > [220]>> then\n        set [p1x v] to [-220]\n        set [p1y v] to [-150]\n        wait (.1) seconds\n        if <[1] > (Deaths:)> then\n            switch backdrop to (ending 1 v)\n        end\n        if <<[10] > (Deaths:)> and <(Deaths:) > [0]>> then\n            switch backdrop to (ending 2 v)\n        end\n        if <<[25] > (Deaths:)> and <(Deaths:) > [9]>> then\n            switch backdrop to (ending 3 v)\n        end\n        if <<[100] > (Deaths:)> and <(Deaths:) > [24]>> then\n            switch backdrop to (ending 4 v)\n        end\n        if <<[500] > (Deaths:)> and <(Deaths:) > [99]>> then\n            switch backdrop to (ending 5 v)\n        end\n        if <<[1000] > (Deaths:)> and <(Deaths:) > [499]>> then\n            switch backdrop to (ending 6 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<[5] < (backdrop [number v])> and <(Deaths:) < (☁ World Record)>> then\n        if <(Cheat) = [0]> then\n            set [☁ world record v] to (Deaths:)\n        end\n    end\nend\n\nset [☁ world record v] to [3]\n\nset [p1x v] to [200]\n\nwhen [r v] key pressed\nset [p1x v] to [-220]\nset [p1y v] to [-150]\nswitch backdrop to (level 1 v)\nwait (.1) seconds\nset [cheat v] to [0]\nset [deaths: v] to [0]\n\nwhen [s v] key pressed\nset [cheat v] to [1]\nwait (.1) seconds\nnext backdrop\nset [p1x v] to [-220]\nset [p1y v] to [-150]\n\nwhen flag clicked\nforever\n    play sound [Music v] until done\nend\n\nwhen flag clicked\nforever\n    if <key (any v) pressed?> then\nend\n\nwhen flag clicked\nforever\n    if <key (any v) pressed?> then\nend\n\nwhen flag clicked\nforever\n    if <key (any v) pressed?> then\nend\n\n@Deaths:\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> or <(backdrop [number v]) > [5]>> then\n        hide\n    else\n        show\n    end\nend\n\nset [deaths: v] to [3]\n\n@Death Counter 1\n\nwhen flag clicked\nforever\n    if <[0] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (0 v)\n    end\n    if <[1] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (1 v)\n    end\n    if <[2] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (2 v)\n    end\n    if <[3] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (3 v)\n    end\n    if <[4] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (4 v)\n    end\n    if <[5] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (5 v)\n    end\n    if <[6] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (6 v)\n    end\n    if <[7] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (7 v)\n    end\n    if <[8] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (8 v)\n    end\n    if <[9] = (letter (length of (Deaths:)) of (Deaths:))> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> or <(backdrop [number v]) > [5]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(length of (Deaths:)) = [1]> then\n        go to x: (-145) y: (162)\n    end\n    if <(length of (Deaths:)) = [2]> then\n        go to x: (-129) y: (162)\n    end\n    if <(length of (Deaths:)) = [3]> then\n        go to x: (-113) y: (162)\n    end\nend\n\n@Death Counter 2\n\nwhen flag clicked\nforever\n    if <[0] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (0 v)\n    end\n    if <[1] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (1 v)\n    end\n    if <[2] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (2 v)\n    end\n    if <[3] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (3 v)\n    end\n    if <[4] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (4 v)\n    end\n    if <[5] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (5 v)\n    end\n    if <[6] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (6 v)\n    end\n    if <[7] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (7 v)\n    end\n    if <[8] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (8 v)\n    end\n    if <[9] = (letter ((length of (Deaths:)) - (1)) of (Deaths:))> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> or <(backdrop [number v]) > [5]>> then\n        hide\n    else\n        show\n    end\nend\n\ngo to x: (-113) y: (-162)\n\nwhen flag clicked\nforever\n    if <(length of (Deaths:)) = [1]> then\n        hide\n    end\n    if <(length of (Deaths:)) = [2]> then\n        go to x: (-145) y: (162)\n    end\n    if <(length of (Deaths:)) = [3]> then\n        go to x: (-129) y: (162)\n    end\nend\n\n@Death Counter 3\n\nwhen flag clicked\nforever\n    if <[0] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (0 v)\n    end\n    if <[1] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (1 v)\n    end\n    if <[2] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (2 v)\n    end\n    if <[3] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (3 v)\n    end\n    if <[4] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (4 v)\n    end\n    if <[5] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (5 v)\n    end\n    if <[6] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (6 v)\n    end\n    if <[7] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (7 v)\n    end\n    if <[8] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (8 v)\n    end\n    if <[9] = (letter ((length of (Deaths:)) - (2)) of (Deaths:))> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> or <(backdrop [number v]) > [5]>> then\n        hide\n    else\n        show\n    end\nend\n\ngo to x: (-113) y: (-162)\n\nwhen flag clicked\nforever\n    if <(length of (Deaths:)) = [1]> then\n        hide\n    end\n    if <(length of (Deaths:)) = [2]> then\n        hide\n    end\n    if <(length of (Deaths:)) = [3]> then\n        go to x: (-145) y: (162)\n    end\nend\n\nset [deaths: v] to [99]\n\n@Music\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    set [music v] to [1]\nend\nif <(costume [number v]) = [2]> then\n    set [music v] to [0]\nend\n\nwhen flag clicked\nset [music v] to [0]\nforever\n    if <(Music) = [0]> then\n        set volume to (100) %\n        switch costume to (music unmute v)\n    end\n    if <(Music) = [1]> then\n        stop all sounds\n        switch costume to (music mute v)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (0)\nwait (.5) seconds\nrepeat (100)\n    change [ghost v] effect by (2)\nend\nforever\n    go to [front v] layer\nend\n\n@Confetti\n\nwhen flag clicked\nwait (1) seconds\nset size to (pick random (5) to (20)) %\nset [ghost v] effect to (20)\nhide\nforever\n    if <[6] > (backdrop [number v])> then\nend\n\nwhen I start as a clone\ngo to x: (-243) y: (pick random (200) to (-200))\nset size to (pick random (5) to (20)) %\nforever\nend\n\nwhen I start as a clone\nshow\nforever\n    go to [back v] layer\n    switch costume to (costume1 v)\n    set [ghost v] effect to (40)\nend\n\nwait (pick random (1) to (1.5)) seconds\n\nwhen I start as a clone\ngo to x: (-243) y: (pick random (200) to (-200))\nrepeat until <(x position) > [230]>\n    change x by (pick random (1) to (10))\n    change [color v] effect by (pick random (1) to (20))\nend\ndelete this clone\n\nwhen flag clicked\nforever\nend\n\nstop [other scripts in sprite v]\n\nif  then\nend\n\n@WR:\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> or <(backdrop [number v]) > [5]>> then\n        hide\n    else\n        show\n    end\nend\n\n@WR Counter 1\n\nwhen flag clicked\nforever\n    if <[0] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (0 v)\n    end\n    if <[1] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (1 v)\n    end\n    if <[2] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (2 v)\n    end\n    if <[3] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (3 v)\n    end\n    if <[4] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (4 v)\n    end\n    if <[5] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (5 v)\n    end\n    if <[6] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (6 v)\n    end\n    if <[7] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (7 v)\n    end\n    if <[8] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (8 v)\n    end\n    if <[9] = (letter (length of (☁ World Record)) of (☁ World Record))> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (-191) y: (136)\nend\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> or <(backdrop [number v]) > [5]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen [r v] key pressed\n\n