Draculine's Platformer

Instructions: -Pfeiltasten\n-Arrow keys   \n\nVisit my new platformer! --> https://scratch.mit.edu/projects/619206498\nhere my second plattformer: https://scratch.mit.edu/projects/537492288/ pls check it out!

@Stage\n\nwhen flag clicked\nswitch backdrop to (bühnenbild v)\nset [level v] to [2]\nhide variable [level v]\n\nwhen I receive [go v]\nshow variable [level v]\n\nwhen I receive [go v]\nforever\n    if <(Level) = [10]> then\n        show variable [level v]\n        broadcast (The_End v)\n    end\nend\n\nwhen I receive [sound v]\nforever\n    play sound [musicfox_waiting_for_the_train v] until done\nend\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nswitch costume to (kostüm1 v)\nshow\ngo to x: (-190) y: (-68)\nrepeat (10)\n    change y by (-7)\nend\ngo to x: (-190) y: (-137)\nset size to (70) %\n\nwhen I receive [go v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(ducken) = [100]> then\n    switch costume to (kostüm2.1 v)\n    repeat (10)\n        change size by (-3)\n        change [ghost v] effect by (15)\n    end\n    delete this clone\nelse\n    switch costume to (kostüm2 v)\n    repeat (10)\n        change size by (-3)\n        change [ghost v] effect by (15)\n    end\n    delete this clone\nend\n\nwhen I receive [go v]\nforever\n    if <key (left arrow v) pressed?> then\n        change x by (-3)\n    end\n    if <key (right arrow v) pressed?> then\n        change x by (3)\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <key (up arrow v) pressed?> then\n        if <touching (plattform v)?> then\n            repeat (10)\n                change y by (7)\n            end\n        end\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <touching (danger v)?> then\n        switch costume to (kostüm1 v)\n        show\n        go to x: (-190) y: (-68)\n        repeat (10)\n            change y by (-7)\n        end\n        set size to (70) %\n        go to x: (-190) y: (-138)\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <(y position) < [-138]> then\n        set y to (-138)\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <touching (plattform v)?> then\n        set [plattform v] to [100]\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <not <touching (plattform v)?>> then\n        set [plattform v] to [0]\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <(Plattform) = [0]> then\n        repeat until <(Plattform) = [100]>\n            change y by (-3)\n        end\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <touching (the_mega_jump v)?> then\n        repeat (20)\n            change y by (10)\n        end\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (kostüm1.1 v)\n        set [ducken v] to [100]\n    else\n        switch costume to (kostüm1 v)\n        set [ducken v] to [0]\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <(x position) > [235]> then\n        change [level v] by (1)\n        broadcast (Go v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (bühnenbild v)\nset [level v] to [2]\nhide variable [level v]\n\nwhen I receive [go v]\nshow variable [level v]\n\nwhen I receive [go v]\nforever\n    if <(Level) = [10]> then\n        show variable [level v]\n        broadcast (The_End v)\n    end\nend\n\n@Plattform\n\nwhen flag clicked\nhide variable [level v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [go v]\nforever\n    switch costume to (Level)\n    show\nend\n\nwhen I receive [the_end v]\nhide variable [level v]\nswitch costume to (level10 v)\nstop [all v]\n\n@Danger\n\nwhen I receive [go v]\nforever\n    switch costume to (Level)\n    show\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [the_end v]\nhide\n\n@The_Mega_Jump\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [go v]\nforever\n    switch costume to (Level)\n    show\nend\n\nwhen I receive [the_end v]\nhide\n\n@My_Intro\n\nwhen I receive [remove v]\nrepeat (12)\n    change size by (((0) - (size)) * ((costume [number v]) * (0.2)))\nend\ndelete this clone\n\nwhen flag clicked\ngo to x: (0) y: (0)\npoint in direction (90)\nwait (1) seconds\nswitch costume to (1 v)\ncreate clone of (_myself_ v)\nstart sound [IntroMusic v]\nwait (0.2) seconds\nrepeat (3)\n    next costume\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nwait (1) seconds\nswitch costume to (your pfp here v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nclear graphic effects\nshow\nif <<(costume [name v]) = [1]> or <<(costume [name v]) = [2]> or <<(costume [name v]) = [3]> or <(costume [name v]) = [4]>>>> then\n    set size to (10) %\n    go to x: (0) y: (0)\n    repeat (70)\n        change size by (((120) - (size)) * (0.1))\n    end\nend\nif <(costume [number v]) = [5]> then\n    set [ghost v] effect to (80)\n    set size to (20) %\n    point in direction (90)\n    go to x: (0) y: (0)\n    wait (0.2) seconds\n    start sound [Low Whoosh v]\n    repeat (8)\n        change size by (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change size by (4)\n        change [brightness v] effect by (4)\n    end\n    repeat (10)\n        change size by (-4)\n        change [brightness v] effect by (-4)\n    end\n    repeat (10)\n        change size by (4)\n        change [brightness v] effect by (4)\n    end\n    repeat (10)\n        change size by (-4)\n        change [brightness v] effect by (-4)\n    end\n    wait (1) seconds\n    repeat (10)\n        change size by (-10)\n    end\n    broadcast (remove v)\n    delete this clone\nend\nif <(costume [name v]) = [Like and fav's!]> then\n    go to [back v] layer\n    set [yv v] to [0]\n    set y to (180)\n    point in direction (90)\n    set [brightness v] effect to (pick random (0) to (20))\n    set x to (pick random (-200) to (200))\n    wait (0.1) seconds\n    set size to (pick random (20) to (100)) %\n    repeat (30)\n        change y by (yv)\n        change [yv v] by (pick random (-0.5) to (-1))\n    end\n    delete this clone\nend\n\nwhen I receive [remove v]\nif <(costume [name v]) = [Like and fav's!]> then\n    delete this clone\nend\nwait (0.5) seconds\nrepeat (10)\n    set size to (500) %\n    change x by (((-500) - (x position)) * (0.4))\n    set size to (100) %\nend\ndelete this clone\n\nwhen I receive [hide v]\nhide\n\nwhen flag clicked\nwait (8) seconds\nbroadcast (Go v)\nset [level v] to [1]\nbroadcast (sound v)\n\n