scroll platformer‼︎　スクロールプラットフォーマー！！

Instructions: use arrows keys to move\nuse up arrow to get up on the ladder\nuse down arrow to get down on the ladder\nto increase the jump height you need to sprint or hold up arrow\n****************************boss*****************************\njump over the rockets to make them miss and don't touch the boss\n(all levels are possible and the boss)\ncomment in comments Bored!\nTHANKS YOU ALL MATES FOR #14TH ON TOP TRENDED AND TOP LOVED!\n\ngameplay on this game https://www.youtube.com/watch?v=NaIMebPGuWM&t=25s\n\n\n\n\n\n\n\n_________________search tags_________________\n#platformer#bored#timo1os#boss#why#you#are#reading#this#?#1stpage#Bored-Platformer#toploved

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop28 v)\n\nwhen I receive [start game v]\nswitch backdrop to (backdrop1 v)\n\nwhen backdrop switches to [backdrop20 v]\nwait (5) seconds\nbroadcast (outro v)\n\nwhen backdrop switches to [backdrop21 v]\n\nwhen backdrop switches to [backdrop2 v]\nbroadcast (2unlock v)\n\nwhen backdrop switches to [backdrop3 v]\nbroadcast (3unlock v)\n\nwhen backdrop switches to [backdrop4 v]\nbroadcast (4unlock v)\n\n@Ninja\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (0.95)\n        switch costume to (ninja v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-0.95)\n        switch costume to (ninja2 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#666666)?> then\n        change y by (1)\n        if <touching color (#666666)?> then\n            change y by (1)\n            if <touching color (#666666)?> then\n                change y by (1)\n                if <touching color (#666666)?> then\n                    change y by (1)\n                    if <touching color (#666666)?> then\n                        change y by (1)\n                        if <touching color (#666666)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#666666)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#666666)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [start game v]\nshow variable [deaths v]\nshow\nswitch backdrop to (backdrop21 v)\nswitch costume to (ninja v)\ngo to x: (-227) y: (-117)\nset [deaths v] to [0]\nforever\n    if <<(x position) = [220]> or <(x position) > [220]>> then\n        go to x: (-227) y: (-117)\n        switch backdrop to (next backdrop v)\n    end\n    if <touching color (#ff0000)?> then\n        change [deaths v] by (1)\n        go to x: (-227) y: (-117)\n    end\n    if <key (r v) pressed?> then\n        change [deaths v] by (1)\n        go to x: (-227) y: (-117)\n        wait until <not <key (r v) pressed?>>\n    end\n    if <touching color (#ff00bf)?> then\n        set [yv v] to [23]\n    end\nend\n\nwhen flag clicked\nhide variable [deaths v]\nhide\nset [deaths v] to [0]\n\nwhen I receive [start game v]\nset [deaths v] to [0]\n\nwhen flag clicked\nstop all sounds\n\nwhen I receive [start the actuall game v]\nforever\n    play sound [Alan Walker - Spectre \[NCS Release\].mp3 v] until done\nend\n\nwhen I receive [2unlock v]\n\nwhen I receive [outro v]\nstop all sounds\n\nwhen [r v] key pressed\ngo to x: (-227) y: (-117)\n\nwhen I receive [outro v]\nhide\n\nwhen I receive [outro v]\nadd (Deaths) to [death count list v]\n\n@Intro Effects\n\nwhen I receive [start  intro v]\nshow\ngo to x: (0) y: (0)\nrepeat (16)\n    set [ghost v] effect to (95)\n    wait (0.05) seconds\n    set [ghost v] effect to (75)\n    wait (0.05) seconds\nend\nset [ghost v] effect to (100)\n\nwhen flag clicked\nbroadcast (Start  Intro v)\n\nwhen I receive [start the actuall game v]\nerase all\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Intro Pen\n\ndefine None\npen up\nset [dir v] to [0]\nrepeat (181)\n    go to x: ((([sin v] of (dir) ) * (radius)) + (x)) y: ((([cos v] of (dir) ) * (radius)) + (y))\n    pen down\n    change [dir v] by (2)\nend\n\nrepeat until <(i) < [-1]>\nend\nrepeat until <(i) > [180]>\n    change [i v] by (15)\nend\n\nwhen flag clicked\nerase all\n\nwhen flag clicked\nforever\n    change [i v] by (((150) - (i)) / (5))\nend\n\nwhen I receive [backdrop tweak v]\nrepeat (2)\n    set pen color to (#cccc00)\n    wait (0.2) seconds\n    set pen color to (#ed145b)\n    wait (0.2) seconds\nend\n\nwhen I receive [start  intro v]\nset pen color to (#ed145b)\nset [i v] to [0]\nset pen size to (10)\nforever\n    erase all\n    draw circle (0) (0) (i)\n    draw circle (0) (0) ((i) + (20))\nend\n\nwhen I receive [start pulsin v]\nset [i v] to [0]\nrepeat (14)\n    set [i v] to [180]\n    rest for (0.4) beats\nend\n\nwhen I receive [start the actuall game v]\nerase all\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Intro Text\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\ndefine None\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change y by (((y) - (y position)) / (speed))\n    change x by (((x) - (x position)) / (speed))\nend\n\nwhen I receive [word pulsin v]\nrepeat (12)\n    set size to (110) %\n    rest for (0.4) beats\nend\n\nwhen I receive [start pulsin v]\ngo to x: (0) y: (-180)\nshow\nSmoothly move to x: (0) y: (45) speed: (5)\nset size to (100) %\nbroadcast (word pulsin v)\nforever\n    change size by (((100) - (size)) / (5))\nend\n\nwhen I receive [start the actuall game v]\nerase all\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Intro2\n\nwhen flag clicked\nhide\nset tempo to (60)\n\ndefine Smoothly move to x: (x) y: (y) speed: (speed)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change y by (((y) - (y position)) / (speed))\n    change x by (((x) - (x position)) / (speed))\nend\n\nwhen I receive [start pulsin v]\nrepeat (14)\n    set size to (120) %\n    rest for (0.4) beats\nend\nbroadcast (start the actuall game v)\n\nrest for (0.25) beats\n\nwhen I receive [start  intro v]\nswitch costume to (logo v)\nset [i v] to [0]\nstart sound [omoshiroebi - wadaibox.mp3 v]\nshow\ngo to x: (0) y: (-180)\nSmoothly move to x: (0) y: (0) speed: (10)\nwait (1) seconds\nbroadcast (backdrop tweak v)\nrepeat (2)\n    change [color v] effect by (pick random (10) to (100))\n    wait (0.2) seconds\nend\nset [color v] effect to (0)\nbroadcast (start pulsin v)\nforever\n    change size by (((100) - (size)) / (5))\nend\n\nwhen I receive [start the actuall game v]\nstop all sounds\nerase all\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nrepeat until <[1+1] = [2]>\n    play sound [omoshiroebi - wadaibox.mp3 v] until done\nend\n\nwhen I receive [outro v]\nbroadcast (Stop Music v)\nstop all sounds\nshow\ngo to x: (0) y: (-260)\nrepeat until <(round (y position)) = [0]>\n    change y by (((0) - (y position)) / (5))\nend\nbroadcast (message1 v)\n\n@Bubbles\n\nwhen I receive [message1 v]\nforever\n    create clone of (_myself_ v)\n    rest for (4) beats\nend\n\nwhen I start as a clone\npoint in direction (90)\nset [i v] to [0]\nshow\nswitch costume to (pick random (1) to (3))\nset [ghost v] effect to (40)\ngo to x: (pick random (-210) to (210)) y: (-180)\nrepeat until <(y position) > [180]>\n    go to [front v] layer\n    change [i v] by (15)\n    change size by (((100) - (size)) / (5))\n    change y by (3)\n    change x by ([cos v] of (i) )\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nrepeat until \n    set size to (120) %\n    rest for (1) beats\nend\n\n@Text2\n\nwhen I receive [message1 v]\npoint in direction (90)\nshow\nset [i v] to [0]\ngo to x: (0) y: (180)\nrepeat until <(round (y position)) = [0]>\n    change y by (((0) - (y position)) / (5))\nend\nforever\n    change [i v] by (-15)\n    go to [front v] layer\n    change y by ([sin v] of (i) )\nend\n\nwhen flag clicked\nhide\n\n@Bubbles Filled\n\nwhen I receive [message1 v]\nforever\n    create clone of (_myself_ v)\n    rest for (4) beats\nend\n\nwhen I start as a clone\npoint in direction (90)\nset [i v] to [0]\nshow\nswitch costume to (pick random (1) to (3))\nset [ghost v] effect to (60)\ngo to x: (pick random (-210) to (210)) y: (-180)\nrepeat until <(y position) > [180]>\n    go to [front v] layer\n    change [i v] by (15)\n    change y by (3)\n    change size by (((95) - (size)) / (5))\n    change x by ([cos v] of (i) )\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nrepeat until \n    set size to (115) %\n    rest for (1) beats\nend\n\nwait (0.4) seconds\nset size to (140) %\nwait (0.4) seconds\n\nwait (2) seconds\n\n@Sprite1\n\nwhen I receive [hide v]\nrepeat (13)\n    change [ghost v] effect by (4)\nend\nrepeat (13)\n    change [ghost v] effect by (4)\nend\n\nwhen I receive [start the actuall game v]\nshow\ngo to [front v] layer\n\nwhen I receive [start the actuall game v]\nset size to (100) %\ngo to x: (0) y: (-200)\nset [ghost v] effect to (100)\nswitch costume to (costume4 v)\nrepeat (30)\n    go to x: (X) y: ((Y) - (100))\n    change y by (22)\n    change [ghost v] effect by (-4)\nend\nforever\n    go to x: (X) y: ((Y) - (78))\n    if <touching (mouse-pointer v)?> then\n        go to [front v] layer\n        repeat (3)\n            change [brightness v] effect by (-2)\n            change size by (3)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (3)\n            change [brightness v] effect by (2)\n            change size by (-3)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nwait (0.2) seconds\nbroadcast (Start Game v)\nhide\n\nwhen I receive [settings v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nhide\n\nwhen this sprite clicked\nif <(leaderboard shown) = [0]> then\n    replace item (1) of [leaderboard v] with (join (join (☁ 1) [s]) (join [ - ] (☁ 1n)))\n    replace item (2) of [leaderboard v] with (join (join (☁ 2) [s]) (join [ - ] (☁ 2n)))\n    replace item (3) of [leaderboard v] with (join (join (☁ 3) [s]) (join [ - ] (☁ 3n)))\n    replace item (4) of [leaderboard v] with (join (join (☁ 4) [s]) (join [ - ] (☁ 4n)))\n    replace item (5) of [leaderboard v] with (join (join (☁ 5) [s]) (join [ - ] (☁ 5n)))\n    broadcast (settings v)\n    hide list [leaderboard v]\n    set [leaderboard shown v] to [1]\nelse\n    broadcast (start the actuall game v)\n    show list [leaderboard v]\n    set [leaderboard shown v] to [0]\nend\n\nwait (0.2) seconds\nbroadcast (open level v)\nbroadcast (hide v)\nbroadcast (level v)\nhide\n\ngo to x: (0) y: (-200)\n\nwhen I receive [start the actuall game v]\nshow\ngo to [front v] layer\nset size to (100) %\nswitch costume to (levels v)\ngo to x: (0) y: (-200)\nset [ghost v] effect to (100)\nrepeat (30)\n    go to x: (X) y: ((Y) - (150))\n    change y by (12)\n    change [ghost v] effect by (-4)\nend\nforever\n    go to x: (X) y: ((Y) - (138))\n    if <touching (mouse-pointer v)?> then\n        go to [front v] layer\n        repeat (3)\n            change [brightness v] effect by (-2)\n            change size by (3)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (3)\n            change [brightness v] effect by (2)\n            change size by (-3)\n        end\n    end\nend\n\nwhen I receive [hide v]\nrepeat (13)\n    change [ghost v] effect by (4)\nend\nrepeat (13)\n    change [ghost v] effect by (4)\nend\n\nwhen I receive [start game v]\nreset timer\n\nwhen I receive [message1 v]\nset [time v] to (timer)\nif <(☁ 5) > (time)> then\n    if <(☁ 4) > (time)> then\n        if <(☁ 3) > (time)> then\n            if <(☁ 2) > (time)> then\n                if <(☁ 1) > (time)> then\n                    set [☁ 5 v] to (☁ 4)\n                    set [☁ 4 v] to (☁ 3)\n                    set [☁ 3 v] to (☁ 2)\n                    set [☁ 2 v] to (☁ 1)\n                    set [☁ 5n v] to (☁ 4n)\n                    set [☁ 4n v] to (☁ 3n)\n                    set [☁ 3n v] to (☁ 2n)\n                    set [☁ 2n v] to (☁ 1n)\n                    set [☁ 1 v] to (time)\n                    ask [What is your username?] and wait\n                    set [☁ 1n v] to (answer)\n                    stop [this script v]\n                end\n                set [☁ 5 v] to (☁ 4)\n                set [☁ 4 v] to (☁ 3)\n                set [☁ 3 v] to (☁ 2)\n                set [☁ 5n v] to (☁ 4n)\n                set [☁ 4n v] to (☁ 3n)\n                set [☁ 3n v] to (☁ 2n)\n                set [☁ 2 v] to (time)\n                ask [What's your name?] and wait\n                set [☁ 2n v] to (answer)\n                stop [this script v]\n            end\n            set [☁ 5 v] to (☁ 4)\n            set [☁ 4 v] to (☁ 3)\n            set [☁ 5n v] to (☁ 4n)\n            set [☁ 4n v] to (☁ 3n)\n            set [☁ 3 v] to (time)\n            ask [What's your name?] and wait\n            set [☁ 3n v] to (answer)\n            stop [this script v]\n        end\n        set [☁ 5 v] to (☁ 4)\n        set [☁ 5n v] to (☁ 4n)\n        set [☁ 4 v] to (time)\n        ask [What's your name?] and wait\n        set [☁ 4n v] to (answer)\n        stop [this script v]\n    end\n    set [☁ 5 v] to (time)\n    ask [What's your name?] and wait\n    set [☁ 5n v] to (answer)\n    stop [this script v]\nelse\n    say [This is not a record] for (2) seconds\nend\n\nwhen flag clicked\nshow list [leaderboard v]\nset [leaderboard shown v] to [0]\n\nset [☁ 1 v] to [99999]\nset [☁ 2 v] to [99999]\nset [☁ 3 v] to [99999]\nset [☁ 4 v] to [99999]\nset [☁ 5 v] to [99999]\n\nset [☁ 1n v] to [null]\nset [☁ 2n v] to [null]\nset [☁ 3n v] to [null]\nset [☁ 4n v] to [null]\nset [☁ 5n v] to [null]\n\n@Menu\n\nwhen I receive [clonedelete v]\ndelete this clone\n\nwhen I start as a clone\nset [g v] to [0]\nset size to (100) %\nforever\n    if <(s) = [0]> then\n        if <[locked v] contains (cloneID)?> then\n            set [brightness v] effect to (-20)\n        else\n            set [brightness v] effect to (20)\n        end\n        if <(Hidden) = [1]> then\n            hide\n        else\n            show\n        end\n        if <touching (mouse-pointer v)?> then\n            if <not <[locked v] contains (cloneID)?>> then\n                change size by ((((150) - ((distance to [mouse-pointer v]) / (9))) - (size)) / (7))\n            end\n        else\n            change size by ((((100) - ((distance to [mouse-pointer v]) / (9))) - (size)) / (7))\n        end\n        set x to ((x) - (((mouse x) - (x position)) / (20)))\n        set y to ((y) - (((mouse y) - (y position)) / (20)))\n    end\nend\n\nwhen I receive [6unlock v]\nreplace item (5) of [locked v] with [U]\n\nwhen I receive [4unlock v]\nreplace item (3) of [locked v] with [U]\n\nwhen I receive [3unlock v]\nreplace item (2) of [locked v] with [U]\n\nwhen I receive [2unlock v]\nreplace item (1) of [locked v] with [U]\n\nwhen I receive [5unlock v]\nreplace item (4) of [locked v] with [U]\n\nwhen I receive [7unlock v]\nreplace item (6) of [locked v] with [U]\n\nwhen I receive [9unlock v]\nreplace item (8) of [locked v] with [U]\n\nwhen I receive [8unlock v]\nreplace item (7) of [locked v] with [U]\n\nwhen this sprite clicked\nif <not <[locked v] contains (cloneID)?>> then\n    broadcast (cloneID)\n    set [s v] to [1]\n    broadcast (OPEN LEVEL v)\nend\n\ndefine create clones\ngo to [front v] layer\nswitch costume to (costume1 v)\ngo to x: (-115) y: (100)\nset [x v] to (x position)\nset [y v] to (y position)\nset [cloneid v] to [1]\nrepeat (3)\n    repeat (3)\n        create clone of (_myself_ v)\n        change [cloneid v] by (1)\n        change [x v] by (115)\n        next costume\n    end\n    set [x v] to [-115]\n    change [y v] by (-100)\nend\n\nwhen I receive [open level v]\nrepeat (10)\n    change size by (((250) - (size)) / (25))\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [close level v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [level v]\nset [s v] to [0]\ndelete (all) of [locked v]\nadd [2] to [locked v]\nadd [3] to [locked v]\nadd [4] to [locked v]\nadd [5] to [locked v]\nadd [6] to [locked v]\nadd [7] to [locked v]\nadd [8] to [locked v]\nadd [9] to [locked v]\nbroadcast (CloneDelete v)\ncreate clones\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start the actuall game v]\nhide\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [settings v]\nhide\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    set x to ((mouse x) * (0.02))\n    set y to ((mouse y) * (0.02))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start the actuall game v]\nshow\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [settings v]\nhide\n\n@Sprite6\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (50) to (90))\nswitch costume to (pick random (1) to (3))\nforever\n    go to x: (((mouse x) * (0.1)) + (216)) y: (((mouse y) * (0.1)) - (127))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start the actuall game v]\nshow\n\nwhen I receive [start the actuall game v]\nshow\nset [ghost v] effect to (pick random (50) to (90))\nswitch costume to (pick random (1) to (3))\ncreate clone of (_myself_ v)\nforever\n    go to x: (((mouse x) * (0.05)) + (216)) y: (((mouse y) * (0.05)) - (127))\nend\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [settings v]\nhide\n\n@Sprite7\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (50) to (90))\nswitch costume to (pick random (1) to (3))\nforever\n    go to x: (((mouse x) * (0.1)) + (85)) y: (((mouse y) * (0.1)) - (102))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [start the actuall game v]\nshow\nset [ghost v] effect to (pick random (50) to (90))\nswitch costume to (pick random (1) to (3))\ncreate clone of (_myself_ v)\nforever\n    go to x: (((mouse x) * (0.05)) - (85)) y: (((mouse y) * (0.05)) - (102))\nend\n\nwhen I receive [settings v]\nhide\n\n@Logomakr_9bcU3a\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [start the actuall game v]\nshow\n\nwhen I receive [settings v]\nhide\n\nwhen I receive [hide v]\nrepeat (13)\n    change [ghost v] effect by (4)\nend\nrepeat (13)\n    change [ghost v] effect by (4)\nend\n\n@Skip intro\n\nwhen flag clicked\nshow\nset size to (20) %\ngo to x: (-215) y: (155)\n\nwhen I receive [start the actuall game v]\nhide\n\nwhen this sprite clicked\nbroadcast (start the actuall game v)\n\n