Don't worry, Piggy shop tutorial is still coming soon, I just haven't finished it yet. My Beginner Series is here: th-cam.com/video/BfLUt3mfJiY/w-d-xo.html Written Guide Text Tutorial: devforum.roblox.com/t/how-to-use-module-scripts/572047
AlvinBlox Ok thanks. And also Idk why but my game works but It only works once or twice then stops. I did do a While wait() do. And could you please add a spectate gui
Oh man; I'm so thrilled. I have been asking for this one recently. I've been struggling with the documentation and other online explanations and really needed AB's take. I'm neck deep in development on my second game, and it's largely hard-coded. Very much appreciated.
@@BallChewer16 The whole purpose of AlvinBlox posting these videos is to *teach* people about Roblox Lua. It wouldn't make sense to only post things that are hard and forget about the 'easy' stuff ... That would defeat the whole purpose of an educational channel.
Module Scripts are kinda like object oriented programming, any script aka server script and local script can use them; they can be reused as many times you would like; They are very good for remote functions and you are passing arguments through
This is really helpful for organizing code. for example; Admin Commands. Admin commands can get really messy when doing to commands themselves, the difference module scripts do is make less lines of code on 1 script, its not only this change, it changes the vision too. You will no longer have to scroll all the way down to find the system itself.
I just have to say, thank you for taking the time to make these, i started watching thedevkings tutorials and learned like the basics but i felt like i truly wasn't learning anything because he wasn't vividly explaining enough how things work and just expects us to "know" what they mean. Like for instance on his module scripts video, he didn't tell us we could call for modules from scripts OR put functions in modulescripts.. you're making the process of creating my first game more and more possible from each video, and i thank you dearly for that.
Hey Alvin! I’m starting to get the hang of scripting but I think you need to do a few more tutorials, and I know you need suggestions so here you go! First suggestion: Do some Player tutorials, so if you wanted to a gui buttons with all the players in the game with their names on, how would you do it? And once they leave to get rid of that gui button! Second suggestion: Do a camera tutorial, so if we wanted to make a cutscene or change a camera angle for 1 player when they hit a button or for all players at a certain time, how would we do that? Lastly: If we wanted to do a random function at a random time, how would we do that? Just some suggestions, thank you for reading
Im so happy, for almost a year ive been trying to learn lua and everytime i gave up untill i watched your tutorials, youre amazing and im so so grateful, Thank you
First of all, it was very helpful. Next of all. Learning to script is a bit hard, but learning to module script is harder than I tought. I do like your scripting tutorials.
WOW, this helped me out A LOT, I would not have understood this if it was not for your beginner scripting series, thank you for everything you do, without your scripting tutorials, I might not have been able to use it in situations where I need it the most and would have definitely not been where I am today
Thank god for this video, I was using module scripts completely wrong. No wonder I couldn't call my modules scripts from the main script. Thanks for the video!
Omg thanks Alvin for doing these series again, been waiting for advanced script tutorials for a while, i already watched all your beginner scripting tutorials ❤
Perfect time to come out with this tutorial for me. I was just about to try and experiment with some module scripts in my game and this really helps a lot!
This is so helpful! I wanted to make a game with abilities but I had trouble with making the abilities work in the first place, I hope this can allow me to bring ability data over to the player script to run it more clean and organized.
How long will it take for the next episodes? I already can't wait! You have done beginners tutorials twice, now is the time for advanced scripting tutorials :)
xD watching with the auto-generated subtitles is amazing. It gets most of it right, but every time you say module script it says random stuff and gets increasingly further away from module script like "model script" at one point, "mortal script" at 13:19, and then it gets even better. It's not even English anymore and it thinks you said "otaru script" at 26:32. Great video though. I've been looking for a more in-depth tutorial on mortal-I mean module scripts since I knew the basics, but I didn't *really* understand how it all came together until this video.
I hope i can learn from this :) also can you make a tutorial on how to make a pet that can fly you around the map in your game because iam making a adventure game and i have dragons as the pets and i want them to fly you around when you want to
This comment is liked, that means your not _gay_ (jk) i think he will accept this tutorial but its easy to make that kind of pet, *good recommendation tho*
Please consider a tutorial on Premium player benefits and how to code them into your game. You are all about helping devs make money and this is going to be the new big thing in the future imo.
welp guys to learn scripting take ur time bcuz iv been scripting for over 3 years but i always did the same thing(making a game then stopping it) then i stopped scripting bcuz i lost motivation,now im starting all over again and im taking my time to learn everything
Thank you this helped me better ynderstand module scripts, i didnt really understand what they do and how they work so this tutorial helped me, thanks alvin!
HaBZ he isn’t some super genius. You just have to learn how to do this. Something a lot of people understand is that not everyone is made for coding. You need a mind made for technical logical things like this in order to fully understand and learn quickly.
Suggested videos for the future: Tutorial on pathfinding? And also making NPCs communicate and talk? Would be nice to break these down and get these explained in your style!
Having an issue with the entire "Running from where it is required" thing. For some reason "script.Parent" relates to ServerStorage (Where it is being stored)
Hi AlvinBlox, even dough this' a advanced scripting tutorial you explain things very well that I think that for people that are new to scripting in roblox even can understand it, really good tutorial!
Alvinblox, can you please make a video of a level up system? I’m trying to make a game like Jailbreak and there are no videos of leveling up when you rob a store(Example). It would make my day if you would make a video about leveling up when you gain money or something like that. Thanks.
Hey alvin great tutorail. Idk if you have done this but, could you show how touse that print to show on the players screen. Like when you put not enough players, could you show how to put it in a small bubble ontop of your screen?
on the weekend i watched the entire beginner series and thought i had taken it all in, i came home and thought oh um well time to change my plans for that game
Hey Alvin, thanks a lot for this video. I trying to get into OOP and I heard that Module Scripts are good for it, so I really want to learn how to use them!
Thank you! I've been looking for a tutorial on Module Scripts! I've been coding since about late 2017 or early 2018 (even bought some books) but could never find out how to use module scripts!
Don't worry, Piggy shop tutorial is still coming soon, I just haven't finished it yet.
My Beginner Series is here: th-cam.com/video/BfLUt3mfJiY/w-d-xo.html
Written Guide Text Tutorial: devforum.roblox.com/t/how-to-use-module-scripts/572047
First reply
Finally, another upload.. I’ve been waiting for ages. Not dramatic, I swear.
AlvinBlox Ok thanks. And also Idk why but my game works but It only works once or twice then stops. I did do a
While wait() do.
And could you please add a spectate gui
How do I make a skip stage dev product if my team names are the names of brick colors?
I am really happy That you are making does Series
This is what i was needing for a script in my game. Thanks for making this tutorial :)
Every time i start your videos, my Google Assistant thinks you say "Hey Google"
Oh my gosh. Congratulations on the 200k Subscribers!!
I am so exceited to watch this. Just wanna say that, ive been here at 50k
Good job alvin
Thank you so much!!
Oh man; I'm so thrilled. I have been asking for this one recently. I've been struggling with the documentation and other online explanations and really needed AB's take. I'm neck deep in development on my second game, and it's largely hard-coded. Very much appreciated.
metatables would be cool to see in this series!
Too easy
what are metatables
I have seen this comment is some other vids too
@@BallChewer16 The whole purpose of AlvinBlox posting these videos is to *teach* people about Roblox Lua. It wouldn't make sense to only post things that are hard and forget about the 'easy' stuff ... That would defeat the whole purpose of an educational channel.
Posted here th-cam.com/video/RDTNKgjU3hg/w-d-xo.html
I've been looking for a tutorial like this for a while now. I really appreciate it and keep up the good work!
Module Scripts are kinda like object oriented programming, any script aka server script and local script can use them; they can be reused as many times you would like; They are very good for remote functions and you are passing arguments through
This is really helpful for organizing code.
for example; Admin Commands.
Admin commands can get really messy when doing to commands themselves, the difference module scripts do is make less lines of code on 1 script, its not only this change, it changes the vision too. You will no longer have to scroll all the way down to find the system itself.
I just have to say, thank you for taking the time to make these, i started watching thedevkings tutorials and learned like the basics but i felt like i truly wasn't learning anything because he wasn't vividly explaining enough how things work and just expects us to "know" what they mean. Like for instance on his module scripts video, he didn't tell us we could call for modules from scripts OR put functions in modulescripts.. you're making the process of creating my first game more and more possible from each video, and i thank you dearly for that.
Thank you for starting the Advanced Series!!!
Hope you enjoy it!
@@AlvinBlox Thx Alvin!!
@@AlvinBlox thanks a ton
Just started watching Alvin again after 3 years and I gotta say
Puberty did you good, wowie
This legit saved my whole game. My scripts were so messy. Now i can finally see what i wrote
what game? i'll play it
yes pls send link
Yes,
It’s FINALLY here!
This video helped a lot, I used to be very confused on What a Module script does, so this helps!
Your voice got a lot deeper Alvin and your style has changed over the years! Keep up the good work!
Hey Alvin!
I’m starting to get the hang of scripting but I think you need to do a few more tutorials, and I know you need suggestions so here you go!
First suggestion: Do some Player tutorials, so if you wanted to a gui buttons with all the players in the game with their names on, how would you do it? And once they leave to get rid of that gui button!
Second suggestion: Do a camera tutorial, so if we wanted to make a cutscene or change a camera angle for 1 player when they hit a button or for all players at a certain time, how would we do that?
Lastly: If we wanted to do a random function at a random time, how would we do that?
Just some suggestions, thank you for reading
Pls next episode: save and change properties of an object permanently real-time, and even if the server shuts down
You can use DataStoreService to save a change to it
hmmmmmmmmmmmmmmmmmmmmmmmmm yeah that sounds pretty good
There is something called datastore
u can try data store sercice
Datastore every 20-60 seconds
Im so happy, for almost a year ive been trying to learn lua and everytime i gave up untill i watched your tutorials, youre amazing and im so so grateful, Thank you
First of all, it was very helpful. Next of all. Learning to script is a bit hard, but learning to module script is harder than I tought. I do like your scripting tutorials.
WOW, this helped me out A LOT, I would not have understood this if it was not for your beginner scripting series, thank you for everything you do, without your scripting tutorials, I might not have been able to use it in situations where I need it the most and would have definitely not been where I am today
Hey Alvin, thanks so much, you've helped me improve my scripting abilities so much over the past few years! Congrats on 200k btw!
Thank god for this video, I was using module scripts completely wrong. No wonder I couldn't call my modules scripts from the main script. Thanks for the video!
Omg thanks Alvin for doing these series again, been waiting for advanced script tutorials for a while, i already watched all your beginner scripting tutorials ❤
Wow I was asleep when this was published
Your great Alvin!!
Thanks for making these series your actually helping my scripting skills get better!
Happy to help!
For c/c++/java folks ModuleScript is a translatable unit which can be imported into another unit.
I always enjoy getting the notification seeing that you've uploaded!
Nice video! I was a little confused with ModuleScripts before, but I get them now :D
Hi Alvin.. I used to watch your videos when I was a Roblox Player. But Now I am learning Coding so Now I can understand your videos more. Thanks
So happy u started the advanced series
Perfect time to come out with this tutorial for me. I was just about to try and experiment with some module scripts in my game and this really helps a lot!
This is so helpful! I wanted to make a game with abilities but I had trouble with making the abilities work in the first place, I hope this can allow me to bring ability data over to the player script to run it more clean and organized.
How long will it take for the next episodes? I already can't wait! You have done beginners tutorials twice, now is the time for advanced scripting tutorials :)
Every episode is new and unique and im always learning new and efficient ways to script before I begin my MainGameScript!
Even tough I’m already a Professional scripter I still like watching your videos
Finally. I’ve been stuck for I while not really learning much although I do know how to script well, but I hope this series helps me.
YAY A KNEW ALVIN BLOX VIDEO
Woop Woop finally advanced tutorials, btw I have always wondered how to use module scripts
I’m half way through and this is incredible! I never knew I needed this but now I’m actually understand!
Wow this is really clear im learning well done
just finished the beginner series. Now its getting advanced. This will be fun! I like hard stuff :)
xD watching with the auto-generated subtitles is amazing. It gets most of it right, but every time you say module script it says random stuff and gets increasingly further away from module script like "model script" at one point, "mortal script" at 13:19, and then it gets even better. It's not even English anymore and it thinks you said "otaru script" at 26:32.
Great video though. I've been looking for a more in-depth tutorial on mortal-I mean module scripts since I knew the basics, but I didn't *really* understand how it all came together until this video.
I was looking for these tutorials from you (the advanced scripting tutorials) :D
I have been waiting for this.
I hope i can learn from this :)
also can you make a tutorial on how to make a pet that can fly you around the map in your game because iam making a adventure game and i have dragons as the pets and i want them to fly you around when you want to
i hope so too
Yeah, I will need that too!
cool
I think that's VERY specific, and wouldnt help other people much. But he could make a tutorial on pets in general (such as pets like in simulators)
This comment is liked, that means your not _gay_ (jk) i think he will accept this tutorial but its easy to make that kind of pet, *good recommendation tho*
Please consider a tutorial on Premium player benefits and how to code them into your game. You are all about helping devs make money and this is going to be the new big thing in the future imo.
This was really helpful, The analogy was a really helped me understand everything a lot better. Thank you!
welp guys to learn scripting take ur time bcuz iv been scripting for over 3 years but i always did the same thing(making a game then stopping it) then i stopped scripting bcuz i lost motivation,now im starting all over again and im taking my time to learn everything
awesome, now I can understand the piggy tutorial series better :D
Glad you think so!
hey, what the? i saw you in a reply
YAY, A NEW MODULE SCRIPTS TUTORIAL :D
Thank you this helped me better ynderstand module scripts, i didnt really understand what they do and how they work so this tutorial helped me, thanks alvin!
Thanks you so much
With out the tutorials I had no idea what to do and I was unmotivated
So I nearly stopped and gave up now I can learn again!
You are amazing alvin
I finally know how to use module scripts now thanks Alvin!
Absolutly Brilliant Tutorial! Definetly watching the rest! 👍
My brain is broken, How is he so smart XD
Holy
Yes
ModuleScripts are basic i learnt them over a year ago tho also he has programming for years
HaBZ he isn’t some super genius. You just have to learn how to do this. Something a lot of people understand is that not everyone is made for coding. You need a mind made for technical logical things like this in order to fully understand and learn quickly.
Xsployt He said he was smart, not a super genius. I’d say Alvinblox is pretty smart, wouldn’t you?
Tip: Keep a notebook with you throughout the series. Ive taken note of every episode ive watched so far and have about 80 pages rn
Hey! Love your videos!
Suggested videos for the future: Tutorial on pathfinding? And also making NPCs communicate and talk? Would be nice to break these down and get these explained in your style!
i cant believe ive graduated from beginner scripting!
Having an issue with the entire "Running from where it is required" thing. For some reason "script.Parent" relates to ServerStorage (Where it is being stored)
Alvin I hopeeee you go on with this. Please like you had a beginner scripting series, you can do this advanced series, then a professional series
Hi AlvinBlox, even dough this' a advanced scripting tutorial you explain things very well that I think that for people that are new to scripting in roblox even can understand it, really good tutorial!
OMG FINALLY A TUTORIAL ON MODULES!
Pretty helpful alvin. Im making a game then suddenly this video appeared. I can use this script. Thx dude
Btw congratz for 200k subs
Hello! Nice video series
Thank you so much AlvinBlox really wanted this tutorial and yeah waiting for Piggy Shop Tutorial too! 😀
Alvin I'm trying to make a game for everyone to play and your videos have help me,
Thank you so very much
-plus I love your vids
I never thought this would be useful. But Today it was, Thank you alvin!
Alvinblox, can you please make a video of a level up system? I’m trying to make a game like Jailbreak and there are no videos of leveling up when you rob a store(Example). It would make my day if you would make a video about leveling up when you gain money or something like that. Thanks.
Finally, you've made another tutorial, thanks dude! :V
YAY YOU FINALLY MADE THE ADVANCED SCRIPTING TUTORIALS!!!! AHHAHHAHH MY BRAIN AHH ARH THANK GOODNESS AHHAHHAHAHHAHAA
Hey alvin great tutorail. Idk if you have done this but, could you show how touse that print to show on the players screen. Like when you put not enough players, could you show how to put it in a small bubble ontop of your screen?
This is super useful. Thanks Alvin.
So when we finish the beginner series, are we supposed to watch this or is there another one that there will be?
Awesome Alvin! Thanks so much! :D have a great day!
Hey Alvin, can you make a placement tutorial?
This is what I asked for on stream :)
on the weekend i watched the entire beginner series and thought i had taken it all in, i came home and thought
oh um well time to change my plans for that game
Wow! I made it to advanced scripting.
Early!! :D
Love your videos
You never made how to tween guis but I'm happy I learnt it, thank you for this tutorial :)
this is actually so unbelievably useful thank you so much
Ur doing a great job alvin keep it up bud
Hey Alvin, thanks a lot for this video. I trying to get into OOP and I heard that Module Scripts are good for it, so I really want to learn how to use them!
i just made my own loadingscreen modulescript and its so easy to just get the module and use it, ty :)
You can actually return anything in the module script, for instance, tables, functions, numbers, strings, instances, vectors, udim2s and so on.
AlvinBlox is my favourite TH-camr
can u teach us how to do cutscenes, like i n piggy, when the cutscene plays only when they escape. Thx if you repond. :D
Yeah Boyyy! This helped me alot! Even tho its advanced! :D
No problem!
Do you have a GUI tutorial?
Heck yes this is awesome btw congrats on 200000 subs!
Thank you so much!!
hi alvinblox! thanks for this video!!
This Video Is A Masterpiece, i Love it:D
Thank you! I've been looking for a tutorial on Module Scripts!
I've been coding since about late 2017 or early 2018 (even bought some books) but could never find out how to use module scripts!
TYSM ALVIN YOU ARE SO HELPFUL!!!
The beauty of simplicity.
so if you change the value in one script, you cannot cause the value to change in a different one?
why are my instance variables for my functions turning into tables?
Love it! Contiune making these good videos!!