Rock2- A Platformer #game

Instructions: Rock2- \nA Platformer\n\nHow to play:\nArrow Keys or WASD to move\nZ to skip \nYou can only skip every 4 sec\nAvoid spikes and water\n100% possible \nPart1 if you haven't play\nhttps://scratch.mit.edu/projects/484384799/\nPart 3:\nhttps://scratch.mit.edu/projects/489416143/\nPart4:\nhttps://scratch.mit.edu/projects/489875014/\nPart5:\nhttps://scratch.mit.edu/projects/496192588/\n\nLike and Fav for support\nfollow for more stuff and stuff\nwill try to answer all the comments\n100 views :)\n200 views :0\n300 views :D\n400 views q(≧▽≦q)\nMy Studio:\nhttps://scratch.mit.edu/studios/28429072/\n\nOther projects:\nSticker maker:\nhttps://scratch.mit.edu/projects/475659226/\nwizard's adventure part 1:\nhttps://scratch.mit.edu/projects/469131154/\n\nTags:\n#game #lol #cool #fun\n\nCredits:\n@TrentonTNT for some codes\n@Will_Wam for the katana cause I thought It was cool\nYo mama for the yo mama so fat _ link down \nhttps://www.youtube.com/user/YoMama

@Stage\n\nwhen flag clicked\nswitch backdrop to (story1 v)\n\nwhen backdrop switches to [1 v]\nbroadcast (end story v)\n\nwhen flag clicked\nrepeat until <(backdrop [name v]) = [1]>\n    if <key (space v) pressed?> then\n        next backdrop\n        wait (1) seconds\n    end\n    if <key (n v) pressed?> then\n        switch backdrop to (1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [dead end]> then\n        if <key (m v) pressed?> then\n            switch backdrop to (4 v)\n            go to x: (-197) y: (-63)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [14]> then\n        wait (0.5) seconds\n        switch backdrop to (wait no v)\n        wait (0.9) seconds\n        switch backdrop to (10 v)\n    end\nend\n\nwhen backdrop switches to [10 v]\nwait (2) seconds\nswitch backdrop to (11 v)\n\n@player\n\nwhen I receive [go v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nrepeat (5)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [restart v]\ngo to x: (-201) y: (-59)\n\nwhen I receive [end story v]\nset size to (150) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (player v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-201) y: (-59)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a 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 color (#815509)?> then\n        change y by (1)\n        if <touching color (#815509)?> then\n            change y by (1)\n            if <touching color (#815509)?> then\n                change y by (1)\n                if <touching color (#815509)?> then\n                    change y by (1)\n                    if <touching color (#815509)?> then\n                        change y by (1)\n                        if <touching color (#815509)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w 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 color (#815509)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#815509)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [16]\n        end\n    end\n    if <<touching color (#977b7b)?> or <touching color (#2a4b85)?>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <touching (trampoline v)?> then\n        start sound [Big Boing v]\n        set [yv v] to [22]\n    end\n    if <<(x position) > [-228]> and <(y position) < [-175]>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <not <<(backdrop [name v]) = [4]> and <<(y position) > [-109]> and <(y position) < [-46]>>>> then\n        if <(x position) = [245]> then\n            go to x: (-197) y: (-63)\n            next backdrop\n        end\n    end\nend\n\nwhen I receive [end story v]\nset [skip v] to [0]\nrepeat until <(backdrop [number v]) = [14]>\n    if <key (z v) pressed?> then\n        change [skip v] by (1)\n        next backdrop\n        go to x: (-197) y: (-63)\n        wait (4) seconds\n    end\nend\n\nwhen I receive [end story v]\nbroadcast (go v)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [4 v]\nforever\n    if <<(x position) = [245]> and <<(y position) > [-109]> and <(y position) < [-46]>>> then\n        go to x: (-197) y: (-63)\n        switch backdrop to (dead end v)\n    end\nend\n\nwhen backdrop switches to [7 v]\nforever\n    if <touching (katana v)?> then\n        switch costume to (player_with_sword v)\n    end\nend\n\nwhen backdrop switches to [11 v]\nhide\n\n@tb\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n@katana\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [7 v]\nshow\ngo to x: (12) y: (-107)\nset size to (150) %\npoint in direction (120)\n\nwhen backdrop switches to [7 v]\nforever\n    if <touching (player v)?> then\n        start sound [Pop v]\n        wait (0.01) seconds\n        hide\n    end\nend\n\n