lite a platformer v2.0

Instructions: w and d or arrow keys to move \nup arrow to jump \nr to skip a level\nfollow me @mrsupergames5000 \nDO NOT ADVERTISE\n100/ by me

@Stage\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Faded \(Instrumental Version\) v] until done\nend\n\nwhen backdrop switches to [level1 v]\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (-207) y: (60)\nswitch costume to (player v)\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen flag clicked\nforever\n    change [yv v] by (-0.5)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (0.8)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-0.8)\n        point in direction (90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\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 y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [10]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    wait (5) seconds\n    switch costume to (player v)\n    wait (.1) seconds\n    switch costume to (player2 v)\n    wait (.1) seconds\n    switch costume to (player3 v)\n    wait (.1) seconds\n    switch costume to (player4 v)\n    wait (.1) seconds\n    switch costume to (player5 v)\n    wait (.1) seconds\n    switch costume to (player6 v)\n    wait (.1) seconds\n    switch costume to (player7 v)\n    wait (.1) seconds\n    switch costume to (player8 v)\n    wait (.1) seconds\n    switch costume to (player7 v)\n    wait (.1) seconds\n    switch costume to (player6 v)\n    wait (.1) seconds\n    switch costume to (player5 v)\n    wait (.1) seconds\n    switch costume to (player4 v)\n    wait (.1) seconds\n    switch costume to (player3 v)\n    wait (.1) seconds\n    switch costume to (player2 v)\n    wait (.1) seconds\n    switch costume to (player v)\n    wait (.1) seconds\nend\n\nwhen flag clicked\nset [color v] effect to (0)\nset size to (100) %\nswitch backdrop to (level1 v)\nforever\n    if <<touching (_edge_ v)?> and <(x position) > [217]>> then\n        start sound [SOUND EFFECTS USED FOR EDITING v]\n        next backdrop\n        go to x: (-207) y: (-59)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <touching color (#be0000)?> then\n        start sound [Roblox Death Sound - OOF Sound Effect v]\n        switch costume to (costume1 v)\n        wait (.1) seconds\n        switch costume to (player v)\n        go to x: (-207) y: (-59)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#dad900)?> then\n        start sound [Boing v]\n        set [yv v] to [12]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#0053cf)?> then\n        start sound [woosh v]\n        set [xv v] to [12]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#9865fe)?> then\n        start sound [woosh v]\n        set [xv v] to [-50]\n    end\nend\n\nwhen flag clicked\nset [color v] effect to (0)\n\nwhen flag clicked\nforever\n    wait (.1) seconds\n    if <key (r v) pressed?> then\n        next backdrop\n        go to x: (-207) y: (-59)\n    end\nend\n\nhide\n\nwhen backdrop switches to [kkk5 v]\nforever\n    set size to (73) %\n    change [color v] effect by (60)\nend\n\ncreate clone of (_myself_ v)\n\nmove (10) steps\n\n@thumbnail\n\nshow\n\nwhen flag clicked\nhide\n\nmove (10) steps\n\n@Sprite3\n\nwhen flag clicked\nset [color v] effect to (0)\nset [ghost v] effect to (0)\nhide\n\nwhen backdrop switches to [kkk5 v]\nshow\nforever\n    change [color v] effect by (25)\nend\n\nwhen backdrop switches to [kkk5 v]\nshow\nforever\n    wait (.4) seconds\n    change [ghost v] effect by (25)\nend\n\n