[2 EASTER EGGS]ғσυя sεαsσηs+|| a scrolling platformer                                        

Instructions: https://scratch.mit.edu/projects/407549571\nhint: newly added easter egg is not on lvl 3 or 1\nhttps://scratch.mit.edu/projects/407549571\n\nhttps://scratch.mit.edu/projects/407549571\n\nOK, I HAVE GIVEN CREDIT TO UNSPEAKABLE YET PEOPLE KEEP ON SPAMMING’it’s unspeakable music’\nSO PLEASE STOP\nTHERE IS AN EASTER EGG IN ‘THE END’\nBUG FIXED YESSSSSSSSSSS\nNOTE: IF IT CRASHES DURING LVL TRANSITION, CLICK FLAG AGAIN\nSpam dat flag. Arrow keys or mobile 2 move. Get all the coins to venture into the portal to go to he next level \nLvl 4 iz glitchy but the only way to solve that is to make is rlly unsmooth soo yeah.\nYou can remix and add a storyline if u want.\n96%by @yellowtrees

@Stage\n\nwhen [a v] key pressed\nset [mouse v] to (join (join ((mouse x) + (SCROLL X)) [ , ]) ((mouse y) + (SCROLL Y)))\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [costume v]\nnext backdrop\n\nwhen I receive [begin  v]\nforever\n    play sound [Airway v] until done\nend\n\n@Sprite7\n\n@Sprite\n\nwhen I receive [greenflah v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game on\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v)\n    end\n    if <(EXIT) = [A win win]> then\n        GameWinYOO\n    else\n        Game - die boi boi I’m fed\n    end\nend\n\ndefine Game on\nswitch costume to (idle v)\npoint in direction (90)\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nset [x v] to [0]\nset [y v] to [78]\nset [speedy v] to [0]\nset [sx v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset size to (100) %\nset [ghost v] effect to (0)\nshow\n\ndefine Tick\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    change [sx v] by (2)\nend\nif <<<key (left arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [sx v] by (-2)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change player x by (round (sx))\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    if <(In air) < [4]> then\n        set [speedy v] to [16]\n    end\nend\nif <(Speedy) > [-15]> then\n    change [speedy v] by (-1.5)\nend\nChange player y by (Speedy)\nDie? I think so\nchange [scroll x v] by (round (((x) - (SCROLL X)) / (15)))\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nPosition\nif <(SCROLL Y) < [-30]> then\n    set [exit v] to [Die]\nend\nif <touching (trampoline  v)?> then\n    if <(In air) < [4]> then\n        set [speedy v] to [30]\n    end\nend\n\ndefine Change player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <touching (sprite2 v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [speedy v] to [0]\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (sprite2 v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (sprite2 v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    repeat until <not <touching (sprite2 v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game - die boi boi I’m fed\nset [ghost v] effect to (0)\ncreate clone of (_myself_ v)\n\ndefine Die? I think so\nif <touching (sprite4 v)?> then\n    set [exit v] to [Die \(other way\)]\nend\n\ndefine GameWinYOO\nrepeat (50)\n    point towards (collectibles2 v)\n    turn right (65) degrees\n    move ((distance to [collectibles2 v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nset [ghost v] effect to (0)\nset size to (100) %\nchange [level v] by (1)\nwait (1) seconds\n\nwhen I start as a clone\nset rotation style [all around v]\nrepeat (20)\n    turn right (15) degrees\n    change y by (10)\n    change [ghost v] effect by (5)\nend\nset [ghost v] effect to (0)\nhide\n\nwhen flag clicked\nset [level v] to [0]\n\nwhen I receive [begin  v]\nshow\nbroadcast (Greenflah v) and wait\nbroadcast (Play game v) and wait\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen I receive [greenflah v]\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [y v] to [0]\nset [x v] to [0]\nswitch costume to (costume1 v)\nif <(LEVEL) = [1]> then\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (lvl 2 1 v)\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (lvl 3 1 v)\n            Position x: [450] y: [0]\n            Position x: [700] y: []\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (costume6 v)\n                Position x: [450] y: [0]\n                Position x: [600] y: []\n                Position x: [550] y: [40]\n                Position x: [470] y: [350]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (costume11 v)\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Position x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nwait until <(LEVEL) = [5]>\nbroadcast (Costume v)\n\n@Collectibles\n\nwhen I receive [greenflah v]\nset [brightness v] effect to (100)\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (sprite v)?> then\n    change [collllllectttttt yooooo v] by (1)\n    if <(Collected max) = (COLLLLLLECTTTTTT YOOOOO)> then\n        broadcast (OPEN PORtAL v)\n    end\n    if <touching (sprite v)?> then\n        start sound [pop v]\n    end\n    delete this clone\nend\n\nwhen I receive [setup v]\nset [collected max v] to [0]\nhide\nset [collllllectttttt yooooo v] to [0]\nset [y v] to [0]\nset [x v] to [0]\nswitch costume to (costume4 v)\nif <(LEVEL) = [1]> then\n    Clone x: [214] y: [6]\n    Clone x: [464] y: [98]\n    Clone x: [849] y: [98]\n    Clone x: [1225] y: [-43]\nelse\n    if <(LEVEL) = [2]> then\n        Clone x: [79] y: [85]\n        Clone x: [288] y: [119]\n    else\n        if <(LEVEL) = [3]> then\n            Clone x: [-213] y: [-12]\n            Clone x: [461] y: [120]\n            Clone x: [808] y: [104]\n        else\n            if <(LEVEL) = [4]> then\n                Clone x: [538] y: [112]\n                Clone x: [932] y: [38]\n                Clone x: [1301] y: [30]\n            else\n            end\n        end\n    end\nend\nset [y v] to [-99999999999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\nbroadcast (Yo v)\n\nwhen I receive [yo v]\n\n\n\nwhen I start as a clone\nforever\n    switch costume to ((timer) * (20))\nend\n\nstop [this script v]\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [4]> then\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [begin  v]\nforever\n    wait (pick random (5) to (8)) seconds\n    repeat (12)\n        next costume\n    end\nend\n\n@Collectibles2\n\nwhen I receive [begin  v]\nset [ghost v] effect to (0)\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<(costume [name v]) = [Open]> and <touching (sprite v)?>> then\n    set [exit v] to [A win win]\nend\n\nwhen I receive [setup v]\nhide\nset [collllllectttttt yooooo v] to [0]\nset [y v] to [0]\nset [x v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (closed v)\n    Clone x: [2128] y: [103]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (closed v)\n        Clone x: [891] y: [630]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (closed v)\n            Clone x: [1580] y: [-58]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (closed v)\n                Clone x: [2261] y: [432]\n            else\n                if <(LEVEL) = [5]> then\n                    Clone x: [99999] y: [999]\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [open portal v]\nswitch costume to (open v)\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen I receive [greenflah v]\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [y v] to [0]\nset [x v] to [0]\nswitch costume to (costume1 v)\nif <(LEVEL) = [1]> then\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (lvl 2 1 v)\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (lvl 3 1 v)\n            Position x: [450] y: []\n            Position x: [700] y: []\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (lvl 4 1 v)\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (costume5 v)\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Position x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Trampoline \n\nwhen I receive [greenflah v]\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [y v] to [0]\nset [x v] to [0]\nswitch costume to (costume1 v)\nif <(LEVEL) = [1]> then\n    Position x: [470] y: [20]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (lvl 2 1 v)\n        Position x: [470] y: [20]\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n    else\n        if <(LEVEL) = [4]> then\n            switch costume to (costume6 v)\n            Position x: [450] y: [0]\n            Position x: [600] y: []\n            Position x: [550] y: [40]\n            Position x: [300] y: [300]\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Position x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Sprite4\n\nwhen I receive [greenflah v]\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nset [y v] to [0]\nset [x v] to [0]\nswitch costume to (costume1 v)\nif <(LEVEL) = [1]> then\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\n    Position x: [450] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (lvl 2 1 v)\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n        Position x: [450] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (lvl 3 1 v)\n            Position x: [450] y: [0]\n            Position x: [700] y: [0]\n            Position x: [450] y: []\n        else\n            if <(LEVEL) = [5]> then\n                switch costume to (lvl 5 v)\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Position x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(LEVEL) = [4]>\ngo to [back v] layer\nrepeat until <(LEVEL) = [5]>\n    create clone of (_myself_ v)\nend\ndelete this clone\n\nwhen I start as a clone\n\nwhen I start as a clone\nforever\n    change x by (sx)\n    show\n    set y to (175)\n    set x to (pick random (-240) to (240))\n    repeat until <(y position) < [-160]>\n        change y by (-10)\n    end\n    delete this clone\nend\n\n@intro\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    set size to (0) %\n    wait (0.1) seconds\n    show\n    go to [front v] layer\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) * (.2))\n    end\n    wait (1) seconds\n    hide\n    delete this clone\nelse\n    if <(costume [number v]) = [2]> then\n        set size to (0) %\n        wait (0.2) seconds\n        show\n        go to [front v] layer\n        repeat until <(round (size)) = [100]>\n            change size by (((100) - (size)) * (.2))\n        end\n        wait (1) seconds\n        hide\n        delete this clone\n    else\n        if <(costume [number v]) = [3]> then\n            set size to (0) %\n            wait (0.3) seconds\n            show\n            go to [front v] layer\n            repeat until <(round (size)) = [100]>\n                change size by (((100) - (size)) * (.2))\n            end\n            wait (1.8) seconds\n            delete this clone\n        else\n            if <(costume [number v]) = [4]> then\n                go to x: (0) y: (500)\n                point in direction (180)\n                set size to (120) %\n                wait (0.8) seconds\n                show\n                go to [front v] layer\n                repeat until <<(round (y position)) = [0]> and <(round (direction)) = [90]>>\n                    change y by (((0) - (y position)) * (.2))\n                    turn right (((90) - (direction)) * (.2)) degrees\n                end\n                set [size vel v] to [100]\n                repeat (30)\n                    change size by (size vel)\n                    set [size vel v] to (((size vel) * (0.8)) + (((100) - (size)) * (0.15)))\n                end\n                wait (0.1) seconds\n                hide\n                delete this clone\n            else\n                if <(costume [number v]) = [5]> then\n                    go to x: (0) y: (-500)\n                    set size to (100) %\n                    wait (2.2) seconds\n                    show\n                    go to [front v] layer\n                    repeat until <(round (y position)) = [0]>\n                        change y by (((0) - (y position)) * (.2))\n                    end\n                    wait (0.01) seconds\n                    hide\n                    delete this clone\n                else\n                    if <(costume [number v]) = [6]> then\n                        go to x: (0) y: (-500)\n                        set size to (100) %\n                        wait (2.3) seconds\n                        show\n                        go to [front v] layer\n                        repeat until <(round (y position)) = [0]>\n                            change y by (((0) - (y position)) * (.2))\n                        end\n                        broadcast (introMusicStop v)\n                        repeat (20)\n                            change [ghost v] effect by (5)\n                        end\n                        broadcast (startProject v)\n                        hide\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [intromusicstop v]\nrepeat (50)\n    change volume by (-1)\nend\nstop all sounds\nwait (0.2) seconds\nset volume to (100) %\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\nshow list [output text v]\nswitch costume to (1 v)\nwait (0.5) seconds\nrepeat (6)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen flag clicked\nset volume to (0) %\nwait (0.17) seconds\nset volume to (100) %\nplay sound [UNSPEAKABLEGAMING-INTRO-SONG-FULL-SOUNDTRACK-.mp3 v] until done\n\n@Sprite5\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (6) layers\nforever\n    set [timer v] to ((timer) + (0.00001))\nend\n\nwhen [timer v] > (Timer)\nset [ghost v] effect to (0)\ngo [forward v] (3453453) layers\nshow\n\nwhen I receive [startproject v]\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen I receive [begin  v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Sprite6\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [startproject v]\nshow\n\nwhen flag clicked\nforever\n    set y to ((0) + ((20) * ([cos v] of (((timer) - (3)) * (150)) )))\nend\n\nwhen this sprite clicked\nbroadcast (Begin  v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n