COLORS - A Scrolling Platformer

Instructions:      Whats up guys, welcome back to another game!\n\n     *This is an entry for @ReloadedRagnarok Contest*\n------------------------------GRIMACE-----------------------------------\nChallenge: Can you make it out without dying?\n------------------------------------------------------------------------------\nControls:\nWASD or Arrow Keys to move\nDon't touch the lava or spikes or you'll die\nDown arrow or S to duck/crouch \nHave fun!\n------------------------------------------------------------------------------\nA ❤,⭐ and a follow would be truly appreciated!\n-----------------------------------------------------------------------\n\nCredits:\n@--AwesomeCode-- || Engine\n@ReloadedRagnarok || Contest (Hopefully i win lol)\n@EXPERlENCE and @DragonMasterD71 || Helping out\nCG5 || Music\n@FreezingCodes || Art and some code\n\n#5 ON GAMES!! (Aug 17 2023)\n#2 ON ART! (Aug 17 2023)\n#2 ON ALL! (Aug 17 2023)\n\n\n\n Tags (Ignore):\n#trending #platformer #Freezingcodes #all #all #game #games #all #art #art #music #art #music #music#trending #platformer #Freezingcodes #all #all #game #games #all #art #art #music #art #music #music #grimace #grimace #trending #platformer #Freezingcodes #all #all #game #games #all #art #art #music #art #music #music#trending #platformer #Freezingcodes #all #all #game #games #all #art #art #music #art #music #music #grimace #grimace #trending #platformer #Freezingcodes #all #all #game #games #all #art #art #music #art #music #music#trending #platformer #Freezingcodes #all #all #game #games #all #art #art #music #art #music #music #grimace #grimace 

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    if <(level) = [21]> then\n        switch backdrop to (backdrop2 v)\n    end\n    if <(level) = [22]> then\n        switch backdrop to (backdrop3 v)\n    end\n    if <(level) = [30]> then\n        switch backdrop to (backdrop1 v)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to [front v] layer\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@XA-MUIL-2\n\nwhen flag clicked\nset [level v] to [0]\nforever\n    change [y v] by (-0.5)\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (sprite3 v)?> then\n        change y by (1)\n        if <touching (sprite3 v)?> then\n            change y by (1)\n            if <touching (sprite3 v)?> then\n                change y by (1)\n                if <touching (sprite3 v)?> then\n                    change y by (1)\n                    if <touching (sprite3 v)?> then\n                        change y by (1)\n                        if <touching (sprite3 v)?> then\n                            change y by (1)\n                            if <touching (sprite3 v)?> then\n                                change y by (-6)\n                                if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                    start sound [Jump v]\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching (sprite3 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching (sprite3 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if <(x position) > [400]> then\n        broadcast (message1 v)\n    end\n    if <touching (sprite5 v)?> then\n        go to x: (-15) y: (-43)\n    end\n    if <touching (sprite6 v)?> then\n        set [y v] to [15]\n    end\n    if <(y position) < [-120]> then\n        go to x: (-15) y: (-43)\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (-15) y: (-43)\n\nwhen flag clicked\nforever\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x v] by (0.75)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by (-0.75)\n    end\nend\n\nwhen I receive [message1 v]\ngo to x: (-15) y: (-43)\nchange [level v] by (1)\n\nwhen flag clicked\nset [level v] to (costume [number v])\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Xenogenesis v] until done\nend\n\nwhen flag clicked\n\nwhen I receive [jump v]\nset [y v] to [10]\n\nforever\n    if <touching (sprite3 v)?> then\n    end\nend\n\nwhen I receive [left v]\nchange [x v] by (-10)\n\nwhen I receive [left v]\n\nwhen I receive [right v]\nchange [x v] by (10)\n\n@Sprite3\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\n@Sprite4\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\ngo [forward v] (1) layers\n\nwhen I receive [message1 v]\nnext costume\n\n@Sprite5\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [4]> then\n        show\n        switch costume to (costume1 v)\n    end\n    if <(level) = [4]> then\n        go to x: (27) y: (25)\n    end\n    if <(level) = [5]> then\n        hide\n    end\n    if <(level) = [6]> then\n        show\n        switch costume to (costume2 v)\n    end\n    if <(level) = [7]> then\n        show\n        switch costume to (costume1 v)\n    end\n    if <(level) = [8]> then\n        hide\n    end\n    if <(level) = [14]> then\n        show\n        switch costume to (costume2 v)\n    end\n    if <(level) = [15]> then\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [5]> then\n        show\n    end\n    if <(level) = [5]> then\n        go to x: (10) y: (10)\n    end\n    if <(level) = [6]> then\n        hide\n    end\n    if <(level) = [7]> then\n        show\n        go to x: (10) y: (10)\n    end\n    if <(level) = [8]> then\n        go to x: (10) y: (10)\n        hide\n    end\nend\n\n@flicker\n\nwhen flag clicked\ngo to [back v] layer\nshow\nforever\n    change [xpos v] by (-2)\n    go to x: (xpos) y: (50)\n    if <(xpos) < [-450]> then\n        set [xpos v] to [480]\n    end\nend\n\n@flicker2\n\nwhen flag clicked\ngo to [back v] layer\nshow\nforever\n    change [xpos v] by (-2)\n    go to x: (xpos) y: (50)\n    if <(xpos) < [-450]> then\n        set [xpos v] to [480]\n    end\nend\n\n