~Cycles~ (A platformer)

Instructions: Welcome to my newest game!!! \nI hope you enjoy!\nAll levels are 100% possible\nCycles 2: https://scratch.mit.edu/projects/425748542/\n                          ~Instructions~\nArrow keys to move\nHit yellow to bounce\nAvoid saws\nHit play\nLucky/space to toggle background\nE for effects\nM to mute n to unmute\ns/skip for skip\nLike and fav\nHave fun\nyou cant skip the first level\n\n\n\n\n\n\n\n\n\n\n#fun #games #platformer #awesome #contest \n#?mode=trending #all

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    play sound [Nebula v] until done\nend\n\nwhen [m v] key pressed\nset volume to (0) %\n\nwhen [n v] key pressed\nset volume to (100) %\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to x: (-175) y: (50)\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (sprite2 v)?> then\n        change y by (1)\n        if <touching (sprite2 v)?> then\n            change y by (1)\n            if <touching (sprite2 v)?> then\n                change y by (1)\n                if <touching (sprite2 v)?> then\n                    change y by (1)\n                    if <touching (sprite2 v)?> then\n                        change y by (1)\n                        if <touching (sprite2 v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (sprite2 v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (sprite2 v)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [14]\n        end\n    end\n    change y by (1)\n    if <(x position) > [250]> then\n        broadcast (level v)\n        change [bg v] by (1)\n        go to x: (-200) y: (25)\n        set [yv v] to [0]\n        if <touching (sprite2 v)?> then\n            go to x: (-200) y: (75)\n        end\n    end\n    if <touching (sprite5 v)?> then\n        go to x: (-200) y: (25)\n        set [yv v] to [0]\n        if <touching (sprite2 v)?> then\n            go to x: (-200) y: (75)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<[0.5] > (Xv)> and <<(Xv) > [-0.5]> and <<[1] > (Yv)> and <(Yv) > [-1]>>>>> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [level v]\ngo to x: (-200) y: (25)\nif <touching (sprite2 v)?> then\n    go to x: (-200) y: (75)\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite9 v)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to x: (-175) y: (50)\nset [yv v] to [0]\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume4 v)\n\nwhen flag clicked\nset [bg v] to [0]\n\nwhen I receive [level v]\nif <not <(Bg) > [15]>> then\n    next costume\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [bg v] to [0]\nswitch costume to (costume4 v)\n\nwhen flag clicked\nforever\n    if <(Bg) = [15]> then\n        stop [other scripts in sprite v]\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to (random position v)\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (20)\nshow\ngo to (random position v)\nrepeat (20)\n    change size by (-1)\n    change [ghost v] effect by (2.2)\nend\ndelete this clone\n\nwhen I start as a clone\nglide (10) secs to (random position v)\n\nwhen I start as a clone\nforever\n    if <(hide) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [bg change v]\nnext costume\n\nwhen I start as a clone\nforever\n    turn right (1) degrees\nend\n\n@Sprite4\n\nwhen flag clicked\nset size to (100) %\nforever\n    set rotation style [left-right v]\n    repeat (25)\n        change size by (0.15)\n    end\n    repeat (50)\n        change size by (-0.15)\n    end\n    repeat (25)\n        change size by (0.15)\n    end\nend\n\nwhen flag clicked\nset [hide v] to [0]\nforever\n    if <key (e v) pressed?> then\n        wait until <not <key (e v) pressed?>>\n        if <(hide) = [0]> then\n            change [hide v] by (1)\n        else\n            change [hide v] by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Bg change v)\nnext costume\n\nwhen [space v] key pressed\nbroadcast (Bg change v)\nnext costume\n\nwhen flag clicked\nforever\n    if <<(mouse x) > [150]> and <<(mouse y) > [125]> and <mouse down?>>> then\n        wait until <not <mouse down?>>\n        broadcast (Bg change v)\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\npoint in direction (90)\nwait until <(Bg) = [1]>\nshow\nforever\n    turn right (10) degrees\nend\n\nwhen flag clicked\ngo to x: (2) y: (-34)\nset size to (150) %\n\nwhen flag clicked\nforever\n    if <(Bg) = [2]> then\n        go to x: (8) y: (-19)\n        set size to (100) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [2]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [2]> then\n        set size to (100) %\n        forever\n            turn right (10) degrees\n            go to x: (8) y: (126)\n            if <(Bg) = [3]> then\n                delete this clone\n            end\n        end\n    end\n    if <(Bg) = [3]> then\n        set size to (175) %\n        forever\n            turn right (10) degrees\n            go to x: (110) y: (-63)\n            if <(Bg) = [4]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [3]> then\n        set size to (125) %\n        go to x: (-21) y: (-70)\n        create clone of (_myself_ v)\n        wait until <(Bg) = [4]>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [4]> then\n        go to x: (-104) y: (-80)\n        set size to (125) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [5]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [4]> then\n        set size to (150) %\n        forever\n            turn right (10) degrees\n            go to x: (21) y: (10)\n            if <(Bg) = [5]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [5]> then\n        go to x: (180) y: (-31)\n        set size to (250) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [6]> then\n        go to x: (-20) y: (110)\n        set size to (150) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [7]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [6]> then\n        set size to (150) %\n        forever\n            turn right (10) degrees\n            go to x: (100) y: (-90)\n            if <(Bg) = [7]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [7]> then\n        go to x: (-20) y: (110)\n        set size to (150) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [8]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [7]> then\n        set size to (175) %\n        forever\n            turn right (10) degrees\n            go to x: (159) y: (-49)\n            if <(Bg) = [8]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [8]> then\n        go to x: (-80) y: (-32)\n        set size to (150) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [9]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [8]> then\n        set size to (150) %\n        forever\n            turn right (10) degrees\n            go to x: (90) y: (-32)\n            if <(Bg) = [9]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [10]> then\n        go to x: (8) y: (235)\n        set size to (200) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [11]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [9]> then\n        set size to (100) %\n        forever\n            turn right (10) degrees\n            go to x: (130) y: (-115)\n            if <(Bg) = [10]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [10]> then\n        set size to (100) %\n        forever\n            turn right (10) degrees\n            go to x: (22) y: (-35)\n            if <(Bg) = [11]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [9]> then\n        go to x: (-33) y: (-71)\n        set size to (200) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [10]>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [11]> then\n        go to x: (15) y: (90)\n        set size to (200) %\n        wait until <(Bg) = [12]>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [12]> then\n        go to x: (30) y: (68)\n        set size to (100) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [13]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [12]> then\n        set size to (150) %\n        forever\n            turn right (10) degrees\n            go to x: (90) y: (-56)\n            if <(Bg) = [13]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [13]> then\n        go to x: (-17) y: (148)\n        set size to (125) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [14]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [13]> then\n        set size to (100) %\n        forever\n            turn right (10) degrees\n            go to x: (171) y: (48)\n            if <(Bg) = [14]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Bg) = [14]> then\n        hide\n        go to x: (45) y: (-48)\n        set size to (100) %\n        create clone of (_myself_ v)\n        wait until <(Bg) = [15]>\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Bg) = [14]> then\n        show\n        set size to (150) %\n        forever\n            turn right (10) degrees\n            go to x: (37) y: (150)\n            if <(Bg) = [15]> then\n                delete this clone\n            end\n        end\n    end\nend\n\n@Sprite7\n\nwhen flag clicked\nswitch costume to (costume3 v)\nhide\ngo to (random position v)\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (30)\nshow\ngo to (mouse-pointer v)\nrepeat (20)\n    change size by (-1)\n    change [ghost v] effect by (2.2)\nend\ndelete this clone\n\nwhen I start as a clone\nglide (10) secs to (random position v)\n\nwhen I start as a clone\nforever\n    if <(hide) = [1]> then\n        hide\n    end\nend\n\nwhen I start as a clone\nforever\n    turn right (1) degrees\nend\n\nwhen I start as a clone\nforever\n    if <not <touching (mouse-pointer v)?>> then\n        hide\n    end\nend\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (36) y: (34)\nforever\n    glide (1) secs to x: (36) y: (28)\n    glide (1) secs to x: (36) y: (34)\nend\n\nwhen [s v] key pressed\nif <not <(Bg) = [0]>> then\n    if <(Bg) < [15]> then\n        wait until <not <key (s v) pressed?>>\n        broadcast (level v)\n        change [bg v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(Bg) = [0]>> then\n        if <<[-150] > (mouse x)> and <<[-125] > (mouse y)> and <<mouse down?> and <(Bg) < [15]>>>> then\n            wait until <not <mouse down?>>\n            broadcast (level v)\n            change [bg v] by (1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Sprite9\n\nwhen flag clicked\nhide\nwait until <(Bg) = [5]>\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [level v]\nif <not <[15] < (Bg)>> then\n    next costume\nend\n\n@Sprite10\n\nwhen flag clicked\nshow\ngo to x: (20) y: (47)\nforever\n    glide (1) secs to x: (20) y: (40)\n    glide (1) secs to x: (20) y: (47)\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nhide\n\nhide\n\n@Sprite11\n\nwhen flag clicked\nshow\ngo to x: (36) y: (28)\nforever\n    glide (1) secs to x: (36) y: (35)\n    glide (1) secs to x: (36) y: (28)\nend\n\nwhen I receive [start v]\nhide\n\n