XrWeX A Platformer

Instructions: --------------------------English------------------------\nNow is mobile friendly 100%\nReport any bug\nAdded 20 of health (before 10 of health)\nPress Q when you pass a boss\nPlease, ¿can you love and favorite the project?\nUse the arrow keys to move.\n1 to see the winners (no working)\n2 to see the losers (no working)\nM to jump very high (if level is 6)\nLevel 1 = Nothing\nLevel 2 = First Lava\nLevel 3 = Lava Fall\nLevel 4 = First enemy\nLevel 5 = Enemy + Lava\nLevel 6 = Lava Sea\nLevel 7 = Secret Pass\nLevel 8 = Believe\nLevel 9 = Prepare for the boss\nLevel 10 (Boss) = First Boss\nLevel 11 = Has Trick\nLevel 12 = Jump The Wall\nLevel 13 = Lava\nLevel 14 (Boss) = Second Boss\nLevel 15 (Easy Level) = Lava + Lava Tower\nLevel 16 (Easy Level) = Lava + 2 Lava Towers\nLevel 17 (Easy Level) = You are crazy when you reach that level.\nLevel 18 (Easy Level) = Nothing\nLevel 19 (Easy Level) = Nothing\nLevel 20 = Third and last boss of Version 1.0\n\n--------------------------Español------------------------\nAhora se puede jugar en móvil, tablet, i-pad, etc…\nReporten cualquier bug\nAhora tienes 20 de vida (antes había 10 de vida)\nPor favor, ¿puedes darle al corazón y a la estrella?\nUtilice las teclas de flecha para moverse.\n1 para ver los ganadores (todavía no funciona)\n2 para ver a los perdedores (todavía no funciona)\nM para saltar muy alto (si el nivel es 6)\nPulsa Q para pasar al siguiente nivel si derrotas a un jefe.\nNivel 1 = Nada\nNivel 2 = Primera lava\nNivel 3 = Caída de lava\nNivel 4 = Primer enemigo\nNivel 5 = Enemigo + Lava\nNivel 6 = Mar de lava\nNivel 7 = Paso Secreto\nNivel 8 = Cree\nNivel 9 = Preparate para el jefe\nNivel 10 (Boss) = Primer Boss\nNivel 11 = Tiene Truco\nNivel 12 = Salta La Pared\nNivel 13 = Lava\nNivel 14 (Boss) = Segundo Boss\nNivel 15 (Nivel fácil) = Lava+Torre de Lava\nNivel 16 (Nivel fácil) = Lava+2 Torres de Lava\nNivel 17 (Nivel fácil) = Estás loco al llegar a ese nivel.\nNivel 18 (Nivel fácil) = Nada\nNivel 19 (Nivel fácil) = Nada\nNivel 20 = Tercer y último boss de la Versión 1.\n\n-------Credits--------\nThanks to @warfame_test for the engine\nThe engine: https://scratch.mit.edu/projects/521622325\nThe last XrWeX: https://scratch.mit.edu/projects/534717568/\nAnother time thanks to my cousin for seeing the discordo too late...\n\n-------Créditos--------\nGracias a @warfame_test por la plantilla\nLa plantilla: https://scratch.mit.edu/projects/521622325\nEl XrWeX anterior: https://scratch.mit.edu/projects/534717568/\nDe nuevo gracias a mi primo por tardar tanto en mirar el discordo...\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#games\n#all\n\n#All #Games #Animations #Music #Art #Stories\n#Todo #Juegos #Animaciones #Música #Arte #Historias

@Stage\n\n@Player\n\nwhen I receive [makeplayerfollowhitbox v]\ngo to (hitbox v)\n\nwhen flag clicked\nset [spawning v] to [no]\nswitch costume to (costume1 v)\nset rotation style [left-right v]\npoint in direction (90)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        switch costume to ((costume [number v]) + (1))\n        point in direction (90)\n    else\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            switch costume to ((costume [number v]) - (1))\n            point in direction (-90)\n        else\n            switch costume to (costume1 v)\n        end\n    end\n    wait (0.04) seconds\nend\n\nwhen I receive [efecto del respawn por larrosa-luis xd xd xd v]\nset [spawning v] to [yes]\nwait (3) seconds\nset [spawning v] to [no]\n\nrepeat (2)\n    change [ghost v] effect by (50)\nend\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen [1 v] key pressed\ndelete all of [winners v0.1 v]\ndelete all of [losers v0.1 v]\n\nwhen [2 v] key pressed\ndelete all of [winners v0.1 v]\ndelete all of [losers v0.1 v]\n\nwhen flag clicked\nforever\n    set [playery v] to (y position)\nend\n\nbroadcast (Next Level v)\n\nforever\n    set [deaths v] to [0]\nend\n\n@Hitbox\n\nwhen flag clicked\nshow\nset size to (50) %\nset [spawnx v] to [-203]\nset [spawny v] to [-71]\ngo to x: (SpawnX) y: (SpawnY)\nset rotation style [left-right v]\nset [xvelocity v] to [0]\nset [yvelocity v] to [0]\nset [ghost v] effect to (100)\nforever\n    broadcast (MakePlayerFollowHitbox v)\n    Up/Down Movement [12] [-1]\n    Right/Left Movement [10] [0.6]\n    CheckNextLevel\n    CheckFallOffScreen\nend\n\ndefine Up/Down Movement (jump height) (fall speed)\nchange y by (yVelocity)\nif <touching (level v)?> then\n    CheckTouchingLava\n    repeat ([ceiling v] of ([abs v] of (yVelocity) ) )\n        if <touching (level v)?> then\n            change y by (((yVelocity) / ([abs v] of (yVelocity) )) * (-1))\n        end\n    end\n    if <<not <(yVelocity) > [0]>> and <<key (up arrow v) pressed?> or <<mouse down?> and <((y position) + (45)) < (mouse y)>>>> then\n        set [yvelocity v] to (jump height)\n    else\n        set [yvelocity v] to [0]\n    end\nelse\n    change [yvelocity v] by (fall speed)\nend\n\ndefine Right/Left Movement (move speed) (drag)\nchange x by (xVelocity)\nif <touching (level v)?> then\n    CheckTouchingLava\n    repeat ([ceiling v] of ([abs v] of (xVelocity) ) )\n        if <touching (level v)?> then\n            change x by (((xVelocity) / ([abs v] of (xVelocity) )) * (-1))\n        end\n    end\n    set [xvelocity v] to [0]\nend\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    set [xvelocity v] to (move speed)\nelse\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        set [xvelocity v] to ((move speed) * (-1))\n    end\nend\nset [xvelocity v] to ((xVelocity) * (drag))\n\ndefine CheckNextLevel\nif  then\n    broadcast (Next Level v)\n    go to x: (SpawnX) y: (SpawnY)\nend\n\ndefine CheckTouchingLava\nif <touching color (#ff0000)?> then\n    change [deaths v] by (1)\n    broadcast (Efecto Del Respawn Por larrosa-luis XD XD XD v)\n    wait (0.25) seconds\n    go to x: (SpawnX) y: (SpawnY)\nend\nif <touching (boss v)?> then\n    change [deaths v] by (1)\n    broadcast (Efecto Del Respawn Por larrosa-luis XD XD XD v)\n    wait (0.25) seconds\n    go to x: (SpawnX) y: (SpawnY)\nend\n\ndefine CheckFallOffScreen\nif <(y position) < [-170]> then\n    change [deaths v] by (1)\n    go to x: (SpawnX) y: (SpawnY)\nend\n\nwhen [m v] key pressed\nif <<(Level) = [6]> or <(Level) = [8]>> then\n    Up/Down Movement [500] [20]\nend\n\nwhen [space v] key pressed\nif <(username) = [L_L_Plus]> then\n    CheckHackersNextLevel\nend\n\ndefine CheckHackersNextLevel\nif <(username) = [L_L_Plus]> then\n    broadcast (Next Level v)\n    go to x: (SpawnX) y: (SpawnY)\nend\n\nwhen I receive [press v]\nforever\n    if <key (q v) pressed?> then\n        go to x: (SpawnX) y: (SpawnY)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [6]> or <(Level) = [8]>> then\n        broadcast (boton v)\n    end\nend\n\nwhen [m v] key pressed\n\nwhen I receive [.0 v]\nUp/Down Movement [500] [20]\n\n@Level\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nchange [level v] by (1)\nnext costume\n\nif <(Level) = [1]> then\nif <(Level) = [2]> then\n    change [level v] by (1)\n    next costume\nend\nif <(Level) = [3]> then\n    change [level v] by (1)\n    next costume\nend\nif <(Level) = [4]> then\n    change [level v] by (1)\n    next costume\nend\nif <(Level) = [5]> then\n    change [level v] by (1)\n    next costume\nend\nif <(Level) = [6]> then\n    change [level v] by (1)\n    next costume\nend\nif <(Level) = [7]> then\n    change [level v] by (1)\n    next costume\nend\nif <(Level) = [8]> then\n    change [level v] by (1)\n    next costume\nend\nif <(Level) = [9]> then\n    change [level v] by (1)\n    next costume\nend\n\nwhen flag clicked\nset [variable completamente random que no hace nada importante v] to [0]\n\nwhen I receive [next levelo 2 v]\n\nwhen I receive [press v]\nset [variable completamente random que no hace nada importante v] to [1]\nforever\n    if <(Level) = [11]> then\n        set [variable completamente random que no hace nada importante v] to [0]\n        stop [this script v]\n    end\nend\n\nchange [level v] by (1)\nnext costume\n\nwhen flag clicked\nforever\n    if <(Level) = [14]> then\n        broadcast (Boss v)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    broadcast (Delanter cape v)\n    go to [front v] layer\nend\n\nset [ghost v] effect to (0)\n\nwhen I receive [delanter cape v]\nforever\n    broadcast (Delanter cape v)\n    go to [front v] layer\nend\n\nwhen I receive [delanter cape v]\nforever\n    broadcast (Delanter cape v)\n    go to [front v] layer\nend\n\nwhen I receive [delanter cape v]\nforever\n    broadcast (Delanter cape v)\n    go to [front v] layer\nend\n\nwhen I receive [delanter cape v]\nforever\n    broadcast (Delanter cape v)\n    go to [front v] layer\nend\n\n@Level Letter And Number\n\nwhen flag clicked\nwait (0.0000000000000000000000000000000000001) seconds\nshow\nset [boss v] to [No]\nrepeat until <(Boss) = [Yes]>\n    switch costume to (Level)\nend\nif <(Boss) = [Yes]> then\n    broadcast (Boss v)\nend\n\nwhen I receive [boss v]\nhide\n\nwhen I receive [press v]\nshow\n\nwhen I receive [no please v]\nshow\n\n@Boss Letters\n\nwhen flag clicked\nwait (0.00000000000000000000000000000000001) seconds\nhide\n\nwhen I receive [boss v]\nshow\n\nwhen I receive [press v]\nhide\n\nwhen I receive [no please v]\nhide\n\n@Deaths\n\nwhen flag clicked\nshow\nset [deaths v] to [1]\nrepeat until <(Deaths) = [31]>\n    switch costume to (Deaths)\nend\nif <(Deaths) = [31]> then\n    broadcast (Bye v)\nend\n\nchange [deaths v] by (1)\n\n@Boss\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(Level) = [14]> then\n        stop [this script v]\n    end\n    if <(Level) = [10]> then\n        go to [front v] layer\n        broadcast (Boss v)\n        point in direction (90)\n        switch costume to (backward v)\n        show\n        go to x: (143) y: (-62)\n        turn right (45) degrees\n        glide (0.5) secs to x: (-8) y: (136)\n        switch costume to (backward v)\n        repeat (6)\n            turn left (15) degrees\n        end\n        glide (0.5) secs to x: (-85) y: (-70)\n        switch costume to (forward v)\n        repeat (2)\n            turn right (15) degrees\n        end\n        glide (0.5) secs to x: (90) y: (-27)\n        switch costume to (backward v)\n        repeat (3)\n            turn left (-15) degrees\n        end\n        glide (0.5) secs to x: (-120) y: (60)\n        switch costume to (forward v)\n        glide (0.5) secs to x: (143) y: (-62)\n        point in direction (90)\n        repeat (10)\n            switch costume to (backward v)\n            glide (0.25) secs to x: (203) y: (-150)\n            switch costume to (backward v)\n            glide (0.25) secs to x: (211) y: (121)\n        end\n        switch costume to (backward v)\n        glide (0.25) secs to x: (143) y: (-62)\n        repeat (10)\n            switch costume to (idle v)\n            glide (1) secs to (hitbox v)\n            repeat (5)\n                switch costume to (idle2 v)\n                wait (0.2) seconds\n                switch costume to (idle3 v)\n                wait (0.2) seconds\n            end\n            repeat (25)\n                switch costume to (idle v)\n                change x by (10)\n            end\n        end\n        hide\n        broadcast (Press v)\n        stop [this script v]\n    end\n    if <(Level) = [14]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (13245687) y: (123246789)\n\nwait (1) seconds\n\nset [level v] to [10]\n\nshow\n\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n        broadcast (No Please v)\n    end\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(Level) = [14]> then\n        point in direction (90)\n        switch costume to (backward2 v)\n        show\n        go to x: (143) y: (-62)\n        turn right (45) degrees\n        glide (0.5) secs to x: (-8) y: (136)\n        switch costume to (backward2 v)\n        repeat (6)\n            turn left (15) degrees\n        end\n        glide (0.5) secs to x: (-85) y: (-70)\n        switch costume to (forward2 v)\n        repeat (2)\n            turn right (15) degrees\n        end\n        glide (0.5) secs to x: (90) y: (-27)\n        switch costume to (backward2 v)\n        repeat (3)\n            turn left (-15) degrees\n        end\n        glide (0.5) secs to x: (-120) y: (60)\n        switch costume to (forward2 v)\n        glide (0.5) secs to x: (143) y: (-62)\n        point in direction (90)\n        repeat (10)\n            switch costume to (backward2 v)\n            glide (0.25) secs to x: (203) y: (-150)\n            switch costume to (backward2 v)\n            glide (0.25) secs to x: (211) y: (121)\n        end\n        switch costume to (backward2 v)\n        glide (0.25) secs to x: (143) y: (-62)\n        repeat (10)\n            switch costume to (idle4 v)\n            glide (0.5) secs to (hitbox v)\n            repeat (5)\n                switch costume to (idle5 v)\n                wait (0.2) seconds\n                switch costume to (idle6 v)\n                wait (0.2) seconds\n            end\n            repeat (25)\n                switch costume to (idle4 v)\n                change x by (10)\n            end\n        end\n        glide (0.3) secs to x: (56) y: (-180)\n        switch costume to (idle7 v)\n        wait (5) seconds\n        switch costume to (idle7 v)\n        glide (0.3) secs to x: (179) y: (-184)\n        wait (5) seconds\n        glide (0.4) secs to x: (170) y: (133)\n        repeat (5)\n            switch costume to (idle5 v)\n            wait (0.2) seconds\n            switch costume to (idle6 v)\n            wait (0.2) seconds\n        end\n        switch costume to (idle7 v)\n        glide (0.3) secs to x: (179) y: (-184)\n        wait (5) seconds\n        glide (0.4) secs to x: (-74) y: (139)\n        repeat (5)\n            switch costume to (idle5 v)\n            wait (0.2) seconds\n            switch costume to (idle6 v)\n            wait (0.2) seconds\n        end\n        switch costume to (idle7 v)\n        glide (0.3) secs to x: (179) y: (-184)\n        wait (5) seconds\n        glide (0.4) secs to x: (-48) y: (-13)\n        repeat (5)\n            switch costume to (idle5 v)\n            wait (0.2) seconds\n            switch costume to (idle6 v)\n            wait (0.2) seconds\n        end\n        switch costume to (idle4 v)\n        repeat (200)\n            turn right (50) degrees\n        end\n        point in direction (90)\n        glide (1) secs to (hitbox v)\n        repeat (5)\n            switch costume to (idle5 v)\n            wait (0.2) seconds\n            switch costume to (idle6 v)\n            wait (0.2) seconds\n        end\n        hide\n        broadcast (Press 2 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\n\nforever\n\n\n\nstop [this script v]\n\nstop [other scripts in sprite v]\n\nwhen I receive [bye bye v]\nhide\n\nwhen I receive [bye v]\nhide\n\nwhen [r v] key pressed\nif <(username) = [L_L_Plus]> then\n    change [deaths v] by (-1)\nend\n\nrepeat (25)\nswitch costume to (idle4 v)\nchange x by (10)\n\nwhen flag clicked\nforever\n    if <(Level) = [15]> then\n        broadcast (No Please v)\n        hide\n    end\nend\n\nwhen flag clicked\nwait (5) seconds\nforever\n    if <(Level) = [20]> then\n        broadcast (Boss v)\n        point in direction (90)\n        switch costume to (backward3 v)\n        show\n        go to x: (143) y: (-62)\n        turn right (45) degrees\n        glide (0.5) secs to x: (-8) y: (136)\n        switch costume to (backward3 v)\n        repeat (6)\n            turn left (15) degrees\n        end\n        glide (0.5) secs to x: (-85) y: (-70)\n        switch costume to (forward3 v)\n        repeat (2)\n            turn right (15) degrees\n        end\n        glide (0.5) secs to x: (90) y: (-27)\n        switch costume to (backward3 v)\n        repeat (3)\n            turn left (-15) degrees\n        end\n        glide (0.5) secs to x: (-120) y: (60)\n        switch costume to (forward3 v)\n        glide (0.5) secs to x: (143) y: (-62)\n        point in direction (90)\n        repeat (10)\n            switch costume to (backward3 v)\n            glide (0.25) secs to x: (203) y: (-150)\n            switch costume to (backward3 v)\n            glide (0.25) secs to x: (211) y: (121)\n        end\n        switch costume to (backward3 v)\n        glide (0.25) secs to x: (143) y: (-62)\n        repeat (10)\n            switch costume to (idle8 v)\n            glide (0.5) secs to (hitbox v)\n            repeat (5)\n                switch costume to (idle9 v)\n                wait (0.2) seconds\n                switch costume to (idle10 v)\n                wait (0.2) seconds\n            end\n            repeat (25)\n                switch costume to (idle8 v)\n                change x by (10)\n            end\n        end\n        glide (0.3) secs to x: (56) y: (-180)\n        broadcast (.1 v)\n        switch costume to (idle8 v)\n        wait (5) seconds\n        switch costume to (idle8 v)\n        hide\n        go to [back v] layer\n        glide (0.3) secs to x: (179) y: (-184)\n        wait (5) seconds\n        broadcast (.1 v)\n        glide (0.4) secs to x: (170) y: (133)\n        repeat (5)\n            switch costume to (idle9 v)\n            wait (0.2) seconds\n            switch costume to (idle10 v)\n            wait (0.2) seconds\n        end\n        switch costume to (idle8 v)\n        hide\n        go to [back v] layer\n        glide (0.3) secs to x: (179) y: (-184)\n        wait (5) seconds\n        broadcast (.1 v)\n        glide (0.4) secs to x: (-74) y: (139)\n        repeat (5)\n            switch costume to (idle9 v)\n            wait (0.2) seconds\n            switch costume to (idle10 v)\n            wait (0.2) seconds\n        end\n        switch costume to (idle8 v)\n        hide\n        go to [back v] layer\n        glide (0.3) secs to x: (179) y: (-184)\n        wait (5) seconds\n        broadcast (.1 v)\n        glide (0.4) secs to x: (-48) y: (-13)\n        repeat (5)\n            switch costume to (idle9 v)\n            wait (0.2) seconds\n            switch costume to (idle10 v)\n            wait (0.2) seconds\n        end\n        switch costume to (idle8 v)\n        repeat (200)\n            turn right (50) degrees\n        end\n        point in direction (90)\n        glide (1) secs to (hitbox v)\n        repeat (5)\n            switch costume to (idle9 v)\n            wait (0.2) seconds\n            switch costume to (idle10 v)\n            wait (0.2) seconds\n        end\n        switch costume to (idle8 v)\n        Caos\n    end\nend\n\nwhen I receive [.1 v]\ngo to [front v] layer\nshow\n\ndefine Caos\nbroadcast (Lava Caos v)\nrepeat (50)\n    wait (0.1) seconds\n    go to (random position v)\n    repeat (5)\n        switch costume to (idle9 v)\n        wait (0.2) seconds\n        switch costume to (idle10 v)\n        wait (0.2) seconds\n    end\n    wait (0.1) seconds\nend\nbroadcast (You Win v)\n\nwhen I receive [you win v]\nhide\nstop [this script v]\n\nwhen I receive [aparta v]\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        if <(Spawning) = [yes]> then\n            glide (1) secs to x: (50) y: (50)\n        end\n    end\n    if <(Spawning) = [no]> then\nend\n\n\n    go to x: (0) y: (0)\nend\n\nwhen [1 v] key pressed\nforever\n    show list [winners v0.1 v]\nend\n\nwhen [2 v] key pressed\nforever\n    show list [losers v0.1 v]\nend\n\nwhen flag clicked\nforever\n    show list [winners v0.1 v]\nend\n\nwhen flag clicked\nforever\n    show list [losers v0.1 v]\nend\n\n@Enemy\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        switch costume to (backward v)\n        show\n        go to x: (143) y: (-62)\n        glide (1.5) secs to x: (-8) y: (136)\n        switch costume to (backward v)\n        glide (1.5) secs to x: (-85) y: (-18)\n        switch costume to (forward v)\n        glide (1.5) secs to x: (90) y: (-27)\n        switch costume to (backward v)\n        glide (1.5) secs to x: (-120) y: (60)\n        switch costume to (forward v)\n        glide (0.5) secs to x: (143) y: (-62)\n        repeat (10)\n            switch costume to (backward v)\n            glide (0.25) secs to x: (203) y: (-150)\n            switch costume to (backward v)\n            glide (0.25) secs to x: (211) y: (121)\n        end\n        switch costume to (backward v)\n        glide (0.25) secs to x: (143) y: (-62)\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (13245687) y: (123246789)\n\nwhen flag clicked\nforever\n    if <(Level) = [5]> then\n        switch costume to (backward v)\n        show\n        go to x: (143) y: (-38)\n        glide (1.5) secs to x: (-8) y: (136)\n        switch costume to (backward v)\n        glide (1.5) secs to x: (-85) y: (-18)\n        switch costume to (forward v)\n        glide (1.5) secs to x: (150) y: (-38)\n        switch costume to (backward v)\n        glide (1.5) secs to x: (-120) y: (60)\n        switch costume to (forward v)\n        glide (0.5) secs to x: (143) y: (-62)\n        switch costume to (backward v)\n        glide (0.25) secs to x: (143) y: (-62)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        hide\n    end\nend\n\n@Secret Pass And Invisible Blocks\n\nwhen flag clicked\nwait (0.0001) seconds\ngo to x: (12345678123456) y: (13245678)\ngo to [back v] layer\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(playerY) < [-129]> then\n            switch costume to (disfraz3 v)\n            go to x: (0) y: (0)\n            show\n            go to [front v] layer\n        else\n            switch costume to (disfraz1 v)\n            go to x: (0) y: (0)\n            show\n            go to [front v] layer\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        go to x: (12345678123456) y: (13245678)\n        go to [back v] layer\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        switch costume to (disfraz2 v)\n        go to x: (0) y: (0)\n        show\n        go to [front v] layer\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [12]> then\n        go to [back v] layer\n        go to x: (12345678123456) y: (13245678)\n        hide\n    end\nend\n\n\n\n@You Win :D\n\nwhen I receive [you win v]\ngo to x: (0) y: (0)\nshow\n\nif <[winners v0.1 v] contains (☁ Player)?> then\n    stop [this script v]\nend\nadd (☁ Player) to [winners v0.1 v]\n\nwhen flag clicked\nshow list [winners v0.1 v]\nshow list [losers v0.1 v]\nhide\n\nwhen [2 v] key pressed\nrepeat until <not <key (2 v) pressed?>>\n    hide list [losers v0.1 v]\nend\nshow list [losers v0.1 v]\n\nwhen [1 v] key pressed\nrepeat until <not <key (1 v) pressed?>>\n    hide list [winners v0.1 v]\nend\nshow list [winners v0.1 v]\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(username) = []> then\n        broadcast (It isn't no is it isn't is no so XD v)\n        stop [this script v]\n    end\n    forever\n        set [☁ player v] to (username)\n    end\nend\n\nwhen I receive [it isn't no is it isn't is no so xd v]\nwait (1) seconds\nset [☁ player v] to [No Account]\n\nwhen flag clicked\nforever\n    if <[winners v0.1 v] contains (☁ Player)?> then\n        set [☁ is a winner v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <[losers v0.1 v] contains (☁ Player)?> then\n        set [☁ is a winner v] to [-1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<not <[losers v0.1 v] contains (☁ Player)?>> or <not <[winners v0.1 v] contains (☁ Player)?>>> then\n        set [☁ is a winner v] to [0]\n    end\nend\n\nset [variable completamente random que no hace nada importante v] to [1]\n\n@You Lose D:\n\nwhen I receive [bye v]\nwait (0.25) seconds\ngo to x: (0) y: (0)\nshow\nif <(username) = [L_L_Plus]> then\n    stop [this script v]\nend\nif  then\n    stop [this script v]\nend\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nadd (☁ Player) to [losers v0.1 v]\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Press Q\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (-12345) y: (123456)\nhide\n\nwhen I receive [press v]\nif <(Level) = [10]> then\n    show\n    glide (1) secs to x: (0) y: (0)\n    wait (1) seconds\n    glide (0.5) secs to x: (5) y: (-111)\n    wait (1) seconds\n    glide (0.5) secs to x: (5) y: (-56)\n    wait (1) seconds\n    broadcast (Bye Bye v)\n    glide (1000) secs to x: (-1234) y: (123456)\n    stop [this script v]\nend\n\nwhen I receive [bye bye v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen [q v] key pressed\nif <(Variable Completamente Random Que No Hace Nada Importante) = [1]> then\n    broadcast (Next Level v)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [press 2 v]\nif <(Level) = [14]> then\n    set [variable completamente random que no hace nada importante v] to [1]\n    set [ghost v] effect to (0)\n    show\n    glide (1) secs to x: (0) y: (0)\n    wait (1) seconds\n    glide (0.5) secs to x: (5) y: (-111)\n    wait (1) seconds\n    glide (0.5) secs to x: (5) y: (-56)\n    wait (1) seconds\n    broadcast (Bye Bye v)\n    glide (1000) secs to x: (-1234) y: (123456)\n    stop [this script v]\nend\n\nwhen [q v] key pressed\nif <(Variable Completamente Random Que No Hace Nada Importante) = [1]> then\n    broadcast (Next Level v)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [15]> then\n        hide\n    end\nend\n\nif <(Variable Completamente Random Que No Hace Nada Importante) = [1]> then\n    broadcast (Next Level v)\nend\n\n@Lava Tower 1\n\nwhen flag clicked\nhide\ngo to x: (13245687) y: (123246789)\n\nwait (1) seconds\n\nshow\n\nshow\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(Level) = [15]> then\n        show\n        go to x: (-63) y: (-246)\n        broadcast (tamb v)\n        repeat (10)\n            change y by (20)\n        end\n        repeat (10)\n            change y by (-20)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [17]> then\n        hide\n    end\nend\n\nforever\n\n\n\nstop [this script v]\n\nstop [all v]\n\nwhen I receive [bye v]\nhide\n\nswitch costume to (idle7 v)\nglide (0.3) secs to x: (179) y: (-184)\nwait (5) seconds\nglide (0.4) secs to x: (170) y: (133)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nswitch costume to (idle7 v)\nglide (0.3) secs to x: (179) y: (-184)\nwait (5) seconds\nglide (0.4) secs to x: (-74) y: (139)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nswitch costume to (idle7 v)\nglide (0.3) secs to x: (179) y: (-184)\nwait (5) seconds\nglide (0.4) secs to x: (-48) y: (-13)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nswitch costume to (idle4 v)\nrepeat (200)\n    turn right (50) degrees\nend\npoint in direction (90)\nglide (1) secs to (hitbox v)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nhide\nbroadcast (Press 2 v)\nstop [this script v]\n\nrepeat (25)\n    switch costume to (idle4 v)\n    change x by (10)\nend\n\nwhen I receive [tamb v]\nrepeat (pick random (1) to (10))\n    change x by (pick random (-10) to (50))\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(Level) = [16]> then\n        show\n        go to x: (-63) y: (-246)\n        broadcast (tamb v)\n        repeat (10)\n            change y by (20)\n        end\n        repeat (10)\n            change y by (-20)\n        end\n    end\nend\n\nwhen I receive [lava caos v]\nLava Caos\n\ndefine Lava Caos\nrepeat (100)\n    show\n    go to x: (-63) y: (-246)\n    broadcast (tamb v)\n    repeat (10)\n        change y by (15)\n    end\n    repeat (10)\n        change y by (-15)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [21]> then\n        hide\n    end\nend\n\nbroadcast (You Win v)\n\n@Lava Tower 2\n\nwhen flag clicked\nhide\ngo to x: (13245687) y: (123246789)\n\nwait (1) seconds\n\nshow\n\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [17]> then\n        hide\n    end\nend\n\nforever\n\n\n\nstop [this script v]\n\nstop [all v]\n\nwhen I receive [bye v]\nhide\n\nswitch costume to (idle7 v)\nglide (0.3) secs to x: (179) y: (-184)\nwait (5) seconds\nglide (0.4) secs to x: (170) y: (133)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nswitch costume to (idle7 v)\nglide (0.3) secs to x: (179) y: (-184)\nwait (5) seconds\nglide (0.4) secs to x: (-74) y: (139)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nswitch costume to (idle7 v)\nglide (0.3) secs to x: (179) y: (-184)\nwait (5) seconds\nglide (0.4) secs to x: (-48) y: (-13)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nswitch costume to (idle4 v)\nrepeat (200)\n    turn right (50) degrees\nend\npoint in direction (90)\nglide (1) secs to (hitbox v)\nrepeat (5)\n    switch costume to (idle5 v)\n    wait (0.2) seconds\n    switch costume to (idle6 v)\n    wait (0.2) seconds\nend\nhide\nbroadcast (Press 2 v)\nstop [this script v]\n\nrepeat (25)\n    switch costume to (idle4 v)\n    change x by (10)\nend\n\nwhen I receive [.tamb v]\nrepeat (pick random (1) to (10))\n    change x by (pick random (-50) to (20))\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(Level) = [16]> then\n        show\n        go to x: (148) y: (-233)\n        broadcast (.tamb v)\n        repeat (10)\n            change y by (20)\n        end\n        repeat (10)\n            change y by (-20)\n        end\n    end\nend\n\nwhen I receive [lava caos v]\nLava Caos\n\ndefine Lava Caos\nrepeat (100)\n    show\n    go to x: (148) y: (-233)\n    broadcast (.tamb v)\n    repeat (10)\n        change y by (20)\n    end\n    repeat (10)\n        change y by (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [21]> then\n        hide\n    end\nend\n\n@M\n\nwhen flag clicked\nforever\n    if <not <(Level) = [6]>> then\n        hide\n    end\nend\n\nwhen I receive [boton v]\nif <not <(Level) = [8]>> then\n    show\nelse\n    if <(Level) = [8]> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nif <<(Level) = [6]> or <(Level) = [8]>> then\n    broadcast (.0 v)\nend\n\n@Q\n\nwhen flag clicked\nforever\n    if  then\n        hide\n    end\nend\n\nwhen I receive [press v]\nif <(Level) = [10]> then\n    show\nelse\nend\n\nwhen this sprite clicked\nif <(Variable Completamente Random Que No Hace Nada Importante) = [1]> then\n    broadcast (Next Level v)\nend\n\nif <<(Level) = [6]> or <(Level) = [8]>> then\n    broadcast (.0 v)\nend\n\nwhen flag clicked\nforever\n    if <not <(Level) = [10]>> then\n        hide\n    end\nend\n\nwhen this sprite clicked\n\n@Q_2\n\nwhen flag clicked\nforever\n    if  then\n        hide\n    end\nend\n\nwhen I receive [press 2 v]\nif <(Level) = [14]> then\n    show\nelse\nend\n\nwhen this sprite clicked\nif <(Variable Completamente Random Que No Hace Nada Importante) = [1]> then\n    broadcast (Next Level v)\nend\n\nif <<(Level) = [6]> or <(Level) = [8]>> then\n    broadcast (.0 v)\nend\n\nwhen flag clicked\nforever\n    if <not <(Level) = [14]>> then\n        hide\n    end\nend\n\nwhen this sprite clicked\n\n