SUPERMARIO    PLATFORMER!!!
@Stage\n\nwhen flag clicked\nset [pixelate v] to [0]\nforever\n    change [pixelate v] effect by (Pixelate)\nend\n\nwait (1) seconds\nbroadcast (Menu v)\n\nwhen I receive [menu v]\nswitch backdrop to (menu v) and wait\n\nwhen I receive [play v]\n\nwhen I receive [mobile v]\nswitch backdrop to (menumobile v) and wait\n\nwhen I receive [thumbnail v]\nswitch backdrop to (thumbnail v) and wait\n\nforever\n\nwhen flag clicked\nforever\n    set [background v] to (backdrop [number v])\n    if <(Player) = [2]> then\n        if <(backdrop [number v]) = [25]> then\n            \n        end\n    end\nend\n\nwhen backdrop switches to [level 10f v]\n\nset [brightness v] effect to (-50)\n\nwait () seconds\n\nwhen backdrop switches to [love and fave v]\nforever\n    if <(Player) = [2]> then\n        if <(backdrop [number v]) = [25]> then\n            broadcast (End 2P v)\n            if <(P1 Score) > (P2 Score)> then\n                switch backdrop to (p1 win v) and wait\n            end\n            if <(P2 Score) > (P1 Score)> then\n                switch backdrop to (p2 win v) and wait\n            end\n            if <(P1 Score) = (P2 Score)> then\n                switch backdrop to (tie v) and wait\n            end\n        end\n    end\nend\n\nswitch backdrop to (thumbnail v)\n\nbroadcast (Thumbnail v)\n\nwait (1) seconds\n\nwait (1) seconds\n\nwhen I receive [play v]\nwait (1.2) seconds\nclear graphic effects\n\nwhen I receive [next level v]\nset [next level v] to [1]\nnext backdrop\nwait (1) seconds\nset [pixelate v] to [20]\nwait (.5) seconds\nnext backdrop\nset [pixelate v] to [-20]\nwait (.5) seconds\nset [pixelate v] to [0]\nclear graphic effects\nwait (.5) seconds\nset [next level v] to [0]\n\nnext backdrop\n\nswitch backdrop to ((backdrop [number v]) + (2))\n\nswitch backdrop to (backdrop2 v)\nwait (1.4) seconds\nswitch backdrop to ((backdrop [number v]) - (1))\n\nwait (.1) seconds\n\nset [pixelate v] effect to (0)\n\nwhen I receive [died v]\n\nbroadcast (Thumbnail v)\n\n@Sound\n\nwhen I receive [death v]\nif <<(Death FX) = [1]> and <(Next Level) = [0]>> then\n    go to [front v] layer\n    show\n    set [ghost v] effect to (20)\nend\n\nwhen I receive [play v]\nhide\nwait (.1) seconds\n\nwhen I receive [play v]\nset [sound v] to [1]\nstop all sounds\nwait (.1) seconds\nhide\nforever\n    if <(Sound) = [1]> then\n        repeat until <<(Sound) = [2]> or <<(Sound) = [0]> or <(Sound) = [3]>>>\n            play sound [Free Video Game Music - HeatleyBros - 8 Bit Summer v] until done\n        end\n    end\nend\n\nwhen I receive [sound 2 v]\nset [sound v] to [2]\nstop all sounds\nhide\nforever\n    if <(Sound) = [2]> then\n        repeat until <(Sound) = [1]>\n            play sound [Free Video Game Music - HeatleyBros - 8 Bit Select v] until done\n        end\n    end\nend\n\nwhen I receive [end 2p v]\nset [sound v] to [3]\nstop all sounds\nhide\nforever\n    if <(Sound) = [3]> then\n        repeat until <(Sound) = [2]>\n            play sound [Free Video Game Music - HeatleyBros - 8 Bit Win v] until done\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [death fx v]\n\n@Title\n\nwhen I receive [player select v]\nhide\n\nwhen I receive [help v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen I receive [thumbnail v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [settings v]\nhide\n\nwhen flag clicked\nwait (3) seconds\nbroadcast (Menu v)\nbroadcast (Sound 2 v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [level select v]\nhide\n\nwhen I receive [menu v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (100)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\n@Play\n\nwhen I receive [menu v]\nset [background v] to (backdrop [number v])\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (-10)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen this sprite clicked\nhide\nbroadcast (Play v)\nbroadcast (Bug v)\nset [pixelate v] to [20]\nwait (.5) seconds\nswitch backdrop to (level 1f v)\nwait (.1) seconds\nset [pixelate v] to [-20]\nwait (.5) seconds\nset [pixelate v] to [0]\nwait (1.4) seconds\nswitch backdrop to (level 1 v)\n\nwhen I receive [help v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [settings v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [level select v]\nhide\n\n@Levelselct\n\nwhen I receive [menu v]\nswitch costume to (costume1 v)\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (-100) y: (-120)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [play v]\nhide\n\nwhen this sprite clicked\nbroadcast (Level select v)\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [help v]\nhide\n\nwhen I receive [settings v]\nhide\n\n@Levels\n\nwhen I receive [level select v]\nswitch backdrop to (level 1 v)\nswitch costume to (costume s v)\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [play v]\nhide\n\nwhen this sprite clicked\nnext costume\nif <<(backdrop [number v]) < [25]> and <(backdrop [number v]) > [2]>> then\n    next backdrop\n    next backdrop\nelse\n    switch backdrop to (level 1 v)\n    switch costume to (costume2 v)\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [help v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [unpause v]\nhide\n\nwhen flag clicked\nif <(costume [number v]) = [1]> then\n    switch backdrop to (backdrop2 v)\nend\n\n@Help\n\nwhen I receive [menu v]\nswitch costume to (costume1 v)\nset [clone count1 v] to [0]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (-120)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [play v]\nhide\n\nwhen this sprite clicked\nnext costume\nbroadcast (Help v)\nif <(clone count1) = [0]> then\n    create clone of (_myself_ v)\n    hide\nend\n\nwhen I receive [settings v]\nhide\n\nwhen I receive [level select v]\nhide\n\nhide\n\nwhen I start as a clone\nchange [clone count1 v] by (1)\nset [menu v] to [0]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\ngo [forward v] (1) layers\nshow\nforever\n    if <(Menu) = [1]> then\n        hide\n        wait (1) seconds\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\n    if <(Menu) = [0]> then\n        if <(costume [number v]) = [1]> then\n            next costume\n        end\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwait (1) seconds\nset [menu v] to [1]\n\n@Settings\n\nwhen I receive [menu v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (100) y: (-120)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [play v]\nhide\n\nwhen this sprite clicked\nbroadcast (Settings v)\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [help v]\nhide\n\nwhen I receive [level select v]\nhide\n\n@Menu\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [pause v]\ngo to x: (0) y: (-110)\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen this sprite clicked\nwait (.1) seconds\nset [sound v] to [2]\nbroadcast (Menu v)\nwait (.1) seconds\nbroadcast (Sound 2 v)\n\nwhen I receive [unpause v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [unpause 2 v]\nhide\n\n@retry\n\nwhen I receive [pause v]\nswitch costume to (costume 1 v)\ngo to x: (0) y: (30)\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\ngo [forward v] (1) layers\n\nwhen I receive [menu v]\nhide\n\nwhen this sprite clicked\nbroadcast (Unpause v)\nbroadcast (Play v)\nswitch backdrop to (Background)\nhide\n\nwhen I receive [unpause v]\nhide\n\nwhen I receive [play v]\n\nforever\nend\n\nif <key (r v) pressed?> then\n    broadcast (Unpause v)\n    switch backdrop to (Background)\n    hide\nend\n\nwhen I receive [unpause 2 v]\nhide\n\nwhen I receive [level select v]\nswitch costume to (costume2 v)\ngo to x: (0) y: (-100)\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@pause\n\nwhen I receive [play v]\ngo to x: (-193) y: (135)\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [menu v]\nhide\n\nwhen this sprite clicked\nbroadcast (Pause v)\nset [background v] to (backdrop [number v])\n\nwhen I receive [pause v]\nhide\n\nwhen this sprite clicked\n\nbroadcast (Thumbnail v)\n\nwhen I receive [unpause v]\ngo to x: (-193) y: (135)\ngo [forward v] (1) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [unpause 2 v]\ngo to x: (-193) y: (135)\ngo [forward v] (1) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nnext backdrop\n\nnext backdrop\n\nswitch backdrop to (Background)\n\nwhen flag clicked\nforever\n    change [pixelate v] effect by (Pixelate)\nend\n\nwhen I receive [next level v]\nwait (2.2) seconds\nclear graphic effects\n\nwhen I receive [play v]\nwait (1.2) seconds\nclear graphic effects\n\nwhen I receive [thumbnail v]\nhide\n\n@RPause\n\nwhen I receive [pause v]\ngo to x: (0) y: (100)\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\ngo [forward v] (1) layers\n\nwhen I receive [menu v]\nhide\n\nwhen this sprite clicked\nbroadcast (Unpause 2 v)\nhide\n\nwhen I receive [pause v]\nshow\n\nwait (.1) seconds\n\nif <(backdrop [number v]) = [1]> then\n    switch backdrop to (level 1 v)\nend\n\nwhen I receive [unpause v]\nhide\n\nswitch backdrop to (Background)\nhide\n\nwhen flag clicked\nset [pixelate v] effect to (0)\n\nwhen I receive [thumbnail v]\nhide\n\n@Skip\n\nwhen I receive [pause v]\ngo to x: (0) y: (-40)\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\ngo [forward v] (1) layers\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [unpause v]\nhide\n\nwhen this sprite clicked\nif <(Next Level) = [0]> then\n    broadcast (Next Level v)\n    wait (1.5) seconds\n    set [background v] to (backdrop [number v])\nend\n\nwhen I receive [unpause 2 v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\n@UpArrow\n\nwhen this sprite clicked\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nforever\n\nif  then\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [play v]\nif <(Computer) = [0]> then\n    if <(Player) = [1]> then\n        wait (.1) seconds\n        go to [front v] layer\n        switch costume to (costume2 v)\n        show\n        go to x: (185) y: (-130)\n        forever\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                set [up v] to [1]\n                change size by ((.2) * ((115) - (size)))\n            else\n                set [up v] to [0]\n                change size by ((.2) * ((100) - (size)))\n            end\n        end\n    end\nend\n\nwhen I receive [computer v]\n\nforever\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@LeftArrow\n\nwhen I receive [play v]\nif <(Computer) = [0]> then\n    if <(Player) = [1]> then\n        wait (.1) seconds\n        go to [front v] layer\n        switch costume to (costume2 v)\n        show\n        go to x: (-185) y: (-130)\n        forever\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                set [left v] to [1]\n                change size by ((.2) * ((115) - (size)))\n            else\n                set [left v] to [0]\n                change size by ((.2) * ((100) - (size)))\n            end\n        end\n    end\nend\n\nbroadcast (Help v)\nhide\n\nif  then\n\nforever\n\nwhen this sprite clicked\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [computer v]\n\nforever\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@RightArrow\n\nwhen I receive [play v]\nif <(Computer) = [0]> then\n    if <(Player) = [1]> then\n        wait (.1) seconds\n        go to [front v] layer\n        switch costume to (costume2 v)\n        show\n        go to x: (-85) y: (-130)\n        forever\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                set [right v] to [1]\n                change size by ((.2) * ((115) - (size)))\n            else\n                set [right v] to [0]\n                change size by ((.2) * ((100) - (size)))\n            end\n        end\n    end\nend\n\nbroadcast (Help v)\n\nif  then\n\nforever\n\nwhen this sprite clicked\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [computer v]\n\nforever\nend\n\nhide\n\nstop [other scripts in sprite v]\n\nwhen I receive [thumbnail v]\nhide\n\n@RightArrow2\n\nwhen I receive [play v]\nif <(Computer) = [0]> then\n    if <(Player) = [1]> then\n        wait (.1) seconds\n        go to [front v] layer\n        show\n        go to x: (185) y: (125)\n        forever\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                set [next v] to [1]\n                change size by ((.2) * ((115) - (size)))\n            else\n                set [next v] to [0]\n                change size by ((.2) * ((100) - (size)))\n            end\n        end\n    end\nend\n\nbroadcast (Help v)\n\nif  then\n\nforever\n\nwhen this sprite clicked\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [computer v]\nforever\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@1 Player\n\nwhen I receive [player select v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (-75) y: (-20)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((95) - (size)))\n    else\n        change size by ((.2) * ((80) - (size)))\n    end\nend\n\nwhen I receive [control select v]\nhide\n\nwhen this sprite clicked\nbroadcast (Play v)\nbroadcast (1 Player v)\nswitch backdrop to (level 1 v)\nhide\n\nbroadcast (Computer v)\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [2 players v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\n@2 Player\n\nwhen I receive [player select v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (75) y: (-20)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((95) - (size)))\n    else\n        change size by ((.2) * ((80) - (size)))\n    end\nend\n\nwhen I receive [control select v]\nhide\n\nwhen this sprite clicked\nbroadcast (Play v)\nbroadcast (2 Players v)\nbroadcast (Computer v)\nswitch backdrop to (level 1 v)\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [play v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\n@Player1\n\nwhen I receive [play v]\nwait (1.2) seconds\nif <(Player) = [2]> then\n    go to [front v] layer\n    set [speed v] to [3]\n    set [yv v] to [0]\n    forever\n        if <<key (space v) pressed?> or > then\n            if <touching color (#ffffff)?> then\n                hide\n                broadcast (Next Level v)\n                change [p1 score v] by (1)\n            end\n        end\n        if <key (w v) pressed?> then\n            if <(Falling) < [3]> then\n                set [yv v] to [16]\n            end\n        end\n        if <key (d v) pressed?> then\n            change [xs v] by (Speed)\n        end\n        if <key (a v) pressed?> then\n            change [xs v] by ((0) - (Speed))\n        end\n        if <touching color (#b00000)?> then\n            hide\n            go to x: (-300) y: (300)\n            if <(Reset) = [1]> then\n                set [reset v] to [0]\n                switch backdrop to (Background)\n                broadcast (Play v)\n            end\n            if <(Reset) = [0]> then\n                wait (1) seconds\n                set [reset v] to [1]\n            end\n        end\n        if <touching color (#ffa640)?> then\n            hide\n            go to x: (-300) y: (300)\n            if <(Reset) = [1]> then\n                set [reset v] to [0]\n                switch backdrop to (Background)\n                broadcast (Play v)\n            end\n            if <(Reset) = [0]> then\n                wait (1) seconds\n                set [reset v] to [1]\n            end\n        end\n        set [xs v] to ((xs) * (.8))\n        change [yv v] by (Gravity)\n        Steps [1]\n    end\nend\n\nshow\n\nwait (1) seconds\n\nbroadcast (Next Level v) and wait\n\nwhen I receive [menu v]\nset [p1 score v] to [0]\nhide\n\nwhen backdrop switches to [level 3 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (50)\n    set [gravity v] to [-1]\n    set size to (35) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 2 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (50)\n    set [gravity v] to [-1]\n    set size to (35) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 4 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (0)\n    set [gravity v] to [-1]\n    set size to (40) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 5 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-120) y: (140)\n    set [gravity v] to [-1]\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 6 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-90) y: (100)\n    set [gravity v] to [-1]\n    switch costume to (costume2 v)\nend\n\ngo to x: (-120) y: (150)\n\nwhen backdrop switches to [level 7 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-100) y: (120)\n    set [gravity v] to [-1]\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 1 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (0)\n    set [gravity v] to [-1]\n    set size to (50) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 8 v]\nif <(Player) = [2]> then\n    show\n    go to x: (145) y: (9)\n    set [gravity v] to [-1]\n    set size to (45) %\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [thumbnail v]\nhide\n\n\n\nif <not <(backdrop [number v]) = [2]>> then\n\nset [color v] effect to (0)\n\nbroadcast (Unpause v)\n\nbroadcast (Unpause v)\n\nwhen backdrop switches to [level 11 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-135) y: (-50)\n    set [gravity v] to [-1]\n    set size to (37) %\n    switch costume to (costume1 v)\nend\n\nwait (1) seconds\n\nchange x by (10)\n\nwhen I receive [next level v]\nif <(Player) = [2]> then\n    hide\n    wait (2.2) seconds\n    show\nend\n\nbroadcast (Unpause v)\nswitch backdrop to (Background)\n\nwhen backdrop switches to [level 10 v]\nif <(Player) = [2]> then\n    show\n    go to x: (200) y: (100)\n    set [gravity v] to [-1]\n    set size to (45) %\n    switch costume to (costume1 v)\nend\n\nwhen I receive [end 2p v]\nshow\ngo to x: (-80) y: (50)\n\nforever\n    hide\nend\n\nwhen I receive [1 player v]\n\nwhen backdrop switches to [level 9 v]\nif <(Player) = [2]> then\n    show\n    go to x: (155) y: (25)\n    set [gravity v] to [-1]\n    set size to (45) %\n    switch costume to (costume1 v)\nend\n\ndefine Steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((xs) / (steps))\n    if <touching color (#000000)?> then\n        set x to (last value)\n        set [xv v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((yv) / (steps))\n    if <touching color (#000000)?> then\n        set y to (last value)\n        if <(yv) < [0]> then\n            set [falling v] to [0]\n        end\n        set [yv v] to [0]\n    end\nend\n\n@Player2\n\nwhen I receive [play v]\nwait (1.2) seconds\nif <(Player) = [2]> then\n    go to [front v] layer\n    set [speed v] to [3]\n    set [yv v] to [0]\n    forever\n        if <key (space v) pressed?> then\n            if <touching color (#ffffff)?> then\n                hide\n                broadcast (Next Level v)\n                change [p2 score v] by (1)\n            end\n        end\n        if <key (up arrow v) pressed?> then\n            if <(Falling) < [3]> then\n                set [yv v] to [16]\n            end\n        end\n        if <key (right arrow v) pressed?> then\n            change [xv v] by (Speed)\n        end\n        if <key (left arrow v) pressed?> then\n            change [xv v] by ((0) - (Speed))\n        end\n        if <touching color (#b00000)?> then\n            hide\n            go to x: (-300) y: (300)\n            if <(Reset) = [1]> then\n                set [reset v] to [0]\n                switch backdrop to (Background)\n                broadcast (Play v)\n            end\n            if <(Reset) = [0]> then\n                wait (1) seconds\n                set [reset v] to [1]\n            end\n        end\n        if <touching color (#ffa640)?> then\n            hide\n            go to x: (-300) y: (300)\n            if <(Reset) = [1]> then\n                set [reset v] to [0]\n                switch backdrop to (Background)\n                broadcast (Play v)\n            end\n            if <(Reset) = [0]> then\n                wait (1) seconds\n                set [reset v] to [1]\n            end\n        end\n        set [xv v] to ((xv) * (.8))\n        change [yv v] by (Gravity)\n        Steps [1]\n    end\nend\nwait (1) seconds\n\nshow\n\nwait (1) seconds\n\nbroadcast (Next Level v) and wait\n\nwhen I receive [menu v]\nset [p2 score v] to [0]\nhide\n\nwhen backdrop switches to [level 3 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (0)\n    set [gravity v] to [-1]\n    set size to (35) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 2 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (0)\n    set [gravity v] to [-1]\n    set size to (35) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 4 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (40)\n    set [gravity v] to [-1]\n    set size to (40) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 5 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-120) y: (110)\n    set [gravity v] to [-1]\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 6 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-90) y: (150)\n    set [gravity v] to [-1]\n    switch costume to (costume6 v)\nend\n\ngo to x: (-120) y: (150)\n\nwhen backdrop switches to [level 7 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-100) y: (70)\n    set [gravity v] to [-1]\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 1 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-150) y: (50)\n    set [gravity v] to [-1]\n    set size to (50) %\n    switch costume to (costume1 v)\nend\n\nwhen backdrop switches to [level 8 v]\nif <(Player) = [2]> then\n    show\n    go to x: (145) y: (72)\n    set [gravity v] to [-1]\n    set size to (45) %\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwait (1) seconds\nset [reset v] to [1]\n\nbroadcast (Unpause v)\n\nwhen backdrop switches to [level 11 v]\nif <(Player) = [2]> then\n    show\n    go to x: (-135) y: (0)\n    set [gravity v] to [-1]\n    set size to (37) %\n    switch costume to (costume1 v)\nend\n\nhide\n\nif <(Player) = [1]> then\n\nwhen backdrop switches to [level 10 v]\nif <(Player) = [2]> then\n    show\n    go to x: (200) y: (50)\n    set [gravity v] to [-1]\n    set size to (45) %\n    switch costume to (costume1 v)\nend\n\nwhen I receive [end 2p v]\nshow\ngo to x: (130) y: (50)\n\nbroadcast (Unpause v)\n\nforever\n\nwhen I receive [next level v]\nif <(Player) = [2]> then\n    hide\n    wait (2.4) seconds\n    show\nend\n\nwhen I receive [1 player v]\n\nwhen backdrop switches to [level 9 v]\nif <(Player) = [2]> then\n    show\n    go to x: (155) y: (50)\n    set [gravity v] to [-1]\n    set size to (45) %\n    switch costume to (costume1 v)\nend\n\ndefine Steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((xv) / (steps))\n    if <touching color (#000000)?> then\n        set x to (last value)\n        set [xv v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((yv) / (steps))\n    if <touching color (#000000)?> then\n        set y to (last value)\n        if <(yv) < [0]> then\n            set [falling v] to [0]\n        end\n        set [yv v] to [0]\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@Player\n\nwhen I receive [play v]\nwait (1) seconds\nif <(Player) = [1]> then\n    show\n    set [speed v] to [3]\n    set [yv v] to [0]\n    forever\n        if <<key (space v) pressed?> or <(Next) = [1]>> then\n            if <touching color (#ffffff)?> then\n                switch costume to (costume0 v)\n                hide\n                broadcast (Next Level v)\n            end\n        end\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <(Up) = [1]>>> then\n            if <(Falling) < [3]> then\n                set [yv v] to [15]\n            end\n        end\n        if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <(Right) = [1]>>> then\n            change [xv v] by (Speed)\n        end\n        if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <(Left) = [1]>>> then\n            change [xv v] by ((0) - (Speed))\n        end\n        if <touching color (#b00000)?> then\n            wait (.1) seconds\n            broadcast (Death v)\n        end\n        if <touching color (#ffa640)?> then\n            wait (.1) seconds\n            broadcast (Death v)\n        end\n        set [xv v] to ((xv) * (.8))\n        change [yv v] by (Gravity)\n        Steps [1]\n    end\nend\n\nclear graphic effects\n\ngo to [front v] layer\n\nwhen I receive [menu v]\ngo to x: (180) y: (0)\nhide\n\nwhen backdrop switches to [level 2 v]\nif <(Player) = [1]> then\n    switch costume to (costume2 v)\n    set size to (35) %\n    set [gravity v] to [-2]\n    wait (.5) seconds\n    go to x: (-150) y: (0)\nend\n\nwait (.5) seconds\n\nshow\n\nwhen backdrop switches to [level 5 v]\nif <(Player) = [1]> then\n    switch costume to (costume5 v)\n    set size to (40) %\n    set [gravity v] to [-2]\n    wait (.5) seconds\n    go to x: (-120) y: (150)\nend\n\nshow\n\nwhen backdrop switches to [level 6 v]\nif <(Player) = [1]> then\n    switch costume to (costume6 v)\n    set size to (40) %\n    set [gravity v] to [-2]\n    wait (.5) seconds\n    go to x: (-120) y: (75)\nend\n\nshow\n\nwhen backdrop switches to [level 7 v]\nif <(Player) = [1]> then\n    switch costume to (costume7 v)\n    set size to (40) %\n    set [gravity v] to [-2]\n    wait (.5) seconds\n    go to x: (-120) y: (150)\nend\n\nshow\n\nwhen backdrop switches to [level 8 v]\nif <(Player) = [1]> then\n    switch costume to (costume8 v)\n    set size to (45) %\n    set [gravity v] to [-1]\n    wait (.5) seconds\n    go to x: (145) y: (27)\nend\n\nshow\n\nwhen flag clicked\nset [next level v] to [0]\ngo to [front v] layer\nforever\n    set drag mode [not draggable v]\n    if <(backdrop [name v]) = [Bonus Level F]> then\n        hide\n    end\n    if <(backdrop [name v]) = [Love and Fave]> then\n        hide\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen backdrop switches to [level 10 v]\nif <(Player) = [1]> then\n    set size to (45) %\n    switch costume to (costume10 v)\n    set [gravity v] to [-1]\n    wait (.5) seconds\n    go to x: (200) y: (50)\nend\n\nshow\n\nwhen I receive [unpause v]\nif <(Player) = [1]> then\n    switch backdrop to (Background)\n    clear graphic effects\n    show\nend\n\nwhen backdrop switches to [level 11 v]\nif <(Player) = [1]> then\n    switch costume to (costume11 v)\n    set size to (37) %\n    set [gravity v] to [-1.4]\n    wait (.5) seconds\n    go to x: (-135) y: (0)\nend\n\nshow\n\nbroadcast (Sound v)\n\nbroadcast (Unpause v)\n\nshow variable [death fx v]\n\nwhen backdrop switches to [bonus level v]\nif <(Player) = [1]> then\n    switch costume to (costume12 v)\n    set size to (37) %\n    set [gravity v] to [-1]\n    wait (.5) seconds\n    go to x: (-135) y: (0)\nend\n\nshow\n\nswitch costume to (costume0 v)\n\nwait (.1) seconds\n\nwait (1.2) seconds\n\nwhen [b v] key pressed\n\nwhen I receive [next level v]\nif <(Player) = [1]> then\n    hide\n    wait (2) seconds\n    show\nend\n\nshow\n\nwhen backdrop switches to [level 4 v]\nif <(Player) = [1]> then\n    switch costume to (costume4 v)\n    set size to (40) %\n    set [gravity v] to [-1.6]\n    wait (.5) seconds\n    go to x: (-150) y: (20)\nend\n\nshow\n\nwhen backdrop switches to [level 3 v]\nif <(Player) = [1]> then\n    switch costume to (costume3 v)\n    set size to (35) %\n    set [gravity v] to [-2]\n    wait (.5) seconds\n    go to x: (-150) y: (0)\nend\n\nshow\n\nwhen backdrop switches to [level 1 v]\nif <(Player) = [1]> then\n    go to x: (-150) y: (0)\n    set [gravity v] to [-2]\n    switch costume to (costume2 v)\n    show\n    set size to (50) %\nend\n\nwhen I receive [death v]\nif <<(Death FX) = [1]> and <(Next Level) = [0]>> then\n    set [brightness v] effect to (-50)\n    set [yv v] to [15]\n    set [sound v] to [0]\n    stop all sounds\n    wait (.1) seconds\n    start sound [Emotional Piano v]\n    wait (1.1) seconds\n    hide\n    wait (7) seconds\n    clear graphic effects\nend\nswitch backdrop to (Background)\nbroadcast (Play v)\nset [sound v] to [1]\n\nwait (1) seconds\n\nshow\n\nshow\n\nwhen backdrop switches to [level 1f v]\nwait (.5) seconds\nhide\n\ndefine Steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((xv) / (steps))\n    if <touching color (#000000)?> then\n        set x to (last value)\n        set [xv v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((yv) / (steps))\n    if <touching color (#000000)?> then\n        set y to (last value)\n        if <(yv) < [0]> then\n            set [falling v] to [0]\n        end\n        set [yv v] to [0]\n    end\nend\n\nwhen backdrop switches to [level 9 v]\nif <(Player) = [1]> then\n    switch costume to (costume9 v)\n    set size to (45) %\n    set [gravity v] to [-1]\n    wait (.5) seconds\n    go to x: (155) y: (125)\nend\n\nwhen I receive [2 players v]\nforever\n    go to x: (-300) y: (300)\n    hide\nend\n\n@Text\n\nwhen I receive [player select v]\nwait (.1) seconds\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\ngo to x: (0) y: (110)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [control select v]\nswitch costume to (costume2 v)\n\nwhen I receive [menu v]\nhide\n\nhide\n\nwhen I receive [2 players v]\nswitch costume to (costume2 v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\n@X\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [player select v]\ngo to x: (195) y: (135)\ngo [forward v] (1) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Menu v)\nset [menu v] to [1]\n\nwhen I receive [play v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [help v]\ngo to x: (195) y: (135)\ngo [forward v] (1) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [settings v]\ngo to x: (195) y: (135)\ngo [forward v] (1) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [level select v]\ngo to x: (195) y: (135)\ngo [forward v] (1) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((120) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\n@wr\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [play v]\nif <(Player) = [2]> then\n    go to x: (148) y: (-143)\n    go [forward v] (1) layers\n    show\n    forever\n        switch costume to (P1 Score)\n    end\nend\n\nif <touching (mouse-pointer v)?> then\n    change size by ((.2) * ((120) - (size)))\nelse\n    change size by ((.2) * ((100) - (size)))\nend\n\nwhen I receive [1 player v]\nforever\n    hide\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [end 2p v]\ngo to x: (-102) y: (130)\n\n@P2 Score\n\nwhen I receive [play v]\nif <(Player) = [2]> then\n    go to x: (203) y: (-143)\n    go [forward v] (1) layers\n    show\n    forever\n        switch costume to (P2 Score)\n    end\nend\n\nif <touching (mouse-pointer v)?> then\n    change size by ((.2) * ((120) - (size)))\nelse\n    change size by ((.2) * ((100) - (size)))\nend\n\nwhen I receive [1 player v]\nforever\n    hide\nend\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [end 2p v]\ngo to x: (102) y: (130)\n\nwhen flag clicked\nhide\n\nwhen I receive [thumbnail v]\nhide\n\n@Death effect\n\nwhen I receive [settings v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (75)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [player select v]\nhide\n\nwhen I receive [help v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen this sprite clicked\nnext costume\nif <(costume [number v]) = [1]> then\n    set [death fx v] to [1]\nend\nif <(costume [number v]) = [2]> then\n    set [death fx v] to [0]\nend\n\nbroadcast (Menu v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [settings v]\nhide\n\nforever\n\nwhen I receive [menu v]\nhide\n\nshow variable [death fx v]\n\n\n\n\nbroadcast (Sound 2 v)\nwait (.1) seconds\nglide (.5) secs to x: (0) y: (100)\n\nwhen flag clicked\nset [death fx v] to [1]\nswitch costume to (costume1 v)\n\n@Touch Controls\n\nwhen I receive [settings v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [player select v]\nhide\n\nwhen I receive [help v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen this sprite clicked\nnext costume\nif <(costume [number v]) = [1]> then\n    set [computer v] to [0]\nend\nif <(costume [number v]) = [2]> then\n    set [computer v] to [1]\nend\n\nbroadcast (Menu v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [settings v]\nhide\n\nforever\n\nwhen I receive [menu v]\nhide\n\nshow variable [death fx v]\n\n\n\n\nbroadcast (Sound 2 v)\nwait (.1) seconds\nglide (.5) secs to x: (0) y: (100)\n\nwhen flag clicked\nset [computer v] to [1]\nswitch costume to (costume2 v)\n\nbroadcast (Computer v)\n\n@2 Player2\n\nwhen I receive [settings v]\nwait (.1) seconds\ngo to [front v] layer\nshow\ngo to x: (0) y: (-75)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by ((.2) * ((115) - (size)))\n    else\n        change size by ((.2) * ((100) - (size)))\n    end\nend\n\nwhen I receive [player select v]\nhide\n\nwhen I receive [help v]\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nwhen this sprite clicked\nnext costume\nif <(costume [number v]) = [1]> then\n    set [player v] to [2]\nend\nif <(costume [number v]) = [2]> then\n    set [player v] to [1]\nend\n\nbroadcast (Menu v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [settings v]\nhide\n\nforever\n\nwhen I receive [menu v]\nhide\n\nshow variable [death fx v]\n\n\n\n\nbroadcast (Sound 2 v)\nwait (.1) seconds\nglide (.5) secs to x: (0) y: (100)\n\nwhen flag clicked\nset [player v] to [1]\nswitch costume to (costume2 v)\n\nbroadcast (Computer v)\n\n@Fav\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [25]> then\n        if <touching (mouse-pointer v)?> then\n            wait (3) seconds\n            switch backdrop to (bonus level v)\n            broadcast (Unpause v)\n            stop [this script v]\n        end\n        if <key (b v) pressed?> then\n            switch backdrop to (bonus level v)\n            broadcast (Unpause v)\n            stop [this script v]\n        end\n    end\nend\n\n@Virus\n\nwhen flag clicked\n\nwhen flag clicked\nset [bug v] to [1]\nswitch costume to (costume1 v)\nhide\nset size to (50) %\nforever\n    if <(Bug) = [1]> then\n        switch costume to (costume1 v)\n        wait (0.01) seconds\n        switch costume to (costume2 v)\n    end\n    if <(Bug) = [0]> then\n        switch costume to (costume4 v)\n        wait (0.01) seconds\n        switch costume to (costume3 v)\n    end\nend\n\nswitch costume to (costume4 v)\nwait (0.01) seconds\nswitch costume to (costume3 v)\n\nwhen I receive [play v]\n\nwhen I receive [bug v]\ngo to x: (-365) y: (-12)\nwait (1.2) seconds\nshow\nglide (2) secs to x: (365) y: (-12)\nhide\n\nwhen backdrop switches to [bonus level tfp v]\ngo to x: (-365) y: (-12)\nwait (1.2) seconds\nshow\nglide (2) secs to x: (150) y: (6)\nset [bug v] to [0]\nnext backdrop\nglide (2) secs to x: (150) y: (240)\nhide\nnext backdrop\n\nnext costume\n\nswitch costume to (costume1 v)\nwait (0.01) seconds\nswitch costume to (costume2 v)\n\n@Intro\n\nwhen flag clicked\ngo to [front v] layer\nwait (.1) seconds\ngo to [front v] layer\ngo to [front v] layer\nset [clone v] to [0]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\ncreate clone of (_myself_ v)\nwait (.4) seconds\ncreate clone of (_myself_ v)\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone) = [0]> then\n    go to x: (0) y: (0)\n    set size to (600) %\n    switch costume to (costume3 v)\n    go to [front v] layer\n    repeat (10)\n        change size by (-5)\n    end\n    set [clone v] to [1]\n    repeat (21)\n        change x by (10)\n    end\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I start as a clone\nif <(clone) = [1]> then\n    go to [front v] layer\n    go [backward v] (1) layers\n    go to x: (200) y: (-10)\n    switch costume to (costume2 v)\n    repeat (20)\n        change x by (-10)\n    end\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\n
WASD to move\nArrow Keys to look around\nSpacebar to jump\nPress N to toggle Neon Mode(Laggier but Cooler) SEIZURE WARNING\nGet to the Green Cube(jump inside it)\nAvoid red Cubes\nYellow Cubes make you jump as high as you were, You need to jump on the same yellow cube more than once.