Blue Jumper || Platformer

Instructions: 1. Click the green flag.\n2. WAD or Cursor keys to move.\n3. Avoid dark blue lava.\n4. Trie to win.\n5. Heart or follow or I steal your Candy bar!\n6. Have Fun!!! \n7. Enjoy!!!\n

@Stage\n\n@You\n\nwhen flag clicked\ngo to x: (50) y: (0)\nforever\n    Tick\nend\n\ndefine Tick\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > [0]> and <mouse down?>>> then\n    Change your x by [7]\n    point in direction (90)\nend\nif <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < [0]> and <mouse down?>>> then\n    Change your x by [-7]\n    point in direction (-90)\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> then\n    if <(in air?) < [4]> then\n        set [sy v] to [14.5]\n    end\nend\nchange [sy v] by (-2)\nChange your y by (sy)\nif <<(x position) > [237]> and <touching (_edge_ v)?>> then\n    change [level v] by (1)\n    broadcast (Level v)\nend\nif <key (r v) pressed?> then\n    broadcast (Level v)\nend\nif <touching color (#00a0b1)?> then\n    broadcast (Level v)\nend\nif <touching color (#4eedff)?> then\n    set [sy v] to [30]\nend\n\ndefine Change your x by (sx)\nchange [x v] by (sx)\ngo\nif <touching color (#00dbf2)?> then\n    repeat (12)\n        change [y v] by (1)\n        go\n        if <not <touching color (#00dbf2)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-8)\n    repeat until <not <touching color (#00dbf2)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        go\n    end\nend\n\ndefine Change your y by (sy)\nchange [y v] by (sy)\nchange [in air? v] by (1)\ngo\nrepeat until <not <touching color (#00dbf2)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air? v] to [0]\n    end\n    go\n    set [sy v] to [0]\nend\n\nwhen flag clicked\nset [in air? v] to [0]\nset [sy v] to [0]\nset [y v] to [-50]\nset [x v] to [-225]\n\ndefine go\ngo to x: (x) y: (y)\n\nwhen flag clicked\nset [walk v] to [0]\nforever\n    change [walk v] by (1)\n    if <(walk) > [5]> then\n        set [walk v] to [1]\n    end\n    wait (0.03) seconds\nend\n\nwhen I receive [level v]\nset [y v] to [-110]\nset [x v] to [-225]\n\nwhen flag clicked\nwait until <(Level) > [10]>\nbroadcast (END v)\n\nwhen flag clicked\nforever\n    play sound [Windfall - The fat rat v] until done\nend\n\nwhen flag clicked\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (a v) pressed?> or <key (left arrow v) pressed?>>> or <mouse down?>> then\n        switch costume to (walk)\n    end\n    if <not <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (a v) pressed?> or <key (left arrow v) pressed?>>> or <mouse down?>>> then\n        switch costume to (1 v)\n    end\nend\n\n@Your level\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nset [level v] to [10]\n\n@LAZER\n\nwhen flag clicked\nhide\ngo [backward v] (111) layers\nforever\n    if <(Level) = [6]> then\n        show\n        repeat until <(Level) = [7]>\n            switch costume to (laz 2 v)\n            show\n            wait (1) seconds\n            hide\n            wait (1) seconds\n        end\n    end\n    hide\n    wait (1) seconds\n    switch costume to (laz 3 v)\n    if <(Level) = [7]> then\n        show\n        repeat until <(Level) = [8]>\n            switch costume to (laz 3 v)\n            show\n            wait (1) seconds\n            hide\n            wait (2) seconds\n        end\n    end\n    hide\n    wait (1) seconds\n    if <(Level) = [10]> then\n        show\n        repeat until <(Level) = [11]>\n            switch costume to (laz 4 v)\n            show\n            wait (2) seconds\n            hide\n            wait (1) seconds\n        end\n    end\n    hide\nend\n\nset [level v] to [9]\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\n\nset [level v] to [10]\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\n\n@Intro\n\nwhen flag clicked\ninitialize\nshow\nrepeat (24)\n    create clone of (_myself_ v)\n    wait (0.05) seconds\n    next costume\nend\n\ndefine initialize\nset size to (65) %\nhide\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nswitch costume to (imgres v)\ngo to [front v] layer\npoint in direction (90)\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (3) seconds\nset [move v] to [0]\nrepeat (25)\n    change [move v] by (-1)\n    change x by ((move) * (-1))\n    change [ghost v] effect by (4)\n    turn left ((1.8) * (move)) degrees\nend\n\n