✧ Among Us Platformer ✧

Instructions: ✦ Instructions ✦\n\n→ click the green flag\n→ use the arrow keys or WASD keys to move your character.\n→ avoid the imposter, lasers, spikes, and the red zone.\n→ reach the checkmark to move to the next level\n\n✦ Notes and Credits ✦\n\n→ platformer made by: @nightmxre-\n→ thumbnail found on google\n→ plz like and favorite\n\n✦ Tags ✦\n#platformer #amongus #amongusplatformer #imposter #lava #spikes #cool #like #favorite #comment #follow #nightmxre- #project #game #games #all

@Stage\n\nwhen flag clicked\nforever\n    play sound [Unlimited by @-Xaf- v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nhide variable [my variable v]\n\nwhen flag clicked\nhide variable [volume v]\n\n@Player\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (0.7)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [xv v] by (-0.7)\n        point in direction (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\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 y by (Yv)\n    if <touching (levels v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (levels v)?> then\n        if <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [8]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nRespawn\nset [color v] to [0]\ngo to x: (-224) y: (0)\nset size to (28) %\nshow\nset rotation style [left-right v]\nforever\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        switch costume to (jump v)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n            point in direction (-90)\n            next costume\n            wait (0.04) seconds\n            if <(costume [number v]) = [8]> then\n                switch costume to (walk v)\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            point in direction (90)\n            next costume\n            wait (0.04) seconds\n            if <(costume [number v]) = [11]> then\n                switch costume to (walk v)\n            end\n            if <(costume [number v]) = [12]> then\n                switch costume to (walk v)\n            end\n        end\n    else\n        switch costume to (idle v)\n    end\nend\n\nwhen flag clicked\nset [volume v] to [50]\nset volume to (100) %\nforever\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        play sound [Footstep1 v] until done\n        play sound [Footstep2 v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    set [color v] effect to (Color)\nend\n\nwhen flag clicked\nforever\n    if <touching (imposter v)?> then\n        broadcast (Start Again v)\n    end\nend\n\nwhen I receive [start again v]\nRespawn\n\ndefine Respawn\ngo to x: (-224) y: (0)\n\nwhen I receive [level change v]\nRespawn\n\nwhen flag clicked\nforever\n    if <touching (advancing to next level v)?> then\n        broadcast (Level Change v) and wait\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        create clone of (_myself_ v)\n        wait (.09) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        wait (.09) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        create clone of (_myself_ v)\n        wait (.09) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to ((Volume) * (50)) %\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes! v)?> or <<touching (lasers v)?> or <touching (lava v)?>>> then\n        Respawn\n    end\nend\n\nwhen I start as a clone\ndelete this clone\n\nwhen flag clicked\nhide variable [color v]\nshow\n\n@Levels\n\nwhen I receive [level change v]\nnext costume\nif <(costume [name v]) = [End]> then\n    go to [front v] layer\n    hide variable [color v]\n    hide variable [volume v]\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow variable [volume v]\ngo to [back v] layer\nswitch costume to (1 v)\n\nplay sound [1603618704160-voicemaker v] until done\n\nwhen flag clicked\nshow\n\n@Spikes!\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [levels v]) = [1]> then\n        switch costume to (1 v)\n    end\n    if <([costume # v] of [levels v]) = [2]> then\n        switch costume to (2 v)\n    end\n    if <([costume # v] of [levels v]) = [3]> then\n        switch costume to (3 v)\n    end\n    if <([costume # v] of [levels v]) = [4]> then\n        switch costume to (4 v)\n    end\n    if <([costume # v] of [levels v]) = [5]> then\n        switch costume to (5 v)\n    end\n    if <([costume # v] of [levels v]) = [6]> then\n        switch costume to (6 v)\n    end\n    if <([costume # v] of [levels v]) = [7]> then\n        switch costume to (7 v)\n    end\nend\n\nwhen flag clicked\nshow\n\n@Imposter\n\nwhen flag clicked\nset [color v] effect to (150)\ngo to x: (123) y: (-113)\nset rotation style [left-right v]\nforever\n    point in direction (90)\n    switch costume to (walk v)\n    repeat (18)\n        change x by (7)\n        next costume\n        wait (0.10) seconds\n    end\n    point in direction (-90)\n    switch costume to (walk v)\n    repeat (18)\n        change x by (-7)\n        next costume\n        wait (0.10) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player knife v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nshow\n\n@Imposter.text\n\nwhen flag clicked\nshow\nforever\n    go to (imposter v)\nend\n\n@Advancing to next level\n\nwhen flag clicked\nshow\n\n@Lava\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\ngo [backward v] (99) layers\n\n@Laser1\n\nwhen flag clicked\ngo to x: (80) y: (-117)\nshow\n\n@Laser2\n\nwhen flag clicked\nshow\ngo to x: (80) y: (167)\n\n@Lasers\n\nwhen flag clicked\ngo [backward v] (2) layers\nforever\n    wait (3) seconds\n    hide\n    wait (3) seconds\n    show\nend\n\nwhen flag clicked\nshow\n\n