Lava Lands || A Scrolling Platformer || Contest Entry 

Instructions: FOLLOW : @-Asolo- !\n\nʜᴇʟʟᴏ ᴇᴠᴇʀʏᴏɴᴇ! ᴀɴᴅ ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴍʏ ɴᴇᴡ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ ᴄᴀʟʟᴇᴅ ʟᴀᴠᴀ ʟᴀɴᴅꜱ!\nᴛʜɪꜱ ᴛᴏᴏᴋ ᴀ ᴡᴇᴇᴋ ᴛᴏ ᴄᴏᴍᴘʟᴇᴛᴇ! \nꜱᴏ ɪ ᴛʜɪɴᴋ ʏᴏᴜ ɢᴜʏꜱ ᴀʀᴇ ʙᴏʀᴇᴅ ʀᴇᴀᴅɪɴɢ ᴛʜɪꜱ ꜱᴏ ʟᴇᴛꜱ ɢᴇᴛ ɪɴᴛᴏ ɪɴꜱᴛʀᴜᴄᴛɪᴏɴꜱ ᴀɴᴅ ᴡʜᴀᴛ'ꜱ ɪɴ ᴛʜᴇ ɢᴀᴍᴇ!\n\nɪꜱᴛʀᴜᴄᴛɪᴏɴꜱ - \nᴀʀʀᴏᴡ ᴋᴇʏꜱ ᴛᴏ ᴍᴏᴠᴇ\nᴅᴏɴ'ᴛ ᴛᴏᴜᴄʜ ᴇɴᴇᴍɪᴇꜱ ᴀɴᴅ ᴛʜᴇ ᴏʙᴠɪᴏᴜꜱ ᴏɴᴇꜱ xᴅ\n\nᴡʜᴀᴛ'ꜱ ɪɴ ᴛʜᴇ ɢᴀᴍᴇ?\n\nꜱᴏ ɪ ʜᴀᴠᴇ ɪɴꜱᴇʀᴛᴇᴅ ᴛʜᴇ ɴᴏʀᴍᴀʟ ᴛʀᴀᴘꜱ ʟɪᴋᴇ ꜱᴀᴡꜱ, ᴍᴏᴠɪɴɢ ꜱᴀᴡꜱ, ꜱᴘɪᴋᴇꜱ ᴇᴛᴄ.\n\nʏᴏᴜ ʜᴀᴠᴇ ᴛʀᴀᴍᴘᴏʟɪɴᴇꜱ ᴀɴᴅ ɪ ᴛʜɪɴᴋ ʏᴏᴜ ɢᴜʏꜱ ʟɪᴋᴇ ɪᴛ!\n\nᴡᴀᴛᴇʀ ꜱᴏ ᴛʜᴀᴛ ʏᴏᴜ ᴄᴀɴ ʜᴀᴠᴇ ᴀ ʙᴀᴛʜ ᴀꜰᴛᴇʀ ᴀ ʜᴏᴛ ꜱᴡᴇᴀᴛʏ ʀᴜɴ xᴅ\n\nᴏꜰ ᴄᴏᴜʀꜱᴇ ᴛʜᴇʀᴇ ɪꜱ ʟᴀᴠᴀ!!\n\nᴀɴᴅ..... ʏᴇᴀʜ ᴛʜᴀᴛ'ꜱ ɪᴛ! ʏᴏᴜ ᴄᴀɴ ꜰɪɴᴅ ᴍᴀɴʏ ᴍᴏʀᴇ ꜱᴛᴜꜰꜰ ɪꜰ ʏᴏᴜ ᴘʟᴀʏ ᴛʜᴇ ᴡʜᴏʟᴇ ɢᴀᴍᴇ!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nComment : Areeb52090 is Awesome!

@Stage\n\n@Player\n\ndefine Change player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platforms v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [sy v] to [20]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Change player y by (sy)\nset [in water v] to [0]\nset [on ground v] to [0]\nchange [y v] by (sy)\nPosition\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [on ground v] to [1]\n        set [double jump? v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\nif <touching (water v)?> then\n    set [sy v] to [0]\n    set [in water v] to [1]\nend\n\ndefine Scrolling\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\n\ndefine Vertical Speed\nset [parachute v] to [0]\nif <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n    if <(on ground) = [1]> then\n        set [sy v] to [21]\n    end\nend\nif <<(double jump?) = [1]> and <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n    set [double jump? v] to [2]\n    set [sy v] to [20]\nend\nif <(double jump?) = [0]> then\n    if <not <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n        set [double jump? v] to [1]\n    end\nend\nif <<(sy) < [0]> and <key (1 v) pressed?>> then\n    set [sy v] to [-2]\n    set [double jump? v] to [2]\n    set [parachute v] to [1]\nend\nif <(in water) = [1]> then\n    if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n        set [sy v] to [7]\n    end\n    if <<key (down arrow v) pressed?> or <<(mouse y) < (y position)> and <mouse down?>>> then\n        set [sy v] to [-6]\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange player y by (sy)\nPosition\n\ndefine Horizantal speed\nif <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n    change [sx v] by (-3)\nend\nif <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n    change [sx v] by (3)\nend\nif <<key (down arrow v) pressed?> or <<(mouse y) < (y position)> and <mouse down?>>> then\n    repeat (2)\n        change [sy v] by (-1.5)\n    end\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change player x by (round (sx))\nend\n\ndefine Tick\nSet-Costume\nHorizantal speed\nVertical Speed\nScrolling\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Reset\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v)\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    else\n        Game - Die\n    end\nend\n\ndefine Reset\nset [sx v] to [0]\nset [sy v] to [0]\nset [exit v] to []\nswitch costume to (black v)\nset size to (100) %\nset [ghost v] effect to (0)\npoint in direction (90)\nif <(Checkpoint) = [0]> then\n    Checkpoints X [0] Y [0] Scroll-X [0] Scroll-Y [0]\nelse\n    if <(Checkpoint) = [1]> then\n        Checkpoints X [1810] Y [-75] Scroll-X [1810] Scroll-Y [-75]\n    else\n        if <(Checkpoint) = [2]> then\n            Checkpoints X [4445] Y [220] Scroll-X [4445] Scroll-Y [220]\n        else\n            Checkpoints X [6815] Y [-80] Scroll-X [6815] Scroll-Y [-80]\n        end\n    end\nend\n\ndefine Checkpoints X (x) Y (y) Scroll-X (scroll-x) Scroll-Y (scroll-y)\nset [x v] to (x)\nset [y v] to (y)\nset [scroll x v] to (scroll-x)\nset [scroll y v] to (scroll-y)\n\nwhen I receive [begin v]\nset [chat v] to [0]\nshow list [chat v]\nforever\n    Chat\nend\n\nif <<key (t v) pressed?> or <<touching (mouse-pointer v)?> and <mouse down?>>> then\n    if <(Chat) = [1]> then\n        show list [chat v]\n        set [chat v] to [0]\n        wait until <<not <<touching (mouse-pointer v)?> and <mouse down?>>> and <not <key (t v) pressed?>>>\n        if <(Chat) = [0]> then\n            set [chat v] to [1]\n            wait until <<not <<touching (mouse-pointer v)?> and <mouse down?>>> and <not <key (t v) pressed?>>>\n        end\n    end\nend\n\nwhen I receive [play game v]\nset [connected? v] to [0]\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen flag clicked\npoint in direction (90)\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\ndefine Test - Die\nif <<<touching (danger v)?> or <touching (saws v)?>> or <touching (lava v)?>> then\n    start sound [Hurt v]\n    set [exit v] to [die]\nend\n\ndefine Game - Die\nset [exit v] to []\nstart sound [Hurt v]\nrepeat (5)\n    switch costume to (normal v)\n    wait (0.1) seconds\n    switch costume to (died v)\n    wait (0.1) seconds\nend\n\ndefine Game - Win\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\nwait (1) seconds\nbroadcast (You Win v)\n\nwhen flag clicked\nhide\nset [max players v] to [8]\nset [my player # v] to [0]\nbroadcast (Connecting v)\nbroadcast (Setup Others v) and wait\nbroadcast (Join Game v) and wait\nif <(MY PLAYER #) > [0]> then\n    broadcast (Connected v)\n    start sound [Connect v]\nelse\n    broadcast (Full v)\n    start sound [Disconnect v]\nend\nbroadcast (Begin v)\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ p1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ p2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ p3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ p4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ p5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ p6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ p7 v] to (value)\n                        else\n                            if <(player) = [8]> then\n                                set [☁ p8 v] to (value)\n                            else\n                                if <(player) = [9]> then\n                                    set [☁ p9 v] to (value)\n                                else\n                                    if <(player) = [10]> then\n                                        set [☁ p10 v] to (value)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine write (val) to encoded\nset [letter # v] to [1]\nrepeat (length of (val))\n    set [encoded v] to (join (encoded) (item # of (letter (letter #) of (val)) in [code v]))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (encoded) [00])\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) > [0]> then\n        send cloud data\n    end\nend\n\ndefine send cloud data\nset [encoded v] to []\nwrite (username) to encoded\nwrite (round ((timer) * (10))) to encoded\nwrite (x) to encoded\nwrite (y) to encoded\nwrite (Chat Words) to encoded\nset cloud # (MY PLAYER #) to (encoded)\n\ndefine Chat\nif <(Chat) = [1]> then\n    if <key (1 v) pressed?> then\n        set [chat words v] to [1]\n        say (item (1) of [chat v])\n        wait (2) seconds\n        say []\n        set [chat words v] to [0]\n    else\n        if <key (2 v) pressed?> then\n            set [chat words v] to [2]\n            say (item (2) of [chat v])\n            wait (2) seconds\n            say []\n            set [chat words v] to [0]\n        else\n            if <key (3 v) pressed?> then\n                set [chat words v] to [3]\n                say (item () of [chat v])\n                wait (2) seconds\n                say []\n                set [chat v] to [0]\n            else\n                if <key (4 v) pressed?> then\n                    set [chat words v] to [4]\n                    say (item (4) of [chat v])\n                    wait (2) seconds\n                    say []\n                    set [chat words v] to [0]\n                else\n                    if <key (5 v) pressed?> then\n                        set [chat words v] to [5]\n                        say (item (5) of [chat v])\n                        wait (2) seconds\n                        say []\n                        set [chat words v] to [0]\n                    else\n                        if <key (6 v) pressed?> then\n                            set [chat words v] to [6]\n                            say (item (6) of [chat v])\n                            wait (2) seconds\n                            say []\n                            set [chat words v] to [0]\n                        else\n                            if <key (7 v) pressed?> then\n                                set [chat words v] to [7]\n                                say (item (7) of [chat v])\n                                wait (2) seconds\n                                say []\n                                set [chat words v] to [0]\n                            else\n                                if <key (8 v) pressed?> then\n                                    set [chat words v] to [8]\n                                    say (item (8) of [chat v])\n                                    wait (2) seconds\n                                    say []\n                                    set [chat words v] to [0]\n                                else\n                                    if <key (9 v) pressed?> then\n                                        set [chat words v] to [9]\n                                        say (item (9) of [chat v])\n                                        wait (2) seconds\n                                        say []\n                                        set [chat words v] to [0]\n                                    else\n                                        set [chat words v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [connected v]\nset [connected? v] to [1]\nshow\n\nwhen I receive [connecting v]\nhide\n\nwhen I receive [connected v]\nset [level v] to [1]\n\ndefine Player Tick\n\ndefine Set-Costume\nif <not <key (any v) pressed?>> then\n    switch costume to (normal v)\nend\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    switch costume to (up v)\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    switch costume to (right up v)\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    switch costume to (left up v)\nend\nif <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n    switch costume to (duck v)\nend\n\nwhen I receive [small_bounce v]\nset [sy v] to [16]\n\nwhen flag clicked\nforever\n    play sound [The Score - Stronger \(Instrumental\) v] until done\nend\n\n@Others\n\nwhen I receive [begin v]\nset [names v] to [1]\nforever\n    if <key (n v) pressed?> then\n        if <(names) = [1]> then\n            wait until <not <key (n v) pressed?>>\n            set [names v] to [0]\n        else\n            wait until <not <key (n v) pressed?>>\n            set [names v] to [1]\n        end\n    end\nend\n\nwhen I receive [setup others v]\nsetup players\n\ndefine setup players\nhide\nset [offline v] to [100]\nset [player # v] to [1]\nrepeat ((MAX PLAYERS) - (1))\n    create clone of (_myself_ v)\n    change [player # v] by (1)\nend\n\ndefine value = cloud # (player)\nif <(player) = [1]> then\n    set [value v] to (☁ P1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ P2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ P3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ P4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ P5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ P6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ P7)\n                        else\n                            if <(player) = [8]> then\n                                set [value v] to (☁ P8)\n                            else\n                                if <(player) = [9]> then\n                                    set [value v] to (☁ P9)\n                                else\n                                    if <(player) = [10]> then\n                                        set [value v] to (☁ P10)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) = (player #)> then\n        set [offline v] to [100]\n        hide\n    else\n        Tick\n    end\nend\n\ndefine Tick\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    change [offline v] by (1)\n    if <(offline) = [100]> then\n        hide\n    end\nelse\n    set [last value v] to (join [A] (value))\n    if <(offline) > [99]> then\n        show\n    end\n    set [offline v] to [0]\nend\nbegin decode of (value)\nvalue = read from encoded\nif <(names) = [1]> then\n    say (join (player #) (join [:] (value)))\nelse\n    say []\nend\nvalue = read from encoded\nvalue = read from encoded\nset x to ((value) - (SCROLL X))\nvalue = read from encoded\nset y to (((value) - (SCROLL Y)) + (8))\nvalue = read from encoded\nbroadcast (Decode Chat v)\n\ndefine begin decode of (encoded)\nset [encoded v] to (encoded)\nset [letter # v] to [1]\n\ndefine value = read from encoded\nset [value v] to []\nforever\n    set [idx v] to (join (letter (letter #) of (encoded)) (letter ((letter #) + (1)) of (encoded)))\n    change [letter # v] by (2)\n    if <(idx) < [1]> then\n        stop [this script v]\n    end\n    set [value v] to (join (value) (item (idx) of [code v]))\nend\n\nwhen I receive [join game v]\nvalue = cloud # (player #)\nset [last value v] to (join [A] (value))\nwait (3) seconds\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    set [my player # v] to (player #)\nend\n\ndefine Decode Chat (chat)\nif <(chat) = [1]> then\n    say (item (1) of [chat v]) for (2) seconds\nelse\n    if <(chat) = [2]> then\n        say (item (2) of [chat v]) for (2) seconds\n    else\n        if <(chat) = [3]> then\n            say (item (3) of [chat v]) for (2) seconds\n        else\n            if <(chat) = [4]> then\n                say (item (4) of [chat v]) for (2) seconds\n            else\n                if <(chat) = [5]> then\n                    say (item (5) of [chat v]) for (2) seconds\n                else\n                    if <(chat) = [6]> then\n                        say (item (6) of [chat v]) for (2) seconds\n                    else\n                        if <(chat) = [7]> then\n                            say (item (7) of [chat v]) for (2) seconds\n                        else\n                            if <(chat) = [8]> then\n                                say (item (8) of [chat v]) for (2) seconds\n                            else\n                                if <(chat) = [9]> then\n                                    say (item (9) of [chat v]) for (2) seconds\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [decode chat v]\nDecode Chat (value)\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [700] y: [0]\n    Clone at x: [560] y: [-38]\n    Clone at x: [575] y: [0]\n    Clone at x: [600] y: [0]\n    Clone at x: [635] y: [0]\n    Clone at x: [1000] y: [0]\n    Clone at x: [800] y: [300]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [650] y: [-200]\n    Clone at x: [700] y: [0]\nend\n\ndefine Position (x) (y)\nset size to (100) %\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\n@DANGER\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((DANGER: x) - (SCROLL X)) ((DANGER: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [danger: x v] to [0]\nset [danger: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [700] y: [0]\n    Clone at x: [560] y: [-38]\n    Clone at x: [575] y: [0]\n    Clone at x: [850] y: [0]\n    Clone at x: [850] y: [0]\n    Clone at x: [1000] y: [0]\n    Clone at x: [800] y: [300]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [650] y: [-200]\nend\n\ndefine Position (x) (y)\ngo to [back v] layer\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [danger: x v] by (x)\nchange [danger: y v] by (y)\nnext costume\n\n@Saws\n\nwhen I receive [green flag v]\nhide variable [mouse v]\nhide\n\nwhen I receive [tick v]\nturn right (10) degrees\nPosition ((Saws: x) - (SCROLL X)) ((Saws: y) - (SCROLL Y))\ngo to [back v] layer\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [saws: x v] to [0]\nset [saws: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [540] y: [-32]\n    Clone at x: [690] y: [-32]\n    Clone at x: [840] y: [-32]\n    Clone at x: [6315] y: [-95]\nend\nset [saws: x v] to [-999999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [saws: x v] to (x)\nset [saws: y v] to (y)\ncreate clone of (_myself_ v)\n\nClone at x: [340] y: [27]\nClone at x: [530] y: [27]\nClone at x: [786] y: [27]\nClone at x: [1124] y: [27]\nClone at x: [1331] y: [245]\nClone at x: [1065] y: [345]\nClone at x: [825] y: [272]\nClone at x: [392] y: [245]\nClone at x: [197] y: [335]\n\nClone at x: [631] y: [11]\n\n@Collectables\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nnext costume\nchange [tick v] by (0.5)\nPosition ((Collectables: x) - (SCROLL X)) (((Collectables: y) + ((8) * ([sin v] of (((Collectables: x) + (TICK)) * (2)) ))) - ())\nif <touching (player v)?> then\n    delete this clone\nend\n\nwhen I receive [setup v]\nset size to (80) %\nset [coins v] to [0]\nhide\nset [collectables: x v] to [0]\nset [collectables: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (coin1 v)\n    Clone at x: [-7] y: [80]\n    Clone at x: [610] y: [0]\n    Clone at x: [760] y: [0]\n    Clone at x: [1360] y: [55]\n    Clone at x: [1460] y: [55]\n    Clone at x: [1560] y: [55]\n    Clone at x: [2334] y: [-55]\n    Clone at x: [2570] y: [-55]\n    Clone at x: [2770] y: [-55]\n    Clone at x: [2870] y: [-55]\n    Clone at x: [3080] y: [-55]\n    Clone at x: [3180] y: [-55]\n    Clone at x: [3440] y: [-135]\n    Clone at x: [3540] y: [-135]\n    Clone at x: [3640] y: [-135]\nend\nset [collectables: x v] to [-9999999999]\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [collectables: x v] to (x)\nset [collectables: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset [tick v] to [0]\nset [ghost v] effect to (0)\nset size to (80) %\n\n@Exit\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nswitch costume to (open v)\nPosition ((Exit: x) - (SCROLL X)) ((Exit: y) - (SCROLL Y))\nif <<touching (player v)?> and <(costume [number v]) = [1]>> then\n    set [exit v] to [win]\nend\n\nwhen I receive [setup v]\nhide\nset [collected v] to [0]\nset [exit: x v] to [0]\nset [exit: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (closed v)\n    Clone at x: [7480] y: [-15]\nend\n\ndefine Position (x) (y)\ngo to [back v] layer\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [exit: x v] to (x)\nset [exit: y v] to (y)\n\n@loading\n\nwhen flag clicked\nhide\n\nwhen I receive [connecting v]\nswitch costume to (loading v)\nshow\n\nwhen I receive [connected v]\nset [ghost v] effect to (0)\ngo to [front v] layer\nstart sound [Connect v]\nswitch costume to (loaded v)\nshow\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [full v]\nswitch costume to (full  v)\nshow\n\n@Loading\n\nwhen flag clicked\ngo [forward v] (213) layers\nset size to (100) %\nhide\npoint in direction (90)\nclear graphic effects\ngo to x: (0) y: (-80)\n\nwhen I receive [connecting v]\nrepeat (11)\n    create clone of (_myself_ v)\n    turn right (40) degrees\nend\n\nwhen I receive [connected v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (100)\nforever\n    repeat (20)\n        turn right (7.5) degrees\n        change [ghost v] effect by (-6)\n        change size by (1)\n    end\n    repeat (20)\n        turn right (7.5) degrees\n        change [ghost v] effect by (6)\n        change size by (-1)\n    end\nend\n\n@TB\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Lava\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) (((Platforms: y) - (SCROLL Y)) + (([cos v] of ((timer) * (150)) ) * (7)))\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [250] y: [0]\nend\n\ndefine Position (x) (y)\nset size to (100) %\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\n@Enemy\n\nwhen I receive [tick v]\nchange [frame v] by (0.3)\nPosition (((Moving Platforms: x) - (SCROLL X)) + (([cos v] of ((FRAME) * (2)) ) * (150))) ((Moving Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\ngo to [front v] layer\nhide\nset [moving platforms - horizontal v] to [0]\nset [enemy jump v] to [0]\nset [collected v] to [0]\nset [collected max v] to [0]\nset [moving platforms: x v] to [0]\nset [moving platforms: y v] to [0]\nshow\nClone at x: [1080] y: [-71]\nClone at x: [2720] y: [-71]\nClone at x: [4700] y: [228]\nClone at x: [10000000000000000000000000] y: [-80]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [moving platforms: x v] to (x)\nset [moving platforms: y v] to (y)\nchange [collected max v] by (1)\nset [frame v] to [60000]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nswitch costume to (red1 v)\n\nwhen flag clicked\nset rotation style [left-right v]\n\nwhen I receive [tick v]\nif <(([cos v] of ((FRAME) * (2)) ) * (150)) > [149]> then\n    point in direction (-90)\nend\nif <(([cos v] of ((FRAME) * (2)) ) * (200)) < [-149]> then\n    point in direction (90)\nend\n\nset [trigo v] to (([cos v] of ((FRAME) * (2)) ) * (100))\n\nwhen I start as a clone\nforever\n    switch costume to (red1 v)\n    repeat (6)\n        next costume\n        wait (0.035) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        if <(sy) < [0]> then\n            stop [other scripts in sprite v]\n            broadcast (small_bounce v)\n            stop [other scripts in sprite v]\n            switch costume to (red8 v)\n            repeat (11)\n                next costume\n            end\n            hide\n            delete this clone\n        else\n            set [exit v] to [die]\n        end\n    end\nend\n\n@Boosters\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nchange [tick v] by (0.5)\nPosition ((Boost: x) - (SCROLL X)) (((Boost: y) + ((5) * ([sin v] of (((Collectables: x) + (tick)) * (8)) ))) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [boost: x v] to [0]\nset [boost: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [1315] y: [50] [1]\n    Clone at x: [2670] y: [-70] [3]\n    Clone at x: [4858] y: [230] [1]\n    Clone at x: [5300] y: [175] [2]\n    Clone at x: [5350] y: [175] [1]\n    Clone at x: [6170] y: [150] [3]\nend\nset [boost: x v] to [-9999999999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y) (costume#)\nset [boost: x v] to (x)\nset [boost: y v] to (y)\nswitch costume to (costume#)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset [tick v] to [0]\nset [ghost v] effect to (0)\nset size to (40) %\n\nwhen I receive [tick v]\nforever\n    if <touching (player v)?> then\n        if <(costume [number v]) = [1]> then\n            set [sx v] to [50]\n        else\n            if <(costume [number v]) = [2]> then\n                set [sx v] to [-50]\n            else\n                if <(costume [number v]) = [3]> then\n                    set [sy v] to [35]\n                else\n                    set [sy v] to [-35]\n                end\n            end\n        end\n    end\nend\n\n@Checkpoint \n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Checkpoint : x) - (SCROLL X)) ((Checkpoint : y) - (SCROLL Y))\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\nset [checkpoint : x v] to (x)\nset [checkpoint : y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset [checkpoint v] to [0]\n\nwhen flag clicked\nset [checkpoint : x v] to [0]\nset [checkpoint : y v] to [0]\nset [checkpoint v] to [0]\nswitch costume to (checkpoint closed v)\nshow\nif <(LEVEL) = [1]> then\n    Clone at x: [1810] y: [-75]\n    Clone at x: [4445] y: [220]\n    Clone at x: [6815] y: [-80]\nend\nset [checkpoint : x v] to [-99999]\nshow\n\nwhen I receive [tick v]\nif <(costume [number v]) = [2]> then\n    if <touching (player v)?> then\n        start sound [CHECKPOINT v]\n        switch costume to (checkpoint open v)\n        change [checkpoint v] by (1)\n    end\nend\n\n@Moving-Saws\n\nwhen I receive [tick v]\nturn right (10) degrees\nchange [frame v] by (2)\nPosition (((Moving Platforms: x) - (SCROLL X)) + (([cos v] of ((frame) * (3)) ) * (100))) ((Moving Platforms: y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [die]\nend\n\nwhen I receive [setup v]\ngo to [back v] layer\nhide\nset [moving platforms - horizontal v] to [0]\nset [enemy jump v] to [0]\nset [collected v] to [0]\nset [collected max v] to [0]\nset [moving platforms: x v] to [0]\nset [moving platforms: y v] to [0]\nshow\nClone at x: [2000] y: [-95]\nClone at x: [4000] y: [-65]\nClone at x: [7250] y: [-100]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [moving platforms: x v] to (x)\nset [moving platforms: y v] to (y)\nchange [collected max v] by (1)\nset [frame v] to [60000]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide\n\n@Parachute\n\nwhen I receive [chute open v]\nrepeat until <touching (platforms v)?>\n    go to (player v)\n    stop [other scripts in sprite v]\n    show\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [tick v]\ngo to (player v)\nhide\nif <([parachute v] of [player v]) = [1]> then\n    go to [back v] layer\n    show\nend\n\n@Water\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) (((Platforms: y) - (SCROLL Y)) + (([cos v] of ((timer) * (150)) ) * (7)))\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [700] y: [0]\n    Clone at x: [560] y: [-38]\n    Clone at x: [575] y: [0]\n    Clone at x: [600] y: [0]\n    Clone at x: [635] y: [0]\n    Clone at x: [1000] y: [0]\nend\n\ndefine Position (x) (y)\nset size to (100) %\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\n@Landscape\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [700] y: [0]\n    Clone at x: [560] y: [-38]\n    Clone at x: [575] y: [0]\n    Clone at x: [600] y: [0]\n    Clone at x: [635] y: [0]\n    Clone at x: [1000] y: [0]\n    Clone at x: [800] y: [300]\n    Clone at x: [500] y: [-50]\n    Clone at x: [500] y: [-50]\n    Clone at x: [650] y: [-200]\n    Clone at x: [700] y: [0]\nend\n\ndefine Position (x) (y)\nset size to (100) %\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\n@You-Win\n\nwhen I receive [you win v]\ngo to [front v] layer\nshow\nrepeat (5)\n    wait (0.01) seconds\n    change x by (10)\n    wait (0.01) seconds\n    change x by (-10)\n    wait (0.01) seconds\n    change y by (10)\n    wait (0.01) seconds\n    change y by (-10)\nend\nwait (1) seconds\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nhide\n\nforever\nend\n\n@lava smoke\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo to x: (230) y: (pick random (-200) to (200))\npoint in direction (pick random (-105) to (-75))\nset [ghost v] effect to (100)\nrepeat (4)\n    change [ghost v] effect by (-10)\nend\nrepeat until <(x position) < [-230]>\n    move (10) steps\nend\nrepeat (4)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [begin v]\nforever\n    create clone of (_myself_ v)\n    wait (.001) seconds\nend\n\n@Love Fave Follow\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    show\n    go to x: (-104) y: (-200)\n    wait (1) seconds\n    glide (1) secs to x: (-51) y: (-125)\n    wait (0.3) seconds\n    go to [front v] layer\n    glide (0.5) secs to x: (-20) y: (-125)\n    wait (0.3) seconds\n    glide (1) secs to x: (35) y: (-125)\n    wait (2) seconds\n    hide\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    go to x: (0) y: (-123)\n    set size to (0) %\n    repeat until <(size) > [100]>\n        change size by (((50) + (size)) / (25))\n    end\n    wait (2.5) seconds\n    hide\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    hide\n    wait (2.5) seconds\n    show\n    go to x: (0) y: (-123)\n    wait (4.1) seconds\n    hide\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    hide\n    wait (3.3) seconds\n    show\n    go to x: (0) y: (-123)\n    wait (3.3) seconds\n    hide\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [5]> then\n    hide\n    wait (4.6) seconds\n    show\n    go to x: (0) y: (-123)\n    wait (2) seconds\n    hide\nend\n\nwhen flag clicked\nforever\n    wait (15) seconds\n    broadcast (love fave follow v)\nend\n\nwhen I receive [love fave follow v]\nswitch costume to (love fave follow!!! v)\ncreate clone of (_myself_ v)\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nswitch costume to (love fave follow!!!2 v)\ncreate clone of (_myself_ v)\nswitch costume to (love fave follow!!!3 v)\ncreate clone of (_myself_ v)\nswitch costume to (love fave follow!!!4 v)\ncreate clone of (_myself_ v)\nhide\n\n