Dark Platformer- The game

Instructions: GO LIKE MY NEW PLATFORMER! YOU ALL WANTED A NEW PLATFORMER SO THERE IT IS!! :D\n\nUPDATE: 10400 views!!! WE GOT 600 LOVES!!! 400 FAVOURITES!! No way!!!! TOP LOVED!!!!!\nWelcome to my first ever platformer: Dark Platformer!\nThis is my first so i'm not to good at making these yet! \nSince this is my first, yes it will be easy. Eventually the better i get at making these, the harder the levels will be!\n~~~~~~~\nInstructions:\nUse right arrow to move to the right. Use left arrow to move to the left. Up arrow is to jump.

@Stage\n\n@Player\n\nwhen flag clicked\nbroadcast (Level 1 v)\ngo to x: (-185) y: (-80)\nshow\nset [x vel v] to [0]\nset [y vel v] to [0]\nforever\n    Platform Physics [12] [-1] [0.9] [1] [8] [8]\nend\n\ndefine Platform Physics (jump height) (gravity) (friction) (movement speed) (wall jump vm) (wall jump hm)\nchange y by (y vel)\nif <touching (ground v)?> then\n    repeat ([abs v] of (y vel) )\n        if <touching (ground v)?> then\n            change y by ((-1) * (([abs v] of (y vel) ) / (y vel)))\n        end\n    end\n    if <<key (up arrow v) pressed?> and <not <(y vel) > [0]>>> then\n        set [y vel v] to (jump height)\n    else\n        set [y vel v] to [0]\n    end\nelse\n    change [y vel v] by (gravity)\nend\nif <key (right arrow v) pressed?> then\n    change [x vel v] by (movement speed)\n    switch costume to (costume1 v)\nend\nif <key (left arrow v) pressed?> then\n    change [x vel v] by ((-1) * (movement speed))\n    switch costume to (costume2 v)\nend\nchange x by (x vel)\nif <touching (ground v)?> then\n    set [old y v] to (y position)\n    repeat (([abs v] of (x vel) ) + (1))\n        if <touching (ground v)?> then\n            if <touching (ground v)?> then\n                change y by (1)\n            end\n        end\n    end\n    if <touching (ground v)?> then\n        set y to (old y)\n        repeat ([ceiling v] of ([abs v] of (x vel) ) )\n            if <touching (ground v)?> then\n                change x by ((-1) * (([abs v] of (x vel) ) / (x vel)))\n            end\n        end\n    end\n    if <key (up arrow v) pressed?> then\n        if <(x vel) < [0]> then\n            set [x vel v] to [0]\n            if <key (left arrow v) pressed?> then\n                set [x vel v] to (wall jump hm)\n                set [y vel v] to (wall jump vm)\n            end\n        else\n            if <key (right arrow v) pressed?> then\n                set [x vel v] to ((-1) * (wall jump hm))\n                set [y vel v] to (wall jump vm)\n            end\n        end\n    end\nend\nset [x vel v] to ((x vel) * (friction))\nif <touching (next level v)?> then\n    go to x: (-185) y: (-80)\n    broadcast (level 2 v)\nend\nif <touching (next level2 v)?> then\n    broadcast (level 3 parkour v)\n    go to x: (-185) y: (-80)\nend\nif <touching (next level3 v)?> then\n    go to x: (-185) y: (-80)\n    broadcast (level 4 parkour v)\nend\nif <touching (next level4 v)?> then\n    go to x: (-185) y: (34)\n    broadcast (level 5 parkour v)\nend\nif <touching (next level5 v)?> then\n    go to x: (-185) y: (-80)\n    broadcast (level 6 parkour v)\nend\nif <touching (next level6 v)?> then\n    go to x: (-185) y: (-80)\n    broadcast (The end! Yayy :D v)\nend\n\nwhen I receive [level 1 v]\n\nwhen I receive [level 3 parkour v]\nforever\n    if <touching (red death  v)?> then\n        broadcast (Dead v)\n    end\nend\n\nwhen I receive [dead v]\ngo to x: (-185) y: (-80)\n\nwhen I receive [level 3 parkour v]\nforever\n    if <<touching (red death 2 v)?> or <touching (red death 3 v)?>> then\n        go to x: (-185) y: (12)\n    end\nend\n\nwhen I receive [level 5 parkour v]\nforever\n    if <<touching (red death 4 v)?> or <touching (red death 5 v)?>> then\n        go to x: (-185) y: (12)\n    end\nend\n\nwhen I receive [level 5 parkour v]\nforever\n    if <<touching (red death 6 v)?> or <touching (red death 7 v)?>> then\n        go to x: (-185) y: (12)\n    end\nend\n\nwhen I receive [level 5 parkour v]\nforever\n    if <<touching (red death 8 v)?> or <touching (red death 9 v)?>> then\n        go to x: (-185) y: (12)\n    end\nend\n\nwhen I receive [level 6 parkour v]\nforever\n    if <<touching (red death 14 v)?> or <touching (red death 15 v)?>> then\n        go to x: (-182) y: (-73)\n    end\nend\n\nwhen I receive [level 6 parkour v]\nforever\n    if <<touching (red death 10 v)?> or <touching (red death 11 v)?>> then\n        go to x: (-182) y: (-73)\n    end\nend\n\nwhen I receive [level 6 parkour v]\nforever\n    if <<touching (red death 12 v)?> or <touching (red death 13 v)?>> then\n        go to x: (-182) y: (-73)\n    end\nend\n\nwhen I receive [the end! yayy :d v]\nhide\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [level 2 parkour v]\nswitch costume to (costume2 v)\n\nwhen I receive [level 3 parkour v]\nswitch costume to (costume1 v)\n\nwhen I receive [level 4 parkour v]\nswitch costume to (costume4 v)\n\nwhen I receive [level 5 parkour v]\nswitch costume to (costume5 v)\n\nwhen I receive [level 6 parkour v]\nswitch costume to (costume6 v)\n\nwhen I receive [the end! yayy :d v]\nswitch costume to (costume7 v)\n\n@Text\n\nwhen flag clicked\nhide\n\nwhen I receive [level 1 v]\nwait (0.2) seconds\nshow\n\nwhen I receive [level 2 parkour v]\nhide\n\n@Music\n\nwhen flag clicked\nplay sound [Creative Minds - Bensound _ Royalty Free Music - No Copyright Music v] until done\n\n@Red death \n\nwhen I receive [level 3 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (6) y: (-182)\nhide\n\nwhen I receive [level 4 parkour v]\nhide\n\n@Next level\n\nwhen I receive [level 1 v]\nshow\n\nwhen I receive [level 2 v]\nbroadcast (level 2 parkour v)\n\nwhen flag clicked\nhide\n\nwhen I receive [level 2 v]\nhide\n\n@Next level2\n\nwhen flag clicked\nhide\n\nwhen I receive [level 2 v]\nshow\n\nwhen flag clicked\ngo to x: (198) y: (-130)\n\nwhen I receive [level 3 parkour v]\nhide\n\n@Next level3\n\nwhen I receive [level 4 parkour v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (198) y: (-130)\n\n@Next level4\n\nwhen flag clicked\nhide\n\nwhen I receive [level 4 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (201) y: (125)\n\nwhen I receive [level 5 parkour v]\nhide\n\n@Red death 2\n\nwhen I receive [level 4 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (101) y: (-126)\nhide\n\nwhen I receive [level 5 parkour v]\nhide\n\n@Red death 3\n\nwhen I receive [level 3 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (170) y: (-182)\nhide\n\nwhen I receive [level 4 parkour v]\nhide\n\n@Next level5\n\nwhen flag clicked\nhide\n\nwhen I receive [level 5 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (-52) y: (126)\n\nwhen I receive [level 6 parkour v]\nhide\n\n@Red death 4\n\nwhen I receive [level 6 parkour v]\nhide\n\nwhen I receive [level 5 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (-84) y: (-125)\nhide\n\n@Red death 5\n\nwhen I receive [level 6 parkour v]\nhide\n\nwhen I receive [level 5 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (-7) y: (-126)\nhide\n\n@Red death 6\n\nwhen I receive [level 6 parkour v]\nhide\n\nwhen I receive [level 5 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (69) y: (-126)\nhide\n\n@Red death 7\n\nwhen I receive [level 6 parkour v]\nhide\n\nwhen I receive [level 5 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (151) y: (-126)\nhide\n\n@Red death 8\n\nwhen I receive [level 6 parkour v]\nhide\n\nwhen I receive [level 5 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (241) y: (-126)\nhide\n\n@Next level6\n\nwhen flag clicked\nhide\n\nwhen I receive [level 6 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (99) y: (122)\n\nwhen I receive [the end! yayy :d v]\nhide\n\n@Red death 9\n\nwhen I receive [level 5 parkour v]\nshow\n\nwhen I receive [level 6 parkour v]\nhide\n\nwhen flag clicked\ngo to x: (91) y: (21)\nhide\n\n@Red death 10\n\nwhen I receive [the end! yayy :d v]\nhide\n\nwhen I receive [level 6 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (-80) y: (-200)\nhide\n\n@Red death 11\n\nwhen I receive [level 6 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (-8) y: (-200)\nhide\n\nwhen I receive [the end! yayy :d v]\nhide\n\n@Red death 12\n\nwhen I receive [level 6 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (65) y: (-200)\nhide\n\nwhen I receive [the end! yayy :d v]\nhide\n\n@Red death 13\n\nwhen I receive [level 6 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (146) y: (-200)\nhide\n\nwhen I receive [the end! yayy :d v]\nhide\n\n@Red death 14\n\nwhen I receive [level 6 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (193) y: (-200)\nhide\n\nwhen I receive [the end! yayy :d v]\nhide\n\n@Red death 15\n\nwhen I receive [level 6 parkour v]\nshow\n\nwhen flag clicked\ngo to x: (243) y: (-200)\nhide\n\nwhen I receive [the end! yayy :d v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [the end! yayy :d v]\nshow\n\nwhen flag clicked\ngo to [back v] layer\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [the end! yayy :d v]\nshow\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [the end! yayy :d v]\nshow\n\nwhen flag clicked\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [the end! yayy :d v]\nshow\n\n@Sprite5\n\nwhen flag clicked\nshow\nwait (0.2) seconds\nhide\n\n