SusRun 2 // Sus Platformer #All #Games #Art #AmongUs 
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Player\n\ndefine Platformer Physics (speed) (friction) (jump height)\nchange [y vel v] by (-1)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [x vel v] by (speed)\n    switch costume to (right v)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [x vel v] by ((speed) * (-1))\n    switch costume to (left v)\nend\nset [x vel v] to ((X vel) * (friction))\nchange x by (X vel)\nset [slope v] to [0]\nif <touching (level v)?> then\n    repeat until <<not <touching (level v)?>> or <(slope) = [-8]>>\n        change [slope v] by (-1)\n        change y by (1)\n    end\nend\nif <touching (level v)?> then\n    change y by (slope)\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (X vel) ) / (X vel)) * (-1))\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        start sound (pick random (1) to (4))\n        if <(X vel) > [0]> then\n            set [x vel v] to [-12]\n        else\n            set [x vel v] to [12]\n        end\n        set [y vel v] to [12]\n    else\n        set [x vel v] to [0]\n    end\nend\nchange y by (Y vel)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (Y vel) ) / (Y vel)) * (-1))\n    end\n    set [y vel v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> and <touching (level v)?>> then\n    start sound [Jump v]\n    set [y vel v] to (jump height)\nend\nchange y by (1)\n\nwhen flag clicked\nset [time v] to [0]\nshow variable [time v]\nset [color v] effect to (0)\ngo to x: (-190) y: (0)\nset size to (20) %\ngo to [back v] layer\ngo [backward v] (5) layers\npoint in direction (90)\nset rotation style [left-right v]\nclear graphic effects\nset [x vel v] to [0]\nset [y vel v] to [0]\n\nwhen flag clicked\nforever\n    if <not <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>>> then\n        switch costume to (among us character v)\n    end\nend\n\nwhen I receive [change colour v]\nchange [color v] effect by (10)\nwait (0.09) seconds\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nforever\n    Platformer Physics [1] [0.9] [13]\n    if <<<<<<<touching (danger v)?> or <touching (smasher v)?>> or <touching (rotating lasers v)?>> or <touching (moving laser v)?>> or <touching (big laser v)?>> or <touching (impasta!! v)?>> or <touching (impasta!! 2 v)?>> then\n        die\n        go to x: (-190) y: (0)\n        set [ghost v] effect to (0)\n    end\n    if <touching (trampoline v)?> then\n        set [y vel v] to [20]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <not <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n        start sound (pick random (1) to (4))\n        wait (0.2) seconds\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> and <not <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n        start sound (pick random (1) to (4))\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <key (any v) pressed?> then\n        broadcast (timer v)\n        forever\n            say []\n        end\n    end\nend\n\nwhen I receive [timer v]\nstart sound [Dream Speedrun Music v]\nrepeat until <<(level) = [20]> or <(level) = [21]>>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [next level v]\ngo to x: (-250) y: (-112)\n\ndefine die\nrepeat (15)\n    switch costume to (among us character4 v)\n    change [ghost v] effect by (7)\n    change y by (7)\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [20]> or <(level) = [21]>> then\n        stop all sounds\n        play sound [أنت ملاك محمد العمري - مؤثرات ¦¦ من البوم إنت ملاك ¦¦ Official Lyrics Video v] until done\n    end\nend\n\nwhen I receive [rainbow skin! v]\nforever\n    change [color v] effect by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching (report button!! v)?> then\n        broadcast (kick the imposters! v)\n    end\nend\n\n@level\n\nwhen flag clicked\nset [level v] to [1]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        play sound [Goal Cheer v] until done\n        forever\n    end\nend\n\n@susrun text\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\nstart sound [Low Whoosh v]\ngo to x: (35) y: (300)\nglide (0.30) secs to x: (35) y: (50)\nglide (0.1) secs to x: (35) y: (40)\nglide (0.01) secs to x: (35) y: (35)\n\nwhen I receive [start v]\nhide\nstop [this script v]\n\n@start\n\nwhen flag clicked\ngo to x: (33) y: (-49)\ngo [backward v] (3) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        if <mouse down?> then\n            broadcast (start v)\n            hide\n            stop [this script v]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\n@customize\n\nwhen flag clicked\ngo to x: (33) y: (-115)\nshow\n\nwhen flag clicked\ngo to x: (33) y: (-115)\ngo [backward v] (3) layers\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        if <mouse down?> then\n            broadcast (change colour v)\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [start v]\nhide\nstop [this script v]\n\n@endline\n\nwhen flag clicked\nshow\nforever\n    if <touching (player v)?> then\n        broadcast (next level v)\n    end\nend\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [20]> then\n        hide\n    end\nend\n\n@danger\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\nswitch costume to (costume1 v)\nshow\nforever\n    repeat (3)\n        change y by (1)\n    end\n    wait (0.09) seconds\n    repeat (3)\n        change y by (-1)\n    end\n    wait (0.09) seconds\nend\n\nwhen I receive [next level v]\nnext costume\n\n@smasher\n\nwhen flag clicked\nhide\ngo to x: (15) y: (209)\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        show\n        repeat (12)\n            change y by (-10)\n        end\n        wait (0.40) seconds\n        repeat (12)\n            change y by (10)\n        end\n        wait (0.70) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@Moving laser\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (24) y: (91)\nset size to (200) %\nhide\nforever\n    if <<(level) = [5]> or <(level) = [11]>> then\n        show\n        glide (1) secs to x: (21) y: (-40)\n        wait (0.1) seconds\n        glide (1) secs to x: (24) y: (91)\n        wait (0.1) seconds\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [6]> or <(level) = [12]>> then\n        hide\n    end\nend\n\n@INTRO\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo [forward v] (1) layers\nshow\nrepeat (5)\n    wait (0.01) seconds\n    next costume\nend\nwait (1.4) seconds\nhide\n\ngo to [front v] layer\n\n@Big Laser\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (1) y: (22)\nset size to (100) %\nhide\nforever\n    if <(level) = [6]> then\n        hide\n        wait (1.5) seconds\n        show\n        wait (1.2) seconds\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        hide\n    end\nend\n\n@next level\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nset [ghost v] effect to (30)\nshow\ngo to [front v] layer\ngo to x: (0) y: (-1000)\nrepeat (40)\n    change y by (((0) - (y position)) / (5))\nend\nset y to (1)\nrepeat (8)\n    change y by (y position)\nend\nhide\n\n@trampoline\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to x: (-21) y: (-129)\nforever\n    if <touching (player v)?> then\n        switch costume to (costume1 v)\n        wait (0.03) seconds\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        switch costume to (costume3 v)\n        wait (0.03) seconds\n        switch costume to (costume4 v)\n        wait (0.03) seconds\n        switch costume to (costume5 v)\n        wait (0.03) seconds\n        switch costume to (costume6 v)\n        wait (0.03) seconds\n        start sound [Jump v]\n        switch costume to (costume6 v)\n        wait (0.03) seconds\n        switch costume to (costume5 v)\n        wait (0.03) seconds\n        switch costume to (costume4 v)\n        wait (0.03) seconds\n        switch costume to (costume3 v)\n        wait (0.03) seconds\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [17]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [18]> then\n        hide\n    end\nend\n\n@thumb\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nshow\nrepeat (20)\n    go [forward v] (99) layers\n    go to [front v] layer\n    change [ghost v] effect by (5)\nend\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@rotating lasers\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (21) y: (-40)\nset size to (300) %\nhide\nforever\n    if <<(level) = [4]> or <(level) = [11]>> then\n        show\n        turn left (2) degrees\n    else\n        hide\n    end\nend\n\n@cool glasses\n\nwhen flag clicked\nset size to (20) %\ngo to [front v] layer\nhide\n\nwhen I receive [start v]\npoint in direction (90)\nshow\nglide (0.40) secs to (player v)\nglide (0.40) secs to (player v)\nglide (0.40) secs to (player v)\nforever\n    go to (player v)\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        set rotation style [left-right v]\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\nend\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nbroadcast (Rainbow skin! v)\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@impasta!!\n\nwhen flag clicked\ngo to x: (185) y: (-125)\nhide\nset size to (20) %\ngo to [front v] layer\nforever\n    if <<<(level) = [13]> or <(level) = [14]>> or <(level) = [15]>> then\n        show\n        glide (2) secs to x: (-107) y: (-125)\n        wait (0.09) seconds\n        glide (2) secs to x: (185) y: (-125)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [16]> then\n        hide\n    end\nend\n\n@impasta!! 2\n\nwhen flag clicked\nset [color v] effect to (10)\ngo to x: (185) y: (-125)\nhide\nset size to (20) %\ngo to [front v] layer\nforever\n    if <<(level) = [14]> or <(level) = [15]>> then\n        show\n        glide (3) secs to x: (-107) y: (-125)\n        wait (0.09) seconds\n        glide (3) secs to x: (185) y: (-125)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [16]> then\n        hide\n    end\nend\n\n@report button!!\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(level) = [19]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [20]> then\n        hide\n    end\nend\n\nwhen I receive [kick the imposters! v]\nhide\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    end\nend\n\n@among-us-among\n\nwhen flag clicked\nswitch costume to (among-us-among v)\nset size to (250) %\nhide\ngo to [front v] layer\n\nwhen I receive [kick the imposters! v]\nshow\ngo to [front v] layer\ngo [forward v] (5) layers\nstart sound [Among Us- Crewmate Victory Sound! \(1\) v]\nrepeat until <(costume [number v]) = [80]>\n    next costume\nend\nhide\nbroadcast (next level v)\n\n
You guys enjoyed Susrun! Now this is Part 2! :D\n- Arrow keys to move\n- avoid lava, And some epic lava stuff :)\n- customize any colour!\n- ❤️ and ⭐FOR a EXCLUSIVE RAINBOW skin!! :D\n- #EnjoyThisProject!\n- Tell your highscores in the comments below!