Platformer Cat (☁ Multiplayer online) V 2.9

Instructions: Touch the arrows to move, Aprieta las flechas para moverte.\n\nPara poder Jugar tienes que ser Scratcher sino no funciona, In order to play you have to be a Scratcher, otherwise it doesn't work.

@Stage\n\nwhen I receive [entrando v]\nforever\n    set [pitch v] effect to (10)\n    play sound [RUDE - Eternal Youth \(1\) v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (Volumen) %\nend\n\nwhen I receive [teletransportacion! v]\nswitch backdrop to (fondo5 v)\nclear graphic effects\n\nwhen I receive [entrando v]\nforever\n    wait (20) seconds\n    repeat (40)\n        change [color v] effect by (1)\n    end\n    wait (20) seconds\n    repeat (40)\n        change [color v] effect by (-1)\n    end\nend\n\nwhen I receive [entrando/intentando v]\nset [dentro? v] to [0]\nswitch backdrop to (fondo4 v) and wait\nclear graphic effects\nforever\n    switch backdrop to (fondo4 v)\n    set [ghost v] effect to (2)\nend\n\nwhen flag clicked\nswitch backdrop to (fondo4 v)\n\nwhen flag clicked\nswitch backdrop to (fondo4 v)\nrepeat until <not <(P ID) = [0]>>\n    set [pitch v] effect to (-30)\n    play sound [Triumph v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (Volumen) %\nend\n\n@Cargador\n\nwhen flag clicked\nset [p id v] to [0]\ngo to x: (0) y: (0)\nshow\nswitch costume to (disfraz12 v)\npoint in direction (90)\nset voice to (squeak v)::tts\nset language to ((language::translate) v)::tts\nbroadcast (cloud data v)\nset [1,2,3... v] to [0]\nif < (Usuarios) contains (username)?> then\n    set [premios v] to (pick random (1) to (0))\n    speak (translate (join [Hola  de   Nuevo,   ] (username)) to ((language::translate) v)::translate)::tts\nelse\n    add (username) to [usuarios v]\n    change [1,2,3... v] by (1)\n    speak (translate (join [Hola,] (username)) to ((language::translate) v)::translate)::tts\nend\nspeak (translate [Aprieta "Play" para jugar] to ((language::translate) v)::translate)::tts\nshow\nswitch costume to (disfraz12 v)\nrepeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\nend\nbroadcast (ENTRANDO/INTENTANDO v) and wait\nstop [this script v]\n\nwhen I receive [entrando v]\nforever\n    if <(P ID) = [1]> then\n        set [☁ gato azul conectado v] to (lvl)\n    end\n    if <(P ID) = [2]> then\n        set [☁ gato rojo conectado v] to (lvl)\n    end\n    if <(P ID) = [3]> then\n        set [☁ gato verde conectado v] to (lvl)\n    end\nend\n\nwhen I receive [entrando/intentando v]\nset [p id v] to []\nclear graphic effects\nswitch costume to (disfraz11 v)\nset language to ((language::translate) v)::tts\nstart sound [Dance Chill Out v]\nset [☁ gato azul conectado v] to [0]\nset voice to (squeak v)::tts\nwait (1.5) seconds\nshow\ngo to x: (0) y: (0)\nspeak (translate [loading] to ((language::translate) v)::translate)::tts\nnext costume\nsay (translate [Cargando.] to ((language::translate) v)::translate) for (0.5) seconds\nset [☁ gato rojo conectado v] to [0]\nsay (translate [Cargando..] to ((language::translate) v)::translate) for (0.5) seconds\nsay (translate [Cargando...] to ((language::translate) v)::translate) for (0.5) seconds\nnext costume\nset [☁ gato verde conectado v] to [0]\nsay (translate [Cargando....] to ((language::translate) v)::translate) for (0.5) seconds\nspeak (translate [loading] to ((language::translate) v)::translate)::tts\nnext costume\nsay (translate [Cargando Requisitos] to ((language::translate) v)::translate) for (1) seconds\nif <(username) = []> then\n    say (translate [Error] to ((language::translate) v)::translate) for (2) seconds\n    say (translate [Inicia sesion o Registrate] to ((language::translate) v)::translate) for (2) seconds\n    ask (translate [Quieres continuar? \( yes = s \)] to ((language::translate) v)::translate) and wait\n    if <(answer) = [s]> then\n        say (translate [Cargando.] to ((language::translate) v)::translate) for (0.7) seconds\n        say (translate [Cargando..] to ((language::translate) v)::translate) for (0.9) seconds\n        say (translate [Cargando...] to ((language::translate) v)::translate) for (0.6) seconds\n        broadcast (preparando v)\n    else\n        say (translate [apagando.] to ((language::translate) v)::translate) for (2) seconds\n        stop [all v]\n    end\nelse\n    say (translate [Cargando.] to ((language::translate) v)::translate) for (0.7) seconds\n    next costume\n    say (translate [Cargando..] to ((language::translate) v)::translate) for (0.9) seconds\n    say (translate [Cargando...] to ((language::translate) v)::translate) for (0.6) seconds\n    next costume\n    say (translate [¿Que gato quieres ser?] to ((language::translate) v)::translate) for (2) seconds\n    speak (translate [¿Que gato quieres ser?] to ((language::translate) v)::translate)::tts\n    next costume\n    if <<(☁ Gato azul Conectado) = [1]> and <<(☁ Gato rojo Conectado) = [1]> and <(☁ Gato verde conectado) = [1]>>> then\n        create clone of (_myself_ v)\n        speak (translate [Servidor lleno] to ((language::translate) v)::translate)::tts\n        say (translate [Servidor lleno] to ((language::translate) v)::translate) for (3) seconds\n        speak (translate [Espere un momento] to ((language::translate) v)::translate)::tts\n        say (translate [Espere un momento] to ((language::translate) v)::translate) for (3) seconds\n        repeat (2)\n            say (translate [Espere un momento.] to ((language::translate) v)::translate) for (0.2) seconds\n            say (translate [Espere un momento..] to ((language::translate) v)::translate) for (0.2) seconds\n        end\n        create clone of (_myself_ v)\n        ask (translate [Modo Espectador?\( si = s \) ] to ((language::translate) v)::translate) and wait\n        if <<(answer) = [s]> or <(answer) = [S]>> then\n            broadcast (ENTRANDO v)\n            set [p id v] to [0]\n            repeat until <not <(P ID) = [0]>>\n                broadcast (ENTRANDO/INTENTANDO v)\n                hide\n            end\n        end\n        broadcast (ENTRANDO/INTENTANDO v)\n    else\n        broadcast (preparando v)\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to (100) %\nend\n\nrepeat (1)\n\nwhen flag clicked\nhide variable [numero de jugadores v]\nset [volumen v] to [20]\nforever\n    set volume to (Volumen) %\n    set [que premio? v] to (pick random (1) to (6))\n    clear graphic effects\nend\n\nwhen I receive [azul v]\nnext costume\nif <(☁ Gato azul Conectado) = [0]> then\n    speak (translate [Esperando a los Jugadores] to ((language::translate) v)::translate)::tts\n    say (translate [Esperando a los Jugadores] to ((language::translate) v)::translate) for (2) seconds\n    next costume\n    set [p id v] to [1]\n    set [☁ gato azul conectado v] to [1]\n    speak (translate [Cargando] to ((language::translate) v)::translate)::tts\n    say (translate [Cargando.] to ((language::translate) v)::translate) for (0.8) seconds\n    say (translate [Cargando..] to ((language::translate) v)::translate) for (0.7) seconds\n    next costume\n    say (translate [Cargando...] to ((language::translate) v)::translate) for (0.9) seconds\n    wait (0.6) seconds\n    speak (translate [ERES EL GATO AZUL] to ((language::translate) v)::translate)::tts\n    next costume\n    say (translate [ERES EL GATO AZUL] to ((language::translate) v)::translate) for (2) seconds\n    broadcast (ENTRANDO v)\n    next costume\n    wait (0.2) seconds\n    hide\nelse\n    say (translate [Ocupado] to ((language::translate) v)::translate) for (2) seconds\nend\nbroadcast (preparando v)\n\nwhen I receive [rojo v]\nnext costume\nif <(☁ Gato rojo Conectado) = [0]> then\n    speak (translate [Esperando a los jugadores] to ((language::translate) v)::translate)::tts\n    say (translate [Esperando a los jugadores] to ((language::translate) v)::translate) for (2) seconds\n    next costume\n    set [p id v] to [2]\n    set [☁ gato rojo conectado v] to [1]\n    speak (translate [Cargando] to ((language::translate) v)::translate)::tts\n    say (translate [Cargando.] to ((language::translate) v)::translate) for (0.8) seconds\n    next costume\n    say (translate [Cargando..] to ((language::translate) v)::translate) for (0.7) seconds\n    say (translate [Cargando...] to ((language::translate) v)::translate) for (0.9) seconds\n    next costume\n    wait (0.6) seconds\n    speak (translate [ERES EL GATO ROJO] to ((language::translate) v)::translate)::tts\n    say (translate [ERES EL GATO ROJO] to ((language::translate) v)::translate) for (2) seconds\n    next costume\n    wait (0.2) seconds\n    broadcast (ENTRANDO v)\n    hide\nelse\n    say (translate [Ocupado] to ((language::translate) v)::translate) for (2) seconds\nend\nbroadcast (preparando v)\n\nwhen I receive [verde v]\nnext costume\nif <(☁ Gato verde conectado) = [0]> then\n    speak (translate [Esperando a los jugadores] to ((language::translate) v)::translate)::tts\n    say (translate [Esperando a los jugadores] to ((language::translate) v)::translate) for (2) seconds\n    next costume\n    set [p id v] to [3]\n    set [☁ gato verde conectado v] to [1]\n    say (translate [Cargando.] to ((language::translate) v)::translate) for (0.8) seconds\n    next costume\n    say (translate [Cargando..] to ((language::translate) v)::translate) for (0.7) seconds\n    say (translate [Cargando...] to ((language::translate) v)::translate) for (0.9) seconds\n    next costume\n    wait (0.6) seconds\n    speak (translate [ERES EL GATO VERDE] to ((language::translate) v)::translate)::tts\n    say (translate [ERES EL GATO VERDE] to ((language::translate) v)::translate) for (2) seconds\n    next costume\n    wait (0.2) seconds\n    broadcast (ENTRANDO v)\n    hide\nelse\n    say (translate [Ocupado] to ((language::translate) v)::translate) for (2) seconds\nend\nbroadcast (preparando v)\n\nwhen I receive [entrando/intentando v]\ngo to x: (0) y: (0)\npoint in direction (90)\nforever\n    hide variable [premios v]\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\nend\n\nhide list [información de usuarios v]\n\nshow list [información de usuarios v]\n\nset [1,2,3... v] to [1]\n\ndelete (1) of [información de usuarios v]\n\ndelete all of [información de usuarios v]\n\n@Carga\n\nwhen I receive [entrando v]\nhide\n\nwhen I receive [azul v]\nrepeat until <(costume [number v]) = [19]>\n    next costume\n    wait (0.7) seconds\nend\nswitch costume to (disfraz21 v)\nwait (1) seconds\nswitch costume to (disfraz10 v)\n\nwhen I receive [rojo v]\nrepeat until <(costume [number v]) = [19]>\n    next costume\n    wait (0.7) seconds\nend\nswitch costume to (disfraz21 v)\nwait (1) seconds\nswitch costume to (disfraz10 v)\n\nwhen I receive [verde v]\nrepeat until <(costume [number v]) = [19]>\n    next costume\n    wait (0.7) seconds\nend\nswitch costume to (disfraz21 v)\nwait (1) seconds\nswitch costume to (disfraz10 v)\n\nwhen I receive [entrando/intentando v]\nshow\ngo to x: (0) y: (-130)\nswitch costume to (disfraz11 v)\nrepeat until <(costume [number v]) = [13]>\n    next costume\n    wait (0.6) seconds\nend\n\nwhen flag clicked\nhide\n\n@cat blue\n\ndefine valor =leer nombre\nset [valor v] to []\nforever\n    set [idx v] to (join (letter (Letra) of (Name)) (letter ((Letra) + (1)) of (Name)))\n    change [letra v] by (2)\n    if <(Idx) < [1]> then\n        stop [this script v]\n    end\n    set [valor v] to (join (valor) (item (Idx) of [code v]))\nend\n\ndefine begin (nombre)\nset [name v] to (nombre)\nset [letra v] to [1]\n\ndefine escribe (valor) to name\nset [letra v] to [1]\nrepeat (length of (valor))\n    set [name v] to (join (Name) (item # of (letter (Letra) of (valor)) in [code v]))\n    change [letra v] by (1)\nend\nset [name v] to (join (Name) [00])\n\nwhen flag clicked\nhide\n\nwhen I receive [entrando v]\nset size to (60) %\nshow\nset [☁ p1 x v] to [-200]\nset [☁ p1 y v] to [-64]\nif <(P ID) = [1]> then\n    go to x: (0) y: (0)\n    go to [front v] layer\n    set [name v] to []\n    escribe (username) to name\n    begin (Name)\n    valor =leer nombre\n    repeat until <not <(P ID) = [1]>>\n        set rotation style [left-right v]\n        if <key (up arrow v) pressed?> then\n            change [☁ p1 y v] by (25)\n            go to [front v] layer\n            if <not <touching (portada/niveles v)?>> then\n                repeat until <touching (portada/niveles v)?>\n                    change [☁ p1 y v] by (-3)\n                    if <key (right arrow v) pressed?> then\n                        change [☁ p1 x v] by (7)\n                        switch costume to (pick random (1) to (2))\n                        point in direction (90)\n                    end\n                    if <key (left arrow v) pressed?> then\n                        change [☁ p1 x v] by (-7)\n                        go to [front v] layer\n                        switch costume to (pick random (1) to (2))\n                        point in direction (-90)\n                    end\n                end\n            end\n        end\n        if <key (right arrow v) pressed?> then\n            change [☁ p1 x v] by (5)\n            switch costume to (pick random (1) to (2))\n            point in direction (90)\n        end\n        if <key (left arrow v) pressed?> then\n            change [☁ p1 x v] by (-5)\n            switch costume to (pick random (1) to (2))\n            point in direction (-90)\n        end\n        show\n        go to [front v] layer\n        if <not <touching (portada/niveles v)?>> then\n            repeat until <touching (portada/niveles v)?>\n                change [☁ p1 y v] by (-3)\n            end\n        end\n        if <(☁ P1 Y) < [-65]> then\n            set [☁ p1 y v] to [-64]\n            set [☁ p1 x v] to [-200]\n        end\n        if <touching (objeto2 v)?> then\n            broadcast (Sigiente lvl v) and wait\n            set [☁ p1 x v] to [-200]\n            set [☁ p1 y v] to [-64]\n            change [☁ gato azul conectado v] by (1)\n            change [lvl v] by (1)\n        end\n        if <touching (objeto3 v)?> then\n            broadcast (Sigiente lvl v) and wait\n            set [☁ p1 x v] to [-200]\n            set [☁ p1 y v] to [-64]\n            change [☁ gato azul conectado v] by (1)\n            change [lvl v] by (-1)\n        end\n        if <touching (lava v)?> then\n            set [☁ p1 x v] to [-200]\n            set [☁ p1 y v] to [-64]\n        end\n        if <<touching color (#3e00ff)?> and <key (up arrow v) pressed?>> then\n            change [☁ p1 y v] by (120)\n        end\n        if <touching color (#00d5ff)?> then\n            change [☁ p1 x v] by (5)\n        end\n    end\nend\n\nwhen I receive [entrando v]\nforever\n    set size to (60) %\n    go to x: (☁ P1 X) y: (☁ P1 Y)\n    if <(P ID) = [1]> then\n        say (translate [You] to ((language::translate) v)::translate)\n        show\n    else\n        if <(☁ Gato azul Conectado) = [0]> then\n            hide\n        else\n            if <(☁ Gato azul Conectado) = (☁ Gato rojo Conectado)> then\n                show\n            else\n                if <(☁ Gato azul Conectado) = (☁ Gato verde conectado)> then\n                    show\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [salta p1 v]\nchange [☁ p1 y v] by (20)\n\nwhen I receive [derecha v]\nchange [☁ p1 x v] by (10)\n\nwhen I receive [izquierda p1 v]\nchange [☁ p1 x v] by (-10)\n\nwhen I receive [preparando v]\ngo to x: (0) y: (0)\nshow\nset size to (100) %\nif <(☁ Gato azul Conectado) > [0]> then\n    switch costume to (ocupado v)\nelse\n    switch costume to (disfraz1 v)\nend\n\nwhen this sprite clicked\nbroadcast (azul v)\nhide\n\nwhen I receive [rojo v]\nhide\n\nwhen I receive [verde v]\nhide\n\nwhen I receive [apagar v]\nhide\n\nwhen I receive [un ganador!!! v]\nhide\n\n@cat red\n\ndefine escribe (valor) to name\nset [letra2 v] to [1]\nrepeat (length of (valor))\n    set [name2 v] to (join (Name2) (item # of (letter (letra2) of (valor)) in [code v]))\n    change [letra2 v] by (1)\nend\nset [name2 v] to (join (Name2) [00])\n\ndefine begin (nombre)\nset [name2 v] to (nombre)\nset [letra2 v] to [1]\n\ndefine valor =leer nombre\nset [valor2 v] to []\nforever\n    set [idx2 v] to (join (letter (letra2) of (Name2)) (letter ((letra2) + (1)) of (Name2)))\n    change [letra2 v] by (2)\n    if <(idx2) < [1]> then\n        stop [this script v]\n    end\n    set [valor2 v] to (join (valor2) (item (idx2) of [code v]))\nend\n\nwhen I receive [entrando v]\nset size to (60) %\nshow\nset [☁ p2 x v] to [170]\nset [☁ p2 y v] to [18]\nif <(P ID) = [2]> then\n    set [name2 v] to []\n    go to [front v] layer\n    escribe (username) to name\n    begin (Name2)\n    valor =leer nombre\n    repeat until <not <(P ID) = [2]>>\n        set rotation style [left-right v]\n        if <key (up arrow v) pressed?> then\n            change [☁ p2 y v] by (25)\n            if <not <touching (portada/niveles v)?>> then\n                repeat until <touching (portada/niveles v)?>\n                    change [☁ p2 y v] by (-3)\n                    if <key (right arrow v) pressed?> then\n                        change [☁ p2 x v] by (5)\n                        switch costume to (pick random (1) to (2))\n                        point in direction (90)\n                    end\n                    if <key (left arrow v) pressed?> then\n                        change [☁ p2 x v] by (-5)\n                        switch costume to (pick random (1) to (2))\n                        point in direction (-90)\n                    end\n                end\n            end\n        end\n        if <key (right arrow v) pressed?> then\n            change [☁ p2 x v] by (5)\n            switch costume to (pick random (1) to (2))\n            point in direction (90)\n        end\n        if <key (left arrow v) pressed?> then\n            change [☁ p2 x v] by (-5)\n            switch costume to (pick random (1) to (2))\n            point in direction (-90)\n        end\n        show\n        if <not <touching (portada/niveles v)?>> then\n            repeat until <touching (portada/niveles v)?>\n                change [☁ p2 y v] by (-3)\n            end\n        end\n        if <(☁ P2 Y) < [-65]> then\n            set [☁ p2 y v] to [-64]\n        end\n        if <touching (lava v)?> then\n            set [☁ p2 x v] to [-200]\n            set [☁ p2 y v] to [-64]\n        end\n        if <touching (objeto2 v)?> then\n            broadcast (Sigiente lvl v) and wait\n            set [☁ p2 x v] to [-200]\n            set [☁ p2 y v] to [-64]\n            change [☁ gato rojo conectado v] by (1)\n            change [lvl v] by (1)\n        end\n        if <touching (objeto3 v)?> then\n            broadcast (Sigiente lvl v) and wait\n            set [☁ p2 x v] to [-200]\n            set [☁ p2 y v] to [-64]\n            change [☁ gato rojo conectado v] by (1)\n            change [lvl v] by (-1)\n        end\n        if <<touching color (#3e00ff)?> and <key (up arrow v) pressed?>> then\n            change [☁ p2 y v] by (120)\n        end\n        if <touching color (#00d5ff)?> then\n            change [☁ p2 x v] by (5)\n        end\n    end\nend\n\nwhen I receive [entrando v]\ngo to x: (-222) y: (0)\nforever\n    go [forward v] (1000000) layers\n    set size to (60) %\n    go to [front v] layer\n    go to x: (☁ P2 X) y: (☁ P2 Y)\n    if <(P ID) = [2]> then\n        say (translate [You] to ((language::translate) v)::translate)\n    else\n        if <(☁ Gato rojo Conectado) = [0]> then\n            hide\n        else\n            if <(☁ Gato rojo Conectado) = (☁ Gato azul Conectado)> then\n                show\n            else\n                if <(☁ Gato rojo Conectado) = (☁ Gato verde conectado)> then\n                    show\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [salta p2 v]\nchange [☁ p2 y v] by (20)\n\nwhen I receive [derecha2 v]\nchange [☁ p2 x v] by (10)\n\nwhen I receive [izquierda p2 v]\nchange [☁ p2 x v] by (-10)\n\nwhen I receive [preparando v]\nshow\nset size to (100) %\ngo to x: (100) y: (0)\nif <(☁ Gato rojo Conectado) > [0]> then\n    switch costume to (ocupado v)\nelse\n    switch costume to (disfraz1 v)\nend\n\nwhen this sprite clicked\nbroadcast (rojo v)\nhide\n\nwhen I receive [verde v]\nhide\n\nwhen I receive [azul v]\nhide\n\nwhen I receive [apagar v]\nhide\n\nwhen I receive [un ganador!!! v]\nhide\n\n@cat green\n\ndefine escribe (valor) to name\nset [letra v] to [1]\nrepeat (length of (valor))\n    set [name v] to (join (Name) (item # of (letter (Letra) of (valor)) in [code v]))\n    change [letra v] by (1)\nend\nset [name v] to (join (Name) [00])\n\ndefine valor =leer nombre\nset [valor v] to []\nforever\n    set [idx v] to (join (letter (Letra) of (Name)) (letter ((Letra) + (1)) of (Name)))\n    change [letra v] by (2)\n    if <(Idx) < [1]> then\n        stop [this script v]\n    end\n    set [valor v] to (join (valor) (item (Idx) of [code v]))\nend\n\ndefine begin (nombre)\nset [name v] to (nombre)\nset [letra v] to [1]\n\nwhen I receive [entrando v]\nset size to (60) %\nshow\nset [☁ p3 y v] to [-60]\nset [☁ p3 x v] to [-160]\nif <(P ID) = [3]> then\n    set [name v] to []\n    escribe (username) to name\n    begin (Name)\n    valor =leer nombre\n    repeat until <not <(P ID) = [3]>>\n        set rotation style [left-right v]\n        if <key (up arrow v) pressed?> then\n            change [☁ p3 y v] by (25)\n            if <not <touching (portada/niveles v)?>> then\n                repeat until <touching (portada/niveles v)?>\n                    change [☁ p3 y v] by (-3)\n                    if <key (right arrow v) pressed?> then\n                        change [☁ p3 x v] by (5)\n                        switch costume to (pick random (1) to (2))\n                        point in direction (90)\n                    end\n                    if <key (left arrow v) pressed?> then\n                        change [☁ p3 x v] by (-5)\n                        switch costume to (pick random (1) to (2))\n                        point in direction (-90)\n                    end\n                end\n            end\n        end\n        if <key (right arrow v) pressed?> then\n            change [☁ p3 x v] by (5)\n            switch costume to (pick random (1) to (2))\n            point in direction (90)\n        end\n        if <key (left arrow v) pressed?> then\n            change [☁ p3 x v] by (-5)\n            switch costume to (pick random (1) to (2))\n            point in direction (-90)\n        end\n        show\n        if <not <touching (portada/niveles v)?>> then\n            repeat until <touching (portada/niveles v)?>\n                change [☁ p3 y v] by (-3)\n            end\n        end\n        if <(☁ P3 Y) < [-65]> then\n            set [☁ p3 y v] to [-64]\n        end\n        if <touching (objeto2 v)?> then\n            broadcast (Sigiente lvl v) and wait\n            set [☁ p3 x v] to [-200]\n            set [☁ p3 y v] to [-64]\n            change [☁ gato verde conectado v] by (1)\n            change [lvl v] by (1)\n        end\n        if <touching (objeto3 v)?> then\n            broadcast (Sigiente lvl v) and wait\n            set [☁ p3 x v] to [-200]\n            set [☁ p3 y v] to [-64]\n            change [☁ gato verde conectado v] by (-1)\n            change [lvl v] by (-1)\n        end\n        if <touching (lava v)?> then\n            set [☁ p3 x v] to [-200]\n            set [☁ p3 y v] to [-64]\n        end\n        if <<touching color (#3e00ff)?> and <key (up arrow v) pressed?>> then\n            change [☁ p3 y v] by (120)\n        end\n        if <touching color (#00d5ff)?> then\n            change [☁ p3 x v] by (5)\n        end\n    end\nend\n\nwhen I receive [entrando v]\nforever\n    go [forward v] (10000) layers\n    set size to (60) %\n    go to [front v] layer\n    go to x: (☁ P3 X) y: (☁ P3 Y)\n    if <(P ID) = [3]> then\n        say (translate [You] to ((language::translate) v)::translate)\n    else\n        if <(☁ Gato verde conectado) = [0]> then\n            hide\n        else\n            if <(☁ Gato verde conectado) = (☁ Gato azul Conectado)> then\n                show\n            else\n                if <(☁ Gato rojo Conectado) = (☁ Gato verde conectado)> then\n                    show\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [salta p3 v]\nchange [☁ p3 y v] by (20)\n\nwhen I receive [derecha3 v]\nchange [☁ p3 x v] by (10)\n\nwhen I receive [izquierda p3 v]\nchange [☁ p3 x v] by (-10)\n\nwhen I receive [preparando v]\nshow\nset size to (100) %\ngo to x: (-100) y: (0)\nif <(☁ Gato verde conectado) > [0]> then\n    switch costume to (disfraz3 v)\nelse\n    switch costume to (disfraz1 v)\nend\n\nwhen this sprite clicked\nbroadcast (verde v)\nhide\n\nwhen I receive [rojo v]\nhide\n\nwhen I receive [azul v]\nhide\n\nwhen I receive [apagar v]\nhide\n\nwhen I receive [un ganador!!! v]\nhide\n\n@Portada/Niveles\n\nwhen flag clicked\nshow\npoint in direction (90)\ngo to x: (0) y: (0)\nclear graphic effects\nswitch costume to (disfraz1 v)\nrepeat (20)\n    set size to (100) %\n    change [ghost v] effect by (10)\nend\nforever\n    point in direction (90)\n    go to [front v] layer\nend\n\nwhen I receive [entrando v]\nclear graphic effects\nshow\nforever\n    if <key (up arrow v) pressed?> then\n        glide (0.2) secs to x: (0) y: (-10)\n        wait (0) seconds\n        glide (0.2) secs to x: (0) y: (0)\n        wait (0) seconds\n    end\nend\n\nwhen I receive [sigiente lvl v]\n\nwhen I receive [apagar v]\nhide\n\nwhen I receive [un ganador!!! v]\nhide\n\nwhen I receive [se acabo! v]\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [entrando v]\nforever\n    if <(lvl) = [0]> then\n        set [lvl v] to [1]\n    end\n    if <(lvl) = [1]> then\n        switch costume to (disfraz3 v)\n    end\n    if <(lvl) = [2]> then\n        switch costume to (disfraz2 v)\n    end\n    if <(lvl) = [3]> then\n        switch costume to (disfraz4 v)\n    end\n    if <(lvl) = [4]> then\n        switch costume to (disfraz5 v)\n    end\n    if <(lvl) = [5]> then\n        switch costume to (disfraz6 v)\n    end\n    if <(lvl) = [6]> then\n        switch costume to (disfraz8 v)\n    end\n    if <(lvl) = [7]> then\n        switch costume to (disfraz9 v)\n    end\n    if <(lvl) = [8]> then\n        switch costume to (disfraz7 v)\n    end\n    if <(lvl) = [9]> then\n        switch costume to (disfraz10 v)\n    end\n    if <(lvl) = [10]> then\n        switch costume to (disfraz11 v)\n    end\n    if <(lvl) = [11]> then\n        switch costume to (disfraz12 v)\n    end\n    if <(lvl) = [12]> then\n        switch costume to (disfraz13 v)\n    end\n    if <(lvl) = [13]> then\n        switch costume to (disfraz14 v)\n    end\n    if <(lvl) = [14]> then\n        switch costume to (disfraz15 v)\n    end\n    if <(lvl) = [15]> then\n        switch costume to (disfraz16 v)\n    end\n    if <(lvl) = [16]> then\n        switch costume to (disfraz17 v)\n    end\n    if <(lvl) = [17]> then\n        switch costume to (disfraz18 v)\n    end\n    if <(lvl) = [18]> then\n        switch costume to (disfraz19 v)\n    end\n    if <(lvl) = [19]> then\n        switch costume to (disfraz20 v)\n    end\n    if <(lvl) = [20]> then\n        switch costume to (disfraz21 v)\n    end\n    if <(lvl) = [21]> then\n        switch costume to (disfraz22 v)\n    end\n    if <(lvl) = [22]> then\n        switch costume to (disfraz23 v)\n    end\n    if <(lvl) = [23]> then\n        switch costume to (disfraz24 v)\n    end\n    if <(lvl) = [24]> then\n        switch costume to (disfraz25 v)\n    end\n    if <(lvl) = [25]> then\n        switch costume to (disfraz26 v)\n    end\n    if <(lvl) = [26]> then\n        switch costume to (disfraz27 v)\n    end\n    if <(lvl) = [27]> then\n        switch costume to (disfraz28 v)\n    end\n    if <(lvl) = [28]> then\n        switch costume to (disfraz29 v)\n    end\n    if <(lvl) = [29]> then\n        switch costume to (disfraz30 v)\n    end\n    if <(lvl) = [30]> then\n        switch costume to (disfraz31 v)\n    end\n    if <(lvl) = [30]> then\n        set [lvl v] to [0]\n    end\nend\n\nwhen [q v] key pressed\nclear graphic effects\nswitch costume to (disfraz1 v)\ngo to [front v] layer\ngo [forward v] (3000000000000000000) layers\n\ndelete all of [niveles v]\nrepeat (30)\n    change [mostrar? v] by (1)\n    add (mostrar?) to [niveles v]\nend\n\nwhen I receive [entrando v]\nforever\n\n@Nubes\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\n    set [ghost v] effect to (15)\n    if <key (up arrow v) pressed?> then\n        glide (0.2) secs to x: (0) y: (30)\n        wait (0) seconds\n        glide (0.2) secs to x: (0) y: (10)\n        wait (0.1) seconds\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [entrando v]\nset [ghost v] effect to (0)\nshow\nforever\n    next costume\n    wait (0.06) seconds\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\nwhen I receive [apagar v]\nhide\n\n@nube/estrellas\n\nwhen I receive [entrando v]\nrepeat (50)\n    create clone of (_myself_ v)\nend\nforever\n    go to [back v] layer\nend\n\nwhen I start as a clone\nswitch costume to (disfraz2 v)\nclear graphic effects\ngo to (random position v)\nforever\n    go to [back v] layer\nend\n\nwhen I start as a clone\nforever\n    hide\n    wait (20) seconds\n    show\n    wait (20) seconds\nend\n\nwhen I receive [apagar v]\nhide\n\n@lava\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    if <key (up arrow v) pressed?> then\n        change y by (-10)\n        change y by (10)\n    end\nend\n\nwhen I receive [un ganador!!! v]\nhide\n\nwhen I receive [entrando v]\nforever\n    next costume\n    show\n    if <<(lvl) = [2]> or <(lvl) = [3]>> then\n        clear graphic effects\n        show\n        go to x: (95) y: (-90)\n    end\n    if <<(lvl) = [4]> or <<(lvl) = [5]> or <<(lvl) = [6]> or <<(lvl) = [7]> or <<(lvl) = [8]> or <(lvl) = [9]>>>>>> then\n        go to x: (0) y: (-90)\n    end\n    if <<(lvl) = [10]> or <<(lvl) = [12]> or <<(lvl) = [13]> or <<(lvl) = [14]> or <<(lvl) = [15]> or <<(lvl) = [16]> or <<(lvl) = [17]> or <<(lvl) = [18]> or <<(lvl) = [19]> or <<(lvl) = [20]> or >>>>>>>>>> then\n        go to x: (0) y: (-125)\n    end\n    if <<(lvl) = [22]> or <<(lvl) = [23]> or <<(lvl) = [24]> or <(lvl) = [25]>>>> then\n        go to x: (110) y: (-110)\n    end\n    if <<(lvl) = [26]> or <<(lvl) = [27]> or <(lvl) = [29]>>> then\n        go to x: (-110) y: (-110)\n    end\nend\n\n@Ajustes\n\nwhen flag clicked\nshow\nswitch costume to (disfraz2 v)\ngo to x: (200) y: (-150)\nforever\n    if <<key (space v) pressed?> or <<touching (mouse-pointer v)?> and <mouse down?>>> then\n        broadcast (_-_ v) and wait\n    end\n    set volume to (Volumen) %\nend\n\nwhen I receive [_-_ v]\nwait (1) seconds\nrepeat until <<key (space v) pressed?> or <<mouse down?> and <touching (mouse-pointer v)?>>>\n    show variable [volumen v]\n    go to x: (0) y: (0)\n    switch costume to (pausa v)\nend\ngo to x: (200) y: (-150)\nswitch costume to (disfraz2 v)\nhide variable [volumen v]\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\nend\n\nwhen I receive [un ganador!!! v]\nhide\n\n@Objeto4\n\nwhen flag clicked\nhide\n\nwhen I receive [entrando v]\nshow\nforever\n    point in direction (90)\n    go to x: (0) y: (150)\n    repeat (15)\n        switch costume to (disfraz1 v)\n        repeat (5)\n            change size by (15)\n        end\n        repeat (5)\n            change size by (-15)\n        end\n        set size to (100) %\n        wait (0.1) seconds\n    end\n    repeat (15)\n        switch costume to (disfraz2 v)\n        repeat (5)\n            change size by (15)\n        end\n        repeat (5)\n            change size by (-15)\n        end\n        set size to (100) %\n        wait (0.1) seconds\n    end\n    repeat (15)\n        switch costume to (disfraz3 v)\n        repeat (10)\n            turn right (15) degrees\n        end\n        repeat (10)\n            turn left (15) degrees\n        end\n        point in direction (90)\n        set size to (100) %\n        wait (0.1) seconds\n    end\nend\n\n@Objeto3\n\n@Objeto1\n\nmove (10) steps\n\nset pen color to (#0e45b6)\nask <touching color (#15660b)?> and wait\n\nstamp\nerase all\n\nerase all\nask [¿Cómo te llamas?] and wait\nturn right (15) degrees\n\nset [☁ gato azul conectado v] to [0]\ngo to (random position v)\nset pen (color v) to (50)\n\nwhen [space v] key pressed\n\nwhen flag clicked\nswitch costume to (disfraz1 v)\n\ndefine ¡Don't Prees!\nswitch costume to (disfraz2 v)\n\n¡Don't Prees!\n\n@numero de jugadores\n\nwhen flag clicked\nhide variable [lvl v]\nhide\nforever\n    go to [front v] layer\n    go [forward v] (3) layers\n    change [color v] effect by (0.8)\n    if <(☁ Gato azul Conectado) > [0]> then\n        wait (1) seconds\n        set [numero de jugadores v] to [1]\n    end\n    if <(☁ Gato rojo Conectado) > [0]> then\n        wait (1) seconds\n        set [numero de jugadores v] to [1]\n    end\n    if <(☁ Gato verde conectado) > [0]> then\n        wait (1) seconds\n        set [numero de jugadores v] to [1]\n    end\n    if <<(☁ Gato azul Conectado) > [0]> and <(☁ Gato verde conectado) > [0]>> then\n        wait (1) seconds\n        set [numero de jugadores v] to [2]\n    end\n    if <<(☁ Gato rojo Conectado) > [0]> and <(☁ Gato verde conectado) > [0]>> then\n        wait (1) seconds\n        set [numero de jugadores v] to [2]\n    end\n    if <<(☁ Gato azul Conectado) > [0]> and <(☁ Gato rojo Conectado) > [0]>> then\n        wait (1) seconds\n        set [numero de jugadores v] to [2]\n    end\n    if <<(☁ Gato azul Conectado) > [0]> and <<(☁ Gato rojo Conectado) > [0]> and <(☁ Gato verde conectado) > [0]>>> then\n        wait (1) seconds\n        set [numero de jugadores v] to [3]\n    end\nend\n\nwhen I receive [entrando v]\nshow\nforever\n    hide variable [numero de jugadores v]\n    hide variable [☁ gato azul conectado v]\n    hide variable [☁ gato verde conectado v]\n    hide variable [☁ gato rojo conectado v]\n    set [☁ gato azul conectado v] to [0]\n    set [☁ gato rojo conectado v] to [0]\n    set [☁ gato verde conectado v] to [0]\n    hide variable [lvl v]\n    show variable [numero de jugadores v]\n    show variable [lvl v]\n    hide\n    wait (10) seconds\nend\n\nwhen I receive [apagar v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\nend\n\ndelete this clone\n\n@Objeto2\n\n@Guardar juego\n\nwhen flag clicked\ndelete all of [code v]\nswitch costume to (disfraz1 v)\ngo to x: (200) y: (160)\nshow\nforever\n    go to [front v] layer\nend\n\nwhen this sprite clicked\nwait (1) seconds\nhide list [información de usuarios v]\nswitch costume to (disfraz2 v)\nrepeat until <(costume [number v]) = [1]>\n    go to x: (45) y: (70)\n    go to [front v] layer\n    say (translate [Busca el nivel en el que te encuentras] to ((language::translate) v)::translate) for (2) seconds\n    ask (translate [¿Que numero es?] to ((language::translate) v)::translate) and wait\nend\nsay (translate [Guardate el numero!] to ((language::translate) v)::translate) for (2) seconds\nset [1,2,3... v] to (answer)\nreplace item (1,2,3...) of [información de usuarios v] with (Informacion)\nshow list [información de usuarios v]\ngo to x: (200) y: (160)\nswitch costume to (disfraz1 v)\n\n@Cargar juego\n\nwhen this sprite clicked\nwait (1) seconds\nswitch costume to (disfraz2 v)\ngo to x: (0) y: (0)\nask (translate [Pon tu Código] to ((language::translate) v)::translate) and wait\ngo to [front v] layer\nsay (translate [Cargando...] to ((language::translate) v)::translate) for (0.5) seconds\npoint in direction (90)\nrepeat (37)\n    switch costume to (disfraz2 v)\n    turn right (20) degrees\nend\npoint in direction (90)\nif <(1,2,3...) > (length of [información de usuarios v])> then\n    say (translate [Carga Completada con exito] to ((language::translate) v)::translate) for (2) seconds\n    set [1,2,3... v] to (answer)\n    switch costume to (disfraz1 v)\n    go to x: (-200) y: (160)\n    set [lvl v] to (join (letter (7) of (Informacion)) (letter (8) of (Informacion)))\nelse\n    say (translate [Error] to ((language::translate) v)::translate) for (2) seconds\n    switch costume to (disfraz1 v)\n    go to x: (-200) y: (160)\nend\n\nwhen flag clicked\nshow\ngo to x: (-200) y: (160)\nshow\nforever\n    go to [front v] layer\nend\n\nwhen I receive [cloud data v]\nforever\n    if <[información de usuarios v] contains (Informacion)?> then\n        set [1,2,3... v] to (item # of (Informacion) in [información de usuarios v])\n    end\n    if <<(lvl) > [9]> or <(lvl) = [0]>> then\n        set [informacion v] to (join [ lvl: ] (lvl))\n    else\n        if <(lvl) < [10]> then\n            set [informacion v] to (join [ lvl: 0] (lvl))\n        end\n    end\n    if <(información de Usuarios) = []> then\n        insert (Informacion) at (1) of [información de usuarios v] \n        set [1,2,3... v] to [1]\n    end\nend\n\n