Among us platformer remixed by Sku11s

Instructions: Notice: New animation out go see it here: \n https://scratch.mit.edu/projects/465088938/\n\nNOTICE: Part 2 Is out!! click here to play: \n https://scratch.mit.edu/projects/466318999/\n\nThis is what my sister does when i have a more liked project: "Hmm my brother's getting famous- THIS IS ILLEGAL >:0000"\n\n⭐️   Welcome Ladies and Gentlemen.    ⭐️\n\nI am back from long non posting with this really cool project. Sorry for very long non-posting, I had a lot of school and exams and so on... \n\nWHY DOES THUMBNAIL DONT UPDATE?! :/\n\nThis is also gooing to be Multiplayer but I will make this later, stay stuned and follow to get an notification ;) \n\nWell, the rules are like in every Platformer: \n\nMove with Arrows (recommend) or WASD :D\nUse the "use-Button" if you want to do an task like in the real Among us. \nAvoid Spikes or deadly Lasers \nHave Fun and...\nLove, fave and Follow, wohoo :DDD\n\nCredit Crewmates: \nDefinitly Among us lol\nGoogle Images for most of the Thumbnail xD\n@Capt_Boanerges for some inspiration and the background sound\n@you for viewing ;D\n\nNew project:\nhttps://scratch.mit.edu/projects/446668690/\n

@Stage\n\nwhen flag clicked\nwait until <(mode) = [game]>\nforever\n    play sound [POL-spaceship-ambience-short v] until done\nend\n\n@Character\n\nwhen flag clicked\nset [mode v] to [main menu]\nwait until <(mode) = [game]>\nswitch costume to (costume5 v)\nset [x v] to [0]\nset [shadow- v] to [30]\nset [id# v] to [1]\ncreate clone of (_myself_ v)\npoint in direction (90)\nforever\n    set rotation style [left-right v]\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        repeat until <not <<key (right arrow v) pressed?> or <key (d v) pressed?>>>\n            switch costume to (costume1 v)\n            repeat (3)\n                next costume\n                wait (0.1) seconds\n            end\n        end\n    else\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            point in direction (-90)\n            repeat until <not <<key (left arrow v) pressed?> or <key (a v) pressed?>>>\n                switch costume to (costume1 v)\n                repeat (3)\n                    next costume\n                    wait (0.1) seconds\n                end\n            end\n        else\n            switch costume to (costume5 v)\n        end\n    end\nend\n\nwhen flag clicked\nhide\nwait until <(mode) = [game]>\nset [t v] to [0]\nshow\ngo to [front v] layer\nset x to (0)\nset y to (0)\nforever\n    if <(t) = [0]> then\n        show\n        Platformer physics\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nif <(id#) = [particles]> then\n    go [forward v] (0) layers\n    show\n    move (-10) steps\n    change y by (-20)\n    if <touching (ground v)?> then\n        turn right (pick random (1) to (10)) degrees\n        switch costume to (pick random (7) to (9))\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        delete this clone\n    else\n        delete this clone\n    end\nend\n\nif <(id#) = [1]> then\n    go [forward v] (1) layers\n    set [ghost v] effect to (50)\n    go to x: ((x) - (20)) y: (-78)\n    show\n    switch costume to (shadow v)\n    forever\n        set [yv v] to (Yv)\n        if <not <(yv) = [0]>> then\n            set [shadow- v] to ([abs v] of ((yv) * (2)) )\n        else\n            if <(in air?) = [no]> then\n                set [shadow- v] to ([abs v] of ((yv) * (2)) )\n            else\n                set [shadow- v] to [30]\n            end\n            if <(t) = [yes]> then\n                hide\n            else\n                show\n            end\n        end\n        set size to (shadow-) %\n        set x to ((x) - (8))\n    end\nend\n\nstop [this script v]\n\nset [shadow- v] to [30]\n\ndefine Platformer physics\nchange [yv v] by (-1)\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xv v] by (-1)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [xv v] by (1)\nend\nset [xv v] to ((Xv) * (0.9))\nchange x by (Xv)\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (-4)\n    change x by ((Xv) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        set [yv v] to [15]\n        change [shadow- v] by (3)\n        if <(Xv) > [0]> then\n            set [xv v] to [-10]\n        else\n            set [xv v] to [10]\n        end\n    end\nend\nchange y by (Yv)\nif <touching (ground v)?> then\n    change y by ((Yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> and <touching (ground v)?>> then\n    set [yv v] to [15]\nend\nchange y by (1)\nif <<touching (spikes v)?> or <touching (another_danger v)?>> then\n    if <not <(LEVEL) = [10]>> then\n        broadcast (oof v)\n        go to x: (-180) y: (0)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    else\n        if <[-3] > (Yv)> then\n            broadcast (enemy_killed v)\n            wait (0.2) seconds\n        else\n            broadcast (oof v)\n            go to x: (-180) y: (0)\n            set [xv v] to [0]\n            set [yv v] to [0]\n        end\n    end\nend\nif <(y position) < [-160]> then\n    if <not <(LEVEL) = [8]>> then\n        go to x: (-180) y: (0)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    else\n        broadcast (LEVEL UP! v)\n        change [level v] by (1)\n        hide\n        go to x: (-180) y: (0)\n        wait (0.8) seconds\n        show\n    end\nend\nif <(x position) > [220]> then\n    if <not <<(LEVEL) = [8]> or <(LEVEL) = [15]>>> then\n        broadcast (LEVEL UP! v)\n        change [level v] by (1)\n        hide\n        go to x: (-180) y: (0)\n        wait (0.8) seconds\n        show\n    end\nend\nif <touching (trampolins v)?> then\n    set [yv v] to [25]\nend\n\nchange [yv v] by (-1)\nchange [shadow- v] by (-2)\n\nset [shadow- v] to [0]\n\nwhen flag clicked\nset [task? v] to [no]\nwait (0.5) seconds\nwait until <(mode) = [game]>\nset [id# v] to [particles]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    set [x v] to (x position)\n    if <touching (ground v)?> then\n        set [in air? v] to [no]\n    else\n        set [in air? v] to [yes]\n    end\nend\n\nforever\n\nset x to ((x) - (50))\n\n\n\nforever\n\ngo to [front v] layer\n\n@ground\n\nwhen flag clicked\nset [level v] to [1]\nhide\nwait until <(mode) = [game]>\nshow\ngo [forward v] (1) layers\nforever\n    switch costume to (LEVEL)\nend\n\n@Sprite3\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nswitch costume to (costume3 v)\n\nwhen I start as a clone\nswitch costume to (costume2 v)\ngo to [back v] layer\nhide\nwait until <(mode) = [game]>\nshow\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\nwait until <(mode) = [game]>\nshow\nset [level v] to [1]\nforever\n    switch costume to ((LEVEL) + (1))\nend\n\n@Spikes\n\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\nforever\n    if <<<(LEVEL) = [3]> or <(LEVEL) = [4]>> or <(LEVEL) = [13]>> then\n        show\n        wait (1) seconds\n        hide\n        wait (1) seconds\n    else\n        show\n    end\nend\n\n@stars\n\nwhen flag clicked\nhide\ncloning\n\ndefine cloning\ngo to [back v] layer\nrepeat (10)\n    create clone of (_myself_ v)\n    change [color v] effect by (25)\n    go to (random position v)\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (10))\nshow\nforever\n    go to [back v] layer\n    turn right (pick random (1) to (5)) degrees\n    move (pick random (0) to (0.5)) steps\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [5]> then\n        show\n        if <(task?) = [touching]> then\n            switch costume to (costume2 v)\n        else\n            switch costume to (costume1 v)\n        end\n    else\n        if <(LEVEL) = [14]> then\n            show\n            if <(task?) = [touching]> then\n                switch costume to (costume4 v)\n            else\n                switch costume to (costume3 v)\n            end\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (character v)?> then\n        if <<(LEVEL) = [5]> or <(LEVEL) = [14]>> then\n            set [task? v] to [touching]\n        end\n    else\n        set [task? v] to [0]\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nset [task v] to [0]\ngo [forward v] (5) layers\nset [ghost v] effect to (50)\nhide\nwait until <(mode) = [game]>\nshow\n\nwhen flag clicked\nforever\n    if <(task?) = [touching]> then\n        set [ghost v] effect to (0)\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <(LEVEL) = [5]> then\n                    set [ghost v] effect to (50)\n                    set [task v] to [1]\n                    set [task? v] to [yes]\n                    broadcast (again! v)\n                    stop [this script v]\n                end\n                if <(LEVEL) = [14]> then\n                    set [ghost v] effect to (50)\n                    set [task v] to [2]\n                    set [task? v] to [yes]\n                    stop [this script v]\n                end\n            end\n        end\n    else\n        set [ghost v] effect to (50)\n    end\nend\n\nset [task? v] to [yes]\nstop [this script v]\n\nwhen flag clicked\n\nwhen I receive [again! v]\nforever\n    if <(task?) = [touching]> then\n        set [ghost v] effect to (0)\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <(LEVEL) = [14]> then\n                    set [ghost v] effect to (50)\n                    set [task v] to [2]\n                    set [task? v] to [yes]\n                    stop [this script v]\n                end\n            end\n        end\n    else\n        set [ghost v] effect to (50)\n    end\nend\n\n@Task 1\n\nwhen I receive [task1finished v]\nshow\nswitch costume to (costume9 v)\ngo to [front v] layer\ngo to x: (0) y: (50)\nset [y v] to [0]\nrepeat (22)\n    change y by (y)\n    change [y v] by (-1)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen flag clicked\nhide\nswitch costume to (00 v)\nwait until <(task) = [1]>\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\nset [variable_task1 v] to [0]\nset [task1 v] to [0]\nset [t v] to [yes]\ncreate clone of (_myself_ v)\nwait (0.4) seconds\nwait until <(task1) = [1]>\nrepeat until <(costume [number v]) = [7]>\n    if <(task1) = [1]> then\n        next costume\n    else\n        wait until <(task1) = [1]>\n    end\nend\nset [t v] to [0]\nset [variable_task1 v] to [1]\nhide\nbroadcast (task1finished v)\n\nwait (0.4) seconds\n\nwhen I start as a clone\nshow\nswitch costume to (costume7 v)\nset [ghost v] effect to (0)\ngo to x: (125) y: (-75)\nrepeat until <(variable_task1) = [1]>\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            switch costume to (costume8 v)\n            set [task1 v] to [1]\n        else\n            switch costume to (costume7 v)\n            set [task1 v] to [0]\n        end\n    else\n        set [task1 v] to [0]\n        switch costume to (costume7 v)\n    end\nend\ndelete this clone\n\n@Task 2\n\nwhen flag clicked\nhide variable [code_level1 v]\nwait until <(task) = [2]>\nset [t v] to [yes]\nshow variable [code_level1 v]\nset [task v] to [2]\nset [code_level1 v] to []\nshow variable [code_level1 v]\ngenerateKeys();\nrepeat until <(code_level1) = [3221]>\n    wait until <(length of (code_level1)) > [3]>\n    if <not <(code_level1) = [3221]>> then\n        set [code_level1 v] to []\n        play sound [Buzz Whir v] until done\n    end\nend\nchange [task v] by (1)\nhide variable [code_level1 v]\nset [t v] to [0]\nstart sound [Win v]\nbroadcast (task_finished v)\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nforever\n    repeat until <mouse down?>\n        if <(task) > [2]> then\n            delete this clone\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        wait until <<not <mouse down?>> or <not <touching (mouse-pointer v)?>>>\n        set [brightness v] effect to (0)\n        if <(length of (code_level1)) < [4]> then\n            set [code_level1 v] to (join (code_level1) (costume [name v]))\n            start sound [beep v]\n        end\n    end\n    repeat until <not <mouse down?>>\n        if <(task) > [2]> then\n            delete this clone\n        end\n    end\nend\n\ndefine generateKeys();\nswitch costume to (1 v)\nset size to (120) %\ngo to x: (-40) y: (20)\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\n    change x by (40)\nend\ngo to x: (-40) y: (-20)\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\n    change x by (40)\nend\ngo to x: (-40) y: (-60)\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\n    change x by (40)\nend\ngo to x: (0) y: (-100)\ncreate clone of (_myself_ v)\n\nset [brightness v] effect to (50)\n\nwhen flag clicked\nhide\nwait until <(task) = [2]>\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nswitch costume to (00 v)\n\nwhen I receive [task_finished v]\nset [id# v] to [background]\ncreate clone of (_myself_ v)\nchange [id# v] by (1)\nshow\nswitch costume to (costume1 v)\ngo to [front v] layer\ngo to x: (0) y: (50)\nset [y v] to [0]\nrepeat (22)\n    change y by (y)\n    change [y v] by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nset [t v] to [0]\n\nwhen I start as a clone\n\nwhen I start as a clone\n\nhide\n\n@Sprite1\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [level up! v]\ngo [forward v] (1) layers\ngo to [front v] layer\nset x to (500)\nshow\nrepeat (6)\n    change x by (-80)\nend\nchange x by (-15)\nwait (0.7) seconds\nrepeat (5)\n    change x by (-80)\nend\nhide\n\n@main menu\n\nwhen I start as a clone\nif <(id #) = [2]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <(mode) = [main menu]> then\n                    set [mode v] to [game]\n                    broadcast (mouseclick v)\n                    broadcast (game started v)\n                end\n            end\n        end\n    end\nend\nif <(id #) = [5]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <(mode) = [main menu]> then\n                    set [mode v] to [info]\n                    broadcast (mouseclick v)\n                    broadcast (info v)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nif <(id #) = [1]> then\n    forever\n        if <<(mode) = [main menu]> or <(mode) = [info]>> then\n            show\n        else\n            hide\n        end\n    end\nend\nif <(id #) = [2]> then\n    forever\n        if <(mode) = [main menu]> then\n            show\n        else\n            hide\n        end\n    end\nend\nif <(id #) = [3]> then\n    forever\n        if <(mode) = [main menu]> then\n            show\n        else\n            hide\n        end\n    end\nend\nif <(id #) = [5]> then\n    forever\n        if <(mode) = [main menu]> then\n            show\n        else\n            hide\n        end\n    end\nend\nif <(id #) = [6]> then\n    forever\n        if <(mode) = [info]> then\n            show\n        else\n            hide\n        end\n    end\nend\n\nrepeat until <(size) = [120]>\n    change size by (10)\nend\nrepeat until <(size) = [100]>\n    change size by (-10)\nend\n\nwhen I start as a clone\nif <(id #) = [3]> then\n    forever\n        point in direction ((([sin v] of ((timer) * (100)) ) * (3)) + (90))\n    end\nend\n\nwhen flag clicked\nset [mode v] to [main menu]\nset [character_selected v] to [1]\nhide\nset [id # v] to [0]\nrepeat (6)\n    change [id # v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nbroadcast (main menu background v)\nif <(id #) = [1]> then\n    show\n    set [ghost v] effect to (0)\n    set size to (150) %\n    switch costume to (costume3 v)\n    go to x: (0) y: (0)\n    set [ghost v] effect to (60)\n    go to [back v] layer\nend\nif <(id #) = [2]> then\n    set [ghost v] effect to (0)\n    switch costume to (costume2 v)\n    go to x: (0) y: (0)\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (20)\n            repeat until <(size) = [100]>\n                change size by (5)\n            end\n        else\n            set [brightness v] effect to (0)\n            repeat until <(size) = [85]>\n                change size by (-5)\n            end\n        end\n    end\nend\nif <(id #) = [3]> then\n    set size to (100) %\n    set [ghost v] effect to (0)\n    switch costume to (costume4 v)\n    go to x: (0) y: (80)\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [i v] to (((i) * (.8)) + (((120) - (size)) / (5)))\n            change size by (i)\n        else\n            set [i v] to (((i) * (.8)) + (((85) - (size)) / (5)))\n            change size by (i)\n        end\n    end\nend\nif <(id #) = [4]> then\n    go to [front v] layer\n    switch costume to (costume12 v)\n    set [ghost v] effect to (100)\n    hide\n    wait (pick random (15) to (30)) seconds\n    set [ghost v] effect to (50)\n    show\n    set y to (100)\n    repeat (5)\n        change y by (-4)\n        change [ghost v] effect by (-10)\n    end\n    wait (5) seconds\n    repeat (5)\n        change y by (4)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\nif <(id #) = [5]> then\n    set size to (100) %\n    set [ghost v] effect to (0)\n    switch costume to (costume1 v)\n    go to x: (0) y: (-80)\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (20)\n            repeat until <(size) = [100]>\n                change size by (5)\n            end\n        else\n            set [brightness v] effect to (0)\n            repeat until <(size) = [85]>\n                change size by (-5)\n            end\n        end\n    end\nend\nif <(id #) = [6]> then\n    set size to (100) %\n    set [ghost v] effect to (0)\n    switch costume to (costume5 v)\n    go to x: (0) y: (0)\nend\n\nset [mode v] to [game over]\n\nwhen I receive [mouseclick v]\nstart sound [Mouse Click v]\n\nwhen I receive [info v]\nwait until <not <mouse down?>>\nforever\n    if <mouse down?> then\n        set [mode v] to [main menu]\n        broadcast (mouseclick v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [startproject v]\n\nforever\n    point in direction ((([sin v] of ((timer) * (100)) ) * (3)) + (90))\nend\n\nbroadcast (start v)\n\n@Text\n\nwhen flag clicked\nhide\nwait until <(mode) = [game]>\nshow\nforever\n    if <not <(LEVEL) = [15]>> then\n        point in direction (90)\n        go to x: (0) y: (0)\n        switch costume to (LEVEL)\n    else\n        go to x: (0) y: (100)\n        switch costume to (LEVEL)\n        forever\n            point in direction ((([sin v] of ((timer) * (100)) ) * (3)) + (90))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (character v)?> or <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@amous\n\nwhen flag clicked\nhide\n\nshow\n\n