Platformer!

Instructions: -----------------------------Platformer-----------------------------\n\n ▶▶▶▶▶ Welcome to my first Platformer! ◀◀◀◀◀\n\n-----------------------------Instructions-----------------------------\n\n▶ arrow keys or AWD to move\n▶ green is safe\n▶ lava is dangerous\n▶ purple is spring (lower than blue)\n▶ blue is spring (higher than purple)\n▶ go to yellow flag to go to next level\n▶ you can wall jump\n▶ R to restart level\n\nSorry for bugs.\n\nAll levels are 100% possible.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n                               !!! ATTENTION !!!\n              Some levels might be too hard for you.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\nComment your time!\n\n-------------------------Important events-------------------------\n\n▶ 25.03.2021 - Shared!\n\n▶ 13.04.2021 - 40 views!\n▶ 15.04.2021 - 50 views!\n▶ 16.04.2021 - 70 views and 10 loves and favorites!\n▶ 18.04.2021 - 80 views!\n▶ 19.04.2021 - 90 views, 15 loves and 12 favorites!\n▶ 21.04.2021 - 100 views thank you guys!!!!!! <333\n▶ 08.05.2021 - 150 views!!!!!!!!!\n▶ 25.05.2021 - 200 views!!!!!!!!!\n\n...after a break...\n\n▶ 16.05.2022 - 250 views!!!!!!!!!\n...\n\n\n▶ 28.04.2021 - (MY BIRTHDAY!) - two remixes!\nThank you @taim201299!!!\n\n▶ 19.05.2021 - one remix! Thank you @emerson115!!!\n\n---------------------------------Tags---------------------------------\n\n#platformer #platformers #platform #platforms\n#platforming #trending #games #trend #all\n\n-------------------------------------------------------------------------\n\n▶ My own record: 62 seconds! Try to beat me!\n\n-------------------------------------------------------------------------\n-------------------------------------------------------------------------\n\n                            I hope you enjoyed!\n       Love, favorite and follow for more cool games!

@Stage\n\nwhen flag clicked\nforever\n    play sound [music v] until done\nend\n\nwhen flag clicked\nwait until <(backdrop [number v]) = [15]>\nbroadcast (Good job! v)\n\nwhen flag clicked\nset [time v] to [0]\nforever\n    wait (1) seconds\n    change [time v] by (1)\n    if <(backdrop [number v]) = [15]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    show variable [level v]\n    if <(backdrop [number v]) = [1]> then\n        set [level v] to [1]\n    end\n    if <(backdrop [number v]) = [2]> then\n        set [level v] to [2]\n    end\n    if <(backdrop [number v]) = [3]> then\n        set [level v] to [3]\n    end\n    if <(backdrop [number v]) = [4]> then\n        set [level v] to [4]\n    end\n    if <(backdrop [number v]) = [5]> then\n        set [level v] to [5]\n    end\n    if <(backdrop [number v]) = [6]> then\n        set [level v] to [6]\n    end\n    if <(backdrop [number v]) = [7]> then\n        set [level v] to [7]\n    end\n    if <(backdrop [number v]) = [8]> then\n        set [level v] to [8]\n    end\n    if <(backdrop [number v]) = [9]> then\n        set [level v] to [9]\n    end\n    if <(backdrop [number v]) = [10]> then\n        set [level v] to [10]\n    end\n    if <(backdrop [number v]) = [11]> then\n        set [level v] to [11]\n    end\n    if <(backdrop [number v]) = [12]> then\n        set [level v] to [12]\n    end\n    if <(backdrop [number v]) = [13]> then\n        set [level v] to [13]\n    end\n    if <(backdrop [number v]) = [14]> then\n        set [level v] to [14]\n    end\n    if <(backdrop [number v]) = [15]> then\n        hide variable [level v]\n    end\nend\n\n@Player\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (0.9)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-0.9)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#29cc00)?> then\n        change y by (1)\n        if <touching color (#29cc00)?> then\n            change y by (-5)\n            change x by ((x) * (-1))\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                if <(x) > [0]> then\n                    set [x v] to [-5]\n                else\n                    set [x v] to [5]\n                end\n                set [y v] to [12]\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching color (#29cc00)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#29cc00)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            change [y v] by (12)\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <not <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n        switch costume to (normal v)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (left v)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        switch costume to (up v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        switch costume to (up right v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        switch costume to (up left v)\n    end\nend\n\nwhen flag clicked\nif <(username) = [Mato_113_6]> then\n    say [Cześć Mato!] for (3) seconds\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-200) y: (0)\n    end\n    if <(backdrop [number v]) = [15]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [1]> and <touching (next level v)?>> then\n        switch backdrop to (2 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [2]> and <touching (next level v)?>> then\n        switch backdrop to (3 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [3]> and <touching (next level v)?>> then\n        switch backdrop to (4 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [4]> and <touching (next level v)?>> then\n        switch backdrop to (5 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [5]> and <touching (next level v)?>> then\n        switch backdrop to (6 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [6]> and <touching (next level v)?>> then\n        switch backdrop to (7 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [7]> and <touching (next level v)?>> then\n        switch backdrop to (8 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [8]> and <touching (next level v)?>> then\n        switch backdrop to (9 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [9]> and <touching (next level v)?>> then\n        switch backdrop to (10 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [10]> and <touching (next level v)?>> then\n        switch backdrop to (11 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [11]> and <touching (next level v)?>> then\n        switch backdrop to (12 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [12]> and <touching (next level v)?>> then\n        switch backdrop to (13 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [13]> and <touching (next level v)?>> then\n        switch backdrop to (14 v)\n        go to x: (-200) y: (0)\n    end\n    if <<(level) = [14]> and <touching (next level v)?>> then\n        switch backdrop to (15 v)\n        go to x: (0) y: (75)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (1 v)\nshow\nswitch costume to (normal v)\npoint in direction (90)\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\nend\n\nwhen I receive [good job! v]\nsay [Good job!] for (3) seconds\n\nwhen flag clicked\nforever\n    if <touching color (#a500ff)?> then\n        set [y v] to [22]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#006aff)?> then\n        set [y v] to [50]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [6]> and <touching color (#ff0d00)?>> then\n        say [This way!] for (0.1) seconds\n    end\nend\n\n@Next Level\n\nwhen flag clicked\nshow\nforever\n    point in direction (90)\n    set size to (70) %\n    go to x: (210) y: (-140)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [15]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow\nforever\n    go to x: (0) y: (0)\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n