MidNight - Platformer 2 {Mobile Exclusive}

Instructions: Trend:#3\nADS(REKLAM): ⛔\nFirst Part: https://scratch.mit.edu/projects/472853711\n1. Bölüm: https://scratch.mit.edu/projects/472853711\nThird Part: https://scratch.mit.edu/projects/474746676\n3.Bölüm: https://scratch.mit.edu/projects/474746676\n\n\nEN: \n✅Welcome to the MidNight Platformer 2 game\n✅Second series of the MidNight Platformer game\n✅Updates will come in future series.\n✅Some places have hidden thorns. It is important \n     that you pass calmly and carefully :D\n⭐ Mobil Exclusive  \n⛔ = ADS\n\nTR:\n✅MidNight (GeceYarısı) Platformer 2 oyununa \n     hoşgeldiniz.\n✅MidNight (GeceYarısı) Platformer oyununun 2. \n     serisi.\n✅Gelecek serilerde güncellemeler gelecektir.\n✅Dikkat edin bazı yerlerde gizli kazıklar var sakince \n     ve dikkatlice geçmenizi öneririm :D\n⭐ Oyun Mobil Ayrıcalıklıdır.\n⛔ = Reklam \n

@Stage\n\n@Karakter\n\nwhen flag clicked\nhide\ngo to x: (-154) y: (9)\nwait (1) seconds\nwait (1) seconds\nshow\nset [level v] to [1]\nforever\n    Kukla. <(y) > [0]>\nend\n\ndefine Kukla. <yukarı>\nset [duvar v] to [0]\nset [yere çarpma v] to [0]\nchange [y v] by (-1)\nchange y by (y)\nrepeat until <not <touching (yer v)?>>\n    if <yukarı> then\n        change y by (-1)\n    else\n        set [yere çarpma v] to <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>\n        change y by (1)\n    end\n    set [y v] to [0]\n    if <(Yere çarpma) = [true]> then\n        set [y v] to [15]\n    end\nend\nchange [x v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\nchange [x v] by (<key (d v) pressed?> - <key (a v) pressed?>)\nchange [x v] by (<<mouse down?> and <(mouse x) > (x position)>> - <<mouse down?> and <(x position) > (mouse x)>>)\nset [x v] to ((x) * (0.9))\nchange x by (x)\nrepeat until <not <touching (yer v)?>>\n    change x by ((([abs v] of (x) ) / (x)) * (-1))\n    set [duvar v] to [1]\nend\nif <<(Duvar) = [1]> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <(x) > [0]> then\n        set [x v] to [-10]\n    else\n        set [x v] to [10]\n    end\n    set [y v] to [15]\nend\nif <(x position) > [282]> then\n    broadcast (Yeni level v)\n    repeat (1)\n        change [level v] by (1)\n    end\nend\nif <<touching (kazıklar  v)?> or <touching (kazıklar  v)?>> then\n    broadcast (Baştan başla v)\nend\n\nwhen I receive [baştan başla v]\ngo to x: (-154) y: (9)\n\nwhen I receive [yeni level v]\nif <not <(level) = [12]>> then\n    go to x: (-154) y: (9)\nend\n\nwhen I receive [bitiş v]\nwait (5) seconds\nstop all sounds\nstop [all v]\n\nwhen flag clicked\nforever\n    play sound [hareketli fon müzikleri v] until done\nend\n\n@Yer\n\nwhen flag clicked\nshow\nrepeat until <(level) = [12]>\n    if <(level) = [1]> then\n        switch costume to (kostüm 1 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [2]> then\n        switch costume to (kostüm 2 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [3]> then\n        switch costume to (kostüm 8 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [4]> then\n        switch costume to (kostüm 9 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [5]> then\n        switch costume to (kostüm 3 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [6]> then\n        switch costume to (kostüm 4 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [7]> then\n        switch costume to (kostüm 5 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [8]> then\n        switch costume to (kostüm 6 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [9]> then\n        switch costume to (kostüm 7 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [10]> then\n        switch costume to (kostüm 10 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [11]> then\n        switch costume to (kostüm 11 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [12]> then\n        hide\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        switch costume to (kostüm 11 v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (kostüm 1 v)\n\n@Kazıklar \n\nwhen flag clicked\nhide\nwait (1) seconds\nwait (1) seconds\nswitch costume to (kostüm 2 v)\nshow\nrepeat until <(level) = [12]>\n    if <(level) = [1]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 1 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [2]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 2 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [3]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 3 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [4]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 4 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [5]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 5 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [6]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 6 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [7]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 7 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [8]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 8 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [9]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 9 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [10]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 10 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [11]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 11 v)\n        go to x: (-37) y: (-58)\n    end\n    if <(level) = [12]> then\n        hide\n        broadcast (Bitiş v)\n    end\nend\n\nwhen I receive [bitiş v]\nhide\n\n@kalp yldz\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (8) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\n@Kapak\n\nwhen I receive [timer v]\nforever\n    set [time v] to (timer)\nend\n\nwhen I receive [timer v]\nforever\n    if <(level) = [11]> then\n        if <(time) > (☁ World Record)> then\n            set [☁ world record v] to (time)\n        end\n    end\nend\n\nwhen flag clicked\nshow\nset [☁ world record v] to (time)\nwait (2) seconds\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (25)\nend\nreset timer\nbroadcast (timer v)\n\n