Virus A Platformer
@Stage\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (blue sky v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch costume to (backdrop2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        switch costume to (backdrop3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        switch backdrop to (backdrop1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [19]> then\n        switch costume to (backdrop3 v)\n    end\nend\n\n@Player\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        switch costume to (costume4 v)\n    end\nend\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-214) y: (-90)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (level v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [160]> then\n        change [level v] by (1)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-214) y: (-91)\n    end\nend\n\nwhen flag clicked\nif <touching (level v)?> then\n    change x by ((x velocity) * (-1))\n    change y by (-5)\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-214) y: (-97)\n    else\n        go to x: (x position) y: (y position)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [19]> then\n        \n            set [level v] to [19]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nrepeat until <<key (space v) pressed?> and <(Level) = [8]>>\n    if <(Level) = [8]> then\n        say [Who are you!?] for (0.00000001) seconds\n    end\nend\n\nwhen flag clicked\nrepeat until <(Message 1 STUFFF) = [50]>\n    if <<(Level) = [8]> and <key (space v) pressed?>> then\n        broadcast (message1 v)\n    end\nend\n\nwhen I receive [message1 v]\nset [message 1 stufff v] to [50]\n\nwhen flag clicked\nset [message 1 stufff v] to [0]\n\nwhen I receive [message 2 v]\nrepeat until <(MESSAGE 2 STUFFF) = [50]>\n    if <key (space v) pressed?> then\n        broadcast (Message3 v)\n    end\nend\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen I receive [message1 v]\nwait (0.001) seconds\nrepeat until <key (e v) pressed?>\n    say [The king of darkness. The one who made the world this way. If you want color back beat all 4 dimensions. Bet you can't.  \(Press E to Close\)] for <key (space v) pressed?> seconds\nend\n\nwhen I receive [message 2 v]\nset [message 2 stufff v] to [50]\n\nwhen flag clicked\nset [message 2 stufff v] to [0]\n\nwhen I receive [message1 v]\nrepeat until <(MESSAGE 2 STUFFF) = [50]>\n    if <<(Level) = [8]> and <key (space v) pressed?>> then\n        broadcast (Message 2 v)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Level)\n    go to [back v] layer\nend\n\nwhen flag clicked\nset [level v] to [1]\n\n@Thumbnail\n\nwhen flag clicked\ngo to [back v] layer\nset [ghost v] effect to (100)\n\n@Skip Button\n\nwhen this sprite clicked\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        switch costume to (costume4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\nend\n\nswitch costume to (costume2 v)\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nrepeat until <(costume [number v]) = [16]>\n    wait (0.03) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    show\n    switch costume to (Level)\nend\n\n
use your arrow keys to move or A W D S\n\nNot mobile-friendly sorry... I'm not that good at coding...\nI wake up to a million notifications and I'm 4th ON TRENDING ON GAMES!?\nNO ADVERTISING PLEASE!!! THANK YOU :)