Paper Minecraft Platformer

Instructions: ⛏ Paper Minecraft Platformer ⛏\n\n✰ Can You Go To The End Of The World And See What's There, Can There Be A Monster??? \n\n✦  "IMPORTANT" Controls:  Left Key: Left , Left Key + Z = Left Speed, Right = Right, Right + Z = Right Speed, Up Key: Jump!, C To Close Controlls!\n\nPlease NOTE: THERE IS "NO" MINING\n\nUpdate 1.0: Release\nUpdate 1.1 Control Panel Revamp + Ending\nUpdate 1.2 "C" will close things with the "C" key also show every variable used. Bug fixed Thanks to my friend ( @francybello )

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    play sound [Minecraft Music - Calm 1 v] until done\nend\n\nwhen I receive [30% v]\nset volume to (30) %\n\nwhen I receive [100% v]\nset volume to (100) %\n\nforever\n\n@Thumbnail\n\nwhen flag clicked\nshow\ngo to [front v] layer\nchange [ghost v] effect by (100)\n\n@You Win Sign\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(Level) = [5]> then\n        show\n        go to [front v] layer\n        switch costume to (splash-screen v)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\n\n@Lava\n\nwhen flag clicked\nforever\n    set [lava v] to [0]\n    repeat (10)\n        change [lava v] by (.5)\n    end\n    repeat (20)\n        change [lava v] by (-.5)\n    end\n    repeat (10)\n        change [lava v] by (.5)\n    end\nend\n\nwhen flag clicked\nforever\n    set y to (Lava)\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        show\n        go to [back v] layer\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        play sound [Minecraft Fire Burning Sound HD v] until done\n    end\nend\n\n@Player\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (NEXT LEVEL v)\nforever\n    if <<key (left arrow v) pressed?> and <key (z v) pressed?>> then\n        change [x vel v] by (-1)\n        switch costume to (left v)\n    else\n        if <key (left arrow v) pressed?> then\n            change [x vel v] by (-0.5)\n            switch costume to (left v)\n        end\n    end\n    if <<key (right arrow v) pressed?> and <key (z v) pressed?>> then\n        change [x vel v] by (1)\n        switch costume to (right v)\n    else\n        if <key (right arrow v) pressed?> then\n            change [x vel v] by (0.5)\n            switch costume to (right v)\n        end\n    end\n    set [x vel v] to ((x vel) * (0.9))\n    change x by (x vel)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x vel) * (-1))\n        set [x vel v] to [0]\n    end\n    change [y vel v] by (-1)\n    change y by (y vel)\n    if <touching (level v)?> then\n        change y by ((y vel) - ((y vel) * (2)))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level v)?> and <key (up arrow v) pressed?>> then\n        set [y vel v] to [10]\n        start sound [Minecraft Sound Effects Walking and Running on Grass Sound Effect v]\n    end\n    change y by (1)\n    if <(x position) > [238]> then\n        change [level v] by (1)\n        broadcast (NEXT LEVEL v) and wait\n    end\n    if <touching (spikes v)?> then\n        Red Screen\n        broadcast (restart v)\n    end\n    if <touching (trampoline v)?> then\n        set [y vel v] to [21]\n    end\n    if <touching (enemy v)?> then\n        set [y vel v] to [15]\n    end\nend\n\nif <key (left arrow v) pressed?> then\n    change [x vel v] by (-0.5)\n    switch costume to (left v)\nend\n\nwhen I receive [next level v]\nbroadcast (restart v)\n\nwhen I receive [restart v]\nset [x vel v] to [0]\nset [y vel v] to [0]\ngo to x: (-226) y: (-4)\n\nwhen flag clicked\ngo to x: (-224) y: (-3)\n\nwhen flag clicked\nforever\n    set [player x v] to (x vel)\n    set [player y v] to (y vel)\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        switch costume to (right up v)\n    end\n    if <<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> then\n        switch costume to (left up v)\n    end\n    if <touching (lava v)?> then\n        Red Screen\n        broadcast (restart v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (level v)?> then\nend\n\ndefine Red Screen\nbroadcast (Redscreen v)\n\n\n\nstart sound [Minecraft Sound Effects Walking and Running on Grass Sound Effect v]\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        start sound [mixkit-unlock-new-item-game-notification-254 v]\n        broadcast (30% v)\n    else\n        set volume to (100) %\n        broadcast (100% v)\n    end\nend\n\nwhen [5 v] key pressed\nshow variable [costume v]\nshow variable [id v]\nshow variable [level v]\nshow variable [lineexplosion v]\nshow variable [player x v]\nshow variable [player y v]\nshow variable [size v]\nshow variable [speed v]\nshow variable [star v]\nshow variable [water v]\nshow variable [x vel v]\nshow variable [y vel v]\nforever\n    say (join (x vel) (y vel))\nend\n\nwhen flag clicked\nhide variable [costume v]\nhide variable [id v]\nhide variable [level v]\nhide variable [lineexplosion v]\nhide variable [player x v]\nhide variable [player y v]\nhide variable [size v]\nhide variable [speed v]\nhide variable [star v]\nhide variable [water v]\nhide variable [x vel v]\nhide variable [y vel v]\n\n@Level\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\n@Static Effect\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (Level)\nend\n\nwhen I receive [start project v]\nshow\n\nwhen flag clicked\nshow\n\nwhen I receive [message1 v]\nnext costume\n\n@Tiles\n\n@Back layer parelax\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    set x to (((Player X) / (10)) - (50))\n    set y to (((Player Y) / (10)) - (50))\nend\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Scroller\n\nwhen flag clicked\ngo to x: (233) y: (167)\nforever\n    if <mouse down?> then\n        repeat until <not <mouse down?>>\n            set y to (mouse y)\n        end\n    end\nend\n\nforever\n    set x to (233)\n    set drag mode [not draggable v]\n    repeat until <not <mouse down?>>\n        if <mouse down?> then\n            set x to (233)\n            set y to (mouse y)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [forward v] (50) layers\n\nwhen I receive [controlls! v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen [c v] key pressed\nhide\n\n@text\n\nwhen flag clicked\ngo to x: (46) y: (-167)\nforever\n    set y to (([y position v] of [scroller v]) * (-1))\nend\n\nwhen flag clicked\nset drag mode [not draggable v]\ngo to [front v] layer\ngo to x: (46) y: (0)\nforever\n    set y to (([y position v] of [scroller v]) * (-1))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [controlls! v]\nshow\n\nwhen [c v] key pressed\nhide\n\n@54d00e79d5473b6199bcab62c49739f4\n\n@Sprite1\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\n@Message Board\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    switch costume to (Level)\nend\n\nwhen flag clicked\nshow\n\nwhen I receive [controlls! v]\nhide\n\nwhen [c v] key pressed\nshow\n\n@Base\n\nwhen flag clicked\ngo to x: (36) y: (28)\ngo to [front v] layer\nhide\n\nwhen flag clicked\n\nwhen I receive [controlls! v]\nshow\n\nforever\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo to [front v] layer\n\nwhen I receive [controlls! v]\ngo to [front v] layer\ngo to [front v] layer\n\nwhen [c v] key pressed\nhide\n\n@Sprite3\n\nwhen this sprite clicked\nbroadcast (Controlls! v)\nhide\n\nwhen flag clicked\ngo to x: (200) y: (145)\nshow\n\nwhen [c v] key pressed\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (105) %\n    else\n        set size to (100) %\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [redscreen v]\nRedscreen\n\ndefine Redscreen\nshow\nstart sound [Minecraft Hit - Sound Effect \(HD\) v]\nwait (.2) seconds\nhide\n\n@Water\n\nwhen flag clicked\nforever\n    set [water v] to [0]\n    repeat (10)\n        change [water v] by (.5)\n    end\n    repeat (20)\n        change [water v] by (-.5)\n    end\n    repeat (10)\n        change [water v] by (.5)\n    end\nend\n\nwhen flag clicked\nforever\n    set y to (Water)\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        show\n        go to [back v] layer\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [5]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n    end\nend\n\nstart sound [Water SplashFishing Sound \(Minecraft Sound\) - Sound Effect for editing v]\n\n