Muddy | A Platformer /1\  █▓▒­░⡷⠂ℍomecoming⠐⢾░▒▓█

Instructions: Welcome to my first platformer\nMUDDY | A Platformer /1\\nFinished 2 weeks ago but, I didn't want to do the descrption (￣▽￣)\nLet's get in the #10 french trendings yay\nFuture parts:\nHomecoming (actual)\nFar From Home (next)\nNo Way Home (Final)\nYeh I know, Spiderman titles xD\nTell in comments which is the best Spiderman.\n❤️Tom Holland\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYep nothing at the end, because I wanted to do the descrpition in two minutes

@Stage\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nswitch costume to (clone v)\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [end v]\nshow\nset size to (83) %\ngo to x: (-201) y: (55)\npoint in direction (90)\nchange [x v] by (-1.7)\nswitch costume to (left v)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (right v)\n        change [x v] by (1.7)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        change [x v] by (-1.7)\n        switch costume to (left v)\n    end\n    if <<<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n        switch costume to (up right v)\n    end\n    if <<<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n        switch costume to (up left v)\n    end\n    if <not > then\n        switch costume to (normal v)\n    end\n    if <<<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n        switch costume to (up left v)\n    end\n    change x by (X)\n    if <touching (ground v)?> then\n        change x by ((X) * (-1))\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            if <(X) > [0]> then\n                set [x v] to [-15]\n                set [y v] to [10]\n            else\n                set [x v] to [15]\n                set [y v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    else\n        set [x v] to ((X) * (0.8))\n    end\n    change y by (Y)\n    if <touching (ground v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            switch costume to (up v)\n            if <(Jump) = [yes]> then\n                set [y v] to [12]\n                set [jump v] to [no]\n            end\n        end\n    else\n        change [y v] by (-1)\n        set [jump v] to [yes]\n    end\n    if <(x position) > [225]> then\n        set size to (83) %\n        go to x: (-201) y: (55)\n        broadcast (Next v)\n    end\n    if <<<touching (danger v)?> or <touching (spikes  v)?>> or <touching (mud v)?>> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        set size to (83) %\n        go to x: (-201) y: (55)\n        set [ghost v] effect to (0)\n    end\n    if <touching (teleporters v)?> then\n        wait (0.3) seconds\n        go to (final arrangement of teleporter v)\n    end\nend\n\nwhen I receive [end v]\nshow\nhide variable [x v]\nhide variable [y v]\nhide variable [jump v]\nswitch costume to (normal v)\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [end v]\nforever\n    play sound [yt1s v] until done\nend\n\nwhen I receive [l v]\nhide\n\n@Ground\n\nwhen flag clicked\ngo to x: (-15) y: (-76)\nhide\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [end v]\nshow\nswitch costume to (lvl 1 v)\n\n@Rain\n\nwhen I start as a clone\nswitch costume to (1 v)\nshow\nglide (1) secs to x: (x position) y: (-180)\ndelete this clone\n\ngo to [back v] layer\n\nwhen I receive [end v]\nshow\nforever\n    go to x: (pick random (-240) to (240)) y: (180)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nhide\n\n@Danger\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\n\n@Spikes \n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [end v]\nshow\nswitch costume to (lvl1 v)\n\n@Mud\n\nwhen flag clicked\nforever\n    set y to (Magma or Teleporter)\nend\n\nwhen flag clicked\nforever\n    set [magma or teleporter v] to [0]\n    repeat (10)\n        change [magma or teleporter v] by (1)\n    end\n    repeat (20)\n        change [magma or teleporter v] by (-1)\n    end\n    repeat (10)\n        change [magma or teleporter v] by (1)\n    end\nend\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [next v]\nnext costume\n\n@Teleporters\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nforever\n    set [magma v] to [0]\n    repeat (10)\n        change [magma v] by (1)\n    end\n    repeat (20)\n        change [magma v] by (-1)\n    end\n    repeat (10)\n        change [magma v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    set y to (Magma)\nend\n\nset x to (36)\n\n@Final Arrangement of teleporter\n\nwhen flag clicked\ngo to [front v] layer\nset [costume v] to [1]\nswitch costume to (1 v)\n\nwhen I receive [next v]\nnext costume\ngo to x: (0) y: (0)\nchange [costume v] by (1)\n\nwhen flag clicked\nforever\n    if <(costume) = [11]> then\n        wait (0.000000000000000000000000000000001) seconds\n        go to x: (171) y: (87)\n    end\n    if <(costume) = [7]> then\n        wait (0.000000000000000000000000000000001) seconds\n        go to x: (90) y: (131)\n    end\n    if <(costume) = [8]> then\n        wait (0.000000000000000000000000000000001) seconds\n        go to x: (90) y: (131)\n    end\n    if <(costume) = [13]> then\n        wait (0.000000000000000000000000000000001) seconds\n        go to x: (-19) y: (124)\n    end\n    if <(costume) = [15]> then\n        wait (0.00000000000000000000000000000000001) seconds\n        go to x: (184) y: (154)\n    end\n    if <(costume) = [17]> then\n        wait (0.000000000000000000000000000000001) seconds\n        go to x: (59) y: (146)\n    end\n    if <(costume) = [19]> then\n        broadcast (dark now v)\n    end\n    if <(costume) = [20]> then\n        wait (0.00000000000000001) seconds\n        go to x: (120) y: (160)\n    end\n    if <(costume) = [22]> then\n        broadcast (hide dark v)\n    end\nend\n\n@Intro\n\nwhen flag clicked\nstart sound [Else - Mirage \(CUT\) v]\nwait (2.9) seconds\nset [id v] to [bg]\ncreate clone of (_myself_ v)\nText\nrepeat (3)\n    wait (0.55) seconds\n    change [lum v] by (10)\nend\nset [y v] to [20]\nset [id v] to [11]\ncreate clone of (_myself_ v)\nrepeat (3)\n    wait (0.55) seconds\n    change [lum v] by (10)\nend\nwait (0.55) seconds\nbroadcast (END v)\n\nwhen I start as a clone\nif <(ID) = [bg]> then\n    switch costume to (bg v)\n    show\n    set [lum v] to [100]\n    forever\n        set [brightness v] effect to (lum)\n        change [lum v] by ((() - (lum)) / (3))\n    end\nend\n\ndefine Text\ndelete all of [x v]\nadd [-164] to [x v]\nadd [-120] to [x v]\nadd [-75] to [x v]\nadd [-28] to [x v]\nadd [3] to [x v]\nadd [34] to [x v]\nadd [77] to [x v]\nadd [123] to [x v]\nadd [166] to [x v]\nset [text v] to [yoshipaul]\nset [iii v] to [0]\nset [y v] to [0]\nrepeat (length of (Text))\n    change [iii v] by (1)\n    set [id v] to (letter (III) of (Text))\n    set [x v] to (item (III) of [x v])\n    create clone of (_myself_ v)\nend\nwait (0) seconds\nset [y2 v] to [140]\nset [id v] to [Logo]\nrepeat (5)\n    set [x v] to [-280]\n    repeat (7)\n        change [x v] by (70)\n        create clone of (_myself_ v)\n    end\n    change [y2 v] by (-70)\nend\n\nwhen I start as a clone\nif < (Text) contains (ID)?> then\n    switch costume to (bg v)\n    go to x: ((x) * (2.5)) y: (0)\n    set size to (30) %\n    switch costume to (ID)\n    show\n    forever\n        switch costume to (bg v)\n        change x by (((x) - (x position)) / (11))\n        change y by (((y) - (y position)) / (11))\n        change size by (((50) - (size)) / (11))\n        switch costume to (ID)\n    end\nend\n\nwhen I receive [end v]\nif << [logo] contains (ID)?> or << (Text) contains (ID)?> or < [11] contains (ID)?>>> then\n    delete this clone\nend\n\nwhen I receive [end v]\nif <(ID) = [bg]> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [11]> then\n    switch costume to (11 v)\n    go to x: (0) y: (-200)\n    set size to (50) %\n    show\n    forever\n        change y by (((-50) - (y position)) / (11))\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [Logo]> then\n    switch costume to (bg v)\n    go to x: ((x) * (1.25)) y: ((y2) * (1.25))\n    set [ghost v] effect to (80)\n    set size to (30) %\n    switch costume to (logo v)\n    show\n    forever\n        switch costume to (bg v)\n        change x by (((x) - (x position)) / (11))\n        change y by (((y2) - (y position)) / (11))\n        change size by (((50) - (size)) / (11))\n        switch costume to (logo v)\n    end\nend\n\n@Text\n\nwhen flag clicked\nset [costume v] to [0]\nswitch costume to (0 v)\n\nwhen I receive [end v]\nswitch costume to (1 v)\nset [costume v] to [1]\n\nwhen I receive [next v]\nchange [costume v] by (1)\nnext costume\nforever\n    if <(costume [name v]) = [0]> then\n        switch costume to (1 v)\n    end\nend\n\n@Buttons ad\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (50)\nhide\nwait (pick random (8) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [play v]\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Pigmin\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume2 v)\nset [ghost v] effect to (0)\nwait (0.3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ngo to x: (0) y: (180)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.0001)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen [timer v] > (0.0001)\nrepeat until <(y position) < [0]>\n    change y by (((0) - (y position)) / (3))\n    broadcast (L v)\nend\n\n@Dark cave\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\nhide\nforever\n    go to (player v)\nend\n\nset [ghost v] effect to (50)\n\nif <(backdrop [number v]) = [10]> then\n    go to x: (0) y: (0)\n    switch costume to (costume2 v)\n    set [ghost v] effect to (80)\nend\n\nwhen I receive [dark now v]\nshow\n\nwhen I receive [hide dark v]\nhide\n\n@Parallax\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: ((mouse x) / (20)) y: ((mouse y) / (20))\nend\n\n