Among Us Platformer  •Win Update•

Instructions: More coming soon!\nNew Update At 5000 views\nFor how to play click the how to play the platformer button!\n(WASD) added to original project\nIF LAGGING- https://turbowarp.org/514476913\n(New Update)

@Stage\n\nwhen flag clicked\n\nwhen I receive [leaderboard=show v]\nswitch backdrop to (leaderboards v)\n\nwhen I receive [timer v]\nset [timer v] to [0]\nshow variable [timer v]\n\nwhen flag clicked\nswitch backdrop to (lobby v)\nset [timer v] to [0]\nhide variable [timer v]\nhide variable [☁ daily highscore: v]\nhide variable [☁ highscore: v]\n\nwhen backdrop switches to [chat v]\nhide list [chat: v]\n\n@Character\n\ndefine Run block\nRun Engine\n\nwhen flag clicked\nset [deaths v] to [0]\nset [y spawn v] to [-100]\nset [x spawn v] to [-221]\ngo to x: (X Spawn) y: (Y Spawn)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Run block\nend\n\ndefine Run Engine\nchange [y v] by (-0.5)\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(x position) > (mouse x)> and <mouse down?>>> then\n    change [x v] by (-0.9)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > (x position)> and <mouse down?>>> then\n    change [x v] by (0.9)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <touching color (#4d4d4d)?> then\n    change y by (1)\n    if <touching color (#4d4d4d)?> then\n        change y by (1)\n        if <touching color (#4d4d4d)?> then\n            change y by (1)\n            if <touching color (#4d4d4d)?> then\n                change y by (1)\n                if <touching color (#4d4d4d)?> then\n                    change y by (1)\n                    if <touching color (#4d4d4d)?> then\n                        change y by (1)\n                        if <touching color (#4d4d4d)?> then\n                            change y by (-6)\n                            change x by ((x) * (-1))\n                            if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                set [y v] to [9]\n                                if <(x) > [0]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y)\nif <touching color (#4d4d4d)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<<touching color (#4d4d4d)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<touching color (#4d4d4d)?> and <<(mouse y) > (y position)> and <mouse down?>>>> then\n    set [y v] to [9.5]\nend\nchange y by (0.5)\nif <touching color (#ff0000)?> then\n    go to x: (X Spawn) y: (Y Spawn)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    set [x v] to [0]\n    set [y v] to [0]\n    change [deaths v] by (1)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nif <(x position) > [233]> then\n    go to x: (X Spawn) y: (Y Spawn)\n    broadcast (e v)\n    set [x v] to [0]\n    set [y v] to [0]\nend\n\nwhen flag clicked\ngo to x: (-221) y: (-100)\n\nwhen I receive [color v]\nnext costume\n\nwhen backdrop switches to [color v]\nshow\ngo to x: (0) y: (0)\n\nwhen backdrop switches to [lobby v]\nhide\n\nwhen backdrop switches to [platformers v]\ngo to x: (-221) y: (-100)\nshow\n\nwhen backdrop switches to [pets v]\nset size to (200) %\ngo to x: (-90) y: (-2)\nshow\ncreate clone of (_myself_ v)\nset size to (100) %\nhide\n\nwhen I start as a clone\nwait until <(backdrop [name v]) = [lobby]>\ndelete this clone\n\nwhen flag clicked\nforever\n    Run block\nend\n\nwhen I receive [yee v]\nswitch costume to (download12 v)\n\nset [☁ highscore: v] to [300]\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen flag clicked\nforever\n    if < (Chat:) contains [hi]?> then\n        wait (6) seconds\n        add [coolplatipus1: hi] to [chat: v]\n        stop [this script v]\n    end\nend\n\n@levle\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [51]> then\n        if <(Timer) < (☁ highscore:)> then\n            set [☁ highscore: v] to (Timer)\n            set [☁ username- v] to (username)\n        end\n    end\nend\n\nwhen flag clicked\nset [levle v] to [0]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [45]> then\n        change [levle v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [29]> then\n        broadcast (level up v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [45]> then\n        broadcast (level up v)\n    end\nend\n\nwhen backdrop switches to [lobby v]\nhide\n\nwhen backdrop switches to [platformers v]\nshow\n\nwhen I receive [levle v]\nnext costume\n\nwhen flag clicked\nset [levle v] to [0]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [29]> then\n        change [levle v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [29]> then\n        broadcast (level up v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (button3-b v)\n\nwhen I receive [e v]\nnext costume\n\nwhen flag clicked\nswitch costume to (button3-b v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [51]> then\n        wait (4) seconds\n        broadcast (yee v)\n        switch costume to (button3-b52 v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [52]> then\n        broadcast (Timer v)\n    end\nend\n\nset [☁ highscore: v] to [1000000]\n\nwhen flag clicked\nforever\n    hide variable [☁ deaths: v]\n    hide variable [deaths v]\nend\n\nwhen flag clicked\nif <(costume [number v]) = [51]> then\n    if <(Deaths) < (☁ Deaths:)> then\n        set [☁ deaths v] to (Deaths)\n    end\nend\n\nset [☁ highscore: v] to [153]\n\nwhen flag clicked\nrepeat until <(costume [number v]) = [52]>\n    wait (1) seconds\n    change [timer v] by (1)\nend\n\nwhen flag clicked\nforever\n    if <<(costume [number v]) = [52]> and <(Timer) < [20]>> then\n        add (username) to [banned v]\n    end\nend\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [51]> then\n        change [☁ total player wins: v] by (1)\n        stop [this script v]\n    end\nend\n\n@color\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-a2 v)\n    else\n        switch costume to (button3-a v)\n    end\nend\n\nwhen backdrop switches to [platformers v]\nhide variable [coins v]\nhide\n\nwhen backdrop switches to [lobby v]\ngo to x: (-80) y: (0)\nshow\nhide variable [coins v]\n\nwhen this sprite clicked\nbroadcast (color v)\nhide variable [☁ banned v]\nswitch backdrop to (color v)\n\nwhen backdrop switches to [color v]\ngo to x: (-173) y: (145)\nshow\nhide variable [coins v]\n\nwhen backdrop switches to [leaderboards v]\nhide\n\nwhen backdrop switches to [pets v]\nhide variable [coins v]\nhide\n\nwhen backdrop switches to [how to play v]\nhide\n\n@play\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [leaderboards v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-a2 v)\n    else\n        switch costume to (button3-a v)\n    end\nend\n\nwhen this sprite clicked\nswitch backdrop to (platformers v)\n\nwhen backdrop switches to [platformers v]\nhide\n\nwhen backdrop switches to [lobby v]\nshow\n\nwhen backdrop switches to [color v]\nhide\n\nwhen backdrop switches to [how to play v]\nhide\n\nwhen backdrop switches to [pets v]\nhide\n\nwhen this sprite clicked\nshow variable [deaths v]\n\nwhen this sprite clicked\nshow variable [timer v]\n\nwhen this sprite clicked\nrepeat until <(costume [number v]) = [52]>\n    wait (1) seconds\nend\n\nwhen flag clicked\nbroadcast (Timer v)\n\n@Pets\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [leaderboards v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-a2 v)\n    else\n        switch costume to (button3-a v)\n    end\nend\n\nwhen backdrop switches to [color v]\nhide\n\nwhen backdrop switches to [platformers v]\nhide\n\nwhen backdrop switches to [lobby v]\nshow\n\nwhen backdrop switches to [how to play v]\nhide\n\nwhen backdrop switches to [pets v]\nhide\n\nwhen this sprite clicked\nswitch backdrop to (pets v)\n\n@How to play\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [leaderboards v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-a2 v)\n    else\n        switch costume to (button3-a v)\n    end\nend\n\nwhen backdrop switches to [color v]\nhide\n\nwhen backdrop switches to [platformers v]\nhide\n\nwhen backdrop switches to [lobby v]\nshow\n\nwhen backdrop switches to [how to play v]\nhide\n\nwhen this sprite clicked\nswitch backdrop to (how to play v)\n\nwhen backdrop switches to [pets v]\nhide\n\n@back\n\nwhen backdrop switches to [leaderboards v]\nshow\n\nwhen backdrop switches to [platformers v]\nhide\ngo to x: (-173) y: (145)\nshow\n\nwhen backdrop switches to [lobby v]\nhide\n\nwhen backdrop switches to [color v]\ngo to x: (-172) y: (81)\nshow\n\nwhen this sprite clicked\nswitch backdrop to (lobby v)\n\nwhen backdrop switches to [how to play v]\nhide\ngo to x: (-173) y: (145)\nshow\n\nwhen backdrop switches to [pets v]\nhide\ngo to x: (-173) y: (145)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-a2 v)\n    else\n        switch costume to (button3-a v)\n    end\nend\n\nwhen this sprite clicked\nhide variable [☁ deaths: v]\nhide variable [☁ highscore: v]\nhide variable [☁ username- v]\nhide variable [☁ total player wins: v]\nhide variable [☁ daily highscore: v]\nhide variable [timer v]\nhide variable [deaths v]\nset [yeet111 v] to [0]\n\nwhen flag clicked\nhide variable [deaths v]\n\n@mini character\n\nwhen backdrop switches to [pets v]\npoint in direction (90)\ngo to x: (28) y: (94)\nshow\n\nwhen backdrop switches to [lobby v]\nhide\n\nwhen flag clicked\nforever\n    if <(levle) = [1]> then\n        switch costume to (shop v)\n        change [sprite pet v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nswitch costume to (shop2 v)\n\nwhen flag clicked\nforever\n    if <(sprite pet) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            go to x: (-350) y: (94)\n            forever\n                go to (character v)\n                point towards (character v)\n                move (-100) steps\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [sprite pet v] to [0]\n\nwhen backdrop switches to [platformers v]\nif <(sprite pet) = [1]> then\n    show\n    switch costume to (game v)\nend\n\nwhen flag clicked\nforever\n    if <(sprite pet) = [2]> then\n        point in direction (90)\n        go to x: (28) y: (94)\n        show\n        switch costume to (shop v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(levle) = [2]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (character v)?> then\n        hide\n    else\n        if <(backdrop [number v]) = [1]> then\n            if <(sprite pet) = [1]> then\n                show\n            end\n        end\n    end\nend\n\n@dogo\n\nwhen flag clicked\nforever\n    if <touching (character v)?> then\n        hide\n    else\n        if <(backdrop [number v]) = [1]> then\n            if <(sprite pet) = [2]> then\n                show\n            end\n        end\n    end\nend\n\nwhen backdrop switches to [pets v]\ngo to x: (123) y: (93)\nshow\n\nwhen flag clicked\nset [sprite pet v] to [0]\n\nwhen backdrop switches to [platformers v]\nif <(sprite pet) = [2]> then\n    show\n    switch costume to (game v)\nend\n\nwhen flag clicked\nswitch costume to (shop2 v)\n\nwhen flag clicked\nswitch costume to (shop2 v)\n\nwhen flag clicked\nforever\n    if <(levle) = [2]> then\n        switch costume to (shop v)\n        change [sprite pet v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(sprite pet) = [2]> then\n        if <touching (mouse-pointer v)?> then\n            forever\n                go to (character v)\n                point towards (character v)\n                move (-100) steps\n            end\n        end\n    end\nend\n\nwhen backdrop switches to [pets v]\npoint in direction (90)\ngo to x: (123) y: (93)\nshow\n\nwhen backdrop switches to [lobby v]\nhide\n\nwhen flag clicked\nset [sprite pet v] to [0]\n\n@alien\n\nwhen flag clicked\nforever\n    if <touching (character v)?> then\n        hide\n    else\n    end\nend\n\nwhen backdrop switches to [pets v]\ngo to x: (27) y: (4)\nshow\n\nwhen backdrop switches to [lobby v]\nhide\n\n@level up\n\nwhen I receive [level up v]\nshow\nwait (.5) seconds\nhide\n\nwhen flag clicked\nhide\n\n@leaderboards\n\nwhen backdrop switches to [chat v]\nhide\n\nwhen backdrop switches to [pets v]\nhide\n\nwhen backdrop switches to [how to play v]\nhide\n\nwhen backdrop switches to [color v]\nhide\n\nwhen backdrop switches to [platformers v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [lobby v]\nshow\n\nwhen backdrop switches to [leaderboards v]\nhide\n\nwhen this sprite clicked\nbroadcast (leaderboard=show v)\n\nwhen flag clicked\nhide variable [☁ username- v]\nhide variable [☁ username- v]\nhide variable [☁ total player wins: v]\nshow\n\nwhen this sprite clicked\nshow variable [☁ highscore: v]\nshow variable [☁ username- v]\nshow variable [☁ total player wins: v]\n\nwhen this sprite clicked\n\nwhen I receive [timer v]\nset [timer v] to [0]\n\n@Sprite2\n\nwhen this sprite clicked\nshow list [chat: v]\nswitch backdrop to (lobby v)\nhide\n\nwhen backdrop switches to [chat v]\nshow\n\nwhen backdrop switches to [lobby v]\nshow list [chat: v]\nhide\n\nwhen I receive [banned v]\nhide\n\n@Sprite4\n\nforever\n    \nend\n\nwhen this sprite clicked\n\n@Sprite5\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(username) = [ronsinda]> then\n        broadcast (Banned v)\n    else\n        hide\n    end\nend\n\nwhen I receive [banned v]\nshow\nshow\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nforever\n    if <(username) = [CatNexus]> then\n        broadcast (Banned v)\n        show\n        go to [front v] layer\n        wait (1) seconds\n        stop [all v]\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [RonsindaTest]> then\n        broadcast (Banned v)\n        show\n        go to [front v] layer\n        wait (1) seconds\n        stop [all v]\n    else\n        hide\n    end\nend\n\n