Undertale Platformer

Instructions: BİR KAÇ AY MOLA BYE\n-Arrow keys-WASD to control.\n-Yön tuşları veya WASD  kontrol.\n\nEn iyi süreyi geçebilecek misin?\nCan you pass the best time?\n\n@Ventrex_\n#games #platformer #platform #game #undertale #undertaleplatformer

@Stage\n\nwhen flag clicked\nswitch backdrop to (dekor 1 v)\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        switch backdrop to (dekor 2 v)\n    else\n        if <(level) = [7]> then\n            switch backdrop to (dekor 3 v)\n        else\n            switch backdrop to (dekor 1 v)\n        end\n    end\nend\n\n@Smiley\n\ndefine touch ground <up?>\nchange [falling v] by (1)\nrepeat until <not <touching (zemin v)?>>\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 [speed y v] to [0]\nend\n\nwhen I receive [play v]\nshow\ngo to x: (-222) y: (-127)\nset [speed y v] to [0]\nforever\n    change y by (speed y)\n    change [speed y v] by (-1)\n    touch ground <(speed y) > [0]>\n    set rotation style [left-right v]\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        walk (90) (5)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        walk (-90) (-5)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <<(jump key) = [0]> and <(falling) < [3]>> then\n            set [speed y v] to [13]\n            set [falling v] to [6]\n            set [jump key v] to [1]\n        end\n    else\n        set [jump key v] to [0]\n    end\n    if <<<<(y position) < [-165]> or <touching color (#4cdbdb)?>> or <touching color (#57fbfb)?>> or <touching (sprite2 v)?>> then\n        broadcast (levelbitti v)\n        go to x: (-227) y: (170)\n        change [deaths v] by (1)\n    end\n    if <touching (zemin v)?> then\n        change [deaths v] by (1)\n    end\n    if <touching color (#0ceb21)?> then\n        change [speed y v] by (25)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\nset size to (30) %\nset [deaths v] to [0]\nhide variable [deaths v]\nset [level v] to [1]\n\ndefine walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (zemin v)?>>>\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))\nend\n\nwhen I receive [end v]\nhide\n\nwhen flag clicked\nbroadcast (play v)\n\nwhen I receive [levelbitti v]\nif <(level) = [2]> then\n    go to x: (-222) y: (152)\nend\nif <(level) = [3]> then\n    go to x: (-220) y: (-77)\nend\nif <(level) = [4]> then\n    go to x: (5) y: (-85)\nend\nif <(level) = [6]> then\n    go to x: (-220) y: (-77)\nend\n\nwhen flag clicked\nforever\n    if <not <(level) = [7]>> then\n        if <(x position) > [225]> then\n            broadcast (level-up v)\n            broadcast (levelbitti v)\n        end\n    else\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nplay sound [Undertale- Megalovania v] until done\nplay sound [Undertale- Megalovania v] until done\nplay sound [Undertale- Megalovania v] until done\n\nwhen flag clicked\nforever\n    if <not <(level) = [7]>> then\n        wait (1) seconds\n        change [süren v] by (1)\n    else\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        if <(☁ En iyi süre) > (Süren)> then\n            set [☁ en iyi süre v] to (Süren)\n        end\n    end\nend\n\nwhen flag clicked\nset [süren v] to [0]\n\n@Zemin\n\nwhen I receive [level-up v]\nnext costume\nset [level v] to (costume [number v])\n\nwhen flag clicked\nswitch costume to (undertale-bone-png v)\n\nwhen I receive [mızrak v]\nreset timer\nforever\n    if <(timer) > [19]> then\n        broadcast (mızrakbit v)\n        switch costume to (undertale-bone-png5 v)\n        change [level v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [levelbitti v]\nif <(level) = [4]> then\n    reset timer\nend\n\n@Ateş\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        point in direction (90)\n        go to x: (23) y: (-133)\n        wait (2) seconds\n        show\n        wait (1) seconds\n        hide\n    end\n    if <(level) = [4]> then\n        point in direction (36)\n        go to x: (167) y: (-137)\n        wait (3) seconds\n        show\n        wait (1) seconds\n        hide\n    end\nend\n\nwhen I receive [mızrakbit v]\nhide\nstop [other scripts in sprite v]\n\n@Ateş2\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        go to x: (100) y: (52)\n        point in direction (0)\n        wait (2) seconds\n        show\n        wait (1) seconds\n        hide\n    end\n    if <(level) = [4]> then\n        point in direction (-36)\n        go to x: (60) y: (38)\n        wait (3) seconds\n        show\n        wait (1) seconds\n        hide\n    end\nend\n\nwhen I receive [mızrakbit v]\nhide\nstop [other scripts in sprite v]\n\n@Mızrak\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        broadcast (mızrak v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [mızrak v]\nforever\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I start as a clone\nrepeat (1)\n    if <(pick random (1) to (6)) = [1]> then\n        point in direction (90)\n        go to x: (-258) y: (-77)\n        show\n        glide (2) secs to x: (264) y: (-82)\n        delete this clone\n    else\n        if <(pick random (1) to (6)) = [2]> then\n            point in direction (90)\n            go to x: (-258) y: (12)\n            show\n            glide (2) secs to x: (264) y: (12)\n            delete this clone\n        else\n            if <(pick random (1) to (6)) = [3]> then\n                point in direction (90)\n                go to x: (-258) y: (110)\n                show\n                glide (2) secs to x: (264) y: (110)\n                delete this clone\n            else\n                if <(pick random (1) to (6)) = [4]> then\n                    point in direction (180)\n                    go to x: (-157) y: (198)\n                    show\n                    glide (2) secs to x: (-157) y: (-210)\n                    delete this clone\n                else\n                    if <(pick random (1) to (6)) = [5]> then\n                        point in direction (180)\n                        go to x: (0) y: (198)\n                        show\n                        glide (2) secs to x: (0) y: (-210)\n                        delete this clone\n                    else\n                        if <(pick random (1) to (6)) = [6]> then\n                            point in direction (180)\n                            go to x: (135) y: (198)\n                            show\n                            glide (2) secs to x: (135) y: (-210)\n                            delete this clone\n                        else\n                            create clone of (_myself_ v)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [mızrakbit v]\nhide\nstop [other scripts in sprite v]\n\n@13-131336_sans-head-png-sans-bad-time-eye-transparent\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nswitch costume to (1 v)\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        repeat (10)\n            wait (0.1) seconds\n            change [ghost v] effect by (-10)\n        end\n        repeat (2)\n            next costume\n            wait (0.5) seconds\n        end\n        repeat (10)\n            wait (0.1) seconds\n            change [ghost v] effect by (10)\n        end\n        stop [this script v]\n    end\nend\n\n@Undertale\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow variable [süren v]\n\n