Rainforest 2 || A Platformer #All#Games#pocophone1234
@Stage\n\nwhen I receive [intro finished v]\nset volume to (50) %\nforever\n    play sound (pick random (1) to (3)) until done\nend\n\nwhen I receive [sound on v]\nset volume to (50) %\n\nwhen I receive [sound off v]\nset volume to (0) %\n\n@Reduc lag!\n\n@INTRO\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\nhide\nset [id v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    change [id v] by (1)\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    change [id v] by (-1)\n    wait (0.5) seconds\nend\nrepeat (3)\n    create clone of (_myself_ v)\n    change [id v] by (1)\n    wait (0.3) seconds\n    create clone of (_myself_ v)\n    change [id v] by (-1)\n    wait (0.3) seconds\nend\nrepeat (2)\n    create clone of (_myself_ v)\n    change [id v] by (1)\n    wait (0.1) seconds\n    create clone of (_myself_ v)\n    change [id v] by (-1)\n    wait (0.1) seconds\nend\nset [id v] to [3]\ncreate clone of (_myself_ v)\nset [id v] to [4]\nrepeat (2)\n    create clone of (_myself_ v)\n    change [id v] by (1)\n    wait (0.1) seconds\nend\nwait (3) seconds\nset [id v] to [6]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [id v] to [7]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [id v] to [8]\ncreate clone of (_myself_ v)\nwait (3) seconds\nbroadcast (INTRO v)\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nclear graphic effects\nswitch costume to (ID)\nif <(ID) = [1]> then\n    go to x: (-500) y: (0)\n    repeat until <[-2] < (x position)>\n        change x by (((0) - (x position)) / (8))\n    end\nend\nif <(ID) = [2]> then\n    set [brightness v] effect to (-10)\n    go to x: (500) y: (0)\n    repeat until <(x position) < [2]>\n        change x by (((0) - (x position)) / (8))\n    end\nend\nif <(ID) = [3]> then\n    go to x: (0) y: (500)\n    repeat until <(y position) < [2]>\n        change y by (((0) - (y position)) / (8))\n    end\nend\nif <(ID) = [4]> then\n    go to x: (0) y: (20)\n    point in direction (-90)\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    wait (0.5) seconds\n    repeat until <(x position) < [-150]>\n        change x by (((-150) - (x position)) / (8))\n    end\nend\nif <(ID) = [5]> then\n    go to x: (20) y: (20)\n    point in direction (-90)\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    wait (0.5) seconds\n    repeat until <(x position) < [-130]>\n        change x by (((-130) - (x position)) / (8))\n    end\nend\nif <(ID) = [6]> then\n    go to x: (0) y: (500)\n    point in direction (90)\n    repeat until <(y position) < [22]>\n        change y by (((20) - (y position)) / (13))\n    end\nend\nif <(ID) = [7]> then\n    go to x: (0) y: (-500)\n    point in direction (90)\n    repeat until <[18] < (y position)>\n        change y by (((20) - (y position)) / (13))\n    end\nend\nif <(ID) = [8]> then\n    go to x: (0) y: (500)\n    point in direction (90)\n    repeat until <(y position) < [22]>\n        change y by (((20) - (y position)) / (13))\n    end\nend\n\nwhen I receive [intro v]\nif <[3] < (ID)> then\n    repeat (10)\n        turn right (15) degrees\n        change size by (-5)\n    end\nelse\n    repeat (10)\nend\nbroadcast (Intro Finished v)\ndelete this clone\n\nwhen I receive [intro finished v]\nhide\n\nwhen flag clicked\nplay sound [Song3 v] until done\n\n@Player\n\nwhen I receive [intro finished v]\nsay (join [Before Start I Want You ] (join (username) [ To Follow Me Please! Thanks!])) for (4.8) seconds\n\ndefine Run physics (speed) (friction) (gravity) (jump height)\nchange [yvel v] by (gravity)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [xvel v] by (speed)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xvel v] by ((speed) * (-1))\nend\nset [xvel v] to ((Xvel) * (friction))\nchange x by (Xvel)\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (-4)\n    change x by ((Xvel) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [yvel v] to ((jump height) - (3.5))\n        if <[0] < (Xvel)> then\n            set [xvel v] to [-6]\n        else\n            set [xvel v] to [6]\n        end\n    else\n        set [xvel v] to [0]\n    end\nend\nchange y by (Yvel)\nif <touching (ground v)?> then\n    change y by ((Yvel) * (-1))\n    set [yvel 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)>>> then\n    if <touching (ground v)?> then\n        set [yvel v] to (jump height)\n    end\nend\nchange y by (1)\n\nwhen I receive [ded v]\nstart sound [Roblox Death Sound  OOF Sound Effect v]\ngo to x: (-180) y: (-50)\nset [ghost v] effect to (0)\n\nwhen I start as a clone\nrepeat (10)\n    switch costume to (back v)\n    change size by (-5)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [next level v]\ngo to x: (-180) y: (-50)\n\nwhen I receive [respawn v]\ngo to x: (-180) y: (-50)\nset [ghost v] effect to (0)\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nforever\n    if <[2] = (costume [number v])> then\n        set [xvel v] to [0]\n        wait until <not <[2] = (costume [number v])>>\n    end\nend\n\nwhen I receive [intro finished v]\nset [xvel v] to [0]\nset [yvel v] to [0]\nset [level v] to [1]\ngo to x: (-180) y: (-50)\nforever\n    Run physics [0.9] [0.9] [-1] [15]\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        if <not <<touching color (#4c86ff)?> or <touching color (#437de0)?>>> then\n            switch costume to (costume2 v)\n        else\n            switch costume to (costume1 v)\n        end\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [intro finished v]\nforever\n    if <touching (bouncy v)?> then\n        play sound [Mario_Jump_-_Gaming_Sound_Effect v] until done\n    end\nend\n\nwhen I receive [intro finished v]\nforever\n    if <(x position) > [235]> then\n        broadcast (Next level v)\n    end\nend\n\nplay sound [Ding Sound Effect v] until done\n\nwhen I receive [intro finished v]\nforever\n    if <<touching color (#54ceff)?> or <touching color (#63d2ff)?>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n            change [xvel v] by (-1.3)\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            change [xvel v] by (1.3)\n        end\n        if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n            change [yvel v] by (-1.3)\n        end\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [yvel v] by (1.3)\n        end\n        set [xvel v] to ((Xvel) * (0.81))\n        set [yvel v] to ((Yvel) * (0.81))\n        change [yvel v] by (((Yvel) / (14.9)) + (0.1))\n    end\n    set size to (125) %\nend\n\nwhen I receive [intro finished v]\nforever\n    if <<<(y position) < [-170]> or <touching (spikes v)?>> or <<touching (lava v)?> or <touching (saw v)?>>> then\n        go to x: (-220) y: (-90)\n        play sound [Roblox Death Sound  OOF Sound Effect v] until done\n    end\nend\n\nwhen I receive [intro finished v]\nrepeat until <(Level) = [22]>\n    if <[220] < (x position)> then\n        broadcast (Next level v) and wait\n        wait until <not <[220] < (x position)>>\n    end\n    if <<<(y position) < [-170]> or <touching (spikes v)?>> or <<touching (lava v)?> or <touching (saw v)?>>> then\n        broadcast (Ded v) and wait\n    end\n    if <touching (bouncy v)?> then\n        set [yvel v] to [20]\n    end\nend\n\nwhen I receive [intro finished v]\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen I receive [intro finished v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [restart v]\ngo to x: (-190) y: (-60)\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\nplay sound [Ding Sound Effect v] until done\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nswitch costume to (ground level 1 v)\nforever\n    go to [front v] layer\n    go [backward v] (6) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (Finish v)\n    end\nend\n\n@Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nswitch costume to (spikes level 1 v)\nforever\n    go to [front v] layer\n    go [backward v] (9) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\n@Lava\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (lava level 1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (9) layers\nforever\n    repeat (20)\n        change y by (0.5)\n    end\n    repeat (20)\n        change y by (-0.5)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nswitch costume to (lava level 1 v)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go [backward v] (9) layers\n    set [level v] to (costume [number v])\nend\n\n@Bouncy\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (8) layers\nswitch costume to (trampoline 1 v)\nshow\nforever\n    if <touching (player v)?> then\n        switch costume to (trampoline 1 v)\n        repeat until <(costume [number v]) = [5]>\n            next costume\n        end\n        repeat until <(costume [number v]) = [1]>\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\ndefine Clone at x: (x) y: (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [next level v]\nif <(Level) = [3]> then\n    Clone at x: [-120] y: [-115]\nelse\n    hide\n    delete this clone\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\ngo to [front v] layer\ngo [backward v] (8) layers\nhide\nif <(Level) = [4]> then\n    Clone at x: [-120] y: [-115]\nelse\n    hide\n    delete this clone\nend\n\nwhen I receive [intro finished v]\nhide\nforever\n    go to [front v] layer\n    go [backward v] (8) layers\nend\n\n@Water\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nswitch costume to (water level 1 v)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go [backward v] (11) layers\n    set [level v] to (costume [number v])\nend\n\nwhen I receive [intro finished v]\nswitch costume to (water level 1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (9) layers\nforever\n    repeat (20)\n        change y by (0.5)\n    end\n    repeat (20)\n        change y by (-0.5)\n    end\nend\n\nwhen flag clicked\nhide\n\n@Love fave\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [intro finished v]\nset [costume v] to [0]\ngo to [front v] layer\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (20) to (30)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [Jump v]\n        repeat (9)\n            change y by (-6)\n            go to [front v] layer\n        end\n        repeat (5)\n            go to [front v] layer\n            change y by (3)\n        end\n        repeat (5)\n            go to [front v] layer\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        go to [front v] layer\n        hide\n        stop [this script v]\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide variable [timer v]\ngo to [front v] layer\nhide\nset [ghost v] effect to (100)\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > (Timer)\nset [ghost v] effect to (0)\nswitch costume to (finally done! v)\nshow\nforever\n    go to [front v] layer\n    stop [all v]\nend\n\n@Warning\n\nwhen I receive [intro finished v]\nshow\ngo to x: (0) y: (0)\nwait (1.7) seconds\nhide\n\nwhen flag clicked\nhide\n\n@Text\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nswitch costume to (text level 5 v)\nforever\n    go [backward v] (5) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [intro finished v]\nswitch costume to (text level 1 v)\nforever\n    go [forward v] (5) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [intro finished v]\nshow\n\n@clouds\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nset size to (pick random (25) to (50)) %\ngo to x: (230) y: (pick random (140) to (200))\nset [x cliud v] to (pick random (-1) to (-3))\ngo [forward v] (pick random (0) to (1)) layers\nset [ghost v] effect to (pick random (25) to (40))\nrepeat until <(x position) < [-230]>\n    go to [front v] layer\n    go [backward v] (5) layers\n    change x by (x cliud)\n    show\nend\ndelete this clone\n\nwhen I receive [intro finished v]\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (3.7) to (5)) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [parelax v]\nhide\nstop [other scripts in sprite v]\n\n@Art\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (art level 1 v)\nhide\n\nwhen I receive [intro finished v]\nshow\n\nwhen I receive [parelax v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [intro finished v]\nshow\nforever\n    go to [back v] layer\nend\n\n@Saw\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [next level v]\nif <(Level) = [1]> then\n    Clone at x: [150] y: [-125]\nelse\n    if <(Level) = [3]> then\n        Clone at x: [30] y: [125]\n    else\n        hide\n        delete this clone\n    end\nend\n\ndefine Clone at x: (x) y: (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (8) layers\nswitch costume to (costume1 v)\nshow\nforever\n    turn right (10) degrees\nend\n\nwhen I receive [next level v]\ndelete this clone\n\nwait until <(Level) = [50]>\n\nwhen I receive [intro finished v]\nswitch costume to (costume1 v)\ngo to [front v] layer\ngo [backward v] (9) layers\nforever\n    set size to (70) %\n    hide\n    go to [front v] layer\n    go [backward v] (9) layers\n    go to x: (0) y: (0)\nend\n\nwhen I receive [intro finished v]\ngo to [front v] layer\ngo [backward v] (8) layers\nhide\nif <(Level) = [2]> then\n    Clone at x: [150] y: [-125]\nelse\n    if <(Level) = [4]> then\n        Clone at x: [30] y: [125]\n    else\n        hide\n        delete this clone\n    end\nend\n\n@Restart\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\nshow\ngo to x: (-220) y: (-158)\ngo [backward v] (1) layers\n\nwhen flag clicked\nforever\n    point in direction ((([sin v] of ((TIMER) * (90)) ) * (20)) + (90))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n        if <mouse down?> then\n            broadcast (Restart v)\n            wait until <not <mouse down?>>\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [intro finished v]\nshow\nforever\n    go to [front v] layer\nend\n\n@Sound\n\nwhen flag clicked\nhide\n\nwhen I receive [intro finished v]\ngo to x: (-180) y: (-158)\nset size to (100) %\ngo [backward v] (1) layers\nshow\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    point in direction ((([sin v] of ((TIMER) * (90)) ) * (20)) + (90))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n        if <mouse down?> then\n            if <(costume [number v]) = [1]> then\n                switch costume to (costume2 v)\n                broadcast (Sound off v)\n            else\n                switch costume to (costume1 v)\n                broadcast (Sound On v)\n            end\n            wait until <not <mouse down?>>\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [intro finished v]\nshow\nforever\n    go to [front v] layer\nend\n\n@detector\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\nwhen I receive [intro finished v]\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\nshow\ngo to [front v] layer\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 flag clicked\nhide\n\nwhen I receive [intro finished v]\nforever\n    go to [front v] layer\nend\n\n@Lazer\n\nwhen flag clicked\nhide\n\nwhen I receive [finish v]\ngo to [back v] layer\nshow\npoint in direction (-45)\nforever\n    change [color v] effect by (2)\n    go to x: (193) y: (167)\n    point in direction ((([sin v] of ((timer) * (50)) ) * (50)) + (50))\nend\n\n@Lazer2\n\nwhen flag clicked\nhide\n\nwhen I receive [finish v]\ngo to [back v] layer\nshow\npoint in direction (-45)\nforever\n    change [color v] effect by (2)\n    go to x: (-240) y: (170)\n    point in direction ((([sin v] of ((timer) * (-50)) ) * (-50)) + (-50))\nend\n\n
◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉Rainforest 2◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉\n◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉A Platformer◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉\n___________________________________________\nCAN WE GET THIS TO TRENDING?!?!\n\nScret comment below\nControls :\nWASD, Arrow keys (<v^>), Tap for mobile\nAvoid Spikes, Lava, and Saws\nFact : (please read until the end)\n- Every time you press green flag the song can be \n  diffrent\n- There are 10 levels\n- Better you take a coffee and don't play this while you \n  mad or you will be crazy (I say that becasue I need \n  15 minutes for finishing all. Maybe I am very noob :v)\n- I learn how to make an arrow keys symbols : <v^>\n- I don't know how to make scroling platformer\n- I want to say Bye!\n~Enjoy!~\nComment : Play this!