Cyber Quest | A Platformer | v1.5
@Stage\n\nwhen flag clicked\nset [brightness v] effect to (100)\n\nwhen I receive [start pressed v]\nforever\n    wait (1) seconds\nend\n\nwhen I receive [game ended v]\nforever\n    stop [other scripts in sprite v]\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [21]> then\n        broadcast (Lvl 21 Rached v)\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (32)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nswitch backdrop to (dunnnnn13 v)\n\nwhen I receive [introdone v]\nset [brightness v] effect to (0)\n\n@Player\n\nwhen I receive [death v]\nset [x v] to [0]\nset [y v] to [0]\nrepeat (20)\n    change [ghost v] effect by (5)\n    change y by (4)\n    delete this clone\nend\nclear graphic effects\n\nwhen flag clicked\nswitch costume to (player right v)\n\nwhen I receive [skins needed v]\nshow\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nchange [color v] effect by (10)\n\nset [level v] to [4]\n\nwhen I start as a clone\nclear graphic effects\nshow\ngo to [back v] layer\nrepeat (15)\n    switch costume to (player thingy v)\n    change size by (-3)\n    change [ghost v] effect by (7)\nend\nchange [clone # v] by (-1)\ndelete this clone\n\nwhen flag clicked\nhide variable [deaths ☠ v]\n\nwhen flag clicked\nforever\n    if <(Level) = [22]> then\n        show variable [deaths ☠ v]\n    end\nend\n\nwhen I receive [start pressed v]\nforever\n    wait (pick random (1) to (7)) seconds\n    if <(costume [number v]) = [1]> then\n        repeat until <(costume [number v]) = [13]>\n            next costume\n        end\n        repeat until <(costume [number v]) = [1]>\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\n    if <(costume [number v]) = [14]> then\n        repeat until <(costume [number v]) = [27]>\n            next costume\n        end\n        repeat until <(costume [number v]) = [14]>\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nbroadcast (Death v)\n\ndefine Say (text) At Speed (speed) With Pitch (pitch)\nset [pitch v] effect to ((80) + (((pitch) * (4)) - (5)))\ndelete all of [text v]\nset [text v] to []\nset [letter v] to []\nrepeat ((length of (text)) + (1))\n    add (letter ((Letter) + (1)) of (text)) to [text v]\n    set [text v] to (join (Text) (item (Letter) of [text v]))\n    say (Text)\n    start sound [Real SOund v]\n    wait (speed) seconds\n    change [letter v] by (1)\nend\nwait ((speed) * (20)) seconds\nsay []\n\nwhen I receive [start pressed v]\ngo to x: (-210) y: (-127)\nshow\ngo to [front v] layer\nswitch costume to (player thingy v)\nif <not <(Skip Talk) = [true]>> then\n    Say [Robot Sequence Code: 19923485. Locating Server and Database.] At Speed [0.05] With Pitch [5]\n    wait (1) seconds\n    Say [Robot Activated!] At Speed [0.05] With Pitch [5]\n    switch costume to (player right v)\n    wait (1) seconds\n    Say [Game Start!] At Speed [0.05] With Pitch [5]\n    broadcast (Start Game v)\nend\n\nwhen I receive [start game v]\ngo to [front v] layer\nset size to (100) %\nswitch costume to (player right v)\nshow\nset [size v] to [100]\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-210) y: (-96)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (1)\n        if <(Level) = [20]> then\n            switch costume to (player override right2 v)\n        else\n            switch costume to (player right v)\n        end\n        if <(PowerUp) = [41.5]> then\n            change [x v] by (1.3)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-1)\n        switch costume to (player left v)\n        if <(Level) = [20]> then\n            switch costume to (player override left2 v)\n        else\n            switch costume to (player left v)\n        end\n        if <(PowerUp) = [41.5]> then\n            change [x v] by (-1.3)\n        end\n    end\n    set [x v] to ((X) * (.9))\n    change x by (X)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [-5]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (level v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            change [y v] by (15)\n            if <(PowerUp) = [43.44]> then\n                set [y v] to [20]\n            else\n                set [y v] to [15]\n            end\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        broadcast (Level Analyse v)\n        set [y v] to [0]\n        set [x v] to [0]\n        broadcast (NextLevelTransition v)\n        wait (1.5) seconds\n        go to x: (-174) y: (40)\n    end\n    if <touching (spikes v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [24]\n    end\n    if <touching (enemy bullet v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (malware - level 11 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (boss attack v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (malware - level 18 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <(Level) = [14]> then\n        set size to (40) %\n    else\n        if <(Level) = [15]> then\n            set size to (400) %\n        else\n            set size to (100) %\n        end\n    end\n    if <touching (laser2 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser3 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser4 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser5 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser6 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser7 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (boss v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (bullet v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser8 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\n    if <touching (laser9 v)?> then\n        change [deaths ☠ v] by (1)\n        broadcast (Death v) and wait\n        go to x: (-210) y: (-96)\n    end\nend\n\nwhen flag clicked\nset [clone # v] to [0]\ngo to [front v] layer\nforever\n    create clone of (_myself_ v)\n    change [clone # v] by (1)\nend\n\nwhen I receive [malware speech done v]\nSay [The only thing I have to do is get through the Malware!] At Speed [0.05] With Pitch [5]\nwait (1) seconds\nSay [His "Self-Esteem" will get hurt!] At Speed [0.05] With Pitch [5]\nwait (1) seconds\nSay [Resulting in him getting DEFEATED!] At Speed [0.05] With Pitch [5]\nwait (1) seconds\n\nset [level v] to [20]\n\nset [level v] to [4]\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        Say [Spikes!] At Speed [0.05] With Pitch [5]\n        Say [Yikes!] At Speed [0.05] With Pitch [5]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [powerup v] to [None]\nset [skip talk v] to [false]\n\nset [powerup v] to [yy]\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (32)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nset [brightness v] effect to (100)\n\nwhen I receive [introdone v]\nset [brightness v] effect to (0)\n\nset [level v] to [21]\n\ngo [backward v] (1) layers\n\nwhen flag clicked\nforever\n    if <(Level) = [22]> then\n        broadcast (Game Ended v)\n    end\nend\n\n@Clouds\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (50)\ngo [forward v] (1) layers\nshow\nset size to (150) %\ngo to x: (350) y: (pick random (-30) to (165))\nrepeat (269)\n    change x by (-2)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(Level) = [11]> then\n        delete this clone\n    end\nend\n\nwhen I receive [start pressed v]\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (1) to (4)) seconds\nend\n\n@Love/Fav Detector by TimMcCool! Thanks bro\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\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\n@Trampoline\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@Snow/Rain\n\nwhen flag clicked\nset [clone # v] to [0]\nhide\nforever\n    if <<(Level) = [3]> or <<(Level) = [7]> or <(Level) = [8]>>> then\n        create clone of (_myself_ v)\n        change [clone # v] by (1)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Level) = [3]> then\n        go to x: (pick random (215) to (-215)) y: (155)\n        set size to (pick random (20) to (65)) %\n        switch costume to (snow v)\n        show\n        repeat until <touching (level v)?>\n            change y by (-4)\n            change x by ((mouse x) / (50))\n        end\n        if <touching (level v)?> then\n            change [clone # v] by (-1)\n            delete this clone\n        else\n            wait (1) seconds\n            repeat (20)\n                change y by (-0.5)\n            end\n            change [clone # v] by (-1)\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Level) = [7]> then\n        go to x: (pick random (215) to (-215)) y: (155)\n        set size to (pick random (25) to (25)) %\n        switch costume to (rain v)\n        show\n        repeat until <touching (level v)?>\n            change y by (-20)\n            change x by (-3)\n        end\n        if <touching (level v)?> then\n            change [clone # v] by (-1)\n            delete this clone\n        else\n            wait (1) seconds\n            repeat (20)\n                change y by (-0.5)\n            end\n            change [clone # v] by (-1)\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Level) = [8]> then\n        go to x: (pick random (215) to (-215)) y: (155)\n        set size to (pick random (30) to (35)) %\n        switch costume to (rain v)\n        show\n        repeat until <touching (level v)?>\n            change y by (-30)\n            change x by (-3)\n        end\n        if <touching (level v)?> then\n            change [clone # v] by (-1)\n            delete this clone\n        else\n            wait (1) seconds\n            repeat (20)\n                change y by (-0.5)\n            end\n            change [clone # v] by (-1)\n            delete this clone\n        end\n    end\nend\n\n@Mute/Unmute Button\n\nwhen this sprite clicked\nif <(Mute) = [true]> then\n    switch costume to (on v)\n    set [mute v] to [false]\n    set volume to (100) %\nelse\n    if <(Mute) = [false]> then\n        switch costume to (off v)\n        set [mute v] to [true]\n        set volume to (0) %\n    end\nend\n\nwhen flag clicked\nswitch costume to (on v)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((110) - (size)) / (4))\n    else\n        change size by (((80) - (size)) / (4))\n    end\nend\n\nwhen I receive [start pressed v]\nset [mute v] to [false]\nshow\nforever\n    if <[20] > (Level)> then\n        play sound [TheFatRat - Unity v] until done\n    end\nend\n\nwhen flag clicked\nwait (7) seconds\nforever\n    if <(Level) = [20]> then\n        stop all sounds\n        play sound [Undertale Megolovania v] until done\n    end\nend\n\n@Thumbnail\n\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (full thumbnail v)\nshow\nclear graphic effects\nwait (0.5) seconds\nforever\n    change [ghost v] effect by (5)\nend\n\n@Start Screen\n\nwhen I receive [start pressed v]\nhide\n\nwhen I receive [introdone v]\nshow\nset [brightness v] effect to (0)\n\nwhen flag clicked\nset [brightness v] effect to (255)\n\n@Play\n\nwhen this sprite clicked\nbroadcast (Start Pressed v)\nplay sound [Coin v] until done\n\nwhen I receive [start pressed v]\nhide\n\nwhen I receive [introdone v]\nshow\nset [turn v] to [0]\npoint in direction (90)\nforever\n    change [turn v] by (8)\n    turn right (([cos v] of (Turn) ) * (3)) degrees\nend\n\nwhen I receive [introdone v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (7)\n    else\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nhide\n\n@First NextLevelTransition\n\nwhen flag clicked\nclear graphic effects\nset [color v] effect to (0)\nforever\n    change [color v] effect by (5)\nend\n\nwhen flag clicked\nhide\n\n@Laser\n\nwhen flag clicked\nforever\n    if <(Level) = [17]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [18]>\n            if <(Level) = [17]> then\n                hide\n                wait (1.5) seconds\n            end\n            if <(Level) = [17]> then\n                show\n                wait (1) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\n@NextLevelTransition og\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen I receive [nextleveltransition v]\ngo [forward v] (10000) layers\nshow\nrepeat (20)\n    change y by (((0) - (y position)) / (4))\nend\nchange [level v] by (1)\nwait (1.5) seconds\nrepeat (20)\n    change y by (((345) - (y position)) / (4))\nend\nhide\n\nwhen flag clicked\nclear graphic effects\nset [color v] effect to (0)\nforever\n    change [color v] effect by (3)\nend\n\n@Laser2\n\nwhen flag clicked\nforever\n    if <(Level) = [18]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [19]>\n            if <(Level) = [18]> then\n                hide\n                wait (1.5) seconds\n            end\n            if <(Level) = [18]> then\n                show\n                wait (1) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Laser3\n\nwhen flag clicked\nforever\n    if <(Level) = [18]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [19]>\n            if <(Level) = [18]> then\n                hide\n                wait (2) seconds\n            end\n            if <(Level) = [18]> then\n                show\n                wait (4) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Laser4\n\nwhen flag clicked\nforever\n    if <(Level) = [18]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [19]>\n            if <(Level) = [18]> then\n                hide\n                wait (0.6) seconds\n            end\n            if <(Level) = [18]> then\n                show\n                wait (1.5) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Laser5\n\nwhen flag clicked\nforever\n    if <(Level) = [18]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [19]>\n            if <(Level) = [18]> then\n                hide\n                wait (2) seconds\n            end\n            if <(Level) = [18]> then\n                show\n                wait (3) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Malware - Level 11\n\nwhen I receive [level analyse v]\nset [received v] to [true]\n\nwhen I receive [level analyse v]\nforever\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nset [level v] to [15]\n\nwhen I receive [level analyse v]\nrepeat until <(Level) = [13]>\n    if <(Level) = [11]> then\n        show\n        go to x: (220) y: (-122)\n        forever\n            repeat (75)\n                change x by (-4)\n            end\n            repeat (75)\n                change x by (4)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nset [received v] to [false]\nhide\n\n@Malware - Level 18\n\nwhen I receive [level analyse v]\nset [received v] to [true]\n\nwhen I receive [level analyse v]\nforever\n    if <(Level) = [19]> then\n        hide\n    end\nend\n\nset [level v] to [10]\n\nwhen I receive [level analyse v]\nrepeat until <(Level) = [20]>\n    if <(Level) = [18]> then\n        show\n        go to x: (220) y: (-122)\n        forever\n            repeat (75)\n                change x by (-1)\n            end\n            repeat (75)\n                change x by (1)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nset [received v] to [false]\nhide\n\n@Laser6\n\nwhen flag clicked\nforever\n    if <(Level) = [19]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [20]>\n            if <(Level) = [19]> then\n                hide\n                wait (1.5) seconds\n            end\n            if <(Level) = [19]> then\n                show\n                wait (2.5) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Laser7\n\nwhen flag clicked\nforever\n    if <(Level) = [19]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [20]>\n            if <(Level) = [19]> then\n                hide\n                wait (2) seconds\n            end\n            if <(Level) = [19]> then\n                show\n                wait (3) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Intro\n\nwhen I start as a clone\ngo to x: (0) y: (0)\nshow\nset [clonecostume v] to (costume [number v])\nset [size v] to [70]\nif <(costume [number v]) = [3]> then\n    repeat until <(size) > [1200]>\n        switch costume to (costume3 v)\n        change [size v] by (((1201) - (Size)) / (5))\n        set size to (Size) %\n        switch costume to (CloneCostume)\n    end\nelse\n    if <(costume [number v]) = [4]> then\n        repeat until <(size) > [1050]>\n            switch costume to (costume3 v)\n            change [size v] by (((1051) - (Size)) / (5))\n            set size to (Size) %\n            switch costume to (CloneCostume)\n        end\n    else\n        if <(costume [number v]) = [5]> then\n            repeat until <(size) > [825]>\n                switch costume to (costume3 v)\n                change [size v] by (((826) - (Size)) / (5))\n                set size to (Size) %\n                switch costume to (CloneCostume)\n            end\n        else\n            if <(costume [number v]) = [6]> then\n                go to x: (0) y: (20)\n                start sound [Water Drop v]\n                go to [back v] layer\n                set [cloney v] to [8]\n                set size to (10) %\n                repeat (20)\n                    change size by ((CloneY) / (2.5))\n                    change y by (CloneY)\n                    change [cloney v] by (-0.7)\n                end\n                set [colorchange? v] to [1]\n                delete this clone\n            else\n                if <<(costume [number v]) = [8]> or <(costume [number v]) = [9]>> then\n                    hide\n                    set [s v] to (pick random (0.1) to (1))\n                    point in direction (pick random (0) to (360))\n                    go to (random position v)\n                    wait until <(timer) > [2]>\n                    show\n                    set size to (pick random (1) to (15)) %\n                    set [ghost v] effect to (pick random (20) to (50))\n                    repeat until <(timer) > [6.1 ]>\n                        go to [front v] layer\n                        turn right (0.25) degrees\n                        move ((s) / (3)) steps\n                    end\n                    delete this clone\n                end\n            end\n        end\n    end\nend\nrepeat until <(timer) > [5]>\n    switch costume to (costume3 v)\n    change [size v] by (0.2)\n    set size to (Size) %\n    switch costume to (CloneCostume)\nend\nset [cloney v] to [10]\nrepeat until <[200] > (size)>\n    switch costume to (costume3 v)\n    change [size v] by (CloneY)\n    set size to (Size) %\n    change [cloney v] by (-2)\n    switch costume to (CloneCostume)\nend\nswitch costume to (CloneCostume)\nrepeat until <[20] > (size)>\n    change [size v] by (CloneY)\n    set size to (Size) %\n    change [cloney v] by (-1)\nend\ndelete this clone\n\nwhen flag clicked\ngo to [front v] layer\nwait (1) seconds\nset volume to (1) %\nstart sound [Laszlo - Here We Are _NCS Release_ v]\nrepeat (100)\n    change volume by (1)\nend\nbroadcast (IntroDone v)\n\nwhen flag clicked\nerase all\nreset timer\nClone\nset [colorchange? v] to [0]\nswitch costume to (red v)\nset size to (1) %\ngo to x: (0) y: (180)\npoint in direction (90)\nshow\nstart sound [High Whoosh v]\nrepeat until <[20] > (y position)>\n    change size by (((75) - (size)) / (5))\n    change y by (((19) - (y position)) / (5))\nend\ngo to x: (0) y: (20)\nswitch costume to (red4 v)\ncreate clone of (_myself_ v)\nswitch costume to (red v)\nwait until <(ColorChange?) = [1]>\nstart sound [Suction Cup v]\nswitch costume to (costume2 v)\nrepeat until <[1] > (y position)>\n    change y by (((0) - (y position)) / (5))\nend\nstamp\nhide\nswitch costume to (red v)\nrepeat (3)\n    wait (0.05) seconds\n    create clone of (_myself_ v)\n    next costume\nend\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\npoint in direction (0)\nset size to (1) %\nshow\nrepeat until <(size) > [199.9]>\n    change size by (((200) - (size)) / (5))\n    turn right (((85) - (direction)) / (7)) degrees\n    go to [front v] layer\nend\nerase all\nrepeat until <(timer) > [5]>\n    change size by (0.2)\n    turn right (0.2) degrees\nend\nset [spin v] to [10]\nrepeat until <[10] > (size)>\n    change size by (Spin)\n    change [spin v] by (-1)\nend\nswitch costume to (costume2 v)\nset size to (50) %\nwait until <(timer) > [6]>\nchange y by (-1)\nrepeat until <[-179] > (y position)>\n    change y by ((y position) / (5))\n    change size by (-1)\nend\nhide\n\ndefine Clone\nrepeat (25)\n    switch costume to (pick random (8) to (9))\n    create clone of (_myself_ v)\nend\n\nchange size by (((110) - (size)) / (4))\n\n@Boss\n\ndefine Say (text) At Speed (speed) With Pitch (pitch)\nset [pitch v] effect to ((80) + (((pitch) * (4)) - (5)))\ndelete all of [text v]\nset [text v] to []\nset [letter v] to []\nrepeat ((length of (text)) + (1))\n    add (letter ((Letter) + (1)) of (text)) to [text v]\n    set [text v] to (join (Text) (item (Letter) of [text v]))\n    say (Text)\n    start sound [Finger Snap v]\n    wait (speed) seconds\n    change [letter v] by (1)\nend\nwait ((speed) * (20)) seconds\nsay []\n\nwhen flag clicked\nforever\n    if <(Level) = [20]> then\n        Say [Well, hello there young robot!] At Speed [0.05] With Pitch [5]\n        wait (1) seconds\n        Say [I see you have found me!] At Speed [0.05] With Pitch [5]\n        wait (1) seconds\n        Say [Your creator made me! I assume you already knew that!] At Speed [0.05] With Pitch [5]\n        wait (1) seconds\n        Say [You see, I have spent months acting on my master's order... TO TAKE OVER THE WORLD OF THE INTERNET!!!] At Speed [0.05] With Pitch [5]\n        wait (1) seconds\n        Say [And after all that planning, a young little robot ruins it all!] At Speed [0.05] With Pitch [5]\n        wait (1) seconds\n        Say [Now, you shall feel the wrath of THE MALWARE!] At Speed [0.05] With Pitch [5]\n        repeat (40)\n            change [color v] effect by (25)\n        end\n        broadcast (Malware Speech Done v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (1) y: (-3)\nswitch costume to (costume1 v)\nforever\n    if <(Level) = [20]> then\n        show\n    else\n        hide\n    end\nend\n\nset [level v] to [20]\n\nwhen I receive [malware speech done v]\nforever\n    wait (0.5) seconds\n    next costume\nend\n\nwhen I receive [lvl 21 rached v]\nstop [other scripts in sprite v]\n\n@Laser8\n\nwhen flag clicked\nforever\n    if <(Level) = [20]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [21]>\n            if <(Level) = [20]> then\n                hide\n                wait (1.5) seconds\n            end\n            if <(Level) = [20]> then\n                show\n                wait (2.5) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\nset [level v] to [20]\n\n@Laser9\n\nwhen flag clicked\nforever\n    if <(Level) = [20]> then\n        show\n        go to x: (82) y: (-35)\n        repeat until <(Level) = [21]>\n            if <(Level) = [20]> then\n                hide\n                wait (1.5) seconds\n            end\n            if <(Level) = [20]> then\n                show\n                wait (2.5) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\nset [level v] to [20]\n\nchange size by (((110) - (size)) / (4))\n\nchange size by (((110) - (size)) / (4))\n\n@Remember\n\nwhen I receive [start pressed v]\ngo to [front v] layer\nhide\nwait (5) seconds\nstart sound [Ding - Sound Effect \[HD\] v]\ngo to x: (0) y: (85)\nshow\nglide (1) secs to x: (0) y: (0)\nwait (5) seconds\nglide (1) secs to x: (0) y: (85)\nhide\nforever\n    go to [front v] layer\n    hide\n    wait (60) seconds\n    start sound [Ding - Sound Effect \[HD\] v]\n    go to x: (0) y: (85)\n    show\n    glide (1) secs to x: (0) y: (0)\n    wait (3) seconds\n    glide (1) secs to x: (0) y: (85)\n    hide\nend\n\nwhen flag clicked\nhide\n\n@Skip - Only for supporters and testers\n\nwhen flag clicked\nhide\nCheck Skip Status\n\nwhen I receive [start pressed v]\nif <(Skip Button Active/Inactive) = [Active]> then\n    show\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (-25)\n            change size by (((140) - (size)) / (4))\n            if <mouse down?> then\n                wait until <not <mouse down?>>\n                broadcast (NextLevelTransition v)\n            end\n        else\n            set [brightness v] effect to (3)\n            change size by (((100) - (size)) / (4))\n        end\n    end\nend\n\ndefine Check Skip Status\ndelete all of [username v]\nshow list [username v]\nset [skip button active/inactive v] to [Inactive]\nadd [neon2496] to [username v]\nadd [Eric_drmfslt] to [username v]\nadd [4cwefgtw9e587] to [username v]\nadd [panny-cake] to [username v]\nadd [Pavan2007] to [username v]\nadd [LightningTest27] to [username v]\nadd [Fallen_AngelLucifer] to [username v]\nadd [rishikd2019] to [username v]\nadd [Blockshade3D] to [username v]\nadd [Boop_My_Nose] to [username v]\nadd [Ultracool2708RBLX_8] to [username v]\nadd [2129771] to [username v]\nadd [soccer_star1] to [username v]\nadd [SypTitan] to [username v]\nadd [76tvboiz] to [username v]\nadd [bobcat0701] to [username v]\nadd [RobloxManneke] to [username v]\nadd [TheMysteriousMrD575] to [username v]\nadd [Cheese_Is_Cheesy] to [username v]\nadd [Rexylium] to [username v]\nadd [HolyDogeWorks] to [username v]\nadd [MarvelStikbot] to [username v]\nadd [KingTurboSpryzen51] to [username v]\nadd [zuko-] to [username v]\nadd [KrazyKing360] to [username v]\nadd [09ahoffmanl] to [username v]\nadd [CougarKing] to [username v]\nadd [mab3y] to [username v]\nadd [gaviel37] to [username v]\nadd [BurgerMonster12557] to [username v]\nif <[username v] contains (username)?> then\n    set [skip button active/inactive v] to [Active]\nend\n\n@Level 22 - Developer Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start pressed v]\nif <(username) = [Pavan2007]> then\n    show\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (-25)\n            change size by (((140) - (size)) / (4))\n            if <mouse down?> then\n                set [level v] to [22]\n            end\n        else\n            set [brightness v] effect to (3)\n            change size by (((100) - (size)) / (4))\n        end\n    end\nend\n\n@Speed Power\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [10]> then\n        show\n        if <touching (player v)?> then\n            set [powerup v] to [41.5]\n            forever\n                hide\n            end\n        end\n    else\n        hide\n    end\nend\n\nset [level v] to [11]\n\n@Jump Power\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [10]> then\n        show\n        if <touching (player v)?> then\n            set [powerup v] to [43.44]\n            forever\n                hide\n            end\n        end\n    else\n        hide\n    end\nend\n\n
This game will no longer receive updates! It will still be kept up-to-date with fixes for bugs and glitches, but no more content updates! Thank you!\n\nPlay the sequel here:\nhttps://scratch.mit.edu/projects/477831744\n\nMy First Ever Platformer!\nDouble click flag if restarting!\n\n - Arrow Keys or WASD to move and jump!\n - Jump on them TRAMPOLINES!\n - Don't touch lava or spikes!\n - Beware of the dangers!\n - You can Wall Jump!\n\nMusic may glitch at times and not play when you start the game. To fix this, just click the mute/unmute button twice!\n\nCan you find the 3 Easter eggs? Comment Down below if you did, and if you got it right, you will get a ❤ and ⭐ for one of your projects from me!\n\nYou shall get a cookie if you ❤ and ⭐ this project! But seriously, it would mean a lot if you did!\n\n ❤ and ⭐ for Part - 2!\n\nIt would mean a lot if you followed me! You will get notified when I share the sequel to this project! (If you follow me you will get the "Skip" button in this game! Just comment below "I followed" and I will check if you are eligible to get the button! Only First 30 People!)\n\nIf this project hits 100 loves/favs I will make a Part 2. If this project hits 500 loves/faves, I will give all of you the developer button!\n\nUpdate Log:\nVersion 1.0 - Aug 24 2020: Initial Release\nVersion 1.1 - Aug 25 2020: Powerups! Speed and Jump Powerup in Level 10! Any ideas? List 'em down in the comments below!\nVersion 1.2 - Aug 27 2020: Bug Fixes! Fixed High score Time Bug. Now it actually sets it to the fastest time! Lol!\nVersion 1.3 - Sep 02 2020: Removed Cloud Variables as they were glitching out too often. Sorry!\nVersion 1.4 - Jul 06 2021: Optimisation. Lag should be reduced now! My old code didn't prevent the clones from overloading!\nVersion 1.5 - Jul 06 2021: Player Trail bug fixed! Before, the trail used to glitch out at around Level 10! Now, it works throughout the full game!\nVersion 1.6 - Oct 16 2021: Fixed Music bug. Works as intended now!\n\nNext Update (Never gonna happen lol):\n - Second Boss Fight\n - 10 New Levels\n\nFuture Updates:\n - Small features/animations (Trampoline)\n - Cool Sound Effects\n - Loading Screen?\n\nAll the above updates will come very soon after this project is released! (This was written back in the day lol. Not gonna happen)\n\nUsed my platformer engine! - https://scratch.mit.edu/projects/412909867/\n\nAlmost all art by me (please don't judge me! This is my first time even trying artwork on Scratch!)\n\nFlower art by my sister. She really wanted flowers...\n\nHonestly, I think artwork is the hardest part of any game!\n\nHuge thanks to @t9decode for the intro used. I customised it to fit me. If @t9decode does not want me to use this, please comment down below and I will remove it! Check him out anyway!\n\nHuge thanks to @cavemanster for fixing a bug in my game! Because of him, this game is still alive! \n\nHuge thanks to @TimMcCool for letting me use his love & fav detector! Check it out! - https://scratch.mit.edu/projects/368265799/\n\n\nCredits to TheFatRat, Zilence and NCS for all the music used in this project!\n\n\nMusic Used:\n1. Unity\n2. Megolovania\n3. NCS Music\n\n\n#games #all #platformer #cyber #robot #all #awesome #checkout #robotics #typewriting #cooltext #YouTube