Mr. Circle Platformer

Instructions: Use the arrow keys to move. Press space to kill yourself. You need to try to get to the right side of the screen without dying. If you touch red, then it will kill you. By the way, some of the reds and blacks allow you to go right through them! Keep your eyes out for them. And ALL of the levels are possible.

@Stage\n\nwhen flag clicked\nswitch backdrop to (main menu v)\nhide variable [☁ high score v]\nhide variable [time v]\nhide variable [level v]\nset [level v] to [0]\nreset timer\nforever\n    if <(backdrop [number v]) < [5]> then\n        reset timer\n    end\nend\n\nwhen I receive [next level v]\nnext backdrop\nset [level v] to ((Level) + (1))\n\nwhen backdrop switches to [main menu2 v]\nhide variable [level v]\nshow variable [time v]\nset [time v] to (timer)\nif <(Time) < (☁ High score)> then\n    set [☁ high score v] to (Time)\nend\nshow variable [☁ high score v]\nforever\n    reset timer\nend\n\nwhen backdrop switches to [level1 v]\nshow variable [level v]\nset [level v] to [1]\n\n@Mr Cirlce title\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nshow\nforever\n    next costume\nend\n\nwhen backdrop switches to [intro1 v]\nhide\n\n@Platform title\n\nwhen flag clicked\nshow\nforever\n    next costume\nend\n\nwhen backdrop switches to [level1 v]\nhide\n\nwhen backdrop switches to [intro1 v]\nhide\n\n@Play button\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nhide\nswitch backdrop to (intro1 v)\n\n@Mr Cirlce\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [main menu2 v]\nforever\n    hide\nend\n\nwhen flag clicked\nset [yvel v] to [0]\nset [xvel v] to [0]\nforever\n    change y by (Yvel)\nend\n\nwhen backdrop switches to [intro1 v]\nset [xvel v] to [0]\nset [yvel v] to [0]\nshow\nswitch costume to (straight v)\ngo to x: (-149) y: (-20)\nforever\n    set [x pos v] to (x position)\n    set [ypos v] to (y position)\n    change [yvel v] by (-0.5)\n    if <<key (space v) pressed?> or <<(y position) < [-141]> or <touching color (#ff0000)?>>> then\n        hide\n        set [xvel v] to [0]\n        set [yvel v] to [0]\n        wait (0.5) seconds\n        go to x: (-149) y: (-20)\n        show\n    end\n    if <<not <key (left arrow v) pressed?>> and <not <key (right arrow v) pressed?>>> then\n        switch costume to (straight v)\n    end\n    if <key (right arrow v) pressed?> then\n        change [xvel v] by (0.7)\n        switch costume to (right v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xvel v] by (-0.7)\n        switch costume to (left v)\n    end\n    change x by (Xvel)\n    if <touching color (#000000)?> then\n        change y by (2)\n        if <touching color (#000000)?> then\n            change y by (2)\n            if <touching color (#000000)?> then\n                change y by (2)\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 ((Xvel) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> and <not <color (#003fff) is touching (#000000)?>>> then\n                                if <(Xvel) > [0]> then\n                                    set [xvel v] to [-8]\n                                else\n                                    set [xvel v] to [8]\n                                end\n                                set [yvel v] to [7]\n                            else\n                                set [xvel v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <color (#003fff) is touching (#000000)?> then\n        change y by (-7)\n    end\n    change y by (Yvel)\n    if <touching color (#000000)?> then\n        change y by ((Yvel) * (-1))\n        set [yvel 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            set [yvel v] to [7]\n        end\n    end\n    change y by (1)\n    set [xvel v] to ((Xvel) * (0.9))\n    if <(x position) > [309]> then\n        broadcast (next level v)\n        go to x: (-149) y: (-20)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [intro1 v]\nshow\n\n