Among us platformer                                              #dirtbikedude3

Instructions: Followed and promoted by @atomicmagicnumber\n-------------------------instructions---------------------------\nArrow keys to move\navoid the red spikes \nget to the end to find out who the Imposter is\nHave fun\nwow now that this is popular i can see that people are finding ways to "improve it"\nThere is an easter egg (post in the comments if you see it)\n\n\n#amongus#fun#new

@Stage\n\n@you\n\ndefine move- in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    if <touching color (#000000)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((Speed y) / (steps))\n    if <touching color (#000000)?> then\n        set y to (last value)\n        if <(Speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen [left arrow v] key pressed\nswitch costume to (costume3 v)\n\nwhen [right arrow v] key pressed\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\nwhen flag clicked\nswitch backdrop to (backdrop9765432 v)\nhide\n\nwhen I receive [h v]\nshow\n\nwhen I receive [h v]\nforever\n    repeat (99999999999999099999090990090000090)\n        set volume to (200) %\n        play sound [Among Us Trap Remix \(Among Drip Theme Song Original\) - BlueConvert v] until done\n    end\nend\n\nwhen I receive [h v]\nset [gravity v] to [-1]\nset [speed y v] to [0]\ngo to x: (-150) y: (50)\nforever\n    if <key (up arrow v) pressed?> then\n        if <(falling) < [3]> then\n            set [speed y v] to [15]\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by (-3)\n    end\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (3)\n    end\n    set [speed x v] to ((speed x) * (0.8))\n    change [speed y v] by (gravity)\n    move- in steps (([abs v] of (speed x) ) + ([abs v] of (Speed y) ))\n    if <<touching color (#ff0000)?> or <touching color (#800000)?>> then\n        start sound [301abd81-edc2-4c2a-a341-e2f09c9935bd v]\n        repeat (10)\n            change [ghost v] effect by (10)\n            change y by (5)\n            turn right (5) degrees\n        end\n        set [ghost v] effect to (0)\n        point in direction (90)\n        go to x: (-197) y: (-63)\n    end\n    if <touching (sprite2 v)?> then\n        next backdrop\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop v)\n\nwhen backdrop switches to [backdrop9765432 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop8 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop10 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (-192) y: (-94)\n\nwhen backdrop switches to [backdrop12 v]\ngo to x: (-192) y: (-94)\n\nhide\n\nhide\n\n@Sus\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop9 v]\nshow\ngo to x: (12) y: (-93)\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nhide\n\n@Sus2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\nwhen backdrop switches to [backdrop12 v]\nshow\n\nwhen backdrop switches to [backdrop v]\nhide\n\nhide\n\nshow\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop12 v]\nshow\n\nwhen this sprite clicked\nstart sound [Meeting v]\nhide\nstop all sounds\nbroadcast (Outro v)\n\nwhen backdrop switches to [backdrop v]\nhide\n\nhide\n\n@For YOU\n\ndefine Intro\nset [i v] to [0]\nset [i2 v] to [0]\nset [sequence v] to [1]\nhide\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (100) %\nclear graphic effects\nif <(pick random (1) to (2)) = [1]> then\n    start sound [Vexento - Cloud Nine v]\nelse\n    start sound [Alex Skrindo - Jumbo \[NCS Release\] v]\nend\nswitch costume to (bg v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [2]>\nswitch costume to (lines v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [3]>\nswitch costume to (logo v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [4]>\nswitch costume to (black filler v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [5]>\nswitch costume to (white filler v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [6]>\nswitch costume to (name v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [7]>\nswitch costume to (filler v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [8]>\nswitch costume to (logo2 v)\ncreate clone of (_myself_ v)\nwait (1) seconds\nswitch costume to (lines2 v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [9]>\nswitch costume to (filler v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [11]>\nwait (.4) seconds\nbroadcast (h v)\n\nwhen flag clicked\nIntro\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    go to x: (0) y: (400)\n    set [ghost v] effect to (100)\n    repeat (13)\n        change [ghost v] effect by (-10)\n        change y by (((0) - (y position)) / (4))\n    end\n    set [sequence v] to [2]\n    wait until <(Sequence) = [8]>\n    delete this clone\nelse\n    if <<(costume [number v]) > [1]> and <[4] > (costume [number v])>> then\n        show\n        set [ghost v] effect to (100)\n        set size to (0) %\n        point in direction (0)\n        repeat (12)\n            turn right (((90) - (direction)) / (3)) degrees\n            change [ghost v] effect by (-10)\n            change size by (((100) - (size)) / (4))\n        end\n        repeat (10)\n            switch costume to (blank v)\n            change size by ((size) / (2))\n            switch costume to (lines v)\n        end\n        set [sequence v] to [3]\n        wait until <(Sequence) = [8]>\n        delete this clone\n    else\n        if <(costume [number v]) = [4]> then\n            show\n            go to [front v] layer\n            set [ghost v] effect to (100)\n            set size to (0) %\n            point in direction (0)\n            repeat (12)\n                turn right (((90) - (direction)) / (3)) degrees\n                change [ghost v] effect by (-10)\n                change size by (((110) - (size)) / (4))\n            end\n            set [sequence v] to [4]\n            repeat until <(Sequence) = [6]>\n                if <<touching color (#2c2c2c)?> and <not <touching color (#ffffff)?>>> then\n                    set [brightness v] effect to (100)\n                else\n                    set [brightness v] effect to (0)\n                end\n            end\n            repeat (15)\n                change x by (((-67) - (x position)) / (4))\n            end\n            wait until <(Sequence) = [8]>\n            delete this clone\n        else\n            if <(costume [number v]) = [5]> then\n                show\n                go to x: (400) y: (400)\n                repeat (15)\n                    change y by (((0) - (y position)) / (4.5))\n                    change x by (((0) - (x position)) / (4.5))\n                end\n                set [sequence v] to [5]\n                wait until <(Sequence) = [8]>\n                delete this clone\n            else\n                if <(costume [number v]) = [6]> then\n                    show\n                    go to x: (-400) y: (-400)\n                    repeat (15)\n                        change y by (((0) - (y position)) / (4.5))\n                        change x by (((0) - (x position)) / (4.5))\n                    end\n                    set [sequence v] to [6]\n                    wait until <(Sequence) = [8]>\n                    delete this clone\n                else\n                    if <(costume [number v]) = [7]> then\n                        show\n                        go to x: (0) y: (0)\n                        set [ghost v] effect to (100)\n                        repeat (15)\n                            change [ghost v] effect by (-10)\n                            change x by (((93) - (x position)) / (4))\n                        end\n                        set [sequence v] to [7]\n                        wait until <(Sequence) = [8]>\n                        delete this clone\n                    else\n                        if <(costume [number v]) = [8]> then\n                            if <not <(Sequence) = [9]>> then\n                                show\n                                go to [front v] layer\n                                point in direction (0)\n                                go to x: (1000) y: (-1000)\n                                repeat (20)\n                                    change y by (((0) - (y position)) / (4.5))\n                                    turn right (((90) - (direction)) / (4.5)) degrees\n                                    change x by (((0) - (x position)) / (4.5))\n                                end\n                                set [sequence v] to [8]\n                            else\n                                show\n                                go to [front v] layer\n                                point in direction (0)\n                                go to x: (1000) y: (-1000)\n                                repeat (20)\n                                    change y by (((0) - (y position)) / (4.5))\n                                    turn right (((90) - (direction)) / (4.5)) degrees\n                                    change x by (((0) - (x position)) / (4.5))\n                                end\n                                set [sequence v] to [10]\n                                wait (.2) seconds\n                                broadcast (Fade v)\n                            end\n                        else\n                            if <(costume [number v]) = [9]> then\n                                show\n                                go to [front v] layer\n                                set size to (0) %\n                                repeat until <(Sequence) = [9]>\n                                    set [i v] to (((i) * (.75)) + (((120) - (size)) / (4)))\n                                    change size by (i)\n                                    point in direction ((([cos v] of (((timer) - (2)) * (250)) ) * (15)) + (90))\n                                    go to x: (0) y: (0)\n                                    change y by (([cos v] of (((timer) - (1)) * (250)) ) * (25))\n                                end\n                                delete this clone\n                            else\n                                if <<(costume [number v]) > [9]> and <[12] > (costume [number v])>> then\n                                    show\n                                    set [ghost v] effect to (100)\n                                    go to [front v] layer\n                                    set size to (0) %\n                                    point in direction (0)\n                                    repeat (12)\n                                        turn right (((90) - (direction)) / (3)) degrees\n                                        change [ghost v] effect by (-10)\n                                        change size by (((100) - (size)) / (4))\n                                    end\n                                    repeat (10)\n                                        switch costume to (blank2 v)\n                                        change size by ((size) / (2))\n                                        switch costume to (lines2 v)\n                                    end\n                                    wait (.1) seconds\n                                    set [sequence v] to [9]\n                                    wait until <(Sequence) = [10]>\n                                    delete this clone\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fade v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [sequence v] to [11]\ndelete this clone\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [h v]\nshow\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\nhide\n\n@Outro\n\nwhen I receive [outro v]\nreset timer\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nclear graphic effects\nset size to (100) %\npoint in direction (90)\n\nwhen I start as a clone\nif <(Clone ID) = [Circle1]> then\n    show\n    switch costume to (size hack 2 v)\n    set size to (1) %\n    switch costume to (circle1 v)\n    go to x: (0) y: (0)\n    point in direction (90)\n    clear graphic effects\n    set [speed v] to [4]\n    repeat until <(size) > [40]>\n        switch costume to (size hack 2 v)\n        change size by (speed)\n        switch costume to (circle1 v)\n        change [speed v] by ((speed) / (3))\n    end\n    repeat until <(size) > [7000]>\n        switch costume to (size hack v)\n        change size by (speed)\n        switch costume to (circle1 v)\n        change [speed v] by ((speed) / (3))\n    end\n    wait (1) seconds\n    delete this clone\nend\n\nwhen I receive [outro v]\nwait until <(timer) > [1.36]>\nset [time v] to [.3]\nrepeat (11)\n    Clone [Circle1]\n    wait (time) seconds\n    Clone [Circle2]\n    wait (time) seconds\n    change [time v] by (-.07)\nend\nClone [Last Circle]\n\ndefine Clone (id)\nset [clone id v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone ID) = [Circle2]> then\n    show\n    switch costume to (size hack 2 v)\n    set size to (1) %\n    switch costume to (circle2 v)\n    go to x: (0) y: (0)\n    point in direction (90)\n    clear graphic effects\n    set [speed v] to [4]\n    repeat until <(size) > [40]>\n        switch costume to (size hack 2 v)\n        change size by (speed)\n        switch costume to (circle2 v)\n        change [speed v] by ((speed) / (3))\n    end\n    repeat until <(size) > [7000]>\n        switch costume to (size hack v)\n        change size by (speed)\n        switch costume to (circle2 v)\n        change [speed v] by ((speed) / (3))\n    end\n    wait (1) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Logo]> then\n    show\n    switch costume to (logo v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    clear graphic effects\n    set [size v] to [0]\n    go to [front v] layer\n    forever\n        go to [front v] layer\n        point in direction ((([sin v] of ((timer) * (100)) ) * (10)) + (90))\n        set y to ((([sin v] of ((timer) * (200)) ) * (40)) + (0))\n        set [size v] to (((size) * (.8)) + (((100) - (size)) / (5)))\n        change size by (size)\n    end\nend\n\nwhen I receive [outro v]\nwait until <(timer) > [4]>\nClone [Logo]\n\nwhen I start as a clone\nif <(Clone ID) = [Last Circle]> then\n    show\n    switch costume to (size hack 2 v)\n    set size to (1) %\n    switch costume to (circle1 v)\n    go to x: (0) y: (0)\n    point in direction (90)\n    clear graphic effects\n    set [speed v] to [4]\n    repeat until <(size) > [40]>\n        switch costume to (size hack 2 v)\n        change size by (speed)\n        switch costume to (circle1 v)\n        change [speed v] by ((speed) / (3))\n    end\n    repeat until <(size) > [7000]>\n        switch costume to (size hack v)\n        change size by (speed)\n        switch costume to (circle1 v)\n        change [speed v] by ((speed) / (3))\n    end\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Particles]> then\n    switch costume to (join [P] (pick random (1) to (2)))\n    go to x: (pick random (-10) to (10)) y: (pick random (-10) to (10))\n    clear graphic effects\n    point in direction (pick random (-180) to (180))\n    set size to (pick random (0) to (100)) %\n    set [brightness v] effect to (pick random (0) to (100))\n    show\n    set [v v] to (pick random (10) to (30))\n    set [y v] to (pick random (-4) to (-7))\n    repeat (10)\n        move (V) steps\n        change y by (Y)\n        change [y v] by (0.5)\n        go to [front v] layer\n        go [backward v] (1) layers\n        set [v v] to ((V) * (0.92))\n        if <touching (_edge_ v)?> then\n            delete this clone\n        end\n    end\n    repeat (10)\n        move (V) steps\n        change y by (Y)\n        change [y v] by (0.5)\n        set [v v] to ((V) * (0.96))\n        if <touching (_edge_ v)?> then\n            delete this clone\n        end\n    end\n    repeat (20)\n        move (V) steps\n        change y by (Y)\n        change [y v] by (0.5)\n        set [v v] to ((V) * (0.96))\n        go to [front v] layer\n        go [backward v] (1) layers\n        change [ghost v] effect by (4)\n        if <touching (_edge_ v)?> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\ndefine Particles (amount)\nrepeat (amount)\n    Clone [Particles]\nend\n\nwhen I receive [outro v]\nwait until <(timer) > [5.17]>\nforever\n    Particles [60]\n    wait (1.22) seconds\nend\n\nwhen I receive [outro v]\nwait until <(timer) > [4.9]>\nClone [Circle2]\nwait (1.22) seconds\nforever\n    Clone [Circle1]\n    wait (1.22) seconds\n    Clone [Circle2]\n    wait (1.22) seconds\nend\n\nwhen I receive [outro v]\nforever\n    play sound [TheFatRat_-_Xenogenesis2 v] until done\nend\n\nbroadcast (Outro v)\n\n