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

Поделиться
HTML-код
  • Опубликовано: 12 июн 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

Комментарии • 329

  • @jaejulife
    @jaejulife Год назад +121

    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 Год назад +60

    easy to understand ngl, bro deserves more recognition and subs

    • @defaultuser_0
      @defaultuser_0 Год назад +3

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

    • @Voltimations
      @Voltimations Год назад +2

      ​@@defaultuser_0 No

    • @Joshismewingpro
      @Joshismewingpro 10 месяцев назад +1

      @@defaultuser_0 Nah bro

    • @deivanna
      @deivanna 10 месяцев назад +1

      @@defaultuser_0 boolean is false or true

    • @GodGamers_Gaming
      @GodGamers_Gaming Месяц назад

      so true

  • @Shifty_fl
    @Shifty_fl Год назад +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 Год назад +6

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

  • @riverzy7727
    @riverzy7727 10 месяцев назад +38

    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 9 месяцев назад +2

      i think the dev king has one

    • @fastone5874
      @fastone5874 7 месяцев назад

      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 6 месяцев назад +2

      He just started one :)

    • @pontus3018
      @pontus3018 4 месяца назад +1

      There is already advanced tutorials out there.

  • @Kurczaq
    @Kurczaq 2 месяца назад +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!

  • @Jvz64
    @Jvz64 Год назад +17

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

  • @kusqer5531
    @kusqer5531 Год назад +4

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

  • @bloxkid756
    @bloxkid756 5 месяцев назад

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

  • @TheRealKingNoob
    @TheRealKingNoob 5 месяцев назад

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

  • @Idkbrcelob838
    @Idkbrcelob838 2 месяца назад

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

  • @benshija8208
    @benshija8208 Год назад +9

    5:13 Perfect timing

  • @liverpoolfan2222
    @liverpoolfan2222 Год назад +6

    the moment he said dropdown, the object dropped down

  • @DoormanX17
    @DoormanX17 5 месяцев назад

    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!

  • @Kingofthewindmill
    @Kingofthewindmill Год назад +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 10 месяцев назад +1

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

  • @Avi3tionGuy
    @Avi3tionGuy 2 месяца назад

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

  • @lacteye230
    @lacteye230 10 месяцев назад +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 6 месяцев назад

      how's it going with the game?

    • @HIVP0SITIVE
      @HIVP0SITIVE 6 месяцев назад

      make devlog

    • @anomalousanimates
      @anomalousanimates 5 месяцев назад

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

    • @parishilpi
      @parishilpi 4 месяца назад

      are you a beginner or an advanced scripter

    • @lacteye230
      @lacteye230 4 месяца назад

      @@parishilpi Beginner because my consistency is awful.

  • @TKZ907
    @TKZ907 Год назад +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 11 месяцев назад +2

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

  • @steevemuffin1337
    @steevemuffin1337 11 месяцев назад +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 10 месяцев назад +3

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

    • @Flixan.
      @Flixan. 9 месяцев назад

      @@stickman5180 respect.

  • @Omkar3304
    @Omkar3304 Год назад

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

  • @rafaelbeelen2476
    @rafaelbeelen2476 2 месяца назад

    these tutorials are actually helpful ngl

  • @BurningFart
    @BurningFart 8 месяцев назад +2

    this guy is honestly the best

  • @savalaner2086
    @savalaner2086 8 месяцев назад +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

  • @iqv123
    @iqv123 4 месяца назад

    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

  • @GabeTheMC
    @GabeTheMC 6 месяцев назад

    W Code Bro this is helping

  • @user-wl2pl7gm1b
    @user-wl2pl7gm1b 5 месяцев назад

    great video as always

  • @ItsbaileyX3525
    @ItsbaileyX3525 4 месяца назад +1

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

  • @user-gn6gw1bx8v
    @user-gn6gw1bx8v 8 месяцев назад

    this is very helpful ty some much

  • @Sup_Dev
    @Sup_Dev 8 месяцев назад +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  8 месяцев назад +1

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

  • @siravyaverageyoutuber5802
    @siravyaverageyoutuber5802 10 месяцев назад +1

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

  • @hoopcentralvids5747
    @hoopcentralvids5747 Год назад +3

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

    • @CodeBro29
      @CodeBro29  Год назад +1

      I'm glad they are helpful! :)

  • @KnightWriter13
    @KnightWriter13 8 месяцев назад

    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. 👍

  • @noobcityboy
    @noobcityboy 6 месяцев назад +2

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

    • @ConfuzzledClockwork
      @ConfuzzledClockwork 5 месяцев назад

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

  • @FedericoLodawe
    @FedericoLodawe 6 месяцев назад

    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.

  • @RockonNot
    @RockonNot 8 месяцев назад +1

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

  • @FreeEntertainerr
    @FreeEntertainerr 7 месяцев назад

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

  • @wedgerYT
    @wedgerYT 7 дней назад +1

    if i could make any game i would make it a battleground game because plenty of people spend loads of robux on different movesets and u can earn alot. in order to make it attracting i would have made it EXTREMELY good graphics and a complex in game combo on people. i would include events, different characters and movesets, acccesories.

  • @AntStates897
    @AntStates897 Год назад

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

  • @fairlyxgamer4959
    @fairlyxgamer4959 Год назад +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
    😅

  • @KaminariDev
    @KaminariDev 6 месяцев назад +1

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

  • @captainbread5257
    @captainbread5257 Год назад +1

    you're a saint.

  • @MrNyoom
    @MrNyoom 11 месяцев назад +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.

  • @AyanManPlayz
    @AyanManPlayz 9 месяцев назад

    to clean the output press on the broom next to properties

  • @Motionlesscapture
    @Motionlesscapture 3 месяца назад +1

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

  • @forgetful_candk0
    @forgetful_candk0 7 месяцев назад +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

  • @ivorywagers
    @ivorywagers 7 дней назад +1

    understood on how they work i just kinda dont understand when they would be needed

  • @benshija8208
    @benshija8208 Год назад +1

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

  • @mozatube2682
    @mozatube2682 2 месяца назад

    man ur the best

  • @GG-Tutorials
    @GG-Tutorials 10 месяцев назад +1

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

  • @CakeMaster47
    @CakeMaster47 2 месяца назад

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

  • @void.-glitch
    @void.-glitch 9 дней назад

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

  • @KingPeng-me3bv
    @KingPeng-me3bv 7 месяцев назад

    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?

  • @mrpichy9729
    @mrpichy9729 7 месяцев назад +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!

  • @skydenandardenschedules368
    @skydenandardenschedules368 8 месяцев назад +1

    an fun anime based RPG :)

  • @ry1koo
    @ry1koo Год назад

    Liked!

  • @GodGamers_Gaming
    @GodGamers_Gaming Месяц назад

    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 9 месяцев назад

    definitly a great horror game

  • @crzyezio5926
    @crzyezio5926 11 месяцев назад

    I understand it now!

  • @officialrayan420
    @officialrayan420 11 месяцев назад +1

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

  • @bobbybobby325
    @bobbybobby325 5 месяцев назад

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

  • @fastone5874
    @fastone5874 7 месяцев назад +1

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

  • @finncarroll9771
    @finncarroll9771 9 месяцев назад

    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

  • @originebox
    @originebox 2 месяца назад

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

  • @kurozikoasu1887
    @kurozikoasu1887 Месяц назад

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

  • @aenoxid2450
    @aenoxid2450 11 месяцев назад

    Tables are super usefull

  • @pasopaso726
    @pasopaso726 Год назад +3

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

  • @edplayssims
    @edplayssims 10 месяцев назад

    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

  • @redwaltz_019
    @redwaltz_019 9 месяцев назад +1

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

  • @bobthemonkey9918
    @bobthemonkey9918 5 месяцев назад

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

  • @Voidx123legend
    @Voidx123legend 2 месяца назад

    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)

  • @mihaiptivet
    @mihaiptivet 3 месяца назад

    it would be the best game ever

  • @carloos_cp
    @carloos_cp 8 месяцев назад

    11:04
    ty for the vidd

  • @Imayutbr
    @Imayutbr 5 месяцев назад

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

  • @crzyezio5926
    @crzyezio5926 11 месяцев назад

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

  • @ImpossibleEvan
    @ImpossibleEvan Год назад +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.

  • @user-qd6lv6jm2z
    @user-qd6lv6jm2z 7 месяцев назад

    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?

  • @riccardox9760
    @riccardox9760 Год назад +1

    roblox use a coding language like c++\javascript or have his own language?

  • @CVSRizz
    @CVSRizz Год назад +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 Год назад

      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 Год назад

      @@adrielk1404 I know how to animate already

    • @eliserss
      @eliserss 7 месяцев назад

      update?

  • @justarandomsubnauticaplayer
    @justarandomsubnauticaplayer 3 месяца назад

    For the question "If you could make any game with the push of a button, what game would it be" that he asked at the start, ive already been making my dream game, i just need to learn how to code. Basically, it takes place in the future and humans have to fight off robots (All players are on human and robots are completely AI) If you want to learn more then just ask for more in the comment section.

  • @darkly3568
    @darkly3568 7 месяцев назад +5

    Question , when coming to making a game, how important can this be and why?

    • @Miku4550
      @Miku4550 5 месяцев назад +1

      Same question

    • @9uary
      @9uary 5 месяцев назад

      exactly what im saying i wish he would tell us what we can use this for on all of the tutorials. I dont think im skilled enough to figure out what this can be actually used for so i wish he would give some examples

  • @LGPROGAMER-so7in
    @LGPROGAMER-so7in Год назад

    vr fps for the game i would appear into existence

  • @TackyToons
    @TackyToons 4 месяца назад

    Comment Question:
    I'd make a game like Lua Learning on ROBLOX, except it's more finished and teaches you more languages like Python, JS, and C++.

  • @anomalousanimates
    @anomalousanimates 5 месяцев назад

    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

  • @kingbubbles8325
    @kingbubbles8325 Год назад

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

  • @thepandaguy3508
    @thepandaguy3508 9 месяцев назад

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

  • @DuckyTS
    @DuckyTS Год назад

    Underaaaaaaateeeeeeeeeed

  • @spidercatgaming3229
    @spidercatgaming3229 Год назад

    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.

  • @amityutogu
    @amityutogu 8 месяцев назад

    W video

  • @tengistene1188
    @tengistene1188 8 месяцев назад +1

    So basically table is array in javascript?

  • @carlosperez-cb2yi
    @carlosperez-cb2yi 9 месяцев назад

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

  • @Vawds09
    @Vawds09 6 месяцев назад

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

  • @devileyes4726
    @devileyes4726 4 месяца назад

    somethin in this code doesnt work for me it didnt remove like it did in the video

  • @botbretton6064
    @botbretton6064 13 дней назад

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

  • @Pixelezs
    @Pixelezs День назад

    does this mean i cna make ingame inventory using tables?

  • @reddddzzz
    @reddddzzz Год назад

    Woo

  • @user-rn3pe3rn6p
    @user-rn3pe3rn6p 2 месяца назад

    a realistic survival game in nature OR a space explorer game

  • @mustafasherif-mf4ds
    @mustafasherif-mf4ds Год назад

    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

  • @Vinyknobs
    @Vinyknobs 7 месяцев назад

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

  • @F1-GTX
    @F1-GTX 4 месяца назад

    Question: In line 10, why do we also put ,HelloIndex?