How To Script On Roblox 2023 - Episode 6 (Tables)

Sdílet
Vložit
  • čas přidán 3. 06. 2024
  • Welcome to part 6! Today is all about tables, storing loads of data in one variable! Enjoy! :D
    Join my Discord server here: / discord
    Check out my Patreon Page today: / codebro29
    MERCH: codebro29-official-merch.crea...
    Comment ideas for future videos below! VVV
    Roblox username: fiveironfan2006
    My group: www.roblox.com/groups/5646843...
    #roblox #coding #lua

Komentáře • 324

  • @jaejulife
    @jaejulife Před rokem +118

    fyi for those who are planning to use other programming languages, its very rare for the first index in a list, table or array to be 1, it will almost always be [0] as the first index, and [1] as the second.

  • @defaultuser_0
    @defaultuser_0 Před rokem +59

    easy to understand ngl, bro deserves more recognition and subs

    • @defaultuser_0
      @defaultuser_0 Před rokem +3

      and also would nil be considered a boolean bc it becomes bold and the same color as true and false

    • @Voltimations
      @Voltimations Před rokem +2

      ​@@defaultuser_0 No

    • @Joshismewingpro
      @Joshismewingpro Před 10 měsíci +1

      @@defaultuser_0 Nah bro

    • @deivanna
      @deivanna Před 10 měsíci +1

      @@defaultuser_0 boolean is false or true

    • @GodGamers_Gaming
      @GodGamers_Gaming Před měsícem

      so true

  • @Shifty_fl
    @Shifty_fl Před rokem +32

    you explain it very well part by part without rushing or missing a point it only took me four hours to learn about printing,variable,properties,function and events,

  • @StinkyRatIs_TheBest
    @StinkyRatIs_TheBest Před rokem +6

    I'm learning lots from this! Keep making these type of videos.

  • @kusqer5531
    @kusqer5531 Před rokem +4

    yo lets go another video, ur on a roll man! keep it up good job!

  • @Jvz64
    @Jvz64 Před rokem +17

    these are so good ive been keeping up and i cant wait to use scripting

  • @riverzy7727
    @riverzy7727 Před 10 měsíci +37

    just skimmed quickly through this series and was wondering if you could make a more advanced scripting series, this is great but if you could make something for advanced scripters rather than beginners then that would be great.

    • @redtruckrambo
      @redtruckrambo Před 9 měsíci +2

      i think the dev king has one

    • @fastone5874
      @fastone5874 Před 7 měsíci

      yea he already does although it is a little older but still try to check it out though I haven't because i'm still here learning the basics 10X faster then a school could ever teach me@@redtruckrambo

    • @lvvy_music
      @lvvy_music Před 5 měsíci +2

      He just started one :)

    • @pontus3018
      @pontus3018 Před 4 měsíci +1

      There is already advanced tutorials out there.

  • @Kurczaq
    @Kurczaq Před měsícem +3

    It is VERY easy to understand. Thanks bro! In 3 hours i learned everything in episodes 1-6! Soon i'll be a skilled person! Thanks alot!

  • @Idkbrcelob838
    @Idkbrcelob838 Před 2 měsíci

    Hey bro, thx for these videos. I feel like i can finally understand something i tought i never would

  • @bloxkid756
    @bloxkid756 Před 4 měsíci

    somehow im understanding more in this series then any other one ive watched your really helping me out on my journey 👍👍

  • @TheRealKingNoob
    @TheRealKingNoob Před 5 měsíci

    This entire series has been very helpful to me thank you so much

  • @liverpoolfan2222
    @liverpoolfan2222 Před rokem +6

    the moment he said dropdown, the object dropped down

  • @TKZ907
    @TKZ907 Před rokem +5

    Iv'e been searching for lessons on lua code for a while now I tried youtube didn't work then I tried paying for lessons forgot everything, until you posted idk how but you're a better teacher than those who get paid to teach

    • @Linkiful-Animator
      @Linkiful-Animator Před 11 měsíci +2

      Lesson for today: Do not pay and instead Watch "CodeBro29".

  • @Avi3tionGuy
    @Avi3tionGuy Před 2 měsíci

    ive learnt alot about scripting lua in roblox studio.. in less than a day all because of you!

  • @steevemuffin1337
    @steevemuffin1337 Před 10 měsíci +5

    I just found out that I looooove learning code and coding. I always wanted to learn a languages like Lua and you're making it real so thanks you, I also love the way you explain things. And Sorry for my bad english im french

    • @stickman5180
      @stickman5180 Před 9 měsíci +3

      no need to apologize you know one more language than me homeboy

    • @Flixan.
      @Flixan. Před 9 měsíci

      @@stickman5180 respect.

  • @DoormanX17
    @DoormanX17 Před 4 měsíci

    although the video is a bit old its still very useful to me in my quest for creating a world of my own! so thanks for this. The series goes by a bit slower then others so i can actually keep up with it and you also explain it in a easy to understand way! Thank you!

  • @benshija8208
    @benshija8208 Před rokem +9

    5:13 Perfect timing

  • @Kingofthewindmill
    @Kingofthewindmill Před rokem +8

    If I'd make a game in a click of a button, it would be the most confusing monstrosity anyone has ever played, it would be like, a sea of objects in an open world that stretches rrreeeaaalllyyy far with extremely weird physics.

  • @raxxxgg
    @raxxxgg Před 10 měsíci +1

    Thank you bro these tutorials are very easy to understand and it teaches a lot one video thank you

  • @lacteye230
    @lacteye230 Před 10 měsíci +16

    I'd make the most realistic/complex hand-to-hand combat fighting game imaginable, complete with great animations, scripting, UI, and effects, as well as an easy-to-follow tutorial.

    • @nalalla6470
      @nalalla6470 Před 6 měsíci

      how's it going with the game?

    • @HIVP0SITIVE
      @HIVP0SITIVE Před 6 měsíci

      make devlog

    • @anomalousanimates
      @anomalousanimates Před 4 měsíci

      ooh that's my top 2, i really wanna make a fighting game or an rts game

    • @parishilpi
      @parishilpi Před 4 měsíci

      are you a beginner or an advanced scripter

    • @lacteye230
      @lacteye230 Před 4 měsíci

      @@parishilpi Beginner because my consistency is awful.

  • @Omkar3304
    @Omkar3304 Před rokem

    Nice one bro.
    Super cool !!!!!!!

  • @rafaelbeelen2476
    @rafaelbeelen2476 Před 2 měsíci

    these tutorials are actually helpful ngl

  • @BurningFart
    @BurningFart Před 7 měsíci +2

    this guy is honestly the best

  • @user-wl2pl7gm1b
    @user-wl2pl7gm1b Před 5 měsíci

    great video as always

  • @iqv123
    @iqv123 Před 3 měsíci

    ive had a game plan for days and that was a sword game, not just any sword game but one where you craft swords, have an online market in which you can sell and buy, you can make your own customizable sword with special abilities and perks, with cool blades and handles and stuff and you can also sword fight and see which one is the best. now i didnt explain the entire thing in too much detail but yeah

  • @savalaner2086
    @savalaner2086 Před 7 měsíci +3

    this is so helpful thank you!
    I find it helpful to to put the oposite of what you put when I watched these videos that way my brain isn't thinking it's just copying you, even though I technically am. I always do it on my own later to get better

  • @GabeTheMC
    @GabeTheMC Před 6 měsíci

    W Code Bro this is helping

  • @Sup_Dev
    @Sup_Dev Před 7 měsíci +1

    You are the brackeys of roblox, as a unity dev looking to go to roblox for its coop system you mu friend are helping me, thanks!

    • @CodeBro29
      @CodeBro29  Před 7 měsíci +1

      So glad! Good luck on your Roblox journey! :)

  • @hoopcentralvids5747
    @hoopcentralvids5747 Před rokem +3

    your so consistent good job this is helping me out alot i think im first as well lol

    • @CodeBro29
      @CodeBro29  Před rokem +1

      I'm glad they are helpful! :)

  • @siravyaverageyoutuber5802
    @siravyaverageyoutuber5802 Před 10 měsíci +1

    for me, it'd be a story game/rpg with a deeply fleshed out story and tons of enemies and bosses

  • @KnightWriter13
    @KnightWriter13 Před 8 měsíci

    Thank you for explaining, some others would say " just look, hit the like button , don't the sub and bye. Nice details and new sub. 👍

  • @user-gn6gw1bx8v
    @user-gn6gw1bx8v Před 8 měsíci

    this is very helpful ty some much

  • @FreeEntertainerr
    @FreeEntertainerr Před 7 měsíci

    Yeah do some vidoes have 12k likes lol btw very nice series really helping me out rn!

  • @ItsbaileyX3525
    @ItsbaileyX3525 Před 4 měsíci +1

    if you already know programming, in lua/roblox a table is just a dictionary, array or whatnot

  • @noobcityboy
    @noobcityboy Před 5 měsíci +2

    not gonna lie he's actually the best at explaining stuff i've found out how to do so much stuff

    • @ConfuzzledClockwork
      @ConfuzzledClockwork Před 5 měsíci

      Yea he's not just like "copypaste this script" its rly helpful

  • @AntStates897
    @AntStates897 Před rokem

    50th comment. Don't stop the work, keep up and go far

  • @captainbread5257
    @captainbread5257 Před rokem +1

    you're a saint.

  • @RockonNot
    @RockonNot Před 8 měsíci +1

    It would be a combat game with auras (auras would be something like heroes but with aurus you could make yourself powerful)

  • @void.-glitch
    @void.-glitch Před dnem

    My game would be either a horror game or a fantasy rpg with breathtaking renders

  • @Motionlesscapture
    @Motionlesscapture Před 3 měsíci +1

    a game I would create would be a sci-fi extraction shooter where you save hostages from like space pirates or something

  • @FedericoLodawe
    @FedericoLodawe Před 5 měsíci

    It really depends if i have to update it manually. If i want to create a big and complex game, i will also have to update it to keep a costant playerbase.

  • @GG-Tutorials
    @GG-Tutorials Před 9 měsíci +1

    you : tables is used to put alot of information in it
    me : *puts a single number in every table and continue*

  • @MrNyoom
    @MrNyoom Před 11 měsíci +3

    You can also use things like table.find within things like table.remove, such as:
    table.remove(myTable, table.find(myTable, "Hello!"))
    This will index 1 (or wherever "Hello!" is) and remove it within the same line.

  • @mozatube2682
    @mozatube2682 Před 2 měsíci

    man ur the best

  • @bobbybobby325
    @bobbybobby325 Před 5 měsíci

    i'd make a multiplayer game kind of like Lost, inviting people who haven't watched it, and then become Ben

  • @KaminariDev
    @KaminariDev Před 6 měsíci +1

    could you make a video about string. functions? i would greatly appreciate if you would in the future

  • @mrpichy9729
    @mrpichy9729 Před 7 měsíci +1

    With a click of a button, I would create a police roleplay game with an advanced handcuff system, I am very new to scripting and maybe you could create a video showing how to make an advanced handcuff system with GUI and everything? I really appreciate it all the help!

  • @officialrayan420
    @officialrayan420 Před 11 měsíci +1

    a simulator game that every problem in simulator games that is out there is not in my game

  • @CakeMaster47
    @CakeMaster47 Před 2 měsíci

    A wave defense game like "the last stand 2" thing is fire but needs more to it i think

  • @originebox
    @originebox Před 2 měsíci

    an anime based rpg game with one click would be cool and this game is my dream game thats why am learning scripting now

  • @fairlyxgamer4959
    @fairlyxgamer4959 Před rokem +6

    I would create a realistic story game with realistic graphics because like we see assasian creed and last of us like that games are there on different engines but in roblox engine there is no such games like that means there are but very few thats why im learning scripting to make people know that realistic games are also good not only low poly simulators
    This comment is too long lol
    😅

  • @edplayssims
    @edplayssims Před 10 měsíci

    if i could just create a game effortlessly with just one button, it would be a dance game, super detailed and cool, with a colorful style

  • @skydenandardenschedules368
    @skydenandardenschedules368 Před 8 měsíci +1

    an fun anime based RPG :)

  • @crzyezio5926
    @crzyezio5926 Před 11 měsíci

    I understand it now!

  • @aenoxid2450
    @aenoxid2450 Před 11 měsíci

    Tables are super usefull

  • @benshija8208
    @benshija8208 Před rokem +1

    I would make what i always wanted to make which is a Hide and seek game

  • @forgetful_candk0
    @forgetful_candk0 Před 7 měsíci +1

    i hhhave a question,if we put a command to remove a part of table after we did it once,will it delete 2 things

  • @CVSRizz
    @CVSRizz Před rokem +2

    If i could create one game it would be my Demon Slayer dream game i plan on making using the knowledge found from these tutorials

    • @adrielk1404
      @adrielk1404 Před rokem

      I don't mean to demotivate you or anything, but what do you plan to make in the game? if you wanna make swords u need to know abt tools. if you wanna make the fighting animation you need to know how to animate.

    • @CVSRizz
      @CVSRizz Před rokem

      @@adrielk1404 I know how to animate already

    • @eliserss
      @eliserss Před 7 měsíci

      update?

  • @fastone5874
    @fastone5874 Před 7 měsíci +1

    I was following this until i made some small mistakes that left me debugging for several minutes
    Great job me

  • @AyanManPlayz
    @AyanManPlayz Před 9 měsíci

    to clean the output press on the broom next to properties

  • @pasopaso726
    @pasopaso726 Před rokem +3

    can you make a vidoeo about making a pet Simulator game? it would be really fun

  • @GodGamers_Gaming
    @GodGamers_Gaming Před měsícem

    Guys, if you don't know where something is in a table the easier way to find it is just put table.find(myTable,"???") as the index. for example: table.remove(myTable,table.find(myTable,"hello!")) .

  • @stampedehi
    @stampedehi Před 9 měsíci

    definitly a great horror game

  • @ImpossibleEvan
    @ImpossibleEvan Před rokem +1

    If I could make any game from the click of a button, I would make a really realistic survival game, you'd die from malnutrition if you only at steak, you can't punch down a tree, you need to make a good quality pot to hold water.

  • @crzyezio5926
    @crzyezio5926 Před 11 měsíci

    hmm this tables episode was a bit more challenging for me haha but ill keep on practicing and rewatching the video until I understand :)

  • @carloos_cp
    @carloos_cp Před 7 měsíci

    11:04
    ty for the vidd

  • @anomalousanimates
    @anomalousanimates Před 4 měsíci

    if i could create 1 game with a click of a button... i think i would pick a competition based game that takes heavy inspiration from bfdi and roblox bfdia

  • @LGPROGAMER-so7in
    @LGPROGAMER-so7in Před rokem

    vr fps for the game i would appear into existence

  • @carlosperez-cb2yi
    @carlosperez-cb2yi Před 9 měsíci

    wow wow wow wow wow, I am learning😃😃😃😃😃

  • @bobthemonkey9918
    @bobthemonkey9918 Před 5 měsíci

    5:12 the block drops down right as he says drop down. Idk i just waited for the thing to fall and heard this 😅😅

  • @KingPeng-me3bv
    @KingPeng-me3bv Před 7 měsíci

    I have been watching these videos, and have kind of understand what they do, but I'm kinda confused on what you would use some of these for?

  • @finncarroll9771
    @finncarroll9771 Před 9 měsíci

    great question the whole point I want to learn how to code is to make a game its like gonna be a CC perma death midevil fighting game where and its gonna have a hard parry system and where if you get hit its gonna actually do some dmg like if someone hits you with a sword irl its gonna leave a mark

  • @ImLucld
    @ImLucld Před 10 měsíci

    Thank you for this series, because I really want to make a game.
    (comment answer: I want to make like a zombie survival game, where you have to build a base to survive from zombies or other players)

    • @gameswitheli
      @gameswitheli Před 9 měsíci +1

      did u ever end up making it

    • @ImLucld
      @ImLucld Před 9 měsíci +1

      nah, im still learning@@gameswitheli

    • @gameswitheli
      @gameswitheli Před 9 měsíci

      iight@@ImLucld

  • @mihaiptivet
    @mihaiptivet Před 2 měsíci

    it would be the best game ever

  • @botbretton6064
    @botbretton6064 Před 4 dny

    I would prob make a horror game where you survive nights againt entities

  • @redwaltz_019
    @redwaltz_019 Před 8 měsíci +1

    6:03
    I heard a lil' kid in the background

  • @funnytomato69
    @funnytomato69 Před 4 měsíci

    W tutorial again again again again again

  • @HorrorChef929
    @HorrorChef929 Před 2 měsíci

    5:10 as soon as you said "Drop down," the part became unanchored!

  • @kurozikoasu1887
    @kurozikoasu1887 Před měsícem

    are tables used to save info or make save states also?

  • @ry1koo
    @ry1koo Před rokem

    Liked!

  • @thepandaguy3508
    @thepandaguy3508 Před 9 měsíci

    i would make a combat game similar to the strongest battle grounds which is my goal after learning the basics and animation.

  • @Imayutbr
    @Imayutbr Před 4 měsíci

    I made a script for my GUI! it's pretty cool

  • @Voidx123legend
    @Voidx123legend Před měsícem

    Hey uhhh I know iam late but I need to ask that how will i put a script for water effects to swim like to make players swim in water and not fall of the map pls tell (sorry cus of the bad Grammar)

  • @user-rn3pe3rn6p
    @user-rn3pe3rn6p Před 2 měsíci

    a realistic survival game in nature OR a space explorer game

  • @spidercatgaming3229
    @spidercatgaming3229 Před rokem

    Weeiirrrdd thing happening with me. My table will just say random text, I even set it to the exact same as yours and it still said it.

  • @DuckyTS
    @DuckyTS Před rokem

    Underaaaaaaateeeeeeeeeed

  • @Chezzygaming123
    @Chezzygaming123 Před rokem

    a restaurant tycoon game with customers you have to talk to

  • @VeryLazyJack
    @VeryLazyJack Před 5 měsíci

    I'd make a game like Flooded Area but with infinite crafting recipies

  • @user-qd6lv6jm2z
    @user-qd6lv6jm2z Před 7 měsíci

    There is one thing I don’t get
    Why would u do table.insert when you can just add something to the table inside the local?

  • @mustafasherif-mf4ds
    @mustafasherif-mf4ds Před rokem

    but events are very very very hard i dont fully understand them but what i will do is got to the roblox doc i already saw your vid about events and functions i iwll reveiw it an practice

  • @Helpseriously
    @Helpseriously Před 2 měsíci

    always remember!
    first remove or add whatever you want and THEN print!

  • @kingbubbles8325
    @kingbubbles8325 Před rokem

    I’d make a story game with cut scenes like rdr or gta

  • @IndeedNoKira
    @IndeedNoKira Před 10 měsíci

    6 episodes into this, I have one criticism. These videos definitely could have used a script (as in something for you to read and what to teach, in what order), as you, with all due respect, sort of go all over the place sometimes. Going from "lets do ____" to "lets do ____ first, and get rid of ____ for now." when its already there yk?
    But overall this has definitely been very helpful

  • @TrueZmy
    @TrueZmy Před měsícem

    I would make something that pops up in my head ahaha

  • @Vawds09
    @Vawds09 Před 6 měsíci

    I would make a really cool simulator like pet sim kinda but less p2w and more fun

  • @MyzticV2
    @MyzticV2 Před 14 dny

    Quick problem solve real quick, if you get the error of "0x...", disable log mode in the output which is on the very right!

  • @Vinyknobs
    @Vinyknobs Před 7 měsíci

    if its in a click of a button then a huge rpg game like vesteria or deepwoken

  • @bobiscool8370
    @bobiscool8370 Před 8 měsíci

    I would make the best fairytale game ever just so that fairytale fans have a good game to play cause I haven't seen many very promising fairytale games and I feel like there should be a good fairytale game.

    • @bobiscool8370
      @bobiscool8370 Před 8 měsíci

      By the way by fairytale I mean the anime

  • @karimotjaiyesimi8208
    @karimotjaiyesimi8208 Před 10 dny +1

    i would create a cliker fighter game it would not be the same as the other one it would be way funner and ill make a retro survival game defeat the dark lord to win I cant wait to make theses games

  • @Quertex-kn5nf
    @Quertex-kn5nf Před 10 měsíci

    yes.