Noob Platformer

Instructions:                                       *NOTE*\nCURRENTLY THERE ARE A FEW BUGS. IF 3 ICONS APPEAR AT THE START, PRESS THE GREEN FLAG\n                              AGAIN TO RESET IT.\n\nArrow keys to move. Your a Noob on Roblox. You want to complete this Obby. I have placed some dumb glitches, but they are made to test your wit. Please don't get mad at the comments. They're there so you can try out your stress. click the badge\n\nThe current record holder is @Project_Newb\n\n

@Stage\n\nwhen I receive [end v]\nstop all sounds\nplay sound [Your Door Was Locked!.mp3 v] until done\n\n@Noob\n\nwhen flag clicked\nhide\nwait (3.8) seconds\nshow\ngo to x: (-171) y: (-93)\nforever\n    if <key (r v) pressed?> then\n        go to x: (-171) y: (-93)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-171) y: (-93)\n    end\n    if <touching color (#0033cc)?> then\n        broadcast (NEXT! v)\n        go to x: (-171) y: (-93)\n    end\n    change [y v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000008)?> then\n        change y by (1)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change y by (-6)\n                                if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000008)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\nend\n\n@level\n\nwhen I receive [next! v]\nnext costume\n\nwhen flag clicked\nswitch costume to (level 1 v)\nstart sound [flight v]\nhide variable [time to advertise my account v]\nforever\n    if <(costume [number v]) = [7]> then\n        set [time to advertise my account v] to [7]\n        broadcast (end v) and wait\n    end\n    if <(costume [number v]) = [6]> then\n        broadcast (end 2 v)\n    end\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [6]> then\n    next costume\nend\n\n@Time\n\nwhen flag clicked\nset [time v] to [0]\nhide variable [time v]\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\ndefine Flicker\nshow variable [time v]\nwait (0.1) seconds\nhide variable [time v]\nwait (0.3) seconds\nshow variable [time v]\nwait (0.4) seconds\nhide variable [time v]\nwait (0.2) seconds\nshow variable [time v]\nwait (0.5) seconds\nhide variable [time v]\nwait (0.1) seconds\nshow variable [time v]\nwait (0.6) seconds\nhide variable [time v]\nwait (0.09) seconds\nshow variable [time v]\n\nwhen I receive [end v]\nFlicker\n\nwhen I receive [end 2 v]\nstop [other scripts in sprite v]\n\n@Favorite\n\nwhen flag clicked\nset [time to advertise my account v] to [0]\nhide\ngo to x: (-168) y: (-121)\nwait until <(Time to advertise my account) = [7]>\nshow\nforever\n    turn right (10) degrees\n    wait (0.01) seconds\nend\n\n@Love\n\nwhen flag clicked\nset [time to advertise my account v] to [0]\nhide\ngo to x: (-11) y: (-102)\nwait until <(Time to advertise my account) = [7]>\nshow\nforever\n    turn right (10) degrees\n    wait (0.01) seconds\nend\n\n@Follow\n\nwhen flag clicked\nset [time to advertise my account v] to [0]\nhide\ngo to x: (164) y: (-94)\nwait until <(Time to advertise my account) = [7]>\nshow\nforever\n    turn right (10) degrees\n    wait (0.01) seconds\nend\n\n@Intro\n\nwhen I receive [play intro v]\n\nwhen flag clicked\nshow\nset [var1 \(intro\) v] to [0]\nset [var3 \(intro\) v] to [0]\nset size to (100) %\ngo to x: (10) y: (0)\nswitch costume to (background v)\nset [brightness v] effect to (100)\nrepeat (2)\n    change [brightness v] effect by (-50)\nend\nwait (1) seconds\nhide\nswitch costume to (tv1 v)\ncreate clone of (_myself_ v)\nswitch costume to (background v)\nshow\nwait until <(Var1 \(Intro\)) = [1]>\nrepeat (20)\n    switch costume to (tv1 v)\n    change size by (10)\n    switch costume to (background v)\nend\nwait until <(Var3 \(Intro\)) = [1]>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nbroadcast (Start Project v)\n\nbroadcast (Play intro v)\n\nwhen I start as a clone\nif <(costume [name v]) = [TV1]> then\n    set size to (400) %\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (0.2) seconds\n    set [var1 \(intro\) v] to [1]\n    repeat (20)\n        change size by (10)\n    end\n    set [var2 \(intro\) v] to [-3]\n    repeat (50)\n        change x by (Var2 \(Intro\))\n    end\n    wait (0.1) seconds\n    repeat (8)\n        next costume\n        change size by (-30)\n    end\n    set [var3 \(intro\) v] to [1]\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\n@Y U SOTP?!\n\nwhen flag clicked\nset [don't goof around v] to [0]\ngo to x: (0) y: (0)\nhide\nforever\n    if <not <(Don't Goof Around) = [1]>> then\n        hide\n        set [stop? v] to ((timer) + (0.1))\n    end\n    if <key (q v) pressed?> then\n        set [don't goof around v] to [1]\n    end\n    if <(Don't Goof Around) = [1]> then\n        hide\n    end\nend\n\nwhen [timer v] > (Stop?)\nshow\n\n