ROBLOX Platformer
@Stage\n\nwhen flag clicked\nshow variable [music v]\nshow variable [deaths v]\n\nwhen flag clicked\nforever\n    if <(Music) = [2]> then\n        repeat until <(Music) = [1]>\n            stop all sounds\n            play sound [Music 2 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Music) = [1]> then\n        repeat until <(Music) = [2]>\n            stop all sounds\n            play sound [Music 1 v] until done\n        end\n    end\nend\n\n@Platformer\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        move (6) steps\n    end\n    if <key (left arrow v) pressed?> then\n        move (-6) steps\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        change y by (100)\n        wait (0.7) seconds\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\nshow variable [music v]\n\nwhen flag clicked\nforever\n    change y by (-6)\n    if <touching color (#00cc44)?> then\n        change y by (6)\n    end\nend\n\n@Terain\n\nwhen flag clicked\nswitch costume to (level1 v)\n\nwhen I receive [switch level v]\nnext costume\n\nwhen I receive [the message v]\nswitch costume to (tycoon v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [3]> then\n        broadcast (noob gone v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (level 9 noob v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (noob gone v)\n    end\nend\n\nwhen flag clicked\nhide variable [$ per sec. v]\nhide variable [money v]\nset [$ per sec. v] to [0]\nset [money v] to [10]\n\nwhen I receive [exit v]\nswitch costume to (level6 v)\nhide variable [money v]\nhide variable [$ per sec. v]\nbroadcast (switch level v)\n\nwhen I receive [revive v]\nchange [deaths v] by (1)\n\nwhen flag clicked\nset [deaths v] to [0]\nset [music v] to [1]\nshow variable [deaths v]\nshow variable [music v]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        broadcast (level 2 noob v)\n    end\nend\n\n@Prototype\n\nwhen flag clicked\nhide variable [y v]\nhide variable [velocity v]\nhide variable [x v]\n\nwhen flag clicked\nforever\n    if <touching color (#ff9400)?> then\n        change [y v] by (14)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [290]> then\n        broadcast (Switch level v)\n    end\nend\n\nwhen I receive [switch level v]\ngo to x: (-200) y: (100)\n\nwhen I receive [revive v]\ngo to x: (-130) y: (100)\n\nwhen flag clicked\nforever\n    if <(y position) < [-212]> then\n        broadcast (Revive v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (noob v)?> then\n        broadcast (Revive v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00bf)?> then\n        broadcast (THE Message v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#cc0000)?> then\n        broadcast (Revive v)\n    end\nend\n\nwhen I receive [the message v]\ngo to x: (-130) y: (100)\nshow variable [money v]\nshow variable [$ per sec. v]\nset [tycoon control v] to [0]\n\nwhen flag clicked\nhide variable [tycoon control v]\n\nwhen flag clicked\nrepeat until <(Tycoon control) = [1]>\n    if <<touching color (#00cccc)?> and <<(Money) = [9]> or <(Money) > [9]>>> then\n        change [tycoon control v] by (1)\n        change [money v] by (-9)\n        change [$ per sec. v] by (1)\n        broadcast (Tysig1 v)\n    end\nend\n\nwhen flag clicked\nrepeat until <(Tycoon control) = [2]>\n    if <<touching color (#0033cc)?> and <<(Money) = [20]> or <(Money) > [20]>>> then\n        change [tycoon control v] by (1)\n        change [money v] by (-20)\n        change [$ per sec. v] by (2)\n        broadcast (Tysig2 v)\n    end\nend\n\nwhen flag clicked\nrepeat until <(Tycoon control) = [3]>\n    if <<touching color (#6600cc)?> and <<(Money) = [50]> or <(Money) > [50]>>> then\n        change [tycoon control v] by (1)\n        change [money v] by (-50)\n        change [$ per sec. v] by (2)\n        broadcast (Tysig3 v)\n    end\nend\n\nwhen flag clicked\nrepeat until <(Tycoon control) = [4]>\n    if <<touching color (#cc0099)?> and <<(Money) = [150]> or <(Money) > [150]>>> then\n        change [tycoon control v] by (1)\n        change [money v] by (-150)\n        change [$ per sec. v] by (10)\n        broadcast (Tysig4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <($ per sec.) = [3]> then\n        repeat until <<(Tycoon control) = [3]> or <(Tycoon control) = [0]>>\n            change [money v] by (3)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <($ per sec.) = [1]> then\n        repeat until <<(Tycoon control) = [2]> or <(Tycoon control) = [0]>>\n            change [money v] by (1)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <($ per sec.) = [5]> then\n        repeat until <<(Tycoon control) = [4]> or <(Tycoon control) = [0]>>\n            change [money v] by (5)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <($ per sec.) = [15]> then\n        repeat until <<(Tycoon control) = [5]> or <(Tycoon control) = [0]>>\n            change [money v] by (15)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (-130) y: (100)\nforever\n    change [y v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching color (#00cc44)?> then\n        change y by (1)\n        if <touching color (#00cc44)?> then\n            change y by (1)\n            if <touching color (#00cc44)?> then\n                change y by (1)\n                if <touching color (#00cc44)?> then\n                    change y by (1)\n                    if <touching color (#00cc44)?> then\n                        change y by (1)\n                        if <touching color (#00cc44)?> then\n                            change y by (1)\n                            if <touching color (#00cc44)?> then\n                                change y by (1)\n                                if <key (up arrow v) pressed?> then\n                                    set [y v] to [1]\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 color (#00cc44)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#00cc44)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if  then\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#666600)?> then\n        broadcast (EXIT v)\n    end\nend\n\n@Noob\n\nwhen I receive [level 2 noob v]\nshow\ngo to x: (-52) y: (98)\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I receive [level 9 noob v]\nshow\ngo to x: (135) y: (131)\n\nwhen I receive [noob gone v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (prototype v)?> then\n        play sound [Oof v] until done\n    end\nend\n\n
Use the arrow keys to move.\nAviod the noobs and the lava.\nThe orange things are bounce pads.\nUse the slider labeled "Music" to change the music.\n*There is a secert area, but it dosn't always work.*\nThere are ten levels, all of which are possible.