Leveled Platformer

Instructions: Use the arrow keys to move around. Try to avoid the spikes, Lava, and other things that look dangerous like the color black. \n\n100 ❤️ and ⭐for Part Two!\nEveryone who likes this game follow @AAJ_coder\nCheck this out too https://scratch.mit.edu/projects/612533115

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop3 v)\nforever\n    if <(level) = [1]> then\n        switch costume to (bronze back v)\n    else\n        if <(level) = [6]> then\n            switch costume to (silver back v)\n            broadcast (d v)\n        else\n            if <(level) = [15]> then\n                switch costume to (gold back v)\n                broadcast (q v)\n            else\n                if <(level) = [25]> then\n                    switch costume to (mix v)\n                    broadcast (w v)\n                end\n            end\n        end\n    end\nend\n\nbroadcast (a v)\n\n@player\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        switch costume to (3 v)\n    else\n        if <(level) = [6]> then\n            switch costume to (2 v)\n        else\n            if <(level) = [11]> then\n                switch costume to (1 v)\n            end\n        end\n    end\n    check next level\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nset size to (70) %\ngo to x: (-247) y: (-96)\nset [x velo v] to [0]\nset [y velo v] to [0]\nforever\n    up/down [19] [-1]\n    left and right [10.6] [0.8]\n    check next level\nend\n\ndefine up/down (jump) (fall speed)\nchange y by (y velo)\nif <touching (level v)?> then\n    die lava\n    spicke death\n    repeat ([ceiling v] of ([abs v] of (y velo) ) )\n        if <touching (level v)?> then\n            change y by (((y velo) / ([abs v] of (y velo) )) * (-1))\n        end\n    end\n    if <<not <(y velo) > [0]>> and <key (up arrow v) pressed?>> then\n        set [y velo v] to (jump)\n    else\n        set [y velo v] to [0]\n    end\nelse\n    change [y velo v] by (fall speed)\nend\n\ndefine left and right (move speed) (drag)\nchange x by (x velo)\nif <touching (level v)?> then\n    die lava\n    spicke death\n    repeat ([ceiling v] of ([abs v] of (x velo) ) )\n        if <touching (level v)?> then\n            change x by (((x velo) / ([abs v] of (x velo) )) * (-1))\n        end\n    end\n    set [x velo v] to [0]\nend\nif <key (right arrow v) pressed?> then\n    set [x velo v] to (move speed)\nelse\n    if <key (left arrow v) pressed?> then\n        set [x velo v] to ((move speed) * (-1))\n    end\nend\nset [x velo v] to ((x velo) * (drag))\n\nchange y by (10)\n\npoint in direction (90)\n\npoint in direction (-90)\n\ndefine check next level\nif <(x position) > [170]> then\n    broadcast (message1 v)\n    go to x: (-247) y: (-96)\nend\n\ndefine die lava\nif <touching color (#ff0000)?> then\n    go to x: (-219) y: (-117)\nend\n\ndefine spicke death\nif <touching color (#000000)?> then\n    go to x: (-219) y: (-117)\nend\nif <touching color (#d6d6d6)?> then\n    go to x: (-219) y: (-117)\nend\n\ndefine off\nif <(y position) > [-182]> then\n    go to x: (-219) y: (-117)\nend\n\nchange x by (x velo)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait () seconds\nend\n\nif <key (left arrow v) pressed?> then\nif <key (right arrow v) pressed?> then\n    create clone of (_myself_ v)\nend\nif <key (up arrow v) pressed?> then\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nset size to (70) %\nset [ghost v] effect to (0)\nrepeat (7)\n    change size by (3.5)\n    change [ghost v] effect by (10)\nend\nhide\ndelete this clone\n\nwhen backdrop switches to [bronze back v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (costume1 v)\n\nwhen I receive [d v]\nswitch costume to (costume4 v)\n\nwhen I receive [q v]\nswitch costume to (costume5 v)\n\nwhen flag clicked\nforever\n    if <touching color (#dcb000)?> then\n        switch costume to (costume3 v)\n    end\n    if <touching color (#c9c4b4)?> then\n        switch costume to (costume4 v)\n    end\n    if <touching color (#cb7300)?> then\n        switch costume to (costume5 v)\n    end\nend\n\nwhen I receive [w v]\nstop [this script v]\n\nwhen backdrop switches to [mix v]\nif on edge, bounce\n\nwhen flag clicked\nrepeat (2)\n    play sound [Movie 2 v] until done\n    if <(level) = [25]> then\n        stop [this script v]\n    end\nend\n\nset [x velo v] to [0]\nset [y velo v] to [0]\n\n@level\n\nwhen flag clicked\nset [level v] to [0]\ngo to x: (10) y: (10)\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\nchange [level v] by (1)\n\nwhen I receive [a v]\n\n