How To Script On Roblox 2023 - Episode 4 (Functions and Events)

Поділитися
Вставка
  • Опубліковано 6 січ 2023
  • Welcome to Part 4! This video is all about functions and events! It's such a fun topic, and I hope you find it enjoyable!
    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

КОМЕНТАРІ • 817

  • @_t0asty
    @_t0asty Рік тому +188

    Bro the reason I did not get into scripting is because no one taught it well, you in my opinion are the best teacher so far. Everyone jumps ahead to harder scripts while you take it slow and actually teach others how to script. I appreciate that a lot and thank you for making these videos. :)

  • @Meegles_KK
    @Meegles_KK Рік тому +242

    I was inspired to script for awhile, but never got around to do it. This time, however, I think I am ready!

    • @DatBoyKrish
      @DatBoyKrish Рік тому +60

      Same
      i got that 3am motivation

    • @grutesna622
      @grutesna622 Рік тому +12

      @@DatBoyKrish ong

    • @grahamfamily8266
      @grahamfamily8266 Рік тому +4

      Same here

    • @PurpleGhost_Editz
      @PurpleGhost_Editz Рік тому +3

      @@DatBoyKrish fr

    • @ashash4722
      @ashash4722 Рік тому +5

      same here i was inspired to make a game but i forgot how to do it, then i went here and remembered how to script again

  • @Pattty.
    @Pattty. 9 місяців тому +22

    at 7:00 I really loved how you didn't cut out the part of you messing up. I'm very new to this but I could tell something was wrong, I just couldn't tell what it was. I paused the video, went back and looked at it again and found out what was wrong with it. I was actually doubting if there was even something wrong with it in the first place because you didn't catch onto it and still ran the script. When it didn't work I was so proud of myself. Good to know even the best make simple mistakes sometimes.

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

      yea, other ppl don't show their mistakes and explain it, but he made a mistake and even explained it.

  • @jujhar.
    @jujhar. Рік тому +40

    This series alongside the devforums are great for learning, genuinely thank you so much, I've never found such a good tutorial.

  • @jeremiahsaunders6390
    @jeremiahsaunders6390 Місяць тому +12

    My son has been trying to learn how to script for months and recently he said he just couldnt figure it out and stopped trying. So I told him we would learn it together until we were pros. Your videos have helped us so much. Thank you!

  • @polarissheepfarm9274
    @polarissheepfarm9274 11 місяців тому +27

    I went to watch this series a fee months back, I was so confused. This time I came back and started keeping notes. I actually understand everything! I recommend keeping notes.

    • @Flash_editzz1
      @Flash_editzz1 11 місяців тому +2

      i do that too

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

      I made a quiz on them actually

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

      Same do u use notepad or just make notes in the script your doing because I do in in Roblox studios because I find it better tbh but that's my opinion

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

      same

    • @user-el3gu5sw2u
      @user-el3gu5sw2u 4 місяці тому

      i agree, notes help alot

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

    you are the best at teaching how to script for sure, I'm watching 4 videos a day so far and just mastering what I learn that day. in the morning I do everything that I remember from the previous day and script it into a new game that I created for that purpose. that helps me master it, and if I forget something i'll rewatch the video then try out some stuff after I watch the video. I have a seperate game meant for scripting along with the new videos I watch. thank you so much, it has been so helpful! I say this on episode 4 because i'm watching the episodes on tv rn. (I am on episode 6 at the time of writing this)

  • @ADAMOR_52
    @ADAMOR_52 Рік тому +41

    could u make like a rly advanced guide in future? There are many begginer and kinda advanced tutorials and guides on how to learn scripting but there are no more advanced guides covering some rly advanced stuffs and mechanics (and if there´s something more advanced then it´s just an individual tutorial on exact things), I would appreciate it since I´m kinda lazy and after a year of experience i don´t know many things that i should already know

    • @timetellnolies9425
      @timetellnolies9425 Рік тому

      Like a season 2 yeah

    • @Theo_drawi
      @Theo_drawi Рік тому +1

      UwU( I hope no one remembers in the live stream-) AH-

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

      what i advise you to do it to take other' scripts, examine them and see how it works then try to recreate it, like that, you can train one special skill

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

      @@je_suscite_lair_en_air_exxion well, it´s 1 year old comment lol

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

      @@ADAMOR_52 yeah maybe my advise is a little late lol

  • @thelitgang5624
    @thelitgang5624 Рік тому +11

    I was inspired to script for awhile but really just started to put it into action this year.

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

    Dude my brain has never felt any bigger, after I put the puzzle pieces together everything made sense. Keep it upppppppppp

  • @Fynalyst
    @Fynalyst Рік тому +16

    Back in september, I started coding scratch. I was doing it alot, and i was really good at it. When i tried converting to big boy scripting, I knew some of it from scratch, but had no idea what a function was. I looked everywhere for an explanation, but couldn't find one. Thanks to you, I now know that functions ALSO relate to scratch with drawing penguins

    • @M4RRU-1
      @M4RRU-1 Рік тому +4

      i agree completely, we never dealt with functions in scratch so it was a bit of a dark area

    • @TheLightningAnimator
      @TheLightningAnimator 11 місяців тому +2

      Same thing functions were confusing but he makes the seemingly impossible possible, thanks to him I now have Accomplished 3 coding languages! And scratch btw is basically just incoded Javascript.

    • @riem4531
      @riem4531 11 місяців тому +1

      i used scratch too

    • @riem4531
      @riem4531 11 місяців тому +2

      functions in scratch is just making your own block
      it's that easy

    • @Fynalyst
      @Fynalyst 11 місяців тому +1

      @@riem4531 yeah I know

  • @Shadow_king29
    @Shadow_king29 Рік тому +2

    these tutorial's really help me and sometimes i froget them but i rewatch the videos and remember thank you for also explaining what they mean or do

  • @mr_tiggles
    @mr_tiggles Рік тому +23

    I was inspired to script from myself because the genre of games I liked were usually garbage, so I wanted to make my own.

  • @diamondslayer8112
    @diamondslayer8112 18 днів тому

    I have explored multiple coding languages so far and you've been able to explain this one way better than I have been able to understand in any other.

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

    !!! commenting again because you explain things so well!! esp with your example of the penguin LOL xD it helps me understand why things work and why they dont work and for what reasons :) thank you for making this series for all of the new coders out here

  • @user-fj5ml6kv8i
    @user-fj5ml6kv8i 3 місяці тому +1

    you are actually my inspiration to learning how to script and stuff, i want to learn scripting because it is a very good way to get money these days and the days coming cuz in this generation we would need scripting so much aswell as AI and stuff like that and also ur the best teacher that i learned from! good luck and keep it up!

  • @LazmX804
    @LazmX804 14 днів тому

    Thanks, for taking your time to tell the community about coding in Lua/Roblox studio

  • @drplague6459
    @drplague6459 Рік тому +4

    I really wanted a job that I know I could do so I chose to do programming or IT and the reason I chose Roblox to code is because well it just seemed easier than the actual language of programming, but it will also give me an idea on what programming really is. I really enjoy any type of math too so that's also another reason why I thought of programming.

  • @AntStates897
    @AntStates897 Рік тому +1

    Keep up the good work! These videos are simple and enjoyable.

  • @genericegg1233
    @genericegg1233 9 місяців тому +1

    Thank you for this its nice and simple and makes it really easy to remember(also easy to take notes on)

  • @tobyvr4658
    @tobyvr4658 Рік тому +1

    amazing video cant wait to get really good at scripting aslo i really like the way you explain the stuff its very easy to understand good job. keep up the good work

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

    ive wanted to script since 2019 and your videos right now help SO much.

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

    The reason I wanted to learn to script was because instead of following a UA-cam tutorial and copying their scripts PERFECTLY down to even the same amount of spaces in between each word, it still didn't do in my game as what it did on their screen so I wanted to learn for myself instead. Great vids btw keep up the great work :D

  • @user-rb3xl9qs7w
    @user-rb3xl9qs7w 15 днів тому

    you explain so well thank you for doing this series 😊

  • @AConfusedWinner
    @AConfusedWinner Рік тому +1

    i got inspired by you you were always my fav yter and when you posted the series i wanted to be a developer too!

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

    what inspired me into scripting is legit scratch. scratch really taught a lot and now it definitely makes more sense. thanks for the series!

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

    I have always wanted to make a roblox game ever since I was 7 or 8, but I didn’t know how to. I eventually got roblox studio and I had no idea how to do anything except place free models. But ever since I started watching this series, I keep on progressing and getting more confident as time goes on. Thank you so much for this series!😁🥳

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

    This is the best coding teacher. You made me learnt everything in just 1 video ,best teacher in my opinion i always have hard time trying to understanding what other people teaching because they don't explain, but u explain everything clearly :D

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

    I really wanted to make a Roblox game but I never knew how to Script, but you made this video that is helping me learn a lot about scripting. Thank You!

  • @gamerlinilp9252
    @gamerlinilp9252 Рік тому +1

    functions are more usefull then i thougth! ur teaching me alot Keep up the great Work!

  • @Nick-du2wb
    @Nick-du2wb 5 місяців тому

    I finally understand functions parameters and events, every other tutorial channel I watched I could never understand but this really helped me.

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

    I wanted to learn to script to make my very own game, though I never was able to since everyone made it so complicated or didn't explain other stuff and just made you copy things they write, etc... But you explain everything really well and you don't leave important things and give examples to understand better.

  • @samuelbillman7792
    @samuelbillman7792 18 днів тому

    Hi, I have been flirting around with the idea of learning game development for a couple years now, writing out ideas I have had and creating drawings. For the summer I have decided to challenge myself and learn everything that goes with game development and chose Roblox Studio as an introductory engine. So far I have loved your tutorials and they have been extremely helpful!

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

    i watched youtubers scripting and making very cool games, so i wanted to learn from them and become a scripter. ( this series is realy realy helpful and it is very hard to understand as your explainations are very strong )
    TY, keep it up.

  • @Dynmo__
    @Dynmo__ Рік тому +1

    I got inspired how to script because my friends started creating a game, and I was thinking "Maybe I could help them make it too!" So I decided to look for videos on how to create games on roblox. Thank you for making this series simple and easy to understand!

  • @ameerplays4751
    @ameerplays4751 Рік тому +3

    what inspired me to learn to script was mostly the awesome games people made when they learned to script, and how you can do pretty much anything with script, I just wanted to be apart of that yknow

  • @markdawg
    @markdawg Рік тому +1

    oh my god dude i never knew there were this function thing and i always manually changed the brick color and it took so much time and u made it so much easy!

  • @gamedoge4592
    @gamedoge4592 Рік тому +1

    I just want to give people ideas for games and soon I want to teach OTHERS to code and your videos are here so now I can achieve my goal THANK YOU

  • @user-cf4ou6vw3c
    @user-cf4ou6vw3c 5 місяців тому +1

    Nice tutorial I'm already a programmer so I know lua, but I'm here for roblox specific functions and classes which is pretty well explained!

  • @arthbanerjee4966
    @arthbanerjee4966 3 місяці тому +1

    Good video BTW it helped me a lot!😊

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

    I got inspired by my self, actually i have an friend who developes on roblox aswell and he is really good in scripting. He is also the reason why i started because he showed me how crazy long the scripts can be. Ofc i didnt understood anything at the start but now i do. I hope your videos keep helping me going forward! Thanks !!!!!!

  • @X2ephGaming
    @X2ephGaming Рік тому +1

    Thank you soo much, this helped a ton!

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

    im trying to make one little game myself but i dont know how to script so i saw you videos and its alot of fun and very cool i havent seen better tutorial before ty for all of that

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

    I always wanted to make a game that i like, now i cant find anything other than Clicking simulators but i couldn't make games because i didn't know how to code. Any tutorial i found was always outdated and never worked, then i found you from another youtuber and have been learning to code from your videos. Im a beginner and don't even know how to code anything, your videos a easy i understand and helped me learn quickly! you help! a hope you become a big youtuber someday, you deserve it!

  • @urboytigolf
    @urboytigolf 10 місяців тому +1

    Watching youtubers script got me inspired cuz I just felt so jealous, but now I have these awesome videos to teach me!

  • @Mohmadarsa-1
    @Mohmadarsa-1 Рік тому

    This series is so helpful

  • @MananjieDev
    @MananjieDev 16 днів тому

    i cant believe this is actually teaching me tysm codebro yr the best!

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

    I already know 2 languages (python, c#) and i was looking for a video for Rlua that wasnt annoying, and thank god you exist

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

    you're the first person to make scripting understandable (thanks)

  • @UnknownReaper6969
    @UnknownReaper6969 10 місяців тому +1

    my desire to script was my inspiration to make games like the other amaing games, ive always wanted to make a roblox game that i myself made but never really got into scripting because it was very hard for me to learn , luckily ur here :D

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

    love these tutorial really helps

  • @user-dz3wt5ik2d
    @user-dz3wt5ik2d 2 місяці тому

    U explained it very well thank you!

  • @moosesnWoop
    @moosesnWoop 10 місяців тому +21

    11:05 just a tip: maybe best to press enter and let the editor align the function - we call this "nesting" the code, so it becomes more readable, not only for you- but when you work with others, you can read other people's code as well.

    • @savalaner2086
      @savalaner2086 9 місяців тому +1

      he didn't do that because this is beginner scripting, he's not doing that kind of stuff right now.

    • @savalaner2086
      @savalaner2086 9 місяців тому +2

      he's not doing that right now because this is beginner scripting. this video is just how to do functions and events. Not how to do it the best way possible

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

      yes but these tips help and entrench good coding habits into developers. Nesting and commenting is important, especially when you're working with a large team who aren't familiar with the codebase to easily look and see exactly what and how it's coded.@@savalaner2086

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

    I was interested in scripting because I have love for technology. I am finally taking that love and turning it into skill with these videos!

  • @mythvalorant
    @mythvalorant 18 днів тому

    i grinded scratch alot, now this makes SOOOOOOOOOOOOOOO MUCH SENSE TO ME

  • @TKZ907
    @TKZ907 Рік тому +1

    I was not ready for the many times I had to rewatch this

  • @calel_leland5714
    @calel_leland5714 Рік тому

    Thanks for teaching me The basics!

  • @corbinwalton9996
    @corbinwalton9996 2 місяці тому +1

    I quit scripting because it was too confusing, now after spending about three months using scratch I understand. Best teacher so far is you!

  • @Karpalo999
    @Karpalo999 11 місяців тому +1

    i was inspired to learn script because when i was a kid i did all kinds of roblox games with no script, only free models, so i wanted to learn it myself and ive already learnt blender which was the main thing, but here we are!

  • @dorinrus6051
    @dorinrus6051 Рік тому

    Wow we're gonna make a game too I love this guy! Keep it up! And your explaining is so good I can easily understand

  • @msterixx
    @msterixx Рік тому

    I started because i wanted to create something new that no one saw and now iam teaching how to actually do it and your series are the best of these i saw i wanted to make lots of games but now i got some ideas:ninjago games like fighting villains, tower defense, game with elemental powers and these i will do it soon as possible

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

    thank you for these vids ;)

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

    this was amazing!

  • @LiasBlogs
    @LiasBlogs Рік тому +3

    years ago i wanted to make games but all i knew at 6 years old was to use the tool box so when i foundout abou scripting and modeling and building i just fell in love

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

    Thank you so much for teaching scripting so well

  • @shulkynoob3864
    @shulkynoob3864 2 місяці тому

    i luv your WAY OF TEACHING

  • @funnyguy509
    @funnyguy509 2 місяці тому +1

    nobody taught me script so well, thank you
    now the reason why i want to learn script is to make my games less dry with only script i get from toolbox and youtube tutorials
    all of them were trash and i decided to learn at least a bit of scripting

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

    Idk if someone is reading this but, i really was messing around thinking i was a dev and was making bunch of strange games and no one tought me real script unless i would try to learn myself. And i did i guess you're the best random on youtube lol!

  • @lowdog3621
    @lowdog3621 2 місяці тому +1

    you are easily the best teacher out of everyone because you dont instantly jump to really hard stuff and you explain it easily

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

    i wanted to always be a developer and i been trying to script but i swear these tutorials are really good im actually learning stuff tysm

  • @icyonperksttv216
    @icyonperksttv216 9 місяців тому +1

    I was bored and then I searched how and I found yours that explains everything not a rushed vid

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

    Thanks bro i have been trying to script but i gave up. After A Few Weeks i say your video thanks to your Simplicity i Manged to script Again :P

  • @Bruh_Moment111
    @Bruh_Moment111 Рік тому

    Well honestly I wanted to script for a long time now and I didn't get enough information, So i found your series and took out notepad and started writeing, I've been waiting to make a game, not for monet but for entertainment for most people. And maybe for the money, just a little bit

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

    Thank you! I can now create a show for cheese enjoyers about a “magical function script” in the print that makes a part change colors!

  • @ammadboSS-jm4dh
    @ammadboSS-jm4dh Рік тому

    Your tutorials are legit best,In other's tutorials I end up copying them

  • @everythingispossible5280
    @everythingispossible5280 Рік тому

    i honestly got inspired cuz i always wanted to make games but i was never able to get unity but then i thought about roblox so now i'm learning to make roblox games

  • @sussydeeznut6980
    @sussydeeznut6980 Рік тому

    man i can finally find a tutorial that i can understand, thank you (maybe i dont understand others is because my skill issue)

  • @SMGakis
    @SMGakis Рік тому

    Nice video!

  • @pontasticsretired
    @pontasticsretired 11 місяців тому

    i started scripting because me and a few of my friends wanted to make a game called kid-snatching simulator, but nobody knew how to script. so i said ill try to learn and yeah, i found this series and i REALLY hope it helps

  • @DJrobloxYT
    @DJrobloxYT 9 місяців тому

    The thing that inspired me was to code games and really do something with my games for now i am a python dev learning html and luau

  • @Yuki_edlt
    @Yuki_edlt Рік тому +2

    I was inspired to script because a few days ago my friend said he was gonna make a game (roblox game) so I decided to become the scripter, but the problem was I didn't know how to script so I searching up guides and you came up! Another thing was that I've wanted to script for a while so I used it as an excuse to start scripting.

  • @Shape_Guy
    @Shape_Guy 2 місяці тому

    I’ve been trying to learn functions for YEARS finally I learned it

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

    thanks bro i learned alot i understand big support man thanks bro ive became an epik scriptor you got a sub

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

    ive pretty much always known how to build in studio but i was inspired by a game called "da amazing bunker simulator" which isnt really a simulator but you get the point

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

    I got into scripting because i just wanted to make stuff with my friends (I'm literally studying this whole series with notebook and everything) and its really fun!

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

    Ive been wanting to script since i started playing, the thought of being able to create whatever my imagination desires me makes me shiver with excitement

  • @Veldus12
    @Veldus12 9 місяців тому

    I was inspired to script/make my own gam because of some core games(yes i am addicted to them) so i decided to try making one!

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

    VB constricted me to two options: making two dimensional games, or going insane making a 3d one. And I also didn't wanna go down the rabbit hole that is making your own multiplayer features.

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

    Hey! I am currently going through this series, and so I made a "Push Block" game after finishing episode three. The functions will be useful for making the blocks rainbow and such, now I just need to learn the "repeat" command.

  • @spooks6694
    @spooks6694 Рік тому

    best tut, literally. not even over exaggerating. LITERALLY.

  • @FNaFfAn20111
    @FNaFfAn20111 9 місяців тому +2

    Bro I love ur sereis!!!!!

  • @Alexeid28
    @Alexeid28 11 місяців тому +1

    I got into roblox games and I always wanted to learn how to make a good game for the platform, and I know the importance of scripting in roblox games, but I never got the chance to do it until now, so I´ll try the best I can.

  • @Salami_002
    @Salami_002 Рік тому

    Keep up the good work 🙂

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

    when I was 5 I came across a video about developing, It was intresting and fun, ever since I was learning about it and finally started to learn code, soon im planning to become a game developer.

  • @Eyepatch-sl1rz
    @Eyepatch-sl1rz 11 місяців тому

    for a few years Ive been wanting to script but never had the motivation, but yesterday my friend who scripts on roblox showed my friends and me some stuff most of the stuff i saw before but then I thought: i really wanna try, and today Ive been just watching these videos, so far tho Ive learned pretty good, but this is only the 4th video so I might be bad or good after.

  • @carlosperez-cb2yi
    @carlosperez-cb2yi 10 місяців тому

    This is a weird and why, but what made me inspire to script, is because I was an exploiter, and I was intrigued about the code and everything, and require scripts and how they work, and the animations behind them, yeah that is what made me inspired to do this.

  • @AntMasterToby
    @AntMasterToby 11 місяців тому

    Thanks so much for teaching me about Roblox scripting. You defenently deserve a sub.

  • @Roquerito
    @Roquerito 9 місяців тому

    Btw thx a lot bc i have learnd
    in this 4 episodes

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

    I got inspired from a game from block coding and have been determined to learn development, I became good in Gamemaker, ok in unity and am now trying Roblox Studio.

  • @PRAHATVA
    @PRAHATVA 9 місяців тому +1

    i wanted to start scripting because I had SOOOO MANY cool little game ideas I wanted to make but couldn't because I couldn't script at all, and then eventually forgot about and it made me kind of sad so I'm gonna actually learn to script now and put the ideas to use 💀