Ejected

Instructions: Ejected\n\nPlay it here with no lags:\nhttps://turbowarp.org/510738571\n\nArrow keys or W,A,D to move (Have mobile control)\nAvoid from knifes and ghosts\nDont fall\nDONT ADVERTISE\nM to mute/unmute\nH to view the high score\nR to restart the level\nHave 3 levels\nAll levels are possible\nDont forget to drop a like if you liked it :)\n#Games #All\n\nremoved cloud because it was useless\n\nCredits:\nInnersloth for almost all of the drawings\n@SullyBully for stars and portal\n@atomicmagicnumber for player art\n@INorth for a little bit of code\n@Eloctrasyd for ghost art\nand you for playing

@Stage\n\nwhen flag clicked\nswitch backdrop to (dekor 1 v)\nforever\n    play sound [AMONG US Theme Song \(Moondai EDM Remix\) v] until done\nend\n\nwhen flag clicked\nset volume to (((([costume # v] of [mute logic v]) * (-1)) * (50)) + (100)) %\n\nwhen I receive [volume v]\nset volume to (((([costume # v] of [mute logic v]) * (-1)) * (50)) + (100)) %\n\n@Blank\n\n@bg\n\nwhen flag clicked\ngo to [back v] layer\nhide\nset [ghost v] effect to (100)\nset [brightness v] effect to (0)\n\nwhen I receive [platform v]\nset [brightness v] effect to (-10)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nwait (1) seconds\n\n@letters\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\ngo [backward v] (30) layers\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\n@mute logic\n\nwhen flag clicked\ngo to x: (-216) y: (156)\nshow\nswitch costume to (kostüm 1 v)\nset volume to (75) %\nforever\n    if <key (m v) pressed?> then\n        broadcast (Volume v)\n        next costume\n        wait until <not <key (m v) pressed?>>\n    end\nend\n\n@Owo\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nset [ghost v] effect to (20)\nforever\n    change y by ((0) + (([sin v] of ((timer) * (125)) ) * (10)))\nend\n\n@Flying white\n\nwhen flag clicked\nhide\nwait (1) seconds\ngo to x: (-254) y: (-12)\nshow\nrepeat until <(x position) > [250]>\n    change x by (7)\n    turn right (10) degrees\nend\nhide\nwait (1) seconds\nbroadcast (platform v)\n\n@Owo2\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nset [ghost v] effect to (20)\nforever\n    change y by ((0) + (([sin v] of ((timer) * (150)) ) * (50)))\nend\n\n@Owo3\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nset [ghost v] effect to (20)\nforever\n    change x by ((0) + (([sin v] of ((timer) * (125)) ) * (10)))\nend\n\n@Owo4\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nset [ghost v] effect to (20)\nforever\n    change x by ((0) + (([sin v] of ((timer) * (150)) ) * (50)))\nend\n\n@Owo5\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nset [ghost v] effect to (20)\nforever\n    change x by ((0) + (([sin v] of ((timer) * (150)) ) * (50)))\nend\n\n@Owo22\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nset [ghost v] effect to (20)\nforever\n    change y by ((0) + (([sin v] of ((timer) * (150)) ) * (50)))\nend\n\n@Platforms\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (end v)\n    end\nend\n\n@Platforms2\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\n@Platforms4\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\n@Platforms5\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\n@Platforms3\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\n@Portals\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nforever\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [platform v]\npoint in direction (90)\nset rotation style [left-right v]\nset [color v] effect to (0)\ngo to [front v] layer\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nswitch costume to (center v)\nforever\n    broadcast (tick v)\nend\n\nwhen I receive [platform v]\nforever\n    if <not <<<<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>>> or <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>>> then\n        switch costume to (e1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        set [scrollx v] to [810]\n        set [scrolly v] to [400]\n        start sound [AAAA v]\n    end\nend\n\ndefine Tick\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 (4)\n    next costume\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    change [xv v] by (-4)\n    next costume\n    point in direction (-90)\nend\nset [xv v] to ((Xv) * (0.650))\nchange x by (Xv)\nif <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n    change y by (1)\n    if <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n        change y by (1)\n        if <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n            change y by (1)\n            if <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n                change y by (1)\n                if <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n                    change y by (1)\n                    if <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n                        change x by ((Xv) * (-1))\n                        change y by (-5)\n                    end\n                end\n            end\n        end\n    end\nend\nchange [yv v] by (-1)\nchange y by (Yv)\nif <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n    change y by ((Yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<touching (platforms v)?> or <<touching (platforms2 v)?> or <<touching (platforms3 v)?> or <<touching (platforms4 v)?> or >>>> then\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [yv v] to [15]\n    end\nend\nchange [scrollx v] by ((x position) * (-1))\nchange [scrolly v] by ((y position) * (-1))\ngo to x: (0) y: (0)\nif <touching (portals v)?> then\n    start sound [portal in v]\n    set [xv v] to [0]\n    set [scrollx v] to [810]\n    set [scrolly v] to [460]\n    set [yv v] to [0]\n    set [xv v] to [0]\n    broadcast (Next Level v)\nend\nif  then\n    set [yv v] to [21]\nend\nchange y by (1)\nif <<touching (spikes v)?> or <<touching (owo v)?> or <<touching (spikes2 v)?> or <<touching (owo2 v)?> or <<touching (owo3 v)?> or <<touching (owo4 v)?> or <<touching (owo22 v)?> or >>>>>>> then\n    start sound [Kill v]\n    set [scrollx v] to [810]\n    set [scrolly v] to [450]\n    set [yv v] to [0]\n    set [xv v] to [0]\nend\nif <(ScrollX) > [823]> then\n    set [scrollx v] to [823]\nend\nif <key (r v) pressed?> then\n    set [scrollx v] to [810]\n    set [scrolly v] to [450]\n    set [yv v] to [0]\n    set [xv v] to [0]\nend\n\nwhen I receive [tick v]\nTick\n\n@Spikes2\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nnext costume\n\ndefine Get Position to x: (x) y: (y)\ngo to x: (x) y: (y)\nif <<(x position) = (x)> and <(y position) = (y)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [platform v]\nforever\n    Get Position to x: ((ScrollX) - (SCROLL X)) y: (ScrollY)\nend\n\nwhen I receive [platform v]\ngo to [front v] layer\nshow\nswitch costume to (blank v)\nset size to (400) %\nswitch costume to (kostüm 1 v)\nset [scrollx v] to [810]\nset [scrolly v] to [400]\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [platform v]\nforever\n\n@Stars\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset size to (10000000000000000000000) %\ngo to x: (-300) y: (pick random (170) to (-170))\nset size to (pick random (300) to (330)) %\nforever\n    move (pick random (3) to (3)) steps\nend\n\nwhen I start as a clone\nwait until <touching (_edge_ v)?>\nwait until <not <touching (_edge_ v)?>>\nforever\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (0.5) to (0.7)) seconds\nend\n\nwhen I receive [platform v]\nwait (2) seconds\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Stars2\n\ndefine make sky\nhide\nrepeat (pick random (20) to (40))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to (random position v)\npoint in direction (pick random (0) to (360))\nshow\nswitch costume to (pick random (1) to (3))\nset size to (pick random (5) to (25)) %\nset [ghost v] effect to (pick random (5) to (95))\nset [sine v] to (pick random (1) to (10000))\nset [strength v] to (size)\nset [random v] to (pick random (0.05) to (.1))\nforever\n    turn right ((random) * (10)) degrees\n    change x by (((([sin v] of (sine) ) * (random)) * (strength)) * (.1))\n    change y by (((([cos v] of (sine) ) * (random)) * (strength)) * (.1))\n    change [sine v] by (((strength) * (.1)) + (5))\nend\n\nwhen flag clicked\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [platform v]\nmake sky\n\n@TN\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    change [ghost v] effect by (100)\n    show\nend\n\n