-Chill- A Platformer

Instructions: -Chill- A Platformer:\nBasically, the Corona Virus has affected many humans around the world, and continues too!\nMany countries are trying to get it under control and a few have got it under control!\nPlease chill and relax, and stop worrying about the Covid-19! Don't let it get you!

@Stage\n\n@Clouds\n\nwhen I start as a clone\nshow\ngo [backward v] (pick random (10) to (20)) layers\ngo to x: (190) y: (pick random (-10) to (190))\nset [ghost v] effect to (pick random (50) to (50))\nset size to (pick random (100) to (300)) %\nset [cloud speed v] to ((size) / (200))\nrepeat until <[-240] > (x position)>\n    change x by ((Cloud Speed) / (-1))\nend\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I receive [platforms v]\nhide\nforever\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\nshow\ngo [backward v] (pick random (10) to (20)) layers\ngo to x: (190) y: (pick random (-10) to (190))\nset [ghost v] effect to (pick random (50) to (50))\nset size to (pick random (100) to (300)) %\nset [cloud speed v] to ((size) / (200))\nrepeat until <[-240] > (x position)>\n    change x by ((Cloud Speed) / (-1))\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\n@Settings\n\nwhen this sprite clicked\nswitch costume to (2 v)\nbroadcast (back v)\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (2 v)\nwait (1) seconds\nswitch costume to (1 v)\ngo to x: (-174) y: (-135)\nset size to (160) %\n\nwhen this sprite clicked\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    show\n    go [forward v] (1) layers\n    switch costume to (1 v)\n    go to x: (-174) y: (-135)\n    set size to (160) %\nend\n\n@skip button\n\nwhen this sprite clicked\nbroadcast (next level v)\n\nwhen I receive [platforms v]\nshow\ngo to x: (-220) y: (120)\n\nwhen flag clicked\nhide\n\n@restart button\n\nwhen this sprite clicked\nbroadcast (restart v)\n\nwhen flag clicked\n\nwhen I receive [platforms v]\nshow\ngo to x: (-220) y: (160)\n\nwhen flag clicked\nhide\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Left\n\nwhen this sprite clicked\nbroadcast (Left v)\n\nwhen I receive [platforms v]\nshow\n\nwhen flag clicked\nhide\n\n@Right\n\nwhen this sprite clicked\nbroadcast (Right v)\n\nwhen I receive [platforms v]\nshow\n\nwhen flag clicked\nhide\n\n@Down\n\nwhen this sprite clicked\nbroadcast (Down v)\n\nwhen I receive [platforms v]\nshow\n\nwhen flag clicked\nhide\n\n@Up\n\nwhen this sprite clicked\nbroadcast (Up v)\n\nwhen I receive [platforms v]\nshow\n\nwhen flag clicked\nhide\n\n@Dodge4\n\nset size to (100) %\n\nwhen I receive [animation v]\nhide\ndelete this clone\n\nwhen flag clicked\nset size to (0) %\nforever\n    repeat until <[600] = ([floor v] of (size) )>\n        go to [front v] layer\n        change size by (((600) - (size)) / (4))\n    end\n    if <touching (mouse-pointer v)?> then\n        repeat until <[1000] = ([floor v] of (size) )>\n            go to [front v] layer\n            change size by (((600) - (size)) / (2))\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat until <[600] = ([floor v] of (size) )>\n            go to [front v] layer\n            change size by (((500) - (size)) / (3))\n        end\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (0) y: (119)\nforever\n    point in direction (((5) * ([cos v] of ((timer) * (80)) )) + (90))\nend\n\nwhen flag clicked\nforever\n    play sound [Music  v] until done\nend\n\nwhen flag clicked\nshow\ngo to x: (0) y: (119)\npoint in direction (((5) * ([cos v] of ((timer) * (80)) )) + (90))\nforever\n\nhide\n\n@player\n\nwhen I receive [backward v]\nchange [costume v] by (-1)\nswitch costume to <(costume) = [-1]>\nchange [color v] effect by (-25)\n\nwhen I receive [forward v]\nchange [costume v] by (1)\nnext costume\nchange [color v] effect by (25)\n\nwhen I receive [up v]\nchange y by (10)\nforever\n\nwhen I receive [down v]\nchange y by (-10)\nforever\n\nwhen I receive [left v]\nchange x by (-10)\nforever\n\nwhen I receive [right v]\nchange x by (10)\nforever\n\ndefine Physics\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    switch costume to (costume1 v)\n    change [xmovement v] by (2)\nelse\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (costume2 v)\n        change [xmovement v] by (-2)\n    end\nend\nset [xmovement v] to ((Xmovement) * ((0.78) - (Friction)))\nchange x by (Xmovement)\nchange [yv v] by (-1.2)\nif <touching color (#0db220)?> then\n    change y by (1)\nend\nif <touching color (#0db220)?> then\n    change y by (1)\nend\nif <touching color (#0db220)?> then\n    change y by (1)\nend\nif <touching color (#0db220)?> then\n    change y by (1)\nend\nif <touching color (#0db220)?> then\n    change x by ((Xmovement) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n        set [yv v] to [15]\n        if <(Xmovement) > [0]> then\n            set [xmovement v] to [-7]\n        else\n            set [xmovement v] to [7]\n        end\n    else\n        set [xmovement v] to [0]\n    end\nend\nchange y by (Yv)\nif <touching color (#0db220)?> then\n    change y by ((Yv) - ((Yv) * (2)))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> and <touching color (#2fff00)?>> then\n    set [yv v] to [15]\nend\nif <(x position) > [239]> then\n    broadcast (next level v)\nend\nif <(y position) < [-179]> then\n    go to x: (-198) y: (-45)\nend\nif <touching color (#000000)?> then\n    set [yv v] to [26]\nend\nif <touching color (#00ae1d)?> then\n    go to x: (-198) y: (-45)\nend\n\nwhen I receive [next level v]\nset [yv v] to [0]\ngo to x: (-198) y: (-45)\n\npoint in direction (-90)\n\nwhen I receive [animation v]\nhide\n\nwhen flag clicked\nshow\ngo to x: (-3) y: (-83)\n\nwhen I receive [platforms v]\nswitch costume to (costume1 v)\npoint in direction (90)\nshow\ngo to [front v] layer\nset [yv v] to [0]\ngo to x: (-198) y: (-45)\nset size to (21) %\nforever\n    Physics\nend\n\nset [yv v] to [17]\nforever\n    if <(Yv) > [7]> then\n        repeat until <(Yv) = [0]>\n            change y by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <mouse down?>> then\n        set [yv v] to [17]\n    end\n    if <(Yv) > [7]> then\n        repeat until <(Yv) = [0]>\n            change y by (-1)\n        end\n    end\nend\n\n@Clickbait\n\nwhen flag clicked\nswitch costume to (1 v)\ngo [forward v] (1) layers\npoint in direction (90)\nshow\ngo to x: (-14) y: (-24)\nset size to (0) %\nforever\n    repeat until <[1000] = ([floor v] of (size) )>\n        go to [front v] layer\n        change size by (((1000) - (size)) / (4))\n    end\n    if <touching (mouse-pointer v)?> then\n        repeat until <[1300] = ([floor v] of (size) )>\n            go to [front v] layer\n            change size by (((1300) - (size)) / (1.5))\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat until <[1000] = ([floor v] of (size) )>\n            go to [front v] layer\n            change size by (((1000) - (size)) / (3))\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Animation v)\n\nwhen this sprite clicked\nforever\n    hide\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <[1] < (Level)> then\n        stop [this script v]\n    end\nend\n\nhide\n\n@forward\n\nwhen flag clicked\ngo to x: (25) y: (-84)\nshow\ngo [forward v] (1) layers\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (25)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (forward v)\n\nwhen I receive [animation v]\nhide\n\n@backward\n\nwhen flag clicked\ngo to x: (-33) y: (-83)\nshow\ngo [forward v] (1) layers\nforever\n    go to [front v] layer\n    show\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (25)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (backward v)\n\n\n\n\n\nwhen I receive [animation v]\nforever\n    hide\nend\n\nforever\n    hide\nend\n\n@Animation\n\nwhen I receive [animation v]\nshow\nswitch costume to (1 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (2 v)\nshow\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (3 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (4 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (5 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (6 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (7 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (8 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nswitch costume to (9 v)\nwait (4) seconds\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (50)\n    turn right (15) degrees\nend\npoint in direction (90)\nrepeat (10)\n    wait (0.2) seconds\n    change [ghost v] effect by (25)\n    change [ghost v] effect by (-25)\nend\nbroadcast (Platforms v)\nhide\n\nwhen flag clicked\nhide\n\n@Platforms\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [platforms v]\nshow\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\n@Thumbnail1\n\nwhen flag clicked\nwait (0.1) seconds\nhide\n\nforever\n    show\n    go to [front v] layer\nend\n\nwhen flag clicked\n\n