Underwater Adventure! (A scrolling platformer)

Instructions: ★★★★★ ᴜɴᴅᴇʀᴡᴀᴛᴇʀ ᴀᴅᴠᴇɴᴛᴜʀᴇ! ★★★★★\n★★★★★ꜰᴏʟʟᴏᴡ  @Game_M-A-K-E-R  ꜰᴏʀ ᴍᴏʀᴇ! ★★★★★\nWARNING: ᴅᴏᴜʙʟᴇ ᴄʟɪᴄᴋ ᴛʜᴇ ꜰʟᴀɢ\n\nɪꜰ ʏᴏᴜ ʟɪᴋᴇ ᴛʜɪꜱ ɢᴀᴍᴇ, ᴘʟᴇᴀꜱᴇ ❤️ ᴀɴᴅ ⭐!\n\nʜᴇʟʟᴏ! ᴛʜɪꜱ ɪꜱ ᴀ ꜱᴄʀᴏʟʟɪɴɢ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ ᴛᴏ ᴄᴇʟᴇʙʀᴀᴛᴇ 200 ꜰᴏʟʟᴏᴡᴇʀꜱ!!!\nꜱ ᴛᴏ ꜱᴋɪᴘ ᴛʜᴇ ɪɴᴛʀᴏ\nᴍᴏᴠᴇ ᴀʀᴏᴜɴᴅ ᴛʜᴇ ᴏᴄᴇᴀɴ ᴀɴᴅ ᴛʀʏ ᴛᴏ ꜰɪɴᴅ ᴛʜᴇ ᴀɴᴄɪᴇɴᴛ ʀᴜɪɴꜱ ᴏꜰ ᴀ ꜱʜɪᴘ!\n✦ ᴀʀʀᴏᴡ ᴋᴇʏꜱ ᴛᴏ ᴍᴏᴠᴇ\n✦ ᴄᴏɴᴛʀᴏʟ ᴛʜᴇ ᴅɪᴠᴇʀ\n✦ ᴊᴜᴍᴘ ᴏɴ ᴘʟᴀᴛꜰᴏʀᴍꜱ\n✦ ᴀᴠᴏɪᴅ ꜱᴇᴀ ᴄʀᴇᴀᴛᴜʀᴇꜱ ᴀɴᴅ ꜰᴀʟʟɪɴɢ ᴏꜰꜰ ᴘʟᴀᴛꜰᴏʀᴍꜱ\n✦ ᴛʀʏ ᴛᴏ ᴍᴀᴋᴇ ɪᴛ ᴛᴏ ᴛʜᴇ ᴇɴᴅ ᴏꜰ ᴛʜᴇ ᴏᴄᴇᴀɴ ᴡɪᴛʜᴏᴜᴛ ɢᴇᴛᴛɪɴɢ ᴄᴀᴜɢʜᴛ ʙʏ ᴀɴɪᴍᴀʟꜱ ᴏʀ ꜰᴀʟʟɪɴɢ ɪɴᴛᴏ ᴘɪᴛꜱ!!\n✦ ᴡʜᴇɴ ʏᴏᴜ ʀᴇᴀᴄʜ ᴛʜᴇ! ᴊᴜᴍᴘ ᴏꜰꜰ ᴛʜᴇ ᴇᴅɢᴇ ᴏꜰ ᴛʜᴇ ᴘʟᴀᴛꜰᴏʀᴍ ᴛᴏ ɢᴏ ᴛᴏ ᴛʜᴇ ɴᴇxᴛ ʟᴇᴠᴇʟ\n✦ ᴘʟᴇᴀꜱᴇ ʟᴏᴠᴇ ᴀɴᴅ ꜰᴀᴠᴏʀɪᴛᴇ ɪꜰ ʏᴏᴜ ʟɪᴋᴇᴅ ɪᴛ ᴀꜱ ɪᴛ ᴛᴏᴏᴋ ᴀ ʟᴏɴɢ ᴛɪᴍᴇ ᴛᴏ ᴍᴀᴋᴇ!\n✦ ꜰᴏʟʟᴏᴡ ᴍᴇ, @oldhobo101 ꜰᴏʀ ᴍᴏʀᴇ...\n\nᴀ #Game ʙʏ @Game_M-A-K-E-R\n\n#scrolling #platformers \n#Game_M-A-K-E-R#underwater #adventure #games #ocean #seacreature

@Stage\n\ndefine Turbo mode detector\nreset timer\nrepeat (5)\n    clear graphic effects\nend\nif <(timer) > [0.1]> then\n    set [turbo mode on or off? v] to [off]\nelse\n    set [turbo mode on or off? v] to [on]\nend\n\nwhen flag clicked\nforever\n    Turbo mode detector\nend\n\nwhen flag clicked\nhide variable [☁ least amount of fails v]\nhide variable [fails v]\n\nwhen I receive [done the intro v]\nshow variable [fails v]\nshow variable [☁ least amount of fails v]\n\n@Scrolling background\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (100)\nhide\n\nwhen I receive [done the intro v]\nswitch costume to (download \(17\) v)\nshow\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        change x by (4)\n    end\n    if <key (left arrow v) pressed?> then\n        change x by (-4)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [228]> then\n        set x to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) < [-63]> then\n        set x to (0)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen I receive [restart v]\n\nwhen flag clicked\nset [brightness v] effect to (0)\n\nwhen I receive [next level v]\nchange [brightness v] effect by (3)\n\nwhen I receive [done the intro v]\nset [brightness v] effect to (0)\n\n@Platform\n\nwhen flag clicked\nset [fails v] to [0]\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(y position) > [110]> then\n        broadcast (erererer v)\n    end\nend\n\nwhen I receive [done the intro v]\ngo to x: (350) y: (-90)\n\nwhen I receive [done the intro v]\nshow\nswitch costume to (costume1 v)\nset size to (563) %\nset [yo v] to [0]\nset [boss v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>>> then\n        set [shadow v] to [-3]\n        change [boss v] by (-1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        set [shadow v] to [3]\n        change [boss v] by (1)\n    end\n    set [boss v] to ((boss) * (0.9))\n    change x by (boss)\n    if <touching (guy v)?> then\n        change y by (-1)\n        if <touching (guy v)?> then\n            change y by (-1)\n            if <touching (guy v)?> then\n                change y by (-1)\n                if <touching (guy v)?> then\n                    change y by (-1)\n                    if <touching (guy v)?> then\n                        change y by (1)\n                        if <touching (guy v)?> then\n                            change x by ((boss) * (-1))\n                            change y by (5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                if <(boss) > [0]> then\n                                    set [boss v] to [5]\n                                else\n                                    set [boss v] to [-5]\n                                end\n                                set [yo v] to [-10]\n                            else\n                                set [boss v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yo v] by (1)\n    change y by (yo)\n    if <touching (guy v)?> then\n        change y by ((yo) * (-1))\n        set [yo v] to [0]\n    end\n    change y by (1)\n    if <touching (guy v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n            set [yo v] to [-15]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [restart v]\nchange [fails v] by (1)\ngo to x: (350) y: (-90)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (highscore v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [erererer v]\nbroadcast (Restart v)\n\nwhen I receive [next level v]\ngo to x: (350) y: (-90)\nnext costume\n\nwhen flag clicked\nforever\n    if <(x position) < [-390]> then\n        if <not <(costume [number v]) = [11]>> then\n            broadcast (next level v)\n        end\n    end\nend\n\n@Guy\n\nwhen [left arrow v] key pressed\npoint in direction (-90)\n\nwhen [right arrow v] key pressed\npoint in direction (90)\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [done the intro v]\nshow\n\nwhen flag clicked\ngo to x: (999) y: (999)\nhide\n\nwhen I receive [done the intro v]\ngo to x: (0) y: (0)\n\nwhen I receive [done the intro v]\nset [fails v] to [0]\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen flag clicked\nforever\n    play sound [music v] until done\nend\n\n@Bubble4\n\nwhen flag clicked\ngo to (random position v)\nset y to (-169)\nhide\n\nwhen I receive [done the intro v]\nforever\n    hide\n    set size to (pick random (10) to (25)) %\n    wait (pick random (3) to (7)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change y by (1)\n    end\n    go to (random position v)\n    set y to (-169)\nend\n\nwhen I receive [done the intro v]\nforever\n    turn right (3) degrees\nend\n\n@Bubble2\n\nwhen flag clicked\ngo to (random position v)\nset y to (-169)\nhide\n\ngo to x: (-62) y: (-169)\n\nwhen I receive [done the intro v]\nforever\n    set size to (pick random (10) to (25)) %\n    hide\n    wait (pick random (3) to (7)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change y by (1)\n    end\n    go to (random position v)\n    set y to (-169)\nend\n\nwhen I receive [done the intro v]\nforever\n    turn right (3) degrees\nend\n\n@Bubble3\n\nwhen flag clicked\ngo to (random position v)\nset y to (-169)\nhide\n\ngo to x: (-62) y: (-169)\n\nwhen I receive [done the intro v]\nforever\n    hide\n    set size to (pick random (10) to (25)) %\n    wait (pick random (3) to (7)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change y by (1)\n    end\n    go to (random position v)\n    set y to (-169)\nend\n\nwhen I receive [done the intro v]\nforever\n    turn right (3) degrees\nend\n\n@Bubble5\n\nwhen flag clicked\ngo to (random position v)\nset y to (-169)\nhide\n\ngo to x: (-62) y: (-169)\n\nwhen I receive [done the intro v]\nforever\n    hide\n    set size to (pick random (10) to (25)) %\n    wait (pick random (3) to (7)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change y by (1)\n    end\n    go to (random position v)\n    set y to (-169)\nend\n\nwhen I receive [done the intro v]\nforever\n    turn right (3) degrees\nend\n\n@Bubble6\n\nwhen flag clicked\ngo to (random position v)\nset y to (-169)\nhide\n\ngo to x: (-62) y: (-169)\n\nwhen I receive [done the intro v]\nforever\n    hide\n    wait (pick random (3) to (7)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change y by (1)\n    end\n    go to (random position v)\n    set y to (-169)\nend\n\nwhen I receive [done the intro v]\nforever\n    turn right (3) degrees\nend\n\nset size to (pick random (10) to (25)) %\n\n@Shark\n\nwhen flag clicked\ngo to (random position v)\nset x to (-170)\nset y to (pick random (-90) to (-100))\n\nwhen I receive [done the intro v]\nforever\n    hide\n    wait (pick random (5) to (10)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change x by (3)\n        change y by (pick random (-2) to (2))\n    end\n    hide\n    set x to (-170)\n    set y to (pick random (-90) to (-100))\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.06) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        repeat (20)\n            change y by (-2)\n        end\n        repeat (20)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (guy v)?> then\n        broadcast (erererer v)\n        hide\n        wait (1) seconds\n    end\nend\n\n@Shark2\n\nwhen flag clicked\ngo to (random position v)\nset x to (170)\nset y to (pick random (-90) to (-100))\n\nwhen I receive [done the intro v]\nforever\n    hide\n    wait (pick random (10) to (20)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change x by (-3)\n        change y by (pick random (-2) to (2))\n    end\n    hide\n    set x to (170)\n    set y to (pick random (-90) to (-100))\nend\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        repeat (20)\n            change y by (-2)\n        end\n        repeat (20)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        move (2) steps\n    end\n    if <key (left arrow v) pressed?> then\n        move (-2) steps\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (guy v)?> then\n        broadcast (erererer v)\n        hide\n        wait (1) seconds\n    end\nend\n\n@stingray\n\nwhen flag clicked\ngo to (random position v)\nset x to (160)\nset y to (pick random (140) to (70))\n\nwhen I receive [done the intro v]\nforever\n    hide\n    wait (pick random (5) to (10)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        move (-3) steps\n        change y by (pick random (-2) to (2))\n    end\n    hide\n    set x to (160)\n    set y to (pick random (140) to (70))\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (guy v)?> then\n        broadcast (erererer v)\n        hide\n        wait (1) seconds\n    end\nend\n\n@MAin diver\n\nwhen flag clicked\nhide\n\nwhen I receive [done the intro v]\nshow\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.2) seconds\nend\n\nwhen flag clicked\nforever\n    go to (guy v)\nend\n\nwhen [right arrow v] key pressed\npoint in direction (90)\n\nwhen [left arrow v] key pressed\npoint in direction (-90)\n\nwhen flag clicked\nforever\n    if <<mouse down?> and <(mouse x) > [0]>> then\n        point in direction (90)\n    end\n    if <<mouse down?> and <(mouse x) < [0]>> then\n        point in direction (-90)\n    end\nend\n\nwhen [a v] key pressed\npoint in direction (-90)\n\nwhen [d v] key pressed\npoint in direction (90)\n\nwhen I receive [done the intro v]\nforever\n    if <(Turbo mode on or off?) = [on]> then\n        say [Please turn off turbo mode] for (4) seconds\n        stop [all v]\n    end\nend\n\n@Play button\n\nwhen flag clicked\nforever\n    if <(intro?) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(intro?) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (((130) - (size)) / (5))\n        end\n    else\n        repeat (10)\n            change size by (((110) - (size)) / (5))\n        end\n    end\nend\n\nwhen I receive [done the intro v]\nhide\nrepeat until <(size) = [110]>\n    change size by (-3)\nend\n\nwhen this sprite clicked\nbroadcast (done the intro v)\n\nwhen flag clicked\nset size to (110) %\npoint in direction (90)\ngo to x: (666) y: (10)\nhide\n\nwhen I receive [almost doe the intro v]\nshow\nchange size by (-3)\nchange [ghost v] effect by (7)\n\nwhen I receive [almost doe the intro v]\nrepeat (50)\n    change x by (((0) - (x position)) / (7))\nend\n\nwhen flag clicked\nwait until <(x position) = [-7]>\ncreate clone of (_myself_ v)\n\n@Name of game\n\nwhen flag clicked\nforever\n    if <(intro?) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(intro?) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [done the intro v]\nhide\n\nwhen I start as a clone\nrepeat (22)\n    change size by (-3)\n    change [ghost v] effect by (7)\nend\ndelete this clone\n\nwhen flag clicked\nset size to (90) %\npoint in direction (90)\ngo to x: (666) y: (122)\nhide\n\nwhen I receive [almost doe the intro v]\nshow\n\nwhen I receive [almost doe the intro v]\nrepeat (50)\n    change x by (((0) - (x position)) / (7))\nend\n\nwhen flag clicked\nwait until <(x position) = [-13]>\ncreate clone of (_myself_ v)\n\nwhen I receive [almost doe the intro v]\nswitch backdrop to (backdrop1 v)\n\n@200 followers\n\nwhen flag clicked\npoint in direction (90)\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [111 v]\nif <not <(intro?) = [1]>> then\n    show\n    repeat (33)\n        change [ghost v] effect by (-3)\n    end\n    repeat (72)\n        turn right (5) degrees\n    end\n    repeat (33)\n        change [ghost v] effect by (3)\n    end\n    broadcast (Almost doe the intro v)\nend\n\nwhen flag clicked\nforever\n    if <(intro?) = [1]> then\n        hide\n    end\nend\n\n@restart button\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [restart v]\nrepeat (33)\n    change [ghost v] effect by (-3)\nend\nrepeat (33)\n    change [ghost v] effect by (3)\nend\n\n@Highscore\n\nwhen I receive [highscore v]\nif <(Fails) < (☁ Least amount of fails)> then\n    if <not <(username) = [oldhobo101]>> then\n        set [☁ least amount of fails v] to (Fails)\n    end\nend\n\n@intro\n\nwhen I receive [896504855043 v]\nrepeat (50)\n    change [pixelate v] effect by (2)\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\n\nwhen flag clicked\nset [intro? v] to [0]\n\nwhen I receive [start intro v]\nif <not <(intro?) = [1]>> then\n    point in direction (95)\n    set [ghost v] effect to (0)\n    go to x: (-330) y: (-25)\n    show\n    repeat (72)\n        turn right (5) degrees\n    end\nend\n\nwhen I receive [start intro v]\nif <not <(intro?) = [1]>> then\n    glide (1) secs to x: (-3) y: (-11)\n    repeat until <(direction) = [95]>\n        turn right (5) degrees\n    end\n    wait (0.5) seconds\n    broadcast (896504855043 v)\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    broadcast (111 v)\nend\n\nwhen I receive [start intro v]\nforever\n    if <key (s v) pressed?> then\n        broadcast (done the intro v)\n        set [intro? v] to [1]\n    end\nend\n\nwhen I receive [start intro v]\nrepeat (33)\n    change [ghost v] effect by (-3)\nend\n\nwhen I receive [start intro v]\nrepeat (33)\n    change [pixelate v] effect by (-3)\nend\n\nwhen I receive [start intro v]\nforever\n    if <(intro?) = [1]> then\n        hide\n    end\nend\n\n@jellyfish\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen flag clicked\ngo to x: (75) y: (140)\nhide\n\nwhen I receive [done the intro v]\nforever\n    go to x: (75) y: (140)\n    hide\n    wait (pick random (7) to (14)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (guy v)?> then\n        broadcast (touched jellyfish v)\n        broadcast (erererer v)\n        hide\n        wait (1) seconds\n    end\nend\n\nwhen I receive [done the intro v]\nforever\n    if <key (right arrow v) pressed?> then\n        change x by (-0.5)\n    end\n    if <key (left arrow v) pressed?> then\n        change x by (0.5)\n    end\nend\n\n@tutle\n\nwhen flag clicked\ngo to (random position v)\nset x to (-170)\nset y to (100)\n\nwhen I receive [done the intro v]\nforever\n    hide\n    wait (pick random (10) to (15)) seconds\n    show\n    repeat until <touching (_edge_ v)?>\n        change x by (2)\n    end\n    hide\n    set x to (-170)\n    set y to (100)\nend\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (31cb8e51291793 v)\nhide\n\nwhen I receive [done the intro v]\nforever\n    repeat (22)\n        next costume\n        wait (0.035) seconds\n    end\n    repeat (6)\n        turn right (1) degrees\n        next costume\n        wait (0.035) seconds\n    end\n    point in direction (90)\nend\n\n@Electricute\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go [forward v] (2) layers\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [touched jellyfish v]\nshow\nwait (0.5) seconds\nhide\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (-6) y: (15)\nshow\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (Start intro v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n