Cube explorer// a platformer game

Instructions: See this: https://scratch.mit.edu/projects/624620848/\nHi guys!!!!\nWelcome to another platformer game!!!\nCube explorer!\n\n\n\n--Mission--\nYour mission is to put the flag on top of the mountain!!!\n\n\n--Instructions--\n- Use the arrow keys to move your player, you can low with the down key.\n- Avoid spikes and lava\n-Bounce with the trampoline\n-Don´t fall\n-Complete all the 23 levels!!!( all levels are 100% possible)\n\n\n\n--Credits--\n-  @--AwesomeCode-- by the player sripts\n- @amazingQ by rain\n- Art: me\nMusic: other projects\nThe rest of the codes: me\nI hope you enjoy it!!!\nGive like, fave and follow for more great games!\n:DDD

@Stage\n\nwhen flag clicked\nforever\n    switch backdrop to (The Level)\nend\n\n@Player\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen flag clicked\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\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 (-4)\n        change x by ((X Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X Velocity) > [0]> 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 [15]\n        else\n            set [x velocity v] to [0]\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        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        start sound [ding v]\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        start sound [Roblox Death Sound - OOF Sound Effect v]\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n            play sound [Roblox Death Sound - OOF Sound Effect v] until done\n        end\n    end\n    if <(y position) = [-179]> then\n        broadcast (Reset v)\n    end\n    if <touching (o actor 1 v)?> then\n        set [y velocity v] to [20]\n        start sound [Jump v]\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (-25)\n\nwhen flag clicked\ngo to [front v] layer\n\nbroadcast (Reset v)\n\nwhen flag clicked\nforever\n    play sound [Vexento - Across The Ocean.mp3 v] until done\nend\n\n@Player Trail\n\nwhen flag clicked\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (21)\nend\ndelete this clone\n\nwhen I receive [scroll v]\nhide\ndelete this clone\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    glide (0.5) secs to x: (33) y: (2)\n    glide (0.5) secs to x: (33) y: (5)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    glide (0.5) secs to x: (33) y: (2)\n    glide (0.5) secs to x: (33) y: (5)\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(Love) = [1]> and <(Favorite) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Clouds\n\nwhen flag clicked\nswitch costume to (traje 1 v)\nset [ghost v] effect to (100)\nshow\nforever\n    wait (pick random (0.1) to (2)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (25)\ngo to x: (-17999) y: (pick random (50) to (100))\nforever\n    change x by (pick random (3) to (6))\n    if <(x position) > [239]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [7]> then\n        switch costume to (traje 2 v)\n    end\n    if <(The Level) = [10]> then\n        hide\n    end\nend\n\n@Green Flag\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(The Level) = [22]> then\n        show\n        go to (player v)\n    end\nend\n\n@Raining\n\nwhen flag clicked\ngo to x: (1) y: (90)\nhide\nswitch costume to (raining v)\ngo to [front v] layer\nset size to (160) %\nforever\n    if <<(The Level) = [8]> or > then\n        show\n        wait (0.01) seconds\n        next costume\n    end\n    if <(The Level) = [10]> then\n        hide\n        stop all sounds\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(The Level) = [8]> or > then\n        start sound [Rain Sound Effect Short \(2 minutes\) ♪ v]\n    else\n    end\nend\n\n@light\n\nwhen flag clicked\nhide\nforever\n    if <(The Level) = [12]> then\n        show\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\n    if <(The Level) = [19]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [12]> then\n        forever\n            go to (player v)\n        end\n    end\nend\n\n@o actor 1\n\nwhen flag clicked\nhide\nforever\n    if <(The Level) = [21]> then\n        show\n    end\n    if <(The Level) = [22]> then\n        hide\n    end\nend\n\n