Among Us platformer survival (not working on anymore)
@Stage\n\nwhen flag clicked\nforever\n    play sound [Lobby Ambiance v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    next backdrop\n    wait (0.1) seconds\nend\n\n@Sprite1\n\ndefine Say (text) with delay between letters (delay) , sound id (sid)\nset [t v] to []\nset [textlength v] to ((length of (text)) - (1))\nrepeat until <(textlength) = [-1]>\n    set [t v] to (join (t) (letter ((length of (text)) - (textlength)) of (text)))\n    change [textlength v] by (-1)\n    say (t)\n    if <not <(letter ((length of (text)) - (textlength)) of (text)) = [ ]>> then\n        start sound (sid)\n    end\nend\nif <key (x v) pressed?> then\n    say (text)\n    wait until <key (f v) pressed?>\n    stop [this script v]\nend\nwait ((delay) / (100)) seconds\nwait until <not <key (x v) pressed?>>\nwait until <key (f v) pressed?>\nsay []\n\nwhen I receive [controls v]\nforever\n    if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<key (a v) pressed?> or <key (d v) pressed?>>> then\n        if <(pick random (1) to (2)) = [1]> then\n            play sound [Footstep1 v] until done\n        else\n            play sound [Footstep2 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (still v)\nset rotation style [left-right v]\nshow\nset size to (100) %\nset [yv v] to [0]\nset [xv v] to [0]\nset [skin v] to [0]\nhide variable [skin v]\ngo to x: (-143) y: (107)\npoint in direction (90)\nbroadcast (controls v)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change x by (4)\n        if <touching (level v)?> then\n            change x by (-4)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change x by (-4)\n        if <touching (level v)?> then\n            change x by (4)\n        end\n    end\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                set [yv v] to [10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            start sound [Jump v]\n            set [yv v] to [12]\n        end\n    end\n    change y by (1)\n    if <<(y position) < [-170]> or <touching (knife v)?>> then\n        broadcast (death v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <key (d v) pressed?>>>> then\n        next costume\n        wait (0.1) seconds\n    else\n        switch costume to (still v)\n    end\nend\n\nwhen flag clicked\nset [costume v] to [fasle]\nforever\n    if <touching (sprite2 v)?> then\n        if <<key (e v) pressed?> and <(costume) = [fasle]>> then\n            start sound [SELECT v]\n            set [costume v] to [true]\n            wait until <not <key (e v) pressed?>>\n        end\n        if <<key (e v) pressed?> and <(costume) = [true]>> then\n            start sound [SELECT v]\n            set [costume v] to [fasle]\n            wait until <not <key (e v) pressed?>>\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set [color v] effect to (skin)\nend\n\nwhen flag clicked\nforever\n    if <(costume) = [fasle]> then\n        hide variable [skin v]\n    end\n    if <(costume) = [true]> then\n        show variable [skin v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        ask [] and wait\n        Say (answer) with delay between letters (1) , sound id (3)\n    end\nend\n\nwhen I receive [done v]\ngo to x: (-143) y: (107)\n\nwhen flag clicked\nforever\n    if <(direction) = [90]> then\n        set [left/right v] to [right]\n    end\n    if <(direction) = [-90]> then\n        set [left/right v] to [left]\n    end\nend\n\n@Level\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (23) y: (-14)\n\nwhen I receive [repair v]\nswitch costume to (pick random (2) to (11))\nif <<<<(costume [number v]) = [7]> or <(costume [number v]) = [8]>> or <(costume [number v]) = [9]>> or <<(costume [number v]) = [10]> or <(costume [number v]) = [11]>>> then\n    broadcast (knife v)\nend\n\nwhen I receive [done v]\nswitch costume to (costume1 v)\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (9) y: (-37)\n\nwhen flag clicked\nshow\nforever\n    if <touching (sprite1 v)?> then\n        set [brightness v] effect to (60)\n        switch costume to (costume2 v)\n    else\n        set [brightness v] effect to (0)\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [repair v]\nhide\n\nwhen I receive [done v]\nshow\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (185) y: (-50)\nswitch costume to (costume1 v)\n\nwhen I receive [repair v]\ngo to x: (137) y: (-50)\nswitch costume to (costume2 v)\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (done v)\n        go to x: (185) y: (-50)\n        switch costume to (costume1 v)\n        stop [this script v]\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nshow\ngo to x: (18) y: (128)\nswitch costume to (costume11 v)\nwait (1) seconds\nforever\n    repeat (2)\n        start sound [broken keyboard v]\n        switch costume to (costume12 v)\n        wait (0.2) seconds\n        switch costume to (costume11 v)\n    end\n    wait (pick random (1) to (3)) seconds\nend\n\nwhen I receive [repair v]\nhide\n\nwhen I receive [done v]\nshow\nchange [your score: v] by (20)\nstart sound [Coin v]\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [... v]\nshow\ngo to [front v] layer\nrepeat (20)\n    start sound [Alert v]\n    set [ghost v] effect to (60)\n    wait (1) seconds\n    set [ghost v] effect to (100)\n    wait (1) seconds\nend\nhide\nbroadcast (death v)\n\nwhen I receive [oh no2 v]\nbroadcast (... v)\n\nwhen I receive [done v]\nhide\nstop [other scripts in sprite v]\n\n@Sprite6\n\nwhen flag clicked\nshow\ngo to x: (-214) y: (-56)\nswitch costume to (costume1 v)\ngo to [back v] layer\nwait (pick random (5) to (25)) seconds\nbroadcast (ohno v)\n\nwhen I receive [ohno v]\nswitch costume to (costume2 v)\nbroadcast (oh no2 v)\nforever\n    if <touching (sprite1 v)?> then\n        switch costume to (costume3 v)\n        set [brightness v] effect to (60)\n    else\n        switch costume to (costume2 v)\n        set [brightness v] effect to (0)\n    end\n    if <<touching (sprite1 v)?> and <key (e v) pressed?>> then\n        start sound [SELECT v]\n        hide\n        broadcast (repair v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [done v]\nshow\nswitch costume to (costume1 v)\nset [brightness v] effect to (0)\nswitch costume to (costume1 v)\nwait (pick random (5) to (15)) seconds\nbroadcast (ohno v)\n\n@Sprite7\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo to [front v] layer\n\nwhen I receive [death v]\nshow\ngo to [front v] layer\nstop [all v]\n\n@Sprite8\n\nwhen flag clicked\nhide\ngo to x: (19) y: (-3)\ngo to [front v] layer\n\nwhen I receive [repair v]\nshow\n\nwhen I receive [done v]\nhide\n\n@poster\n\nwhen flag clicked\nshow\ngo to x: (-119) y: (138)\ngo to [back v] layer\nswitch costume to (pick random (2) to (4))\n\nwhen I receive [repair v]\nhide\n\nwhen I receive [done v]\nshow\n\n@knife\n\nwhen flag clicked\nhide\ngo to x: (-11) y: (193)\n\nwhen I receive [knife v]\nforever\n    create clone of (_myself_ v)\n    wait (1.2) seconds\nend\n\nhide\n\nwhen I start as a clone\nshow\ngo to x: (-21) y: (158)\npoint in direction (90)\nclear graphic effects\nswitch costume to (costume5 v)\nchange [ghost v] effect by (0)\npoint towards (sprite1 v)\nrepeat until <<<touching (level v)?> or <touching (_edge_ v)?>> or <touching (sprite1 v)?>>\n    move (8) steps\nend\nrepeat (20)\n    change [ghost v] effect by (5)\n    wait (0.01) seconds\nend\ndelete this clone\n\nwhen I receive [done v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nforever\n\nhide\n\nrepeat (5)\n    create clone of (sprite14 v)\nend\nwait (0.9) seconds\n\nmove (7) steps\n\n@Sprite9\n\nwhen flag clicked\nhide\ngo to x: (36) y: (28)\ngo to [front v] layer\n\n@Sprite10\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\nswitch costume to (pick random (16) to (21))\nforever\n    go to (sprite1 v)\nend\n\nwhen flag clicked\nforever\n    if <(y position) > [155]> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <(left/right) = [right]> then\n        point in direction (90)\n    end\n    if <(left/right) = [left]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nrepeat (10)\n    go to [front v] layer\nend\n\n@Sprite11\n\nwhen flag clicked\nswitch costume to (pick random (19) to (21))\ngo to [front v] layer\nforever\n    go to (sprite1 v)\nend\n\nif  then\nelse\n    go to [back v] layer\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <(left/right) = [right]> then\n        point in direction (90)\n    end\n    if <(left/right) = [left]> then\n        point in direction (-90)\n    end\nend\n\nif <([costume # v] of [sprite10 v]) = [27]> then\n    switch costume to (costume18 v)\n    go to [front v] layer\nend\n\n@pets\n\nwhen flag clicked\nswitch costume to (pick random (3) to (5))\nforever\n    go to (sprite1 v)\n    if <touching (level v)?> then\n        repeat until <not <touching (level v)?>>\n            change y by (7)\n        end\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <(left/right) = [right]> then\n        point in direction (90)\n    end\n    if <(left/right) = [left]> then\n        point in direction (-90)\n    end\nend\n\n@Sprite12\n\ndefine Draw\nerase all\nset [i v] to [0]\nrepeat until <(i) = (maxParticles)>\n    go to x: (item (i) of [x v]) y: (item (i) of [y v])\n    set pen size to (item (i) of [r v])\n    pen down\n    pen up\n    change [i v] by (1)\nend\nUpdate\n\nwhen flag clicked\ngo to [front v] layer\nset pen color to (#ff5ee1)\nset [h v] to [360]\nset [w v] to [480]\nset [angle v] to [0]\nset [maxparticles v] to [75]\ndelete (all) of [x v]\ndelete (all) of [y v]\ndelete (all) of [r v]\ndelete (all) of [d v]\nset [i v] to [0]\nrepeat until <(i) = (maxParticles)>\n    add (((W) * (pick random (0) to (0.99))) - (240)) to [x v]\n    add (((H) * (pick random (0) to (0.99))) - (180)) to [y v]\n    add (((pick random (0) to (0.99)) * (4)) + (1)) to [r v]\n    add ((maxParticles) * (pick random (0) to (0.99))) to [d v]\n    change [i v] by (1)\nend\nforever\n    Draw\nend\n\ndefine Update\nchange [angle v] by (0.5)\nset [i v] to [0]\nrepeat until <(i) = (maxParticles)>\n    replace item (i) of [y v] with ((item (i) of [y v]) - ((([cos v] of ((Angle) + (item (i) of [d v])) ) + (1)) + ((item (i) of [r v]) / (2))))\n    replace item (i) of [x v] with ((item (i) of [x v]) + (([sin v] of (Angle) ) * (2)))\n    if <<(item (i) of [x v]) > [245]> or <<(item (i) of [x v]) < [-245]> or <(item (i) of [y v]) < [-180]>>> then\n        if <((i) mod (3)) > [0]> then\n            replace item (i) of [x v] with (((pick random (0) to (0.99)) * (W)) - (240))\n            replace item (i) of [y v] with [190]\n        else\n            if <([sin v] of (Angle) ) > [0]> then\n                replace item (i) of [x v] with [-245]\n                replace item (i) of [y v] with (((pick random (0) to (0.99)) * (H)) - (180))\n            else\n                replace item (i) of [x v] with [245]\n                replace item (i) of [y v] with (((pick random (0) to (0.99)) * (H)) - (180))\n            end\n        end\n    end\n    change [i v] by (1)\nend\n\nwhen flag clicked\nerase all\n\n@player's score and high score\n\nwhen flag clicked\nset [your score: v] to [0]\n\nwhen I receive [death v]\nif <(Your score:) > (☁ High score)> then\n    set [☁ high score v] to (Your score:)\nend\n\n@Sprite13\n\nwhen flag clicked\n\nif <(username) = [namanh14799]> then\n    hide\nelse\n    show\n    go to [front v] layer\n    stop [all v]\nend\n\n@Sprite14\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\ngo to (knife v)\nset [ghost v] effect to (0)\nrepeat (5)\n    change y by (5)\nend\nchange x by (pick random (-20) to (20))\nrepeat until <<touching (level v)?> or <touching (_edge_ v)?>>\n    change y by (-5)\nend\nrepeat (5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nturn right (15) degrees\n\n
––––––––––––––––◊LAST UPDATE◊–––––––––––––––––––\n- Some news hats and shirts\n- Snow ball change to a dark fast bird\nAnother things you should explore it :p\nThere some glitch of the pets when it meets the level :v\n––––––––––––––––ΩHOW TO PLAYΩ––––––––––––––––––\narrow or ADWS key to move\ntouch the computer and press e to change costume ( actually is just chage the color of the player )\npress space to chat, f to select\ntouch the machine and press e to collect the obby before oxygen run out!\npls more follow me and like this project! :)\nyou can remix this game and make a Among Us platformer mulitplayer