How Unoptimized Can a Roblox Game Get?

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 746

  • @byteblox100
    @byteblox100  8 місяців тому +154

    COURSES ARE 50% OFF, USE CODE "EDGEBYTE" (ends in 3 days lol):
    linktr.ee/ByteBlox

  • @artisanmain
    @artisanmain 8 місяців тому +872

    “Why doesn’t tf2 get updates?” What the intern at valve who had the same question sees upon looking at the code:

    • @distorted_heavy
      @distorted_heavy 8 місяців тому +88

      Nah instead he sees a function that supposedly makes spheres but actually makes squares and quits on the spot

    • @gshnoozer2
      @gshnoozer2 7 місяців тому +17

      Riot Games employee looking at the code

    • @joedingo7022
      @joedingo7022 7 місяців тому +35

      And the code that makes squares is also integral to transparency rendering, and will make the player camera render in front of itself disabing all vision.

    • @FeeshUnofficial
      @FeeshUnofficial 7 місяців тому +5

      ​@@distorted_heavynot even cubes? Just 2 dimensional squares? Just rectangle planes?

    • @albertthescout9169
      @albertthescout9169 5 місяців тому +1

      @@FeeshUnofficial of course

  • @TheCrankSpiderNinja
    @TheCrankSpiderNinja 8 місяців тому +4644

    yandere dev type code

    • @aljon5947
      @aljon5947 8 місяців тому +362

      making a game with only if statements

    • @Sakupenny
      @Sakupenny 8 місяців тому

      ​​@@aljon5947 "if true then"

    • @not_eagleye
      @not_eagleye 8 місяців тому +12

      💀💀💀

    • @not_eagleye
      @not_eagleye 8 місяців тому +17

      ​@@aljon5947 lmao

    • @nacroni
      @nacroni 8 місяців тому

      @@aljon5947undertale type code

  • @cartertitan-rv3xe
    @cartertitan-rv3xe 8 місяців тому +378

    professional roblox jojo game developer coding live footage

  • @Youkuri
    @Youkuri 8 місяців тому +333

    5:35 This is just that tweet saying "God I wish there was an easier way to do this"

    • @DraxilSpada-vc2wg
      @DraxilSpada-vc2wg 8 місяців тому +4

      no don't say it you'll summon derek baum

    • @shaneharding7399
      @shaneharding7399 8 місяців тому +7

      "Hello, it's me, Derek Baum! And I am here to introduce... the code missile! First, point the missile toward your PC, light the thruster, and then...
      *BAAAAAAAAAAAAAAAAAAAANG!!!*
      And now all of your code is perfectly optimized!"

    • @tyrannosaurustits7083
      @tyrannosaurustits7083 8 місяців тому

      yandere dev else if saga

    • @star-phobia
      @star-phobia 8 місяців тому

      @@DraxilSpada-vc2wghe did :(

    • @WeeHee
      @WeeHee 8 місяців тому +2

      I literally saw the source of an old Roblox game that did that

  • @Aslyuriel
    @Aslyuriel 8 місяців тому +827

    When your assignment at school has a minimum word count

    • @sparrowEP
      @sparrowEP 8 місяців тому

      this

    • @Abolishtaxes1997
      @Abolishtaxes1997 7 місяців тому

      real

    • @1000-THR
      @1000-THR 7 місяців тому

      minimum line count

    • @em-si-ton-somsoc
      @em-si-ton-somsoc 7 місяців тому

      ​@@1000-THRyes

    • @lenoobxd
      @lenoobxd 5 місяців тому

      how to reach minimum word count 101
      step 1: you’re > you are
      +1 word
      repeat

  • @blackbirdsax4041
    @blackbirdsax4041 8 місяців тому +2232

    REAL programmer's NEVER use variables or any of that utter nonsense, how foolish of you! Obviously you have to declare the exact part every single time it needs to be called, like a real programmer would 💪

    • @codingpileofdirt
      @codingpileofdirt 8 місяців тому +85

      Real *Lua* programmers. If it was something as basic as Scratch or something it would be a pretty different story.

    • @Sakupenny
      @Sakupenny 8 місяців тому +9

      so fucking real

    • @kirbyrparchives
      @kirbyrparchives 8 місяців тому +34

      Scatch is not real 👹​@@codingpileofdirt

    • @NaraSherko
      @NaraSherko 8 місяців тому +1

      @@codingpileofdirt I was a scratch dev before now i use roblox studio and i use those variables

    • @arandomguythatdoesntpost
      @arandomguythatdoesntpost 8 місяців тому +8

      not using variables actually makes the code run slower (as described in the lua documentation), don't know if this applies to LuaU though

  • @3hxde
    @3hxde 8 місяців тому +296

    16:00 Genuinely most of my code when I was younger consisted of this, and funny part is my games were more supposed to be jokes rather than real games. I made a whole game basically Rick rolling my Friend just because I thought it would be funny

    • @reddeadleisure
      @reddeadleisure 8 місяців тому +16

      This is how devforum memes are created

  • @yur5670
    @yur5670 8 місяців тому +987

    A lot of games unironically run on code like this 😄

    • @DDog09
      @DDog09 8 місяців тому +49

      Was gonna say this, some top games breaking the 50,000 lines mark

    • @reddeadleisure
      @reddeadleisure 8 місяців тому +120

      ​@@DDog09??? Thats literally normal if its a big game

    • @DDog09
      @DDog09 8 місяців тому +12

      @@reddeadleisure that’s… literally my point, literally what i just said 🤣

    • @reddeadleisure
      @reddeadleisure 8 місяців тому +131

      @@DDog09 The fuck you mean? It seems like you were suggesting bigger lines of code = unoptimized which is straight up not true

    • @DDog09
      @DDog09 8 місяців тому +6

      @@reddeadleisure calm down 💀, you’re being overly combative for no reason. I never said bigger lines of code = unoptimized did I?

  • @thegreatollyrusanddaisy5511
    @thegreatollyrusanddaisy5511 8 місяців тому +357

    "theres a child inside of one thing" byteblox 2024

    • @scratchingcatclaw
      @scratchingcatclaw 8 місяців тому +16

      Ah yes, programmer language

    • @blacklight683
      @blacklight683 8 місяців тому +17

      Guys is that freddy fazbear? Hur hur hurhur

    • @Cootieb
      @Cootieb 8 місяців тому +3

      @@blacklight683GUYS IS THAT FREDDY FAZBEAR? HUR HUR HURHUR

    • @bluebearfinn
      @bluebearfinn 8 місяців тому +1

      @@blacklight683god no

    • @lamp7746
      @lamp7746 8 місяців тому

      I searched up “tween model” the other day and I was scarred.

  • @lycandusk7263
    @lycandusk7263 8 місяців тому +63

    i have no clue how close it's related to this bc i have like no knowledge of code but this reminds me of a time my friend showed me code and near the start was "true = True" and "false = False"

    • @maincraf-yk5qq
      @maincraf-yk5qq 8 місяців тому +9

      Ah, yes, 1 = 1+0

    • @gigimoosegaming3465
      @gigimoosegaming3465 8 місяців тому +21

      its python, because in other languages its normally just true and false without caps, in python it is. its probably because they want to make it easier for themselves

    • @biigsmokee
      @biigsmokee 8 місяців тому +14

      write true = False, false = True just under it and watch him debug for ages

    • @cewla3348
      @cewla3348 8 місяців тому +3

      @@biigsmokee anyone who knows how to debug will watch variable states tho?

    • @newuser689
      @newuser689 7 місяців тому +2

      ⁠@@cewla3348>print(true)
      >prints False
      this is when u put shotgun in mouth

  • @adrianle3
    @adrianle3 8 місяців тому +50

    It's crazy to think that coding makes people say the most diabolical things if taken out of context
    "If you touch this part, you explode and earn a point"
    "I'm gonna immediately pair it to a child which is the player"

    • @vindi167
      @vindi167 4 місяці тому

      remember: the only difference between coding and demon summoning is candles.

  • @brawldude2656
    @brawldude2656 8 місяців тому +70

    4:40 I love how he didn't even use the yielding result after all the tree search. (He just used script.Parent after all)

    • @semydev
      @semydev 8 місяців тому +13

      Yeah because what if the script isn’t the right script you know? You gotta know the script is on the right part before finding the part

  • @midge_gender_solek3314
    @midge_gender_solek3314 8 місяців тому +14

    In my experience, absolute most problems in game optimisation have nothing to do with "bad code" per se (unnecessary loops and inefficient ways of referencing things) and everything to do with drawing too much, moving too much, generally doing too much stuff every frame.
    Devs sometimes really need to drop their inner C coder when working with modern engines, at least as a beginner it helped me to focus on avoiding spaghetti code first and foremost

  • @BreadXs
    @BreadXs 8 місяців тому +60

    i love making a main menu, thanks for the tutorial!!

  • @XDxbox420
    @XDxbox420 8 місяців тому +165

    day 2 of asking for byteblox to recreate the drake video for his next video

  • @pretzneko
    @pretzneko 8 місяців тому +11

    i got my hands on a type soul copy and the code actually makes me want to cry. all of the client statements are contained in a single local script, bordering on 10k lines. this isnt even the worst example of this in the game.

    • @jayinvictus3945
      @jayinvictus3945 8 місяців тому +3

      Wait like a copy of the old code?? THAT'S why I was lagging constantly and my friend crashed everytime he opened the game??? XD

    • @pacomatic9833
      @pacomatic9833 7 місяців тому +2

      I was absolutely rolling when I heard that

    • @opiumsigmaclan
      @opiumsigmaclan 6 місяців тому

      type soul code isnt even bad 😭

  • @th3_marc0
    @th3_marc0 8 місяців тому +9

    Hey bro, I just wanted to say your videos are AMAZING. They helped me so much in coding fundamentals. Literally no other channel or video could do this. Keep up the good work bro

  • @Seme_
    @Seme_ 7 місяців тому +6

    I understand like a very little bit of LUA, and that was enough to make me understand what you were doing and laughed all throughout the video. 🤣

  • @Creative_YT
    @Creative_YT 5 місяців тому +5

    “How unoptimized can a roblox game get?”
    *any simulator game:*

  • @LennyFace987
    @LennyFace987 4 місяці тому +1

    7:55 u should've done a while true loop cause I suck at coding and that's what I do when i don't know how to use the function

  • @cypressment
    @cypressment 8 місяців тому +9

    the final part is asking for help in devforum once you accidentally made an error somewhere

  • @RakeV8
    @RakeV8 7 місяців тому +1

    at 7:09 you should have made it loop through the children of Players every 0.5 seconds and keep track of all of them and if any of them are new (not in the table/variables you're storing them in) then it does the function. this works basically the same as PlayerAdded() but it has a delay and it's more laggy

  • @connecting7161
    @connecting7161 8 місяців тому +6

    I'm pretty sure this is a common practice in the roblox dev community by now...

  • @groboggan9535
    @groboggan9535 8 місяців тому +9

    Wow I didn’t even know what optimizing is this is pretty helpful

  • @Oc_TheGrunt
    @Oc_TheGrunt 8 місяців тому +7

    This reminds me in the old version on noob adventure (my game) I wanted to have a bounce effect, but the bounce effect wouldnt stay in one place when the effect was emitted.
    So instead of just unchecking the LockedToPart vatiable I made a scrip that creates a part sets the pose of the part to the hrp set the parent to workspace and then cloned the effect and put thats parent as the part 😭😭

    • @Sky_Blue_Crew
      @Sky_Blue_Crew 8 місяців тому

      No way ur here too

    • @Tealen
      @Tealen 8 місяців тому +1

      i could see myself doing that a few years back, i was TERRIBLE at optimizing.
      and i, for so long, instead of using :Emit(1) to make particle emitters emit just 1 particle (to make like an explosion or something), i would make it enabled for 0.1 seconds and disable it right after...

  • @CyanNStuff
    @CyanNStuff 8 місяців тому +9

    omg before this video... I was using a single variable for things... now I know I need to make sure the children don't cross contaminate.
    Thank you for this useful tutorial.

  • @geckapus
    @geckapus 8 місяців тому +6

    After taking my AP Computer Science A Exam this morning, I can certify this is completely acceptable and optimized code.

  • @InvisibleSquids
    @InvisibleSquids 8 місяців тому +4

    I have a project that took a map, wrote a script that would look at the position, rotation, color, and size of every object, then generate a script that would delete the entire world only to build it back. It would freeze for a solid two minutes, the world would vanish, then freeze for another two minutes as it built the world back.... Ended up being around 280k lines long in the end.... This was around 11 years ago though, so theres a good chance the project got nuked

    • @r2w-z9o
      @r2w-z9o 7 місяців тому +2

      bro most well known games dont even have 150k lines of code

    • @InvisibleSquids
      @InvisibleSquids 7 місяців тому +2

      @@r2w-z9o Yep, I was simply trying to see if i could do meta-programming. The answer is "kind of"

    • @ramarrageEditz
      @ramarrageEditz 4 місяці тому

      DAMN

  • @jademonass2954
    @jademonass2954 6 місяців тому +4

    i looked away because i was doing something, and tuned back to see line 12845 and had a mini heart attack

  • @marksmanmerc1
    @marksmanmerc1 7 місяців тому +3

    I always hated that mindset about not optimizing code when learning. Never understood wanting to learn things wrong.

  • @DefinitelyNotJethro
    @DefinitelyNotJethro 8 місяців тому +21

    7:20 I agree. Roblox told us we can just tell the AI what to do and it'l lwrite the code for us, but instead it just suggests random stuff that we didn't even want. I don't think you can write a prompt to the AI to tell it what to write either

    • @ninlaw9810
      @ninlaw9810 8 місяців тому

      ai is shit at making code might as well look a tutorial or go on dev forunlm

    • @Teroces1Gaming
      @Teroces1Gaming 8 місяців тому

      Personally my experience with the ai is very good. I usually never pause when writing code, but the few times i do, it sometimes feels like its reading my mind cause it perfectly auto completes.
      Prob the most impressive examples of this was that the ai was able to finish the rest of my dynamic memory allocator function written in my own customized assembly language (i made a cpu emulator on roblox). It somehow learned the rules of my custom assembly language and even realized the algorithm that i was trying to make (and it did that despite being trained to develop good luau code, not assembly)

  • @Nexis_vr
    @Nexis_vr 5 місяців тому +2

    I have no clue how to code in Lua but I like your funny words, magic man

  • @neonowlgery
    @neonowlgery 7 місяців тому

    I love how you intentionally made a specific variable for something. As a Java Plugin developer (Minecraft), that's so natural to me... (it makes stuff easier sometimes...)

  • @Xx_babanne_avcisi27_xX
    @Xx_babanne_avcisi27_xX 5 місяців тому +2

    thanks for the scripting tutorial, at first i didnt know how to script but thanks to this video i already started making my roblox game!

  • @amaz1699
    @amaz1699 8 місяців тому +38

    pls
    make a game that uses no variables 🙏
    i promise it’ll be a fun challenge 😃

    • @Tealen
      @Tealen 8 місяців тому

      :D

    • @giuyo
      @giuyo 8 місяців тому +3

      I code with no variables, not pressing enter and using the Brush Script font. 😊

    • @Tealen
      @Tealen 8 місяців тому +1

      @@giuyo when i need to disable a chunk of code from a script for a bit, i just place - - before every line 😃

    • @mr_originalname
      @mr_originalname 8 місяців тому +1

      @@Tealen when i wanna loop through a folder, i make a variable for each part in it 😃

    • @randomchannel-kh7oc
      @randomchannel-kh7oc 8 місяців тому +1

      without using local?

  • @NatanGamerul777
    @NatanGamerul777 6 місяців тому +1

    this is how i used to write code after 1 week of scripting, it's been over an year since, i still suck af

  • @seltexe
    @seltexe 7 місяців тому +1

    8:57 as a C dev, i'm really triggered by your variable naming, which makes it even better.

  • @arandomguy46
    @arandomguy46 8 місяців тому +1

    i remember a long time ago when i first got into programming i wanted to make an animated typing effect so i allocated one line of code for each character and then added a wait()... looking back now i know what was going through the devforums mind when i showed this off.

  • @VariantBank
    @VariantBank 8 місяців тому +3

    every time you needed to find a part make a combination of all 10 character letter combinations until it equals the name of the part

  • @HEnTYH
    @HEnTYH 4 місяці тому

    12:48 what you were about to write, i saw bitt instead of a button, it looked like local bit## for a second

  • @aero4856
    @aero4856 8 місяців тому +1

    always remember to connect and never disconnect. you never know when you'll need that connection again, after all!

  • @Derlabrbx
    @Derlabrbx 5 місяців тому +1

    you could make another variable called ws3 that's like local ws3 = workspace
    I was too lazy to test if you can do it even tought it's the most useless thing ever but you probably can.
    When I'm in my games and I wanna execute commands faster I write workspace instead of game.Workspace it does work.

  • @helo3309
    @helo3309 Місяць тому

    if you can take the most basic thing you can do in luau and unoptimize THAT, you're the best scripter i have ever seen

  • @SuperBootsTheDog
    @SuperBootsTheDog 8 місяців тому +1

    Make a bunch of variables that are all equally as long of a name as the object it’s representing, and make those variables used once

  • @funnydude69
    @funnydude69 6 місяців тому

    At 5:40 you should have just always used tweenservice from 0 to 0.1 and etc with no loops for true 🍝

  • @luh034
    @luh034 8 місяців тому +1

    Why would you choose Roblox out of all the amazing Engines out there? I don't get what makes Roblox worth choosing over, say Godot, Unity, Unreal, Unigine, Cryengine or any other big ones out there. Isn't the Roblox engine just more limited, whilst simultaneously having less features and running worse than any of the ones listed above? The only reason I could think of is, that a lot is already pre-made - reducing the amount of development time required, which I somewhat get - but at that point just make a Source mod.
    Is there something I'm missing??

  • @kevy-uhhhhh
    @kevy-uhhhhh 5 місяців тому +1

    Dawg I just realized how many times byte says "ok" in a video 😭

  • @PhoenixAscension554
    @PhoenixAscension554 8 місяців тому +4

    Could you consider making a video about coroutines cause I really like how you explain things and I don't understand those.

  • @FireDragon91245
    @FireDragon91245 8 місяців тому +1

    Programming should be done in stages (may not apply to game dev)
    1, Understand the problem, customer requirements, solutions
    2. Just Get your Solution in code write it without structure, just get your idea in code even if its the worst code seen in 100 years
    3. Convert you Proof of Concept into actual Porduction Code, structure optimize where needed...

  • @AndrewRoberts-ty9qy
    @AndrewRoberts-ty9qy 8 місяців тому +1

    Wrote this script (below) to see if I could do the same, basically all it does is look for when the player touches part of yes then fling player, what causes it to be unoptimized is its use of the wait() function, it constantly checking if the part exists and making new body velo instead of reusing the old one.
    Script:
    -- Define a function to fling the player
    function flingPlayer(hit)
    -- Check if what was touched is a player
    local character = hit.Parent
    local humanoid = character:FindFirstChildOfClass('Humanoid')
    if humanoid then
    -- Create a BodyVelocity object to fling the player
    local bodyVelocity = Instance.new('BodyVelocity')
    bodyVelocity.Velocity = Vector3.new(math.random(-100,100), math.random(50,100), math.random(-100,100))
    bodyVelocity.MaxForce = Vector3.new(1e4, 1e4, 1e4)
    bodyVelocity.Parent = character.HumanoidRootPart
    -- Wait for a short time and then remove the BodyVelocity object
    wait(0.5)
    bodyVelocity:Destroy()
    end
    end
    -- Create a Part in the workspace
    local part = Instance.new('Part', workspace)
    part.Size = Vector3.new(10, 1, 10)
    part.Anchored = true
    part.Position = Vector3.new(0, 10, 0)
    -- Connect the 'Touched' event of the part to the 'flingPlayer' function
    part.Touched:Connect(flingPlayer)
    -- Inefficiently keep checking if the part exists
    while wait(1) do
    if not part:IsDescendantOf(workspace) then
    part = Instance.new('Part', workspace)
    part.Size = Vector3.new(10, 1, 10)
    part.Anchored = true
    part.Position = Vector3.new(0, 10, 0)
    part.Touched:Connect(flingPlayer)
    end
    end

  • @nonsindev
    @nonsindev 7 місяців тому

    I think i realy learned more in this video then in some other youtube tutorials👍 thank you very much❤

  • @KittenKatja
    @KittenKatja 7 місяців тому

    How to claim that you wrote 12k lines in 10 min:
    Copy code that already has 10k lines, copy a feature in the code and paste it another 10 times, and make variation in those lines.
    Now, you got a forked project with 12k lines that you spent 10 min writing strings for the only "code" you actually made "yourself".
    This is how a friend claimed to have worked all day on a bot.

  • @UnethicalHacking
    @UnethicalHacking 6 місяців тому

    this helped me a lil bit with for i loops. im currently trying to understand how i can acces the indivisual player in a table. and then assign them "player1" and if ur player 1 or 2-4 then it will show for the players in whatever to check and display there roblox thumbnail to the apropriate UI location. this is prolly confussing. but im getting close. if anyone would like to share some ideas or tipsor questions or anything, i would be so greatful. and vice versa, if u have a question, id love to try to help. stay scripting!

  • @Petit_loup137
    @Petit_loup137 7 місяців тому

    3:51
    so more pathing's in the workspace AND children in the workspace, slower it will be

  • @skzkxjdnzjxnxndn
    @skzkxjdnzjxnxndn 8 місяців тому +14

    Outstanding🔥🔥🔥🔥🔥

    • @whatthewhere
      @whatthewhere 8 місяців тому +1

      🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥f

    • @NoobNoobyNobNub
      @NoobNoobyNobNub 8 місяців тому

      🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥f

    • @tornadoruby
      @tornadoruby 8 місяців тому

      🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥s🔥🔥🔥🔥🔥🔥🔥🔥🔥

    • @gdplentie3
      @gdplentie3 8 місяців тому

      iNSITTING🧊🧊🧊🧊🧊🧊

  • @K4YTIKAL
    @K4YTIKAL 8 місяців тому +2

    As a programmer myself, I can confirm that this type of coding makes me want to rip my eyes and brain out of my head.

  • @googoogaagaayt
    @googoogaagaayt 8 місяців тому +1

    so glad you stopped making those long and overcomplicated tutorials😊

  • @connor7272
    @connor7272 8 місяців тому

    As a game enjoyer, I have never complained abt a game being too optimized, maybe if there’s a significant impact on gameplay, but otherwise I like optimization, as everyone else does

  • @ErrorAnimator687
    @ErrorAnimator687 5 місяців тому +1

    "If theres a child, inside a thing" 💀

  • @ThundermostYT
    @ThundermostYT 8 місяців тому +1

    try to make a code but every time roblox studio tries to finish the code you gotta accept it and see what the code does at the end

  • @TlMEL0RD
    @TlMEL0RD 8 місяців тому +6

    My scratch games: amateurs.

  • @BeansBem
    @BeansBem 5 місяців тому

    it all starts to go down hill when nested loop is introduced

  • @vwnt
    @vwnt 8 місяців тому +1

    finally, you made the average acs gunkit game

  • @pyepie4491
    @pyepie4491 6 місяців тому

    i love how he didnt even use task.wait() he just used wait() which is EVEN MORE unoptimized

  • @最も愚かな
    @最も愚かな 5 місяців тому

    Love the unoptimized video my man!

  • @Therealnumberfive
    @Therealnumberfive 5 днів тому

    Nice tutorial bro 👍

  • @nikolainyegaard
    @nikolainyegaard 7 місяців тому +1

    Take a shot every time he ends a sentence with “okay?”

  • @kaboomproduct
    @kaboomproduct 7 місяців тому

    ever since watching the low framerate video i am only getting you in my recommended 😭😭

  • @HauntedKnight-cj8kv
    @HauntedKnight-cj8kv 8 місяців тому +1

    Toy Defense is more unoptimized. 30 fps gaming. Some guy said he was getting 20 on an rtx 4090 in the same match as me, but I doubt it since I have some Radeon RX 580 series.

  • @QuestionabIeStudios
    @QuestionabIeStudios 8 місяців тому +1

    me when i clicked in this video: Ah, unoptimized code, this sure will be funny!
    me 4 minutes in: Why can i understand everything?...

  • @borkrz
    @borkrz 8 місяців тому +20

    geometry dash lore

  • @caboose6411
    @caboose6411 7 місяців тому

    It’s honestly funny seeing my pc struggle with some roblox games yet handle FH5 at 4k maximum settings and raytracing with no problems.

  • @chuachev
    @chuachev 8 місяців тому +1

    Hey byteblox can you make a video on how to make a bullet hell or something like that? I'd really appreciate it

    • @Arch-mv5te
      @Arch-mv5te 8 місяців тому

      havent tried it yet, but i think you can try to make sort of generators and give them each an attribute of the position where the "bullet" will go and then using collection service tween it and use cframe.lookat to make it look at the destination

  • @vincehomoki1612
    @vincehomoki1612 7 місяців тому

    6:12 Can't wait for the part to stop pulsating after 2 hours!

  • @thevisiblefiend1534
    @thevisiblefiend1534 7 місяців тому

    should make a game where you have too collect poimts™️ to get to a next level, in which give you more poimts™️ in which you can buy pets in which give more points. you should also have at the end of the level a boss, where you dont fight & make the pets fight it and the pets have health. and at the end pf each level you can develop an addiction & force the pets into labor to help you support the addiction, and each level is like this, just an endless loop of forced labor for your pets. also make the scripts like literally unreadable, unoptimized with tones of useless things in it.

  • @cirkulx
    @cirkulx 5 місяців тому

    5:35 this is where i started crying.

  • @Father-pq7tn
    @Father-pq7tn 8 місяців тому +1

    When you realize his unoptimized code is how your code looks.

  • @seamo-vt
    @seamo-vt 8 місяців тому

    I don't know a single thing about coding but I was entertained the whole way through anyways

  • @harryvpn1462
    @harryvpn1462 8 місяців тому

    16:00 A lot of roblox gears actually have this kinda stuff in them

  • @wPoporn
    @wPoporn 8 місяців тому +159

    For every push-up this comment gets, I’ll do one like.

    • @GALAnist
      @GALAnist 8 місяців тому

      Is this a real kid or a just stupid guy being stupid?
      I wonder this kid begging a like or what?

    • @insanemuffin5749
      @insanemuffin5749 8 місяців тому +9

      Just did 40

    • @Ngo2k4
      @Ngo2k4 8 місяців тому +6

      huh?

    • @feaurify5281
      @feaurify5281 8 місяців тому +1

      Push up

    • @liquidcashews
      @liquidcashews 8 місяців тому

      for every brain cell i gain, i’ll do one like

  • @mainfalsedata
    @mainfalsedata 8 місяців тому +1

    You can just do the part.Transparency like
    while true do
    wait(1)
    part.Transparent = transparenthere
    wait(1)
    part.Transparent = transparenthere
    end

    • @poopipants2155
      @poopipants2155 8 місяців тому

      now make the code longer

    • @palmberry5576
      @palmberry5576 8 місяців тому

      I don’t understand, that’s only two transparencies and where is 0.5 and 1

    • @mainfalsedata
      @mainfalsedata 8 місяців тому

      @@poopipants2155 Well its like
      while true do
      wait(1)
      script.Parent.Transparent = 0
      wait(1)
      script.Parent.Transparent = 0.5
      wait(1)
      script.Parent.Transparent = 0
      wait(1)
      script.Parent.Transparent = 0.5
      wait(1)
      script.Parent.Transparent = 0
      wait(1)
      script.Parent.Transparent = 0.5
      wait(1)
      script.Parent.Transparent = 0
      wait(1)
      script.Parent.Transparent = 0.5
      wait(1)
      script.Parent.Transparent = 0
      wait(1)
      script.Parent.Transparent = 0.5
      wait(1)
      script.Parent.Transparent = 0
      wait(1)
      script.Parent.Transparent = 0.5
      end

  • @randienz1196
    @randienz1196 8 місяців тому +1

    well done, you hurt me and everyone with at least basic programming and optimizing skills

  • @goodpuffs
    @goodpuffs 8 місяців тому +1

    The editing is too distracting, did you hire a new editor for this video? I prefer the one's without the zoom ins and fast-paced cuts... 🤕😢😢

    • @byteblox100
      @byteblox100  8 місяців тому

      It’ll be 50/50 old editing and new editing lol. If one style does better I’ll stick with that

  • @Yu-Gi-Oh36508
    @Yu-Gi-Oh36508 8 місяців тому

    3:24 where is the stacked if statements??

  • @cookiecutter5176
    @cookiecutter5176 3 місяці тому

    Im as rookie as rookie gets in terms of coding
    But even still, looking at this, i can feel my brain trying to dissolve into dust.

  • @angrybirdnate0626
    @angrybirdnate0626 7 місяців тому

    (11:35-12:40)
    the thing is some scripts on roblox's official documentation actually do this and it pisses me off to no end

  • @jvthan
    @jvthan 8 місяців тому

    Yo bro instead of holding down the backspace key, hold CTRL when pressing backspace and it'll delete the previous word instantly

  • @A13xx.
    @A13xx. 8 місяців тому +2

    as a 3d modeller, this code is frying my brain

    • @jaop3734
      @jaop3734 6 місяців тому

      Hey man I know this is kinda outta the blue but I'm an aspiring 3d modeller and I'd like to know if you have any tutorial/ channel recomendations cuz right now I feel really lost and demotivated. I use blender and really enjoy modelling and sculpting but scene making, animation and texturing... not so much. Should I at least try to learn the basics of those or just stick with what I like?

    • @A13xx.
      @A13xx. 6 місяців тому

      @@jaop3734 i think it’s important to learn the basics based on what your interested in. blender has so much functionality so you should learn the controls for the specific bit you wanna use

  • @uwudispenser2869
    @uwudispenser2869 5 місяців тому

    this is good but you forgot to make the part a union with 70 parts

  • @glob1212
    @glob1212 8 місяців тому

    new scripter: “can someone tell me how to reference part” byteblox: “throws 17 lines of code”

  • @TrixzyDev
    @TrixzyDev 6 місяців тому

    Man you optimized leaderstats some what 😭Task Failed Successfully..

  • @ilost7489
    @ilost7489 8 місяців тому

    Just put 12 thousand while true loops in the game. I have unironically seen this before and have been asked to fix it

  • @ethanbritton
    @ethanbritton 8 місяців тому

    4:52
    All of that to get the part
    then define the variable just using script.Parent
    genius, my friend

  • @lugadug9475
    @lugadug9475 8 місяців тому +1

    ByteBlox is unstoppable...

  • @TechBoxNW
    @TechBoxNW 8 місяців тому +1

    Wait... my codes not supposed to look like this?

  • @myacidninjatheamazing1025
    @myacidninjatheamazing1025 8 місяців тому

    this video somehow made me understand how coding works. its calls to specific objects and arguments based on those objects?

    • @maincraf-yk5qq
      @maincraf-yk5qq 8 місяців тому

      Uh... This might not be the best video to learn from lmfao

    • @myacidninjatheamazing1025
      @myacidninjatheamazing1025 8 місяців тому

      @maincraf-yk5qq probably not but the way I watch something be coded and then seeing it be explained the whole tree thing and everything

    • @maincraf-yk5qq
      @maincraf-yk5qq 8 місяців тому

      @@myacidninjatheamazing1025 Yeah, this guy's really good at explaining stuff. I just discovered his channel and wow, I was already on the making of a game and this guy still made me learn a lotta stuff

  • @vinciith
    @vinciith 8 місяців тому +13

    AMATEUR!
    forgot ws3 = workspace

    • @parasyct
      @parasyct 8 місяців тому +1

      only related comment in this video and so far behind the other ones

    • @reddeadleisure
      @reddeadleisure 8 місяців тому

      ​​@@unfortunatemystery1778workspace is a default global variable smart ass

    • @xPWR-ol6ze
      @xPWR-ol6ze 8 місяців тому

      ​@@unfortunatemystery1778 No, "workspace" is a valid way to get the Workspace of a game. game.Workspace, workspace, and game:GetService('Workspace') are all ways to get the workspace. If you want to get it like this you need to say "workspace" not "Workspace", making sure you have a lowercase "w". Anyway point is you can get it with "workspace".

    • @jdv_vv
      @jdv_vv 8 місяців тому

      @@unfortunatemystery1778it is possible though-

    • @darilliostheillios
      @darilliostheillios 8 місяців тому

      ​@@unfortunatemystery1778you don't need to add game. Before workspace.

  • @RootEntry
    @RootEntry 8 місяців тому

    tbh, premature optimization is a pit tons of developers fall into.

  • @dealsoperation
    @dealsoperation 8 місяців тому +1

    That mrbest guy seems to give good advice he should start a UA-cam channel