Roblox Loops Explained As If You Were 5

Тәжірибелік нұсқаулар және стиль

50% OFF COUPON WITH "DOUBLEBYTE" (ends in 3 days):
linktr.ee/ByteBlox
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/ByteBlox
You’ll also get 20% off an annual premium subscription!
discord: / discord
wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2024 roblox scripting tutorials about all the different bits of roblox to give you some up-to-date information about all of its properties and events.
my goal is to simply give some insight on how to use the various features and instances roblox studio, and show you some fun stuff you can do with them. thanks for checking out this roblox scripting tutorial :)

Пікірлер: 63

  • @byteblox100
    @byteblox1004 ай бұрын

    free preview of the course www.udemy.com/course/byteblox-expert/?referralCode=B83EFB1A86A5C3D5F206

  • @tails20342

    @tails20342

    4 ай бұрын

    kk

  • @charlie_ck
    @charlie_ck4 ай бұрын

    The reason why it did not loop through the dictionary in the "correct" order is because dictionaries are not ordered since they are indexed with their keys so they don't need to be ordered, but tables are still always looped through in the correct order.

  • @1DiamondKing
    @1DiamondKing4 ай бұрын

    Thank you for taking my suggestion! You got some real potential man. It really helped

  • @imooxo5013
    @imooxo50133 ай бұрын

    I’m learning how to read and write in Java and testing it on Lua and honestly just started working with looping and honestly this is a very useful video!!! Thankyou as I’m currently working on making a auto health regen pad so when a player touches part and needed to understand loop functions for this and video has helped me achieve this Thankyou!!! Only thing I think you should of included was “breaks” as they can be useful when working with loops ❤

  • @UnusedHandle
    @UnusedHandle4 ай бұрын

    can you explain it in fortnite terms

  • @EvanFar_
    @EvanFar_4 ай бұрын

    legend has it byte can explain anything in anime terms

  • @theaveragefryingpan-od8mg
    @theaveragefryingpan-od8mg3 ай бұрын

    thank you so much for this :D

  • @somenerd8139
    @somenerd81394 ай бұрын

    Honestly, I think you needed a script for this one. It's hard to explain a more basic concept off the top of your head, and I feel like you didn't explain clearly or well enough. No offense to you though, it's not easy to do.

  • @gointorealheaven-jj5od
    @gointorealheaven-jj5od4 ай бұрын

    Dude, this is AWESOME for making a game. Thanks thou

  • @vrfrenzy8451
    @vrfrenzy84514 ай бұрын

    thanks, for loops there is one random part to it that my brain couldn't wrap around till this

  • @fleggy5050
    @fleggy50504 ай бұрын

    One more thing I see in for loops often is "pairs" and "ipairs". I've been struggling with for loops for whatever reason even tho they are pretty simple and this video was perfect for me but I still dont understand those two.

  • @byteblox100

    @byteblox100

    4 ай бұрын

    They’re outdated, don’t use them

  • @Phoenix-ox8cz

    @Phoenix-ox8cz

    4 ай бұрын

    pairs are for dictionaries and ipairs are for arrays, but you don’t need to use them cause you can just loop through both of them without pairs or ipairs.

  • @Ako_Shiba

    @Ako_Shiba

    4 ай бұрын

    ​@@Phoenix-ox8czwhat should I be using instead of for i,v in pairs() loops?

  • @winter2644

    @winter2644

    4 ай бұрын

    ipairs is if your table looks like {‘A’, ‘B’, ‘C’} pairs is if your table looks like {A = 1, B = 2, C = 3}

  • @fleggy5050

    @fleggy5050

    4 ай бұрын

    Wait so it was used to differentiate between arrays and dictionaries but it's just not necessary anymore?

  • @Griffin_545
    @Griffin_5454 ай бұрын

    my brain is still trying to process this but i kinda understand it more

  • @CheesePuffGuy99
    @CheesePuffGuy994 ай бұрын

    Imma watch this tomorrow cuz i'll go to sleep in a bit

  • @gggthereal
    @gggthereal4 ай бұрын

    Can you make a tutorial on marketplace service

  • @pryvexx
    @pryvexx3 ай бұрын

    How would I break a for i loop if the function is called again? Right now it just does 2 for i loops at the same time conflicting each other.

  • @byteblox100

    @byteblox100

    3 ай бұрын

    Use a debounce

  • @rxdact
    @rxdact4 ай бұрын

    I LOVE BYTEBLOX 💯

  • @AmAntKing
    @AmAntKing4 ай бұрын

    Could you explain the touch function, and how to make them work with clones of an object?

  • @byteblox100

    @byteblox100

    4 ай бұрын

    local newPart = part:Clone() newPart.Touched:Connect(function())

  • @1DiamondKing

    @1DiamondKing

    4 ай бұрын

    ​​@@byteblox100"local Newpart = part:clone() Newpart.touched:Connect(function() end) "* I think Also thx for taking my suggestion. It really helped

  • @AmAntKing

    @AmAntKing

    4 ай бұрын

    @@byteblox100 Ty

  • @zubeyraden4975
    @zubeyraden49754 ай бұрын

    while loops next!

  • @_klaxon
    @_klaxon4 ай бұрын

    cool

  • @1Name8R
    @1Name8R4 ай бұрын

    Hey Bro i need help with practicing i can't even make an obby even though i learned all the basics.

  • @byteblox100

    @byteblox100

    4 ай бұрын

    Look out for the next vid :)

  • @1Name8R

    @1Name8R

    4 ай бұрын

    ALR!!!@@byteblox100

  • @JustA1ex2465
    @JustA1ex246525 күн бұрын

    guys I think this might be a JOJO reference 🤯

  • @dylan2-ud9yd
    @dylan2-ud9yd4 ай бұрын

    Explain velocity in black people terms

  • @CornfloweRR
    @CornfloweRR4 ай бұрын

    Uh i was here to see u going full on anime terms...

  • @adimemo2134
    @adimemo21344 ай бұрын

    wow legendary. BUT REMEMBER! YOU SHOULD LOOP WITH FUNCTIONS. MAKE A FUNCTION AND CALL THAT FUNCTION INSIDE OF IT TO CREATE A LOOP! Its a ton better than the normal "While" or "For" loop since its faster. There is a video proving it (the video: kzread.info/dash/bejne/moOY2sScltSydcY.htmlsi=CX7yoeJOPifoQAeQ )

  • @patata8457

    @patata8457

    4 ай бұрын

    ??

  • @fleggy5050

    @fleggy5050

    4 ай бұрын

    Doesnt that just make it run forever therefore crashing roblox? Is this a troll comment lol?

  • @sed7890

    @sed7890

    4 ай бұрын

    recursion takes more stuff to write, would be just quicker to write a for or while loop.

  • @somenerd8139

    @somenerd8139

    4 ай бұрын

    dude, no one gives a shit about these incredibly small micro-optimizations. The performance will not change nearly enough for it to be worth writing all that extra shit.

  • @aoqia

    @aoqia

    4 ай бұрын

    @@sed7890 this

  • @victorien3704
    @victorien37044 ай бұрын

    The amount of people who don't know how to use a for loop is concerning. I think a mistake most new roblox scripters do is try to learn base concepts of programming through a complex langauge like LUA. Instead what you should do is learn the base concepts of programming through any video series on youtube and then learn LUA once you've trained on them. There is a semi-programming langauge called "Pseudocode", it helped me learn how programming actually works, but you can learn through other langauges like python that have a lot of good explination videos. I didn't understand ANY roblox scripting tutorials ever, until i started my computer science class and actually learned how programming works and the fundementals like hexadecimal and binary, character codes, etc. the problem is there isn't much good videos explaining LUA as if you're new to programming, instead they try to teach you how to make a game work instead of actually learning, which is a huge problem, especially if you want to get better at programming later on.

  • @jonathan10007

    @jonathan10007

    26 күн бұрын

    what worked for me is brute forcing learning lua as then your brain is more accustomed to the language through so much trial and error

  • @froxdoggaming3385
    @froxdoggaming33854 ай бұрын

    I had no idea this was even called a "for loop" before this video. I have no fucking idea what it means. i keep seeing this in scripts like "for i = v do" or whatever. WHAT IS I AND V???? WHY DOES I = V AND WHAT DO THEY DO FOR??? AND WHY ARE THEY IN PAIRS????? All i knew was that it had to do with tables and randomization...

  • @LoganLatios
    @LoganLatios4 ай бұрын

    "explaining roblox loops in anime turms" kore ga *requiem* da.

  • @mrz3134
    @mrz31344 ай бұрын

    your the youtuber i eat my food to

  • @Fishion.
    @Fishion.4 ай бұрын

    What about "in pairs" and "in ipairs"???

  • @byteblox100

    @byteblox100

    4 ай бұрын

    Outdated

  • @Nesquick5678

    @Nesquick5678

    2 ай бұрын

    @@byteblox100 so these things are just useless? i've used them all the time lol

  • @SadlekAski

    @SadlekAski

    12 күн бұрын

    @@Nesquick5678 outdated ~= useless.

  • @danzstuff
    @danzstuff4 ай бұрын

    Explain it in miencraft terms

  • @Daisukiii
    @Daisukiii4 ай бұрын

    Omg not the anime terms 😭

  • @Alleysss
    @Alleysss4 ай бұрын

    jojo reference >:)

  • @ARTURMep

    @ARTURMep

    4 ай бұрын

    Yes. I am

  • @hecker.14yrold
    @hecker.14yrold4 ай бұрын

    a

  • @mini_thing
    @mini_thing4 ай бұрын

    Waow 1 minute ago

  • @lorenplays3548
    @lorenplays35484 ай бұрын

    BEFORE 10 MINS!

  • @eycho8099
    @eycho80994 ай бұрын

    @1DiamondKing he did it

  • @1DiamondKing

    @1DiamondKing

    4 ай бұрын

    True

Келесі