Evening 2 | A Platformer Part 2

Instructions: –––––––––––––––––––––Part 2––––––––––––––––––––––––\nUse Arrows or finger or mouse.\nWhen i have 150 likes and 120 favs, the i do part 3.\nWhen you like anf star this Game then you can advertise one of your projects i the comments.

@Stage\n\n@Figur2\n\nwhen flag clicked\nset [resistance v] to [0.9]\nset [speed y v] to [0]\nset [jump force v] to [15]\nset [acceleration v] to [1.5]\nset [gravity v] to [-1.5]\ngo to x: (-150) y: (50)\nforever\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(falling) < [3]> then\n            set [speed y v] to (jump force)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [speed x v] by ((0) - (ACCELERATION))\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [speed x v] by (ACCELERATION)\n    end\n    change [speed y v] by (gravity)\n    set [speed x v] to ((speed x) * (RESISTANCE))\n    move in steps (([abs v] of (speed x) ) + ([abs v] of (Speed y) ))\nend\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 (#848484)?> or <<touching color (#8a5d00)?> or <touching color (#36b100)?>>> or <touching color (#36b100)?>> 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 (#848484)?> or <<touching color (#8a5d00)?> or <touching color (#36b100)?>>> 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\nswitch costume to (guy v)\nforever\n    wait (5) seconds\n    switch costume to (guy2 v)\n    wait (0.05) seconds\n    switch costume to (guy3 v)\n    wait (0.08) seconds\n    switch costume to (guy2 v)\n    wait (0.05) seconds\n    switch costume to (guy v)\n    wait (0.05) seconds\n    switch costume to (guy2 v)\n    wait (0.05) seconds\n    switch costume to (guy3 v)\n    wait (0.08) seconds\n    switch costume to (guy2 v)\n    wait (0.05) seconds\n    switch costume to (guy v)\nend\n\nwhen I start as a clone\nswitch costume to (guy4 v)\nshow\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-4)\nend\ndelete this clone\n\nwhen flag clicked\npoint in direction (90)\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <touching color (#ff0000)?> then\n        start sound [roblox death sound v]\n        broadcast (No lags v)\n        repeat (10)\n            change [ghost v] effect by (10)\n            change size by (-2)\n            turn right (20) degrees\n        end\n        broadcast (Start position v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (figur3 v)?> then\n        broadcast (Next level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (figur3 v)?> then\n        go to x: (-150) y: (50)\n        point in direction (90)\n        broadcast (Start position v)\n        broadcast (Next level v)\n    end\nend\n\nwhen I receive [start position v]\nset [ghost v] effect to (0)\nset size to (50) %\ngo to x: (-150) y: (50)\npoint in direction (90)\n\nwhen flag clicked\nforever\n    play sound [On-and-On_320\(PagalWorld\) v] until done\nend\n\nwhen I receive [energy  v]\n\nwhen flag clicked\nset size to (50) %\nswitch costume to (guy v)\nforever\n    if <touching (sprite1 v)?> then\n        change [jump force v] by (5)\n        wait (5) seconds\n        change [jump force v] by (-5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#0021ff)?> then\n        set [speed y v] to [25]\n        broadcast (Jump v)\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen flag clicked\nshow\nswitch costume to (guy v)\n\n@Figur5\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\n\n@Figur4\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (2)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (pick random (0) to (20))\nswitch costume to (pick random (1) to (8))\nset y to (pick random (140) to (60))\nrepeat until <touching (figur3 v)?>\n    change x by (6)\nend\nforever\n    if <touching (figur3 v)?> then\n        delete this clone\n    end\nend\n\nshow\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Unity v] until done\nend\n\n@Figur3\n\nwhen flag clicked\nchange [ghost v] effect by (100)\n\nwhen I receive [no lags v]\nhide\n\nwhen I receive [start position v]\nshow\n\nwhen flag clicked\nshow\n\n@Notice\n\nwhen flag clicked\nswitch costume to (love fav follow v)\nhide\ngo to x: (0) y: (-39)\nforever\n    wait (25) seconds\n    show\n    glide (0.3) secs to x: (0) y: (0)\n    wait (3) seconds\n    glide (0.3) secs to x: (0) y: (-39)\n    hide\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (15) to (30)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (-95) y: (68)\nforever\n    if <touching (figur2 v)?> then\n        delete this clone\n    end\nend\n\nbroadcast (energy  v)\n\n@Figur6\n\nwhen flag clicked\nforever\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\n\n