Easy 3D Scrolling Platformer Test 

Instructions:      PRESS THE GREEN FLAG TWICE!!\nShoutout to @-Evolution_Coder- and @ianftwa\nCheck this out! https://scratch.mit.edu/projects/351773950\n\nWelcome to the 3D Scrolling Platformer (test)\n\n                              Controls\n========================================\nWASD to move\nSpace to jump\n\nPlease love and favorite, I spent a very long time on this, and it would make my day! =D                               \n\n                                Credits\n========================================\nArt by me, @dennyzen\nCode by me, @dennyzen

@Stage\n\nwhen I receive [nextlevel2 v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@lvl 1\n\nif  then\n    change y by (3)\nend\nif  then\n    change x by (-3)\nend\nif  then\n    change y by (-3)\nend\nif  then\n    change x by (3)\nend\n\nwhen flag clicked\nshow\ngo [backward v] (1) layers\nforever\n    if <<key (w v) pressed?> or > then\n        change y by (-5)\n    end\n    if <<key (s v) pressed?> or > then\n        change y by (5)\n    end\n    if <<key (d v) pressed?> or > then\n        change x by (-5)\n    end\nend\n\nwhen flag clicked\ngo to x: (468) y: (173)\nshow\nset [xscroll v] to [0]\nrepeat until <(Lives) = [0]>\n    set x to ((Xscroll) + ((480) * (0)))\nend\n\nif <key (a v) pressed?> then\n    change x by (3)\nend\n\nwhen I receive [nextlevel v]\nhide\n\nwhen I receive [reset v]\ngo to x: (468) y: (173)\nset [xscroll v] to [0]\nrepeat until <(Lives) = [0]>\n    set x to ((Xscroll) + ((480) * (0)))\nend\n\n@lvl 2\n\nwhen I receive [nextlevel v]\nshow\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\n\nwhen I receive [nextlevel v]\nshow\ngo [backward v] (1) layers\nforever\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        change y by (-3)\n    end\n    if <<key (s v) pressed?> or <key (down arrow v) pressed?>> then\n        change y by (3)\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change x by (-3)\n    end\nend\n\nwhen I receive [reset v]\ngo to x: (0) y: (0)\n\nwhen I receive [nextlevel2 v]\nhide\n\n@player\n\nwhen flag clicked\nset size to (100) %\nset [reset v] to [0]\ngo to x: (-146) y: (-85)\nswitch costume to (costume1 v)\ngo to [front v] layer\nforever\n    if <<key (w v) pressed?> or > then\n        change y by (3)\n    end\n    if <<key (a v) pressed?> or > then\n        change x by (-3)\n    end\n    if <<key (s v) pressed?> or > then\n        change y by (-3)\n    end\n    if <<key (d v) pressed?> or > then\n        change x by (3)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        broadcast (Reset v)\n        change [reset v] by (1)\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nrepeat until <(Level:) = [1]>\n    if <<<<touching color (#ffffff)?> or <touching color (#99b2ff)?>> or <<touching color (#124dff)?> or <touching color (#4170ff)?>>> or <<touching color (#99b2ff)?> or <<touching color (#4170ff)?> or <touching color (#678dff)?>>>> then\n        if <not <touching color (#006622)?>> then\n            if <(costume [number v]) = [1]> then\n                go [backward v] (100) layers\n                repeat (15)\n                    change y by (-7)\n                    change size by (-2)\n                end\n                broadcast (Reset v)\n            end\n        end\n    end\nend\n\nwhen I receive [reset v]\nset size to (100) %\ngo to x: (-146) y: (-85)\nswitch costume to (costume1 v)\ngo to [front v] layer\nforever\n    if <key (w v) pressed?> then\n        change y by (3)\n    end\n    if <key (a v) pressed?> then\n        change x by (-3)\n    end\n    if <key (s v) pressed?> then\n        change y by (-3)\n    end\n    if <key (d v) pressed?> then\n        change x by (3)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(Jump Cool Down:) = [Ready]>> then\n        wait (1) seconds\n        change [jump cool down: v] by (-1)\n        wait (1) seconds\n        change [jump cool down: v] by (-1)\n        wait (1) seconds\n        set [jump cool down: v] to [Ready]\n    end\nend\n\nwhen flag clicked\nset [jump cool down: v] to [3]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        switch costume to (costume2 v)\n        set [airborne v] to [1]\n        repeat (10)\n            change y by (5)\n            set [cos v] to (Mark)\n        end\n        repeat (10)\n            change y by (-5)\n            set [cos v] to (Mark)\n        end\n        set [airborne v] to [0]\n        switch costume to (costume1 v)\n        start sound [pop v]\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nset [airborne v] to [0]\nrepeat until <(Level:) = [1]>\n    if <<<touching color (#ffffff)?> and <not <<touching color (#006622)?> or <touching color (#009933)?>>>> and <(Airborne) = [0]>> then\n        broadcast (message1 v)\n        repeat (15)\n            change y by (-5)\n        end\n        broadcast (rst v)\n    end\nend\n\nwhen flag clicked\nset [reset v] to [0]\nforever\n    if <touching color (#6600cc)?> then\n        wait (0.1) seconds\n        broadcast (NextLevel v)\n        go to x: (-157) y: (-102)\n        change [level: v] by (1)\n    end\nend\n\nwhen I receive [nextlevel v]\nset size to (100) %\nforever\n    if <<<<<touching color (#ffffff)?> or <touching color (#99b2ff)?>> or <<touching color (#124dff)?> or <touching color (#4170ff)?>>> or <<touching color (#99b2ff)?> or <<touching color (#4170ff)?> or <touching color (#678dff)?>>>> or <touching color (#ffffff)?>> then\n        if <not <touching color (#666666)?>> then\n            if <(costume [number v]) = [1]> then\n                go [backward v] (100) layers\n                repeat (15)\n                    change y by (-7)\n                    change size by (-2)\n                end\n                change [reset v] by (1)\n                broadcast (Reset v)\n            end\n        end\n    end\nend\n\nwhen I receive [nextlevel v]\nset [airborne v] to [0]\nforever\n    if <<<touching color (#ffffff)?> and <not <touching color (#666666)?>>> and <(Airborne) = [0]>> then\n        broadcast (message1 v)\n        repeat (15)\n            change y by (-5)\n        end\n        broadcast (rst v)\n    end\nend\n\nwhen flag clicked\nset [level: v] to [0]\n\nwhen I receive [nextlevel v]\nforever\n    if <touching color (#ffccf2)?> then\n        broadcast (nextlevel2 v)\n        hide\n    end\nend\n\nwhen flag clicked\nshow\n\n@testy\n\nif <key (w v) pressed?> then\n    change y by (3)\nend\nif <key (a v) pressed?> then\n    change x by (-3)\nend\nif <key (s v) pressed?> then\n    change y by (-3)\nend\nif <key (d v) pressed?> then\n    change x by (3)\nend\n\nwhen flag clicked\ngo to x: (20) y: (16)\nset [xscroll v] to [0]\nrepeat until <(Lives) = [0]>\n    set x to ((Xscroll) + ((480) * (0)))\nend\n\nif <key (a v) pressed?> then\n    change x by (3)\nend\n\nwhen I receive [nextlevel v]\nhide\n\nwhen I receive [reset v]\ngo to x: (20) y: (16)\nset [xscroll v] to [0]\nrepeat until <(Lives) = [0]>\n    set x to ((Xscroll) + ((480) * (0)))\nend\n\nwhen flag clicked\nshow\ngo [backward v] (1) layers\nforever\n    if <key (w v) pressed?> then\n        change y by (-5)\n    end\n    if <key (s v) pressed?> then\n        change y by (5)\n    end\n    if <key (d v) pressed?> then\n        change x by (-5)\n    end\nend\n\nwhen flag clicked\nchange [☁ plays v] by (1)\n\n@thumb\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\ngo [forward v] (9999999999999999) layers\n\n