escape! 7 (a platformer)

Instructions: Welcome to my first Platformer DARK!\n\nNew Game: Halloween Clicker \nhttps://scratch.mit.edu/projects/740884198\n\nPurple! (Mobile Friendly platformer. https://scratch.mit.edu/projects/624171535\n\n(Dark!) 3\nhttps://scratch.mit.edu/projects/620002286\n\nMake sprites for my future games https://scratch.mit.edu/studios/30824039 (Christmas themed so like santa or a tree)\n\n(DARK 2) https://scratch.mit.edu/projects/619623865\n\n(DARK 1) https://scratch.mit.edu/projects/614966609\n\nIf you want to make something for a future platformer made by me with full credit https://scratch.mit.edu/projects/617422412 (Make a tree pls) I'm gonna do a forest platformer.\n\n▶ I need ideas for new updates or games!\n▶ If you enjoy please Like, Favorite, or Follow for more!\n▶ Comment any bugs or glitches and i'll fix them.\n▶ NO F4F!\n▶ You are allowed to remix.

@Stage\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\nforever\n    play sound [Halsey-Gasoline \(Instrumental\).mp3 v] until done\nend\n\nwhen I receive [win level v]\nchange [level v] by (1)\n\n@No Double Jump\n\nwhen flag clicked\nchange [☁ cloud data v] by (1)\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (message1 v)\n\nwhen I receive [message1 v]\nrun script\n\ndefine Run (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nchange [frame v] by (0.3)\nrepeat until <<(slope) = [8]> or <not <<<touching color (#1dff72)?> or <touching color (#17d25d)?>> or <touching color (#7f7f7f)?>>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\n    if <<([abs v] of (speed) ) > [3]> and <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n        if <(wall jump) = [0]> then\n            set [costume v] to [1]\n            set [xv v] to ((-1.2) * (speed))\n            set [yv v] to [11]\n            set [falling v] to [6]\n            set [wall jump v] to [15]\n        end\n    else\n        set [xv v] to [0]\n        set [costume v] to [0]\n    end\nend\n\ndefine run script\ngo to x: (-190) y: (-80)\nset [yv v] to [0]\nchange [yv v] by (1)\nforever\n    change [yv v] by (-1)\n    change y by (Yv)\n    Touching Floor <(Yv) > [0]>\n    set rotation style [left-right v]\n    Touching Floor <(Yv) > [0]>\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <(falling) < [3]>> then\n        set [yv v] to [12]\n        set [costume v] to [0]\n    end\n    if <(wall jump) > [0]> then\n        change [wall jump v] by (-1)\n    else\n        set [xv v] to ((Xv) * (0.7))\n        if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n            change [xv v] by (-1.5)\n        end\n        if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n            change [xv v] by (1.5)\n        end\n    end\n    if <(Xv) < [-0.5]> then\n        Run (90) (Xv)\n    else\n        if <(Xv) > [0.5]> then\n            Run (-90) (Xv)\n        end\n    end\n    if <touching color (#a025ff)?> then\n        switch costume to (winning  v)\n        wait (1) seconds\n        broadcast (win level v)\n        set [costume v] to [0]\n        set [yv v] to [0]\n        go to x: (-190) y: (-80)\n    end\n    if <touching color (#ff6b56)?> then\n        switch costume to (dying v)\n        wait (1) seconds\n        set [costume v] to [0]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-190) y: (-80)\n    end\n    if <[-179] > (y position)> then\n        switch costume to (dying v)\n        wait (1) seconds\n        set [costume v] to [0]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-190) y: (-80)\n    end\n    if <touching color (#ffff00)?> then\n        set [xv v] to [15]\n    end\n    if <touching color (#ffaf2b)?> then\n        set [yv v] to [21]\n    end\n    if <touching color (#00ffff)?> then\n        set [xv v] to [-15]\n    end\nend\n\ndefine Touching Floor <up?>\nchange [falling v] by (1)\nrepeat until <not <<<touching color (#1dff72)?> or <touching color (#17d25d)?>> or <touching color (#7f7f7f)?>>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling v] to [0]\n    end\n    set [yv v] to [0]\nend\n\nwhen flag clicked\nshow\n\nwhen I receive [message2 v]\nhide\n\n@Clouds\n\nwhen flag clicked\ngo to [back v] layer\nhide\nrepeat (2)\n    set [costume v] to (pick random (1) to (3))\n    go to x: (pick random (-240) to (240)) y: (pick random (0) to (140))\n    create clone of (_myself_ v)\nend\nforever\n    go to x: (-230) y: (pick random (0) to (140))\n    create clone of (_myself_ v)\n    set [costume v] to (pick random (1) to (3))\n    wait (pick random (6) to (10)) seconds\nend\n\nwhen I start as a clone\nswitch costume to (Costume)\nshow\nglide (pick random (10) to (20)) secs to x: (230) y: (y position)\ndelete this clone\n\n@Level\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Thing 1\n\nwhen flag clicked\nshow\nrepeat until <(Level) = [2]>\n    if <touching (no double jump v)?> then\n        hide\n        wait (1) seconds\n    else\n        show\n    end\nend\nhide\n\n@Thing 2\n\nwhen flag clicked\ngo to x: (185) y: (-40)\nhide\nwait until <(Level) = [3]>\nshow\nforever\n    glide (3) secs to x: (185) y: (120)\n    glide (3) secs to x: (185) y: (-40)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        stop [other scripts in sprite v]\n        hide\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nshow\n\n