Bossfights - An Adventurous Platformer v4.4 #all #art #games #music #platformer #bossfights
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [green flag v]\nswitch backdrop to (xy-grid-30px v)\n\n@Laggy\n\n@Player\n\ndefine Game - Win\nrepeat (1)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-2.5)\n    change [ghost v] effect by (2)\nend\nhide\nstop all sounds\nwait (1) seconds\nbroadcast (Green Flag v)\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)?> or <touching (text v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (text v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (text v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (text v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (text 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)?> or <touching (text 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)?> or <touching (text 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]\nchange [deaths v] by (0.1)\ngo to x: (-180) y: (-50)\nset [ghost v] effect to (0)\nwait (0.1) seconds\n\nwhen I start as a clone\nrepeat (10)\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 I receive [game - win v]\nGame - Win\n\nwhen I receive [over v]\nhide\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <key (z v) pressed?> then\n        change volume by (1)\n    end\n    if <key (x v) pressed?> then\n        change volume by (-1)\n    end\n    if <key (m v) pressed?> then\n        if <(volume) > [0]> then\n            set [save_volume v] to (volume)\n            set volume to (0) %\n        else\n            set volume to (save_volume) %\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <((SKIN NUMBER) + (1)) = (costume [number v])> then\n        set [xvel v] to [0]\n        wait until <not <((SKIN NUMBER) + (1)) = (costume [number v])>>\n    end\nend\n\nwhen I receive [start v]\nset [xvel v] to [0]\nset [yvel v] to [0]\nset [level v] to [1]\nset [deaths v] to [0]\nset [stop text v] to [0]\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 ((SKIN NUMBER) + (1))\n        else\n            switch costume to (SKIN NUMBER)\n        end\n    else\n        switch costume to (SKIN NUMBER)\n    end\nend\n\nwhen I receive [start 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 [start v]\nforever\n    if <<(Level) < [6]> and <[220] < (x position)>> then\n        play sound [Ding Sound Effect v] until done\n    end\nend\n\nwhen I receive [start 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    if <not <touching (exit v)?>> then\n        set size to (125) %\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <not <(Level) = [6]>> then\n        if <<<(y position) < [-170]> or <touching (spikes v)?>> or <<touching (lava v)?> or <touching (saw v)?>>> then\n            play sound [Roblox Death Sound  OOF Sound Effect v] until done\n        end\n    end\nend\n\nwhen I receive [start v]\nrepeat until <(Level) = [6]>\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 [start v]\nset [color v] effect to (0)\nswitch costume to (SKIN NUMBER)\npoint in direction (90)\nclear graphic effects\nset [color v] effect to (Color Effect)\nshow\nforever\n    if <not <touching (exit v)?>> then\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <not <touching (exit v)?>> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen flag clicked\nbroadcast (Home Screen v)\n\nwhen I start as a clone\nif <[220] < (x position)> then\n    delete this clone\nend\n\nwhen I receive [home screen v]\nhide\n\n@Text\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [start v]\nswitch costume to (costume2 v)\nshow\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [home screen v]\nhide\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        if <(Level) = [4]> then\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\nwhen I receive [over v]\nhide\ndelete this clone\n\nwhen I receive [start 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 [start 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@Water\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [over v]\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 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 [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (9) layers\nshow\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\n@Bouncy\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    if <touching (player v)?> then\n        switch costume to (costume1 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 I receive [over v]\nhide\ndelete this clone\n\nwhen I receive [start 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 [start v]\nhide\nforever\n    go to [front v] layer\n    go [backward v] (8) layers\nend\n\n@Lava\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [over v]\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 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\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (9) layers\nshow\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\n@Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [over v]\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\nforever\n    go to [front v] layer\n    go [backward v] (10) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [home screen v]\nhide\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [over v]\nhide\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\nforever\n    go to [front v] layer\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 [button detector v]\nhide\n\n@Tb\n\nwhen [timer v] > (Timer)\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\n\nwhen I receive [start v]\nhide variable [timer v]\nswitch costume to (costume1 v)\ngo to [front v] layer\nhide\nset [ghost v] effect to (100)\nforever\n    set [timer v] to (timer)\nend\n\nwhen I receive [home screen v]\nswitch costume to (costume2 v)\nshow\ngo to [front v] layer\n\nwhen I receive [button detector v]\nhide\n\n@Exit\n\nwhen I receive [over v]\nset [ghost v] effect to (100)\n\nwhen I receive [green flag v]\nset [ghost v] effect to (100)\n\nwhen I receive [start v]\nhide\ngo to [front v] layer\ngo [backward v] (8) layers\ngo to x: (134) y: (-56)\nforever\n    if <(Level) = [6]> then\n        show\n    end\n    if <touching (player v)?> then\n        broadcast (Generating New World v)\n        broadcast (Game - Win v)\n    end\nend\n\nwhen I receive [home screen v]\nhide\n\n@level text\n\nwhen I receive [play v]\ngo to x: () y: ()\nshow\nwait (0.5) seconds\nswitch costume to (level)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nwait (2) seconds\nrepeat (25)\n    change [ghost v] effect by (4)\nend\n\nwhen I receive [green flag v]\nset [level v] to [1]\nshow\nset [ghost v] effect to (100)\n\nwhen I receive [start v]\nhide\n\n@level up\n\nwhen I receive [boss_defeated! v]\nshow\nswitch costume to (level)\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nchange [level v] by (1)\nif <(level) = [6]> then\n    broadcast (Champion v)\n    stop [this script v]\nend\nwait until <<key (space v) pressed?> or <mouse down?>>\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nbroadcast (Play v)\nhide\n\nwhen I receive [green flag v]\nhide\nshow list [champions v]\n\n@eggs\n\nwhen I start as a clone\nshow\ngo to (bosses v)\nclear graphic effects\nset [my - yspeed v] to [0]\nswitch costume to (costume1 v)\nrepeat until <touching (ground v)?>\n    change y by (my - yspeed)\n    change [my - yspeed v] by (-0.5)\n    turn right (my - yspeed) degrees\n    change x by ((0) - ((my - yspeed) / (2)))\n    if <touching (player v)?> then\n        broadcast (Die v)\n    end\nend\npoint in direction (90)\nstart sound [thud v]\nswitch costume to (costume2 v)\nwait (0) seconds\nwait (0) seconds\ndelete this clone\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [play v]\nforever\n    if <key (z v) pressed?> then\n        change volume by (1)\n    end\n    if <key (x v) pressed?> then\n        change volume by (-1)\n    end\n    if <key (m v) pressed?> then\n        if <(volume) > [0]> then\n            set [save_volume v] to (volume)\n            set volume to (0) %\n        else\n            set volume to (save_volume) %\n        end\n    end\nend\n\n@bosses\n\nwhen I receive [play v]\nclear graphic effects\nhide\ngo to x: (200000) y: (200000)\nif <(level) = [1]> then\n    blobbus-blobbus - Level 1\nelse\n    if <(level) = [2]> then\n        trasher masher - level 2\n    else\n        if <(level) = [3]> then\n            blackness bird - level 3\n        else\n            if <(level) = [4]> then\n                wiggly worm - Level 4\n            else\n                level 5!!\n            end\n        end\n    end\nend\n\ndefine blobbus-blobbus - Level 1\nwait (3) seconds\nset [my-y v] to [0]\ngo to x: (180) y: (250)\nset size to (100) %\nset rotation style [left-right v]\npoint in direction (90)\nshow\nswitch costume to (blob v)\nrepeat until <touching color (#30bb50)?>\n    change y by (my-y)\n    change [my-y v] by (-1)\n    if <touching color (#68d381)?> then\n        change y by (1)\n        if <touching color (#68d381)?> then\n            change y by (1)\n            if <touching color (#68d381)?> then\n                change y by (1)\n                if <touching color (#68d381)?> then\n                    change y by (1)\n                    if <touching color (#68d381)?> then\n                        change y by (1)\n                        if <touching color (#68d381)?> then\n                            change y by (1)\n                            if <touching color (#68d381)?> then\n                                change y by (1)\n                                if <touching color (#68d381)?> then\n                                    change y by (1)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nstart sound [Boom v]\nwait (1) seconds\nrepeat (3)\n    set [squishi-x v] to [-300]\n    create clone of (squishies v)\n    wait (1) seconds\nend\nwait until <(enemies remaining) = [0]>\nwait (0.5) seconds\nrepeat (3)\n    set [squishi-x v] to [-300]\n    create clone of (squishies v)\n    wait (1) seconds\nend\nwait until <(enemies remaining) = [0]>\nwait (1) seconds\nglide (2) secs to x: (-180) y: (-44)\npoint in direction (-90)\nwait (1) seconds\nrepeat (2)\n    set [squishi-x v] to [-300]\n    create clone of (squishies v)\n    wait (0.5) seconds\n    set [squishi-x v] to [300]\n    create clone of (squishies v)\n    wait (2) seconds\nend\nwait until <(enemies remaining) = [0]>\nwait (1) seconds\nglide (2) secs to x: (0) y: (y position)\nwait (1) seconds\nboss - die\n\nwhen I receive [die v]\nstop [other scripts in sprite v]\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nclear graphic effects\n\nwhen I receive [play v]\nset [enemies remaining v] to [0]\n\ndefine boss - die\nstart sound [Teleport v]\nrepeat (40)\n    change size by (-2)\n    change [ghost v] effect by (2)\nend\nbroadcast (BOSS_DEFEATED! v)\nhide\nwait (0.3) seconds\nstart sound [Win v]\n\ndefine trasher masher - level 2\nwait (4) seconds\nswitch costume to (masher1 v)\nset [my-y v] to [0]\nshow\nset rotation style [left-right v]\npoint in direction (90)\nmash - then up\nmash - then up\nmash - then up\nwait (0.5) seconds\nset [squishi-x v] to [-300]\nrepeat (3)\n    create clone of (squishies v)\n    wait (0.5) seconds\nend\nwait until <(enemies remaining) = [0]>\nwait (0.5) seconds\nset [squishi-x v] to [300]\nrepeat (3)\n    create clone of (squishies v)\n    wait (0.5) seconds\nend\nwait until <(enemies remaining) = [0]>\nwait (0.5) seconds\nclear graphic effects\nshow\ngo to x: (0) y: (500)\nmash - then up\nmash - then up\nmash - then up\ngo to x: (0) y: (0)\nhide\nboss - die\n\ndefine mash - then up\ngo to x: ([x position v] of [player v]) y: (300)\nset size to (100) %\nclear graphic effects\nset [my-y v] to [0]\nrepeat until <touching (ground v)?>\n    switch costume to (masher2 v)\n    change [my-y v] by (-0.7)\n    change y by (my-y)\n    if <touching (ground v)?> then\n        change y by (() - ((my-y) / (2)))\n        set [my-y v] to [0]\n    end\nend\nstart sound [Boom v]\nwait (0.5) seconds\nrepeat (55)\n    switch costume to (masher1 v)\n    change y by (5)\nend\n\ndefine blackness bird - level 3\nset size to (100) %\nhide\nclear graphic effects\nwait (3) seconds\nshow\nswitch costume to (bird v)\nclear graphic effects\ngo to x: (150) y: (200)\nset rotation style [left-right v]\npoint towards (player v)\nrepeat (60)\n    change y by ((((125) + ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))) - (y position)) / (6))\nend\nstart sound [squawk v]\nrepeat (30)\n    change y by ((((125) + ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))) - (y position)) / (6))\nend\nstart sound [squawk v]\nrepeat (150)\n    change y by ((((-50) + ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))) - (y position)) / (18))\n    change x by ((([x position v] of [player v]) - (x position)) / (18))\n    point towards (player v)\nend\nstart sound [squawk v]\nrepeat (60)\n    change y by ((((125) + ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))) - (y position)) / (16))\n    change x by (((270) - (x position)) / (16))\n    change [ghost v] effect by (2)\n    point towards (player v)\nend\nhide\nclear graphic effects\nwait (1) seconds\nrepeat (2)\n    go to x: (250) y: (0)\n    point in direction (-90)\n    show\n    set [ghost v] effect to (100)\n    start sound [squawk v]\n    repeat (10)\n        change x by (-5)\n        set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n        change y by (50)\n        change [ghost v] effect by (-10)\n    end\n    repeat until <(x position) < [-150]>\n        repeat (10)\n            change x by (-5)\n            set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n            change y by (50)\n        end\n        create clone of (eggs v)\n    end\n    repeat (15)\n        change x by (-5)\n        set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n        change y by (50)\n    end\n    create clone of (eggs v)\n    repeat (10)\n        change [ghost v] effect by (10)\n        change x by (-5)\n        set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n        change y by (50)\n    end\nend\nboss - die\n\nwhen I receive [play v]\nif <(level) = [3]> then\n    forever\n        switch costume to (bird v)\n        wait (0.5) seconds\n        switch costume to (bird2 v)\n        wait (0.5) seconds\n    end\nend\n\nchange y by (my-y)\nif <touching (ground v)?> then\n\ndefine wiggly worm - Level 4\nswitch costume to (worm1 v)\nhide\nwait (4) seconds\ngo to x: (300) y: (-72)\npoint in direction (-90)\nset rotation style [left-right v]\nset size to (100) %\nshow\nglide (1) secs to x: (-300) y: (-72)\nwait (0.5) seconds\npoint in direction (90)\nglide (1) secs to x: (300) y: (-72)\nwait (0.1) seconds\ngo to x: (-300) y: (-72)\nglide (1) secs to x: (300) y: (-72)\nwait (0.5) seconds\npoint in direction (-90)\nset [squishi-x v] to [300]\ncreate clone of (squishies v)\nglide (1) secs to x: (-300) y: (-72)\nwait (0.5) seconds\nset [squishi-x v] to [-300]\ncreate clone of (squishies v)\npoint in direction (90)\nglide (1) secs to x: (300) y: (-72)\nwait (1) seconds\nswitch costume to (bird v)\ngo to x: (250) y: (0)\npoint in direction (-90)\nshow\nset [ghost v] effect to (100)\nstart sound [squawk v]\nrepeat (10)\n    change x by (-5)\n    set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n    change y by (50)\n    change [ghost v] effect by (-10)\nend\nrepeat until <(x position) < [-150]>\n    repeat (10)\n        change x by (-5)\n        set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n        change y by (50)\n    end\n    create clone of (eggs v)\nend\nrepeat (15)\n    change x by (-5)\n    set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n    change y by (50)\nend\ncreate clone of (eggs v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change x by (-5)\n    set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n    change y by (50)\nend\nwait (1.5) seconds\nswitch costume to (worm1 v)\nclear graphic effects\ngo to x: (300) y: (-72)\nset rotation style [left-right v]\nset size to (100) %\nshow\nset [squishi-x v] to [300]\npoint in direction (-90)\nglide (1) secs to x: (-300) y: (-72)\npoint in direction (90)\nglide (1) secs to x: (300) y: (-72)\ncreate clone of (squishies v)\npoint in direction (-90)\nglide (1) secs to x: (-300) y: (-72)\npoint in direction (90)\nglide (1) secs to x: (300) y: (-72)\ncreate clone of (squishies v)\npoint in direction (-90)\nglide (1) secs to x: (-300) y: (-72)\npoint in direction (90)\nglide (1) secs to x: (300) y: (-72)\nwait until <(enemies remaining) = [0]>\nboss - die\n\ndefine level 5!!\nswitch costume to (saw v)\ngo to [back v] layer\ngo to x: (-300) y: (-75)\nset size to (100) %\nclear graphic effects\npoint in direction (90)\nshow\nwait (3) seconds\nglide (1) secs to x: (300) y: (-75)\nglide (1) secs to x: (-300) y: (-75)\nglide (1) secs to x: (300) y: (-75)\nglide (1) secs to x: (-300) y: (-75)\nswitch costume to (masher1 v)\nmash - then up\nmash - then up\nswitch costume to (worm1 v)\ngo to x: (-300) y: (-72)\nglide (1) secs to x: (300) y: (-72)\npoint in direction (-90)\nglide (1) secs to x: (-300) y: (-72)\npoint in direction (90)\nset [squishi-x v] to [-300]\nrepeat (10)\n    create clone of (squishies v)\n    wait (.2) seconds\nend\nwait until <(enemies remaining) = [0]>\nset [squishi-x v] to [300]\nrepeat (10)\n    create clone of (squishies v)\n    wait (.2) seconds\nend\nwait until <(enemies remaining) = [0]>\nwait (0.5) seconds\nswitch costume to (saw v)\nset [squishi-x v] to [-300]\ngo to x: (-300) y: (-72)\npoint in direction (90)\nglide (1) secs to x: (300) y: (-72)\ncreate clone of (squishies v)\nglide (0) secs to x: (-300) y: (-72)\nglide (1) secs to x: (300) y: (-72)\nrepeat (5)\n    glide (1) secs to (player v)\nend\nglide (1) secs to x: (300) y: (-72)\nswitch costume to (bird v)\ngo to x: (250) y: (0)\npoint in direction (-90)\nshow\nset [ghost v] effect to (100)\nstart sound [squawk v]\nrepeat (10)\n    change x by (-5)\n    set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n    change y by (50)\n    change [ghost v] effect by (-10)\nend\nrepeat until <(x position) < [-150]>\n    repeat (10)\n        change x by (-5)\n        set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n        change y by (50)\n    end\n    create clone of (eggs v)\nend\nrepeat (10)\n    change x by (-5)\n    set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n    change y by (50)\nend\ncreate clone of (eggs v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change x by (-5)\n    set y to ((5) * ([sin v] of (((timer) + (timer)) * (100)) ))\n    change y by (50)\nend\nboss - die\n\nwhen I receive [green flag v]\nshow\n\nwhen I receive [play v]\nforever\n    if <key (z v) pressed?> then\n        change volume by (1)\n    end\n    if <key (x v) pressed?> then\n        change volume by (-1)\n    end\n    if <key (m v) pressed?> then\n        if <(volume) > [0]> then\n            set [save_volume v] to (volume)\n            set volume to (0) %\n        else\n            set volume to (save_volume) %\n        end\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@player\n\nwhen I receive [play v]\ngo to x: (-150) y: (0)\nset [ghost v] effect to (100)\nshow\nset [px v] to [0]\nset [py v] to [0]\nset [stop text v] to [1]\nforever\n    change [ghost v] effect by (-10)\n    if <touching (bosses v)?> then\n        broadcast (Die v)\n    end\n    if <touching color (#cecece)?> then\n        broadcast (Die v)\n    end\n    if <touching color (#adadad)?> then\n        broadcast (Die v)\n    end\n    set rotation style [left-right v]\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        change [px v] by (-2)\n        point in direction (-90)\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        change [px v] by (2)\n        point in direction (90)\n    end\n    change [py v] by (-2)\n    set [px v] to ((px) * (0.84))\n    switch costume to (hitbox v)\n    change x by (px) <(px) > [0]>\n    change y by (py) <(py) > [0]>\n    if <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>>> then\n        switch costume to (crouch v)\n    else\n        switch costume to (stand v)\n    end\nend\n\ndefine change x by (sx) <forward>\nchange x by (sx)\nif <touching (ground v)?> then\n    repeat (8)\n        change y by (1)\n        if <not <touching (ground v)?>> then\n            stop [this script v]\n        end\n    end\n    change y by (-8)\n    set [px v] to [0]\n    repeat until <not <touching (ground v)?>>\n        if <(sx) > [0]> then\n            change x by (-1)\n        else\n            change x by (1)\n        end\n    end\nend\n\ndefine change y by (sy) <up >\nchange y by (sy)\nrepeat until <not <touching (ground v)?>>\n    set [py v] to [0]\n    if <up > then\n        change y by (-1)\n    else\n        change y by (1)\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            set [py v] to [24]\n        end\n    end\nend\n\ndefine die\nrepeat (3)\n    wait (0.1) seconds\n    hide\n    wait (0.1) seconds\n    show\nend\ngo to x: (0) y: (0)\nset [py v] to [0]\nset [px v] to [0]\n\nwhen I receive [die v]\nstart sound [squishy v]\nchange [deaths v] by (1)\nstop [other scripts in sprite v]\nhide\nwait (3) seconds\nbroadcast (Play v)\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [boss_defeated! v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [green flag v]\nhide\ngo to x: (0) y: (0)\nbroadcast (Play v)\n\nwhen I receive [play v]\nforever\n    if <key (z v) pressed?> then\n        change volume by (1)\n    end\n    if <key (x v) pressed?> then\n        change volume by (-1)\n    end\n    if <key (m v) pressed?> then\n        if <(volume) > [0]> then\n            set [save_volume v] to (volume)\n            set volume to (0) %\n        else\n            set volume to (save_volume) %\n        end\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@squishies\n\nwhen I start as a clone\nclear graphic effects\nshow\nchange [enemies remaining v] by (1)\ngo to x: (squishi-x) y: ()\npoint towards (player v)\nset rotation style [left-right v]\nset [my - sy v] to [0]\nforever\n    change [my - sy v] by (-1)\n    next costume\n    if <(costume [number v]) = [9]> then\n        switch costume to (costume1 v)\n    end\n    change y by (my - sy)\n    if <touching color (#68d381)?> then\n        change y by (() - (my - sy))\n        set [my - sy v] to [0]\n    end\n    if <(direction) > [0]> then\n        change x by (5)\n        if <(x position) > [230]> then\n            turn right (180) degrees\n        end\n    else\n        change x by (-5)\n        if <[-230] > (x position)> then\n            turn right (180) degrees\n        end\n    end\n    if <touching (player v)?> then\n        if <([y position v] of [player v]) > ((y position) + (10))> then\n            delete all of [blob squish v]\n            insert (x position) at (1) of [blob squish v] \n            insert (y position) at (2) of [blob squish v] \n            broadcast (blob squish v)\n            set [py v] to [13]\n            if <key (up arrow v) pressed?> then\n                set [py v] to [26]\n            end\n            change [enemies remaining v] by (-1)\n            switch costume to (costume9 v)\n            start sound [squish v]\n            wait (0.05) seconds\n            delete this clone\n        else\n            broadcast (Die v)\n        end\n    end\nend\n\nwhen I receive [die v]\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nclear graphic effects\ndelete this clone\n\nwhen I receive [play v]\nforever\n    if <key (z v) pressed?> then\n        change volume by (1)\n    end\n    if <key (x v) pressed?> then\n        change volume by (-1)\n    end\n    if <key (m v) pressed?> then\n        if <(volume) > [0]> then\n            set [save_volume v] to (volume)\n            set volume to (0) %\n        else\n            set volume to (save_volume) %\n        end\n    end\nend\n\n@ground\n\nwhen I receive [green flag v]\nshow\n\nwhen I receive [start v]\nhide\n\n@particles\n\nwhen I receive [die v]\nif <(clone?) = [0]> then\n    player - die\nend\n\nwhen I start as a clone\nset [clone? v] to [1]\nshow\nclear graphic effects\nrepeat (pick random (60) to (80))\n    change x by (my-x)\n    set [my-x v] to ((my-x) * (0.95))\n    change [particles: my-y v] by (-0.8)\n    change y by (particles: my-y)\n    if <touching color (#68d381)?> then\n        change y by (() - (particles: my-y))\n        set [particles: my-y v] to [0]\n    end\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\ndefine player - die\ngo to (player v)\nrepeat (50)\n    set [my-x v] to (pick random (-10) to (10))\n    set [particles: my-y v] to (pick random (4) to (16))\n    switch costume to (pick random (1) to (3))\n    create clone of (_myself_ v)\nend\n\nwhen I receive [blob squish v]\nif <(clone?) = [0]> then\n    blob - squish\nend\n\ndefine blob - squish\ngo to x: (item (1) of [blob squish v]) y: (item (2) of [blob squish v])\nrepeat (5)\n    set [my-x v] to (pick random (-10) to (10))\n    set [particles: my-y v] to (pick random (4) to (16))\n    switch costume to (pick random (4) to (5))\n    create clone of (_myself_ v)\nend\n\nwhen I receive [boss_defeated! v]\nif <(clone?) = [0]> then\n    boss-dead\n    wait (0.5) seconds\n    boss-dead\n    wait (0.5) seconds\n    boss-dead\nend\n\ndefine boss-dead\ngo to x: (0) y: (0)\nrepeat (50)\n    set [my-x v] to (pick random (-13) to (13))\n    set [particles: my-y v] to (pick random (4) to (20))\n    switch costume to (pick random (6) to (7))\n    set [color v] effect to (pick random (1) to (200))\n    create clone of (_myself_ v)\nend\n\nwhen I receive [green flag v]\ndelete all of [blob squish v]\n\nwhen I receive [green flag v]\nset [clone? v] to [0]\nhide\n\n@Letters\n\ndefine Render Sentence (text) (size) (color) (x pos) (y pos)\nset [sentence v] to (text)\nset [font size v] to (size)\nset [current letter v] to [1]\nhide\nset [color v] effect to (color)\ngo to x: (x pos) y: (y pos)\nset size to (Font Size) %\nrepeat (length of (Sentence))\n    switch costume to (letter (Current Letter) of (Sentence))\n    if <touching (_edge_ v)?> then\n        set x to (X Pos)\n        change y by ((Font Size) / (-4))\n    end\n    stamp\n    change [current letter v] by (1)\n    change x by ((Font Size) / (6))\nend\n\nwhen I receive [play v]\ngo to [front v] layer\nforever\n    repeat until <(level) = [6]>\n        Render Sentence (level) [120] [35] [0] [160]\n    end\nend\n\nwhen I receive [start v]\nerase all\nforever\n    erase all\nend\n\nwhen I receive [start v]\ngo to [front v] layer\nforever\n    repeat until <(Level) = [6]>\n        Render Sentence (Level) [120] [90] [0] [160]\n    end\nend\n\nwhen I receive [start v]\ngo to [front v] layer\nforever\n    repeat until <(level) = [6]>\n        Render Sentence (timer) [120] [56] [-200] [160]\n    end\nend\n\nwhen I receive [start v]\nrepeat until <(Level) = [2]>\n    Render Sentence (join [Hi, ] (username)) [100] (pick random (1) to (200)) [-210] [140]\nend\n\n@Game End\n\nwhen I receive [high score v]\ngo to [front v] layer\nswitch costume to (high score v)\nshow\nshow variable [☁ high score v]\nshow variable [timer v]\n\nwhen I receive [champion v]\ngo to [front v] layer\nswitch costume to (champion v)\nshow\nshow variable [☁ high score v]\nshow variable [timer v]\n\nwhen I receive [start v]\nhide variable [☁ high score v]\nhide variable [timer v]\nhide\nset size to (100) %\ngo to x: (0) y: (0)\n\n@Play Button\n\nwhen this sprite clicked\nbroadcast (Start v)\nhide\n\nwhen I receive [skin select v]\nhide\n\nwhen I receive [home screen v]\ngo to x: (-5) y: (15)\ngo to [front v] layer\nswitch costume to (edit - play v)\nset size to (100) %\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set size to (130) %\n        switch costume to (edit - play2 v)\n    else\n        set size to (100) %\n        switch costume to (edit - play v)\n    end\nend\n\nwhen I receive [button detector v]\nhide\n\n@Skin Selector\n\nwhen this sprite clicked\nbroadcast (Skin Select v)\nhide\n\nwhen I receive [home screen v]\nhide variable [color effect v]\ngo to x: (-5) y: (-50)\ngo to [front v] layer\nswitch costume to (edit - play v)\nset size to (100) %\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set size to (130) %\n        switch costume to (edit - play2 v)\n    else\n        set size to (100) %\n        switch costume to (edit - play v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen I receive [button detector v]\nhide\n\n@Skin Selection\n\nwhen I receive [skin select v]\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow variable [color effect v]\nshow\nforever\n    go to [front v] layer\n    set [color v] effect to (Color Effect)\nend\n\nwhen I receive [home screen v]\nhide\n\nwhen flag clicked\nset [color effect v] to [0]\nset [skin number v] to [1]\nset [color v] effect to (0)\n\nwhen I receive [next costume v]\nif <(costume [number v]) < [45]> then\n    change [skin number v] by (2)\nelse\n    set [skin number v] to [1]\nend\nnext costume\n\nwhen I receive [previous costume v]\nif <(costume [number v]) > [1]> then\n    switch costume to ((costume [number v]) - (1))\n    change [skin number v] by (-2)\nelse\n    switch costume to (costume14 v)\n    set [skin number v] to [89]\nend\n\n@Back Arrow\n\nwhen I receive [home screen v]\nhide\n\nwhen I receive [skin select v]\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (25)\n    else\n        clear graphic effects\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Home Screen v)\n\nwhen I receive [button detector v]\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (25)\n    else\n        clear graphic effects\n    end\nend\n\n@Accounts Manager\n\ndefine Check for Account\nif <[accounts v] contains (username)?> then\n    replace item (item # of (username) in [accounts v]) of [accounts credit points v] with ((item (item # of (username) in [accounts v]) of [accounts credit points v]) + (1))\nelse\n    add (username) to [accounts v]\n    add [1] to [accounts credit points v]\nend\n\nwhen I receive [start v]\nCheck for Account\n\nwhen I receive [start v]\nreset timer\nif <(level) = [6]> then\n    set [timer v] to ((timer) - (item (item # of (username) in [accounts v]) of [accounts credit points v]))\n    replace item (item # of (username) in [accounts v]) of [accounts credit points v] with [0]\n    set [timer v] to ((timer) + (Deaths))\n    if <(timer) < (☁ High Score)> then\n        set [☁ high score v] to (timer)\n        add (username) to [high score usernames v]\n        add (☁ High Score) to [high score usernames v]\n        broadcast (High Score v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    repeat until <(level) = [6]>\n        set [timer v] to (timer)\n    end\nend\n\n@Next Skin\n\nwhen I receive [home screen v]\nhide\n\nwhen I receive [skin select v]\ngo to x: (80) y: (0)\ngo to [front v] layer\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (25)\n    else\n        clear graphic effects\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Next Costume v)\n\n@Previous Skin\n\nwhen I receive [home screen v]\nhide\n\nwhen I receive [skin select v]\ngo to x: (-80) y: (0)\ngo to [front v] layer\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (25)\n    else\n        clear graphic effects\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Previous Costume v)\n\n@Level Text \n\nwhen I receive [play v]\ngo to x: ([x position v] of [level text v]) y: ([y position v] of [level text v])\nwait (5) seconds\nif <(level) = [1]> then\n    show\n    switch costume to (costume1 v)\n    wait (4) seconds\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\nend\nwait (4) seconds\nif <(level) = [2]> then\n    switch costume to (costume2 v)\n    repeat (25)\n        change [ghost v] effect by (-4)\n    end\n    show\n    wait (4) seconds\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\nend\nwait (4) seconds\nif <(level) = [3]> then\n    switch costume to (costume3 v)\n    repeat (25)\n        change [ghost v] effect by (-4)\n    end\n    show\n    wait (4) seconds\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\nend\nwait (4) seconds\nif <(level) = [4]> then\n    switch costume to (costume4 v)\n    repeat (25)\n        change [ghost v] effect by (-4)\n    end\n    show\n    wait (4) seconds\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\nend\nwait (4) seconds\nif <(level) = [5]> then\n    switch costume to (costume5 v)\n    repeat (25)\n        change [ghost v] effect by (-4)\n    end\n    show\n    wait (4) seconds\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\nend\n\nwhen I receive [start v]\nhide\nclear graphic effects\n\n@Starting Flag\n\nwhen I receive [start v]\nshow\n\nwhen I receive [over v]\nhide\n\nwhen I receive [fin v]\nhide\n\nwhen I receive [start v]\nforever\n    play sound [Introducing BRAWL STARS - NO ROOTS \(128 kbps\) v] until done\n    play sound [Guardian Of Angels v] until done\n    play sound [Step - Polargeist v] until done\n    play sound [Matthew Wilder - Break My Stride \(Lyrics\) v] until done\n    play sound [01 Emerald Light v] until done\n    play sound [Ellie Goulding, Juice WRLD - Hate Me \(Official Video\) v] until done\nend\n\nwhen I receive [start v]\nforever\n    if <key (z v) pressed?> then\n        change volume by (1)\n    end\n    if <key (x v) pressed?> then\n        change volume by (-1)\n    end\n    if <key (m v) pressed?> then\n        if <(volume) > [0]> then\n            set [save_volume v] to (volume)\n            set volume to (0) %\n        else\n            set volume to (save_volume) %\n        end\n    end\nend\n\nwhen I receive [home screen v]\nhide\n\n@Sprite4\n\nwhen I receive [generating new world v]\nshow\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\nrepeat until <(Stop text) = [1]>\n    turn right (15) degrees\nend\nhide\nbroadcast (fin v)\n\nwhen I receive [start v]\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [home screen v]\nhide\n\n@Sprite5\n\nwhen I receive [generating new world v]\nshow\ngo to x: (36) y: (28)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\n\nwhen I receive [fin v]\nhide\n\nwhen I receive [start v]\ngo to x: (0) y: (28)\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [home screen v]\nhide\n\n@Button Detector\n\nwhen this sprite clicked\nbroadcast (Button Detector v)\nhide\n\nwhen I receive [home screen v]\ngo to x: (-5) y: (-115)\ngo to [front v] layer\nswitch costume to (edit - play v)\nset size to (100) %\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set size to (130) %\n        switch costume to (edit - play2 v)\n    else\n        set size to (100) %\n        switch costume to (edit - play v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen I receive [skin select v]\nhide\n\n@Figur1\n\nwhen I receive [button detector v]\nset [mode v] to [0]\ncreate clone of (_myself_ v)\nset [ghost v] effect to (90)\nset size to (5) %\nwait (0) seconds\nshow\nforever\n    go to x: (0) y: (50)\n    if <(mode) = [0]> then\n        change size by (((size) - (100)) / (-10))\n        switch costume to (kostüm1 v)\n    end\n    if <(mode) = [1]> then\n        set size to ((([cos v] of ((timer) * (100)) ) * (40)) + (100)) %\n        switch costume to (kostüm2 v)\n        set [color v] effect to (color)\n    end\nend\n\nwhen I receive [button detector v]\nset [report.yes? v] to [0]\nforever\n    if <(report) = [1]> then\n        show variable [☁ bad people who were about to report my project v]\n        if <(report.yes?) = [0]> then\n            set [report.yes? v] to [1]\n            change [☁ bad people who were about to report my project v] by (1)\n        end\n    else\n        hide variable [☁ bad people who were about to report my project v]\n    end\nend\n\nwhen I receive [home screen v]\nforever\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nset [ghost v] effect to (90)\nset size to (40) %\nwait (0) seconds\nshow\nforever\n    go to x: (0) y: (50)\n    if <(mode) = [0]> then\n        change size by (((size) - (65)) / (-10))\n        switch costume to (kostüm1 v)\n    end\n    if <(mode) = [1]> then\n        set [color v] effect to (color)\n        set size to ((([sin v] of ((timer) * (100)) ) * (40)) + (100)) %\n        switch costume to (kostüm2 v)\n    end\nend\n\n@Figur2\n\nwhen I receive [button detector v]\nshow\nswitch costume to (not v)\nforever\n    if <(love?) = [true]> then\n        set [mode v] to [1]\n        set [color v] to [0]\n        costume [love]\n    else\n        if <(fav) = [true]> then\n            set [mode v] to [1]\n            set [color v] to [15]\n            costume [fave]\n        else\n            if <(see inside) = [true]> then\n                set [mode v] to [1]\n                set [color v] to [120]\n                costume [see inside]\n            else\n                if <(fulls) = [true]> then\n                    set [mode v] to [1]\n                    set [color v] to [120]\n                    costume [full]\n                else\n                    if <(remix) = [true]> then\n                        set [mode v] to [1]\n                        set [color v] to [52]\n                        costume [re]\n                    else\n                        if <(pfp) = [true]> then\n                            set [mode v] to [1]\n                            set [color v] to [52]\n                            costume [lo]\n                        else\n                            if <(report) = [true]> then\n                                set [mode v] to [1]\n                                set [color v] to [120]\n                                costume [report]\n                            else\n                                if <(gf) = [true]> then\n                                    set [mode v] to [1]\n                                    set [color v] to [52]\n                                    costume [gf]\n                                else\n                                    if <(sb) = [true]> then\n                                        set [mode v] to [1]\n                                        set [color v] to [0]\n                                        costume [stop]\n                                    else\n                                        if <(add) = [true]> then\n                                            set [mode v] to [1]\n                                            set [color v] to [120]\n                                            costume [add]\n                                        else\n                                            if <(copy) = [true]> then\n                                                set [mode v] to [1]\n                                                set [color v] to [120]\n                                                costume [copy]\n                                            else\n                                                if <(post) = [true]> then\n                                                    set [mode v] to [1]\n                                                    set [color v] to [120]\n                                                    costume [post]\n                                                else\n                                                    set [mode v] to [0]\n                                                    set [color v] to [0]\n                                                    costume [not]\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [home screen v]\nhide\n\ndefine costume (check)\nif <not <(costume [name v]) = (check)>> then\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    switch costume to (check)\n    repeat (4)\n        change [ghost v] effect by (-25)\n    end\nend\n\n@pfp\n\nwhen I receive [button detector v]\nforever\n    set [pfp v] to <touching (mouse-pointer v)?>\nend\n\n@report\n\nwhen I receive [button detector v]\nforever\n    set [report v] to <touching (mouse-pointer v)?>\nend\n\n@fulls\n\nwhen I receive [button detector v]\nforever\n    set [fulls v] to <touching (mouse-pointer v)?>\nend\n\n@remix\n\nwhen I receive [button detector v]\nforever\n    set [remix v] to <touching (mouse-pointer v)?>\nend\n\n@see inside\n\nwhen I receive [button detector v]\nforever\n    set [see inside v] to <touching (mouse-pointer v)?>\nend\n\n@fave\n\nwhen I receive [button detector v]\nforever\n    set [fav v] to <touching (mouse-pointer v)?>\nend\n\n@love\n\nwhen I receive [button detector v]\nforever\n    set [love? v] to <touching (mouse-pointer v)?>\nend\n\n@gf\n\nwhen I receive [button detector v]\nforever\n    set [gf v] to <touching (mouse-pointer v)?>\nend\n\n@sb\n\nwhen I receive [button detector v]\nforever\n    set [sb v] to <touching (mouse-pointer v)?>\nend\n\n@report2\n\nwhen I receive [button detector v]\nforever\n    set [add v] to <touching (mouse-pointer v)?>\nend\n\n@report3\n\nwhen I receive [button detector v]\nforever\n    set [copy v] to <touching (mouse-pointer v)?>\nend\n\n@post\n\nwhen I receive [button detector v]\nforever\n    set [post v] to <touching (mouse-pointer v)?>\nend\n\n@Figur3\n\nwhen I receive [button detector v]\ncreate clone of (_myself_ v)\nset [ghost v] effect to (90)\nset size to (5) %\nwait (0) seconds\nshow\nforever\n    if <(turbo?) = [false]> then\n        change size by (((size) - (100)) / (-10))\n        switch costume to (kostüm1 v)\n    end\n    if <(turbo?) = [true]> then\n        set size to ((([cos v] of ((timer) * (100)) ) * (40)) + (100)) %\n        switch costume to (kostüm2 v)\n    end\nend\n\nwhen I receive [home screen v]\nforever\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nset [ghost v] effect to (90)\nset size to (40) %\nwait (0) seconds\nforever\n    show\n    go to x: (0) y: (50)\n    if <(turbo?) = [false]> then\n        change size by (((size) - (65)) / (-10))\n        switch costume to (kostüm1 v)\n    end\n    if <(turbo?) = [true]> then\n        set size to ((([sin v] of ((timer) * (100)) ) * (40)) + (100)) %\n        switch costume to (kostüm2 v)\n    end\nend\n\n@Figur4\n\nwhen I receive [button detector v]\nwait (3) seconds\nset [☁ fps v] to (FPS)\n\nwhen I receive [button detector v]\nset [fps v] to [0]\nforever\n    set [fps.check v] to (tick)\n    wait (1) seconds\n    set [fps v] to (((tick) - (FPS.check)) * (1))\n    set [turbo? v] to <((FPS) * (1)) > [100]>\nend\n\nwhen I receive [button detector v]\nshow\nswitch costume to (not v)\nforever\n    if <(turbo?) = [true]> then\n        costume [true]\n    else\n        costume [not]\n    end\nend\n\nwhen I receive [button detector v]\nset [tick v] to [0]\nforever\n    change [tick v] by (1)\nend\n\nwhen I receive [home screen v]\nhide\n\ndefine costume (check)\nif <not <(costume [name v]) = (check)>> then\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    switch costume to (check)\n    repeat (4)\n        change [ghost v] effect by (-25)\n    end\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 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\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\n
Thanks for 300+ loves and 290+ faves and 1400+ views guys!\n\n~~~~~~~~~~~~~~~~ Instructions ~~~~~~~~~~~~~~~\n\nPress the Play Button to play. If you want to select a skin or skin color, then click the skin select option, select the skin you want and move the slider to the color you want, then click the back arrow on the bottom left and click play.\nUse WASD keys or Arrow keys or Tap on Mobile to Play.\nAvoid spikes, saws and lava. You can swim in water. You can also swim in water.\nJump into the portal for the bossfights. \nAvoid the boss attacks until the boss will finally die.\nPress space or tap on mobile to go to next level in bossfights after you have killed the boss.\n\n~~~~~~~~~~~~~~~~~~ Levels ~~~~~~~~~~~~~~~~~~\n\nLevel 1: Blobbus Blobbus\nLevel 2: Trasher Masher\nLevel 3: Black Bird\nLevel 4: Wiggly Worm\nLevel 5: Slicer\n\n~~~~~~~~~~~~~~~~ High Score ~~~~~~~~~~~~~~~~\n\n@oksbrawler 488.131\n\n~~~~~~~~~~~~~~ Volume Controls ~~~~~~~~~~~~~~\n\nTo increase the volume, press the z key, and to decrease it, press the x key. Press the m key to toggle mute/unmute.\n\n~~~~~~~~~~~~~~~ YouTube ~~~~~~~~~~~~~~~\nSpeedrun: https://youtu.be/WgF7B5pbUjY\nPart 1: https://youtu.be/JNQofZATdU0\nPart 2: https://youtu.be/o3_M7onTPHg\nPart 3: https://youtu.be/w9FIY82mHec0