Pay 2 Win Platformer || A game
@Stage\n\nwhen I receive [start the game nerds v]\nset [brightness v] effect to (10)\nset [ghost v] effect to (0)\nforever\n    change [color v] effect by (3)\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <([costume name v] of [ground v]) = [Lvl 2]> then\n        switch backdrop to (lol background love v)\n    end\n    if <([costume name v] of [ground v]) = [Lvl 4]> then\n        switch backdrop to (lol background fave v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (lol background v)\n\n@'The Light in the Dark"\n\nwhen flag clicked\nset [level v] to [1]\nset [falling v] to [0]\nbroadcast (Start Up v)\n\nwhen I receive [start up v]\ngo to x: (-187) y: (30)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\n\nwhen flag clicked\nforever\n    wait until <(x position) = [241]>\n    broadcast (Next Level! v)\n    change [level v] by (1)\nend\n\nwhen I receive [next level! v]\nnext backdrop\ngo to x: (-247) y: (10)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        broadcast (HAHA U DIED v)\n    end\nend\n\nwhen I receive [haha u died v]\ncreate clone of (_myself_ v)\ngo to x: (-200) y: (10)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\n\nwhen flag clicked\nshow\n\nwhen I start as a clone\nrepeat (100)\n    change y by (6)\n    turn left (2) degrees\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <[185] < (y position)> then\n        delete this clone\n    end\nend\n\nhide\n\nwhen I receive [skip v]\nchange [level v] by (1)\ngo to x: (-200) y: (10)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\n\nwhen I receive [start the game nerds v]\nforever\n    if <key (left arrow v) pressed?> then\n        change [x velocity v] by (-1.7)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x velocity v] by (1.7)\n    end\n    set [x velocity v] to ((X Velocity) * (0.82))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n        change x by ((X Velocity) * (-1))\n        change y by (-5)\n        if <(Loved?) = [true]> then\n            if <key (up arrow v) pressed?> then\n                if <[0] < (X Velocity)> then\n                    set [x velocity v] to [-10]\n                else\n                    set [x velocity v] to [10]\n                end\n                set [y velocity v] to [12]\n            else\n                set [x velocity v] to [0]\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <key (up arrow v) pressed?>> then\n        set [y velocity v] to [13.85]\n    end\n    change y by (1)\nend\n\nwhen I receive [start the game nerds v]\nforever\n    if <(Faved?) = [false]> then\n        if <touching (gate v)?> then\n            change y by (1)\n        end\n        if <touching (gate v)?> then\n            change y by (1)\n        end\n        if <touching (gate v)?> then\n            change y by (1)\n        end\n        if <touching (gate v)?> then\n            change y by (1)\n        end\n        if <touching (gate v)?> then\n            change y by (1)\n            change x by ((X Velocity) * (-1))\n            change y by (-5)\n        end\n        if <touching (gate v)?> then\n            change y by ((Y Velocity) - ((Y Velocity) * (2)))\n            set [y velocity v] to [0]\n        end\n        change y by (-1)\n        if <<touching (gate v)?> and <key (up arrow v) pressed?>> then\n            set [y velocity v] to [13.85]\n        end\n        change y by (1)\n    end\nend\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nshow\nforever\n    if <(ppl on other side) = [2]> then\n        broadcast (Next Level! v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nswitch costume to (lvl 2 v)\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nshow\n\n@Starting Screen\n\nwhen flag clicked\nswitch costume to (lol v)\nset [ghost v] effect to (0)\nset [turn v] to [1]\npoint in direction (90)\nshow\ngo to [front v] layer\nwait (2) seconds\nrepeat (200)\n    turn left (Turn) degrees\nend\n\nwhen I receive [start the game nerds v]\nhide\npoint in direction (90)\n\nwhen flag clicked\nwait (2) seconds\nrepeat (200)\n    change [turn v] by ((Turn) * (0.03))\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(Turn) > [60]> then\n        switch costume to (black v)\n        set [turn v] to [0]\n        wait (2.1) seconds\n        repeat (50)\n            change [ghost v] effect by (4)\n        end\n    end\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(costume [number v]) = [2]> then\n        wait (2.5) seconds\n        broadcast (Start the game nerds v)\n    end\nend\n\n@Gate\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <([costume name v] of [ground v]) = [Lvl 4]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@detector\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nset [actions \(love/fave\) v] to [0]\nset [loved? v] to [false]\nset [faved? v] to [false]\nforever\n    set [touching v] to [none]\n    Detect [love] at [-201] [-220]\n    Detect [fave] at [-201] [-220]\nend\n\ndefine Detect (thing) at (x) (y)\nswitch costume to (empty v)\nset size to (27000) %\ngo to x: (x) y: (y)\nset size to (100) %\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [touching v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [love]>\n    wait (0.2) seconds\n    if <(touching) = [love]> then\n        set [loved? v] to [true]\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [fave]>\n    wait (0.2) seconds\n    if <(touching) = [fave]> then\n        set [faved? v] to [true]\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait until <(Actions \(love/fave\)) = [2]>\nset [actions \(love/fave\) v] to [0]\n\n@Thx\n\nwhen flag clicked\nhide\ngo to x: (0) y: (215)\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(Loved?) = [true]> then\n        switch costume to (loved v)\n        show\n        repeat (55)\n            change y by (-2)\n        end\n        wait (4) seconds\n        repeat (55)\n            change y by (2)\n        end\n        hide\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(Faved?) = [true]> then\n        switch costume to (faved v)\n        show\n        repeat (55)\n            change y by (-2)\n        end\n        wait (4) seconds\n        repeat (55)\n            change y by (2)\n        end\n        hide\n        stop [this script v]\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nshow\n\n