Roblox (a platformer) #games #trending #all

Instructions: ❤️⭐ FOLLOW FOR MORE~ @-EnergyCodes- \nmy goal is to hit 50 hearts :))\n\ncheck out this game you might like!\nhttps://scratch.mit.edu/projects/676783705/\n\n● controls\nWAD or arrows to move (MOBILE FRIENDLY)\nuse the menu to reset, leave, or change the settings (like roblox...)\n● notes\nrobElocks is roblox and chuck e cheese at the same time... listen i was bored ok?\nyour a noob so you can't get robux lol\nyes. all art is created by me (expect for the settings button XD)\n@coltroc for sounds.\ni found out the noobrobloxfan123 is actually a roblox noob lol\ncredit to @roblox for inspiration\nyou for playing! (no seriously i really inspirated it :D)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ntaggy tag tags\n#noob #games #trending #all #platformer #roblox 

@Stage\n\nwhen flag clicked\nset [sfx v] to [1]\nset [music v] to [1]\nbroadcast (init v) and wait\nbroadcast (menu v)\nforever\n    set volume to (<(music) = [1]> * (100)) %\nend\n\nwhen I receive [@game v]\nset [@level v] to ((((Game) - (1)) * (12)) + (1))\nforever\n    broadcast (tick v)\nend\n\nwhen flag clicked\nset [game v] to [0]\nset [timer v] to [0]\nforever\n    change [timer v] by (timer)\n    reset timer\nend\n\nwhen I receive [@game v]\nstop all sounds\nforever\n    play sound (pick random (2) to (5)) until done\nend\n\nwhen I receive [menu v]\nrepeat until <(Game) > [0]>\n    play sound [Backround5 - Kevin MacLeod Happy Boy End Theme v] until done\nend\n\nwhen I receive [tick v]\nswitch backdrop to (Game)\n\nwhen I receive [menu v]\nwait until <(Game) > [0]>\nstop all sounds\n\nwhen I receive [@game v]\nwait until <(Game) = [0]>\nstop all sounds\n\nwhen I receive [@game v]\nif <(Game) = [1]> then\n    set [time v] to [0]\n    wait until <not <(@Level) = [12]>>\n    repeat until <(@Level) = [12]>\n        change [time v] by (.1)\n        wait (.1) seconds\n    end\n    show variable [world record: v]\n    if <(World Record:) > (time)> then\n        set [world record: v] to (time)\n    end\nend\n\nwhen I receive [@game v]\nif <(Game) = [2]> then\n    set [time v] to [0]\n    wait until <not <(@Level) = [24]>>\n    repeat until <(@Level) = [24]>\n        change [time v] by (.1)\n        wait (.1) seconds\n    end\n    show variable [world record 2: v]\n    if <(World Record 2:) > (time)> then\n        set [world record 2: v] to (time)\n    end\nend\n\nwhen I receive [menu v]\nhide variable [world record: v]\nhide variable [world record 2: v]\n\nwhen I receive [init v]\nhide variable [world record: v]\nhide variable [world record 2: v]\n\nset [world record: v] to [100]\nset [world record 2: v] to [100]\n\n@blank\n\n@noob\n\ndefine touch ground\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by (-1)\n        if <touching (_edge_ v)?> then\n            repeat until <not <touching (ground v)?>>\n                change y by (1)\n            end\n        end\n    end\nend\n\nwhen I receive [reset v]\nshow\nswitch costume to (idle v)\ngo to x: (-200) y: (0)\nset size to (50) %\nset [xvel v] to [0]\nset [yvel v] to [0]\nset [frame v] to [0]\nset rotation style [left-right v]\nrepeat (4)\n    touch ground\nend\n\nwhen I receive [@game v]\nbroadcast (reset v)\ngo to [front v] layer\nforever\n    if <(mode) = [game]> then\n        switch costume to (hitbox v)\n        change [frame v] by (.3)\n        if <touching (ground v)?> then\n            change y by (1)\n        end\n        if <touching (ground v)?> then\n            change y by (1)\n        end\n        if <touching (ground v)?> then\n            change y by (1)\n        end\n        if <touching (ground v)?> then\n            change y by (1)\n        end\n        if <touching (ground v)?> then\n            change y by (-4)\n            change x by ((xvel) * (-1))\n            if <<key (space v) pressed?> or <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n                if <(yvel) > [0]> then\n                    set [xvel v] to [-5]\n                else\n                    set [xvel v] to [5]\n                end\n                set [yvel v] to [15]\n            end\n        end\n        change [yvel v] by (-1)\n        change y by (yvel)\n        if <touching (ground v)?> then\n            change y by ((yvel) * (-1))\n            set [yvel v] to [0]\n        end\n        change y by (-1)\n        if <<key (space v) pressed?> or <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n            if <touching (ground v)?> then\n                start sound [Jump v]\n                set [yvel v] to [15]\n            end\n        end\n        change y by (1)\n        if <touching (killparts v)?> then\n            broadcast (oof v)\n            start sound [Oof v]\n            broadcast (reset v) and wait\n        end\n        if <(x position) > [235]> then\n            change [@level v] by (1)\n            broadcast (reset v)\n        end\n        if <(y position) < [-175]> then\n            broadcast (oof v)\n            start sound [Oof v]\n            broadcast (reset v) and wait\n        end\n        switch costume to ((([floor v] of (frame) ) mod (2)) + (1))\n        if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            point in direction (-90)\n            change [xvel v] by (-1)\n            change [frame v] by (.7)\n            switch costume to ((([floor v] of (frame) ) mod (9)) + (4))\n        end\n        if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n            point in direction (90)\n            change [xvel v] by (1)\n            change [frame v] by (.7)\n            switch costume to ((([floor v] of (frame) ) mod (9)) + (4))\n        end\n        set [xvel v] to ((xvel) * (.85))\n        change x by (xvel)\n        if <(yvel) > [0]> then\n            switch costume to (jump v)\n        end\n    end\nend\n\nwhen I receive [@game v]\nforever\n    set volume to (<(sfx) = [1]> * (100)) %\nend\n\nwhen I receive [init v]\nhide\n\nwhen I receive [oof v]\nstart sound [Oof v]\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [menu v]\nstop [other scripts in sprite v]\n\nwhen I receive [init v]\nstop [other scripts in sprite v]\n\n@ground\n\nwhen I receive [tick v]\nswitch costume to (l1 v)\nswitch costume to (join [l] (@Level))\n\n@gui\n\ndefine d\ndelete this clone\n\ndefine create a clone myself\nchange [id v] by (1)\ncreate clone of (_myself_ v)\n\ndefine set class to: (s)\nset [class v] to (s)\nset [id v] to [0]\n\ndefine setup clones\nset [id v] to [0]\nset class to: [name]\ncreate a clone myself\nset class to: [chats]\ncreate a clone myself\nset class to: [button]\nrepeat (3)\n    create a clone myself\nend\nset class to: [cover]\ncreate a clone myself\nset class to: [mbutton]\nrepeat (2)\n    create a clone myself\nend\nset class to: [b]\nrepeat (3)\n    create a clone myself\nend\nset class to: [s]\nrepeat (2)\n    create a clone myself\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [@game v]\nd\nhide\nset [sn? v] to [1]\nset [mode v] to [game]\nset size to (100) %\nsetup clones\n\nwhen I start as a clone\nif <(class) = [button]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            if <(mode) = [game]> then\n                start sound [Button v]\n                wait until <not <touching (mouse-pointer v)?>>\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [button]> then\n    show\n    forever\n        if <touching (mouse-pointer v)?> then\n            change size by (((65) - (size)) / (5))\n            set [brightness v] effect to (15)\n        else\n            change size by (((67) - (size)) / (5))\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [button]> then\n    if <(id) = [1]> then\n        forever\n            switch costume to (menu v)\n            go to x: (-210) y: (157)\n            if <touching (mouse-pointer v)?> then\n                if <mouse down?> then\n                    if <(mode) = [game]> then\n                        set [mode v] to [players]\n                        wait until <not <mouse down?>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [button]> then\n    if <(id) = [2]> then\n        forever\n            set [msg? v] to [0]\n            switch costume to (msgs v)\n            go to x: (-170) y: (157)\n            wait (15) seconds\n            repeat until <<<touching (mouse-pointer v)?> and <mouse down?>> or <(msg?) = [1]>>\n                switch costume to (msgs-1 v)\n                set [brightness v] effect to ((([sin v] of ((timer) * (250)) ) * (5)) + (20))\n            end\n            repeat until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n                switch costume to (msgs v)\n                set [msg? v] to [1]\n                set [yvel v] to [0]\n            end\n            wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [button]> then\n    if <(id) = [3]> then\n        forever\n            switch costume to (leaderboard v)\n            go to x: (210) y: (165)\n            if <touching (mouse-pointer v)?> then\n                if <mouse down?> then\n                    set [sn? v] to ((1) - (sn?))\n                    wait until <not <mouse down?>>\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [name]> then\n    if <(id) = [1]> then\n        forever\n            switch costume to (name v)\n            go to x: (-10) y: (-25)\n            if <(sn?) = [1]> then\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [chats]> then\n    if <(id) = [1]> then\n        set [ghost v] effect to (0)\n        forever\n            hide\n            switch costume to (chats v)\n            go to x: (-90) y: (85)\n            if <(msg?) = [1]> then\n                show\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [cover]> then\n    go to [front v] layer\n    forever\n        if <<(mode) = [players]> or <(mode) = [settings]>> then\n            go to [front v] layer\n            switch costume to (join (mode) [tab])\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [mbutton]> then\n    if <(id) = [1]> then\n        forever\n            go to x: (0) y: (0)\n            switch costume to (players v)\n            go to [front v] layer\n            if <<(mode) = [players]> or <(mode) = [settings]>> then\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [mbutton]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            if <not <(mode) = [game]>> then\n                start sound [Button v]\n                wait until <not <touching (mouse-pointer v)?>>\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [mbutton]> then\n    if <(id) = [2]> then\n        forever\n            go to x: (0) y: (0)\n            switch costume to (settings v)\n            go to [front v] layer\n            if <<(mode) = [players]> or <(mode) = [settings]>> then\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [mbutton]> then\n    show\n    forever\n        if <not <(mode) = [game]>> then\n            if <touching (mouse-pointer v)?> then\n                change size by (((102) - (size)) / (5))\n                set [brightness v] effect to (15)\n                if <mouse down?> then\n                    set [mode v] to (costume [name v])\n                    wait until <not <mouse down?>>\n                end\n            else\n                change size by (((100) - (size)) / (5))\n                set [brightness v] effect to (0)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [b]> then\n    forever\n        set size to (80) %\n        go to x: (((id) * (130)) - (260)) y: (-150)\n        go to [front v] layer\n        if <(mode) = [players]> then\n            show\n        else\n            hide\n        end\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (15)\n        else\n            set [brightness v] effect to (2)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [b]> then\n    if <(id) = [1]> then\n        forever\n            switch costume to (reset v)\n            if <touching (mouse-pointer v)?> then\n                if <mouse down?> then\n                    wait until <not <mouse down?>>\n                    set [mode v] to [game]\n                    broadcast (oof v) and wait\n                    broadcast (reset v)\n                end\n            end\n            if <not <(mode) = [game]>> then\n                if <key (r v) pressed?> then\n                    wait until <not <key (r v) pressed?>>\n                    set [mode v] to [game]\n                    broadcast (oof v) and wait\n                    broadcast (reset v)\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [b]> then\n    if <(id) = [2]> then\n        forever\n            switch costume to (leave v)\n            if <touching (mouse-pointer v)?> then\n                if <mouse down?> then\n                    wait until <not <mouse down?>>\n                    broadcast (menu v) and wait\n                end\n            end\n            if <not <(mode) = [game]>> then\n                if <key (l v) pressed?> then\n                    wait until <not <key (l v) pressed?>>\n                    set [game v] to [0]\n                    broadcast (init v) and wait\n                    broadcast (menu v) and wait\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [b]> then\n    if <(id) = [3]> then\n        forever\n            switch costume to (resume v)\n            if <touching (mouse-pointer v)?> then\n                if <mouse down?> then\n                    wait until <not <mouse down?>>\n                    set [mode v] to [game]\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [s]> then\n    forever\n        set size to (80) %\n        go to [front v] layer\n        switch costume to (b1 v)\n        if <(mode) = [settings]> then\n            show\n        else\n            hide\n        end\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (15)\n        else\n            set [brightness v] effect to (2)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [s]> then\n    if <(id) = [1]> then\n        forever\n            go to x: (75) y: (57)\n            switch costume to (join [b] (music))\n            if <touching (mouse-pointer v)?> then\n                set [brightness v] effect to (15)\n                if <mouse down?> then\n                    set [music v] to ((1) - (music))\n                    wait until <not <mouse down?>>\n                end\n            else\n                set [brightness v] effect to (2)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(class) = [s]> then\n    if <(id) = [2]> then\n        forever\n            go to x: (165) y: (-27)\n            switch costume to (join [b] (sfx))\n            if <touching (mouse-pointer v)?> then\n                set [brightness v] effect to (15)\n                if <mouse down?> then\n                    set [sfx v] to ((1) - (sfx))\n                    wait until <not <mouse down?>>\n                end\n            else\n                set [brightness v] effect to (2)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\n\n    set volume to (<(sfx) = [1]> * (100)) %\nend\n\n@shadow\n\nwhen I receive [tick v]\nswitch costume to (hb v)\ngo to (noob v)\ntouch ground\nswitch costume to (costume1 v)\nset [ghost v] effect to (((distance to [noob v]) / (2)) + (30))\n\ndefine touch ground\nrepeat until <touching (ground v)?>\n    change y by (-1)\n    if <(y position) < [-180]> then\n        stop [this script v]\n    end\nend\nchange y by (1)\n\nwhen I receive [@game v]\nshow\ngo to [front v] layer\n\nwhen I receive [init v]\nhide\n\nwhen I receive [menu v]\nhide\n\n@forcefield\n\nwhen I receive [oof v]\nd\ncreate clone of (_myself_ v)\n\ndefine force\nshow\ngo to [front v] layer\ngo to x: (-200) y: (0)\nset size to (10) %\nset [ghost v] effect to (100)\nset [brightness v] effect to (10)\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change size by (((100) - (size)) / (4))\n    go to (noob v)\nend\nrepeat (50)\n    go to (noob v)\nend\nrepeat (25)\n    change [ghost v] effect by (5)\n    go to (noob v)\nend\nhide\ndelete this clone\n\nwhen I receive [init v]\nhide\n\nwhen I start as a clone\nforce\n\ndefine d\ndelete this clone\n\nwhen I receive [@game v]\nd\ncreate clone of (_myself_ v)\n\n@killparts\n\nwhen I receive [tick v]\nswitch costume to (blank v)\nswitch costume to (join [l] (@Level))\n\n@death\n\nwhen I receive [oof v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [init v]\nhide\n\n@Words\n\nwhen I receive [tick v]\ngo to x: (0) y: (100)\nswitch costume to (blank v)\nswitch costume to (join [l] (@Level))\n\n@reblex\n\ndefine create a clone myself\nchange [id v] by (1)\ncreate clone of (_myself_ v)\n\ndefine set class to: (s)\nset [class v] to (s)\nset [id v] to [0]\n\ndefine setup clones\nset class to: [screen]\ncreate a clone myself\nset class to: [games]\nrepeat (2)\n    create a clone myself\nend\n\nwhen I start as a clone\nif <(class) = [screen]> then\n    go to x: (0) y: (0)\n    switch costume to (screen v)\nend\n\nwhen I receive [menu v]\nhide\nset [msg? v] to [0]\nset [@level v] to [0]\nset [game v] to [0]\nset [mode v] to [menu]\nsetup clones\n\nwhen I start as a clone\nif <(class) = [games]> then\n    if <(id) = [1]> then\n        go to [front v] layer\n        forever\n            go to x: (-100) y: (0)\n            switch costume to (game1 v)\n            if <touching (mouse-pointer v)?> then\n                set [brightness v] effect to (25)\n                if <mouse down?> then\n                    wait until <not <mouse down?>>\n                    set [game v] to [1]\n                end\n            else\n                set [brightness v] effect to (0)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nshow\n\nwhen I start as a clone\nif <(class) = [games]> then\n    if <(id) = [2]> then\n        go to [front v] layer\n        forever\n            go to x: (100) y: (0)\n            switch costume to (game2 v)\n            if <touching (mouse-pointer v)?> then\n                set [brightness v] effect to (25)\n                if <mouse down?> then\n                    wait until <not <mouse down?>>\n                    set [game v] to [2]\n                end\n            else\n                set [brightness v] effect to (0)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\n\n    if <(Game) > [0]> then\n        stop [other scripts in sprite v]\n        wait (2) seconds\n        delete this clone\n    end\nend\n\n@Loading\n\ndefine d\ndelete this clone\n\ndefine set class to: (s)\nset [class v] to (s)\nset [id v] to [0]\n\ndefine create a clone myself\nchange [id v] by (1)\ncreate clone of (_myself_ v)\n\ndefine SETUP CLONES\nset class to: [cover]\ncreate a clone myself\nset class to: [logo]\ncreate a clone myself\n\nwhen I start as a clone\nif <(class) = [cover]> then\n    switch costume to (join [game] (Game))\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\nwhen I start as a clone\nif <(class) = [logo]> then\n    switch costume to (logo v)\n    \n        turn right (2) degrees\n        go to x: (165) y: (-125)\n        go to [front v] layer\n    end\nend\n\nwhen I receive [menu v]\nd\nwait until <not <(Game) > [0]>>\nwait until <(Game) > [0]>\nSETUP CLONES\nwait (pick random (3) to (5)) seconds\nset [mode v] to [game]\nbroadcast (@game v)\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (100)\n\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [init v]\nset size to (100) %\nhide\n\nwhen I receive [@game v]\nstop [other scripts in sprite v]\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@thumbnail\n\nwhen [timer v] > ()\nhide variable [world record: v]\nhide variable [world record 2: v]\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n