Creeper: (Platformer) #3

Instructions: you need to get out of that place fast. do not touch lava or you will explode!!!!!\n                                 USE ARROW KEYS TO MOVE!!!!!\n \nHERE ARE SOME OTHERS: https://scratch.mit.edu/projects/479897931\n\nhttps://scratch.mit.edu/projects/478272754

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    if <(x position) > [220]> then\n        go to x: (-212) y: (134)\n        switch backdrop to (next backdrop v)\n    end\nend\n\n@Sprite1\n\nwhen I receive [message1 v]\nshow\nforever\n    play sound [Popsicle v] until done\nend\n\nwhen I receive [message1 v]\nforever\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching color (#000000)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            start sound [Coin v]\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume2 v)\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <(x position) > [327]> then\n        go to x: (-212) y: (134)\n        switch backdrop to (next backdrop v)\n    end\n    if <touching color (#ff0000)?> then\n        switch costume to (costume3 v)\n        play sound [Clang v] until done\n        switch costume to (costume1 v)\n        go to x: (-212) y: (134)\n    end\nend\n\nwhen I receive [message1 v]\nstart sound [Connect v]\nsay (username)\n\nwhen flag clicked\nbroadcast (message1 v)\n\n@Sprite2\n\nwhen I receive [message1 v]\ngo to x: (31) y: (197)\nforever\n    show\n    wait (2) seconds\n    hide\n    wait (4) seconds\nend\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n