Escape Tower Platformer

Instructions: use the left and right arrow keys to move\nup arrow key to jump \nif you like the game feel free to advertise it or add it to a studio or you can advertise on this game  \n❤️ ⭐ please love and fave \nmy new platformer https://scratch.mit.edu/projects/1001411728\n\n#all #games # platformer #escape #tower #art#all#art #Games\nhere is my other game https://scratch.mit.edu/projects/947019058\n\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (beginning v)\nset [level v] to [0]\n\nwhen flag clicked\nset [seconds v] to [0]\nforever\n    wait (1) seconds\n    change [seconds v] by (1)\n    if <([backdrop # v] of [_stage_ v]) = [12]> then\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 2 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 3 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 4 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 5 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 6 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 7 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 8 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 9 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 10 v]\nchange [level v] by (1)\n\nwhen backdrop switches to [level 1 v]\nchange [level v] by (1)\n\n@bob\n\nwhen flag clicked\nset [gravity v] to [-1]\nset [y speed v] to [0]\ngo to x: (-195) y: (80)\nforever\n    if <key (up arrow v) pressed?> then\n        if <(Falling) < [3]> then\n            set [y speed v] to [12]\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by (-2)\n    end\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (2)\n    end\n    set [speed x v] to ((speed x) * (0.8))\n    change [y speed v] by (GRAVITY)\n    Move - in steps (([abs v] of (speed x) ) + ([abs v] of (y speed) ))\nend\n\ndefine Move - in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    if <touching color (#6c6c6c)?> then\n        set x to (Last Value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((y speed) / (steps))\n    if <touching color (#6c6c6c)?> then\n        set y to (Last Value)\n        if <(y speed) < [0]> then\n            set [falling v] to [0]\n        end\n        set [y speed v] to [0]\n    end\nend\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-215) y: (-92)\nforever\n    if <touching color (#ff9e66)?> then\n        go to x: (-215) y: (-92)\n    end\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 3 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-217) y: (31)\nforever\n    if <touching color (#ff6666)?> then\n        go to x: (-215) y: (102)\n    end\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 4 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-204) y: (165)\nforever\n    if <touching color (#f12828)?> then\n        go to x: (-204) y: (180)\n    end\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 5 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-204) y: (106)\nforever\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 6 v)\n        stop [this script v]\n    end\n    if <<touching (evil fire bar v)?> or <touching (evil fire bar 2 v)?>> then\n        go to x: (-204) y: (106)\n    end\nend\n\nwhen [right arrow v] key pressed\nswitch costume to (costume2 v)\n\nwhen [left arrow v] key pressed\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-208) y: (180)\nforever\n    if <touching color (#ff2f2f)?> then\n        go to x: (-208) y: (180)\n    end\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 7 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-208) y: (-129)\nforever\n    if <touching color (#ff0e0e)?> then\n        go to x: (-204) y: (-136)\n    end\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 8 v)\n        stop [this script v]\n    end\n    if <<touching (evil fire bar v)?> or <touching (evil fire bar 2 v)?>> then\n        go to x: (-204) y: (-136)\n    end\nend\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-213) y: (140)\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-213) y: (150)\n    end\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 9 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-216) y: (9)\nforever\n    if <touching color (#ff6666)?> then\n        go to x: (-216) y: (80)\n    end\n    if <touching (exit door v)?> then\n        switch backdrop to (ending v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-189) y: (-122)\nforever\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 2 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-216) y: (60)\nforever\n    if <touching color (#ff3333)?> then\n        go to x: (-216) y: (60)\n    end\n    if <touching color (#f50000)?> then\n        go to x: (-216) y: (60)\n    end\n    if <touching (i dunno v)?> then\n        switch backdrop to (level 10 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 1 v]\nchange volume by (10)\nforever\n    play sound [Video Game 2 v] until done\n    play sound [Video Game 2 v] until done\n    play sound [Video Game 2 v] until done\nend\n\nwhen backdrop switches to [ending v]\nforever\n    play sound [Win v] until done\n    wait (1) seconds\n    stop all sounds\nend\n\n\n\nforever\n    if <(☁ lowest time) < (seconds)> then\n        set [☁ lowest time v] to (seconds)\n    end\nend\n\nwhen flag clicked\n\nset [☁ lowest time v] to [0]\n\nwhen backdrop switches to [ending v]\nforever\n    if <touching color (#bee5ee)?> then\n        forever\n            play sound [Meow v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (enter door v)?> then\n        switch backdrop to (level 1 v)\n        stop [this script v]\n    end\nend\n\n@i dunno\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 2 v]\ngo to x: (212) y: (129)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (212) y: (-126)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (215) y: (-87)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (201) y: (-127)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-15) y: (124)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (203) y: (149)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (211) y: (33)\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen backdrop switches to [level 9 v]\ngo to x: (216) y: (12)\n\nwhen backdrop switches to [level 1 v]\n\nwhen backdrop switches to [level 1 v]\nshow\ngo to x: (199) y: (155)\nforever\n    if <touching (bob v)?> then\n        switch backdrop to (level 2 v)\n        stop [this script v]\n    end\nend\n\n@moving bar\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 4 v]\nshow\ngo to x: (117) y: (-70)\nforever\n    glide (1) secs to x: (-82) y: (-70)\n    glide (1) secs to x: (117) y: (-70)\nend\n\nwhen backdrop switches to [level 5 v]\nhide\n\nwhen backdrop switches to [level 8 v]\nstop [other scripts in sprite v]\nshow\nforever\n    glide (1) secs to x: (-82) y: (-70)\n    glide (1) secs to x: (117) y: (-70)\nend\n\nwhen backdrop switches to [level 9 v]\nhide\n\n@evil fire bar\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 5 v]\nshow\nforever\n    glide (1.5) secs to x: (-94) y: (139)\n    glide (1.5) secs to x: (-94) y: (-139)\nend\n\nwhen backdrop switches to [level 6 v]\nhide\n\nwhen backdrop switches to [level 7 v]\nshow\n\nwhen backdrop switches to [level 8 v]\nhide\n\n@evil fire bar 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 5 v]\nshow\nforever\n    glide (1.5) secs to x: (90) y: (139)\n    glide (1.5) secs to x: (90) y: (-139)\nend\n\nwhen backdrop switches to [level 6 v]\nhide\n\nwhen backdrop switches to [level 7 v]\nshow\n\nwhen backdrop switches to [level 8 v]\nhide\n\n@uwu jumpscare block\n\nwhen backdrop switches to [level 9 v]\nforever\n    wait (4) seconds\n    show\n    go to x: (400) y: (-108)\n    glide (0.5) secs to x: (-450) y: (-108)\n    hide\nend\n\nwhen backdrop switches to [level 10 v]\nforever\n    hide\nend\n\nwhen flag clicked\nhide\n\n@exit door\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 10 v]\ngo to x: (203) y: (9)\nshow\n\nwhen backdrop switches to [ending v]\nhide\n\n@enter door\n\nwhen flag clicked\nshow\ngo to x: (161) y: (-33)\n\nwhen backdrop switches to [level 1 v]\nhide\n\nwhen backdrop switches to [ending v]\nshow\ngo to x: (-166) y: (-33)\n\nhide\n\nwhen backdrop switches to [beginning v]\nshow\n\n