One important takeaway from Module Scripts as well is, when you call require with a specific module, the code of the Module Script is only executed *once*, even if multiple scripts call require with that module script. But each time you do call require with that module, it returns the same data each time. So in the case of it returning a table, it will be the same table. So you could even use the module script to share mutatable data between multiple scripts.
@jnprge
7 ай бұрын
another important tip: if you use an actor to contain your script, and if you require the modulescript, it WILL be executed again this will make another table you don't want, and is the main reason why i never use actors with modules
@Kitsune_Dev
7 ай бұрын
it’s called Caching (Cache)
@Kitsune_Dev
7 ай бұрын
@@jnprgeyou can’t anyway, it will error when requiring in parallel
@jnprge
7 ай бұрын
@@Kitsune_Dev you can outside of parallel tho, that is how i found the issue
@rafaelrodriguez777
7 ай бұрын
Every time this guy uploads a new video, my scripting skills go up like crazy.
@74L
7 ай бұрын
The real examples were very helpful! Thank you and please make more of this type of content!
@itso6778
7 ай бұрын
This channel is definately the step from going to intermediate to advanced keep up the stuff man
@keyblademaster8263
7 ай бұрын
These videos will help you make the transition from intermediate to advanced. Play these videos a multiple times & your scripting habits will improve. Dont give up now the fact that you are here is proof enough that you came a long way from where you started.
@YLVrbx
7 ай бұрын
I love watching your videos, I really want to get better at making clean and good games, thanks to you im learning new stuff from you. Please if you can, Keep up uploading videos like this 🙏
@juniorwizard-ek9zl
4 ай бұрын
This was so helpful! I couldn't find a video with a simple explanation that shows you how to use module scripts properly, tysm again!
@Ethan-vx3ws
7 ай бұрын
You don't understand how much this helped me. God bless!
@dane1up
7 ай бұрын
incredibly useful video (as always)!
@74L
7 ай бұрын
Agreed
@He_ze
7 ай бұрын
An extremely informative video, thanks for making this!
@TheManThatIsRay
7 ай бұрын
I greatly appreciate your teaching style and the real world examples.
@customgunz00
7 ай бұрын
idec about this video you seem like youre a saint brother, good stuff
@cemantical
7 ай бұрын
No wayyy this is the exact video I needed 😭 tysm
@HolyStudiosRBX
2 ай бұрын
Great video! Also can you make a video about the script coloring. I love the look of your script editor.
@koei3920
16 күн бұрын
Not all hero's wear capes. Cheers to you.
@zeaveer5399
7 ай бұрын
Very useful knowledge. Thanks for this video !
@koainanis5840
7 ай бұрын
well done and nice explained. thank you and keep up the good work.
@codexed-i
7 ай бұрын
I like how in Rust (my fav pr language) code is just in the src folder, so it is easy to organize, but on Roblox... i had to write a library to load scripts, but at least it is easier to scale/organize.
@KageNoDragon
4 ай бұрын
Bro I love it it's like a father teaching us :0
@DropperMaster
7 ай бұрын
The previous video is very good. I signed up
@DropperMaster
7 ай бұрын
I would like to see a detailed video on how to clean up the garbage in the code. How to clean the OOP component after removal. I know about the "Debris" library. And I know roughly what "Destroy" should look like in OOP. However, many people are interested in this. And maybe it would be informative.
@vexillumination6074
7 ай бұрын
Module scripts are amazing and save so much time
@Sasuke46525
7 ай бұрын
U should definitly make a game videos, but not like simulator games you know also i like ur videos ur life saver and keep making videos, while u are making videos make it with perfect orginazed
@cupofdespair7727
7 ай бұрын
needed this video omg
@sr32qawrq
5 ай бұрын
This is awesome bro
@luigifernando_
7 ай бұрын
actual goat 🐐
@wav8518
5 ай бұрын
vica chile
@yarik_superpro
Ай бұрын
there is another type: Module used to share table across multiple scripts. Video were not much usefull for me since i knew it but will be usefull for someone else definatly.
@ProxyGameDev
7 ай бұрын
Damn, you're good
@mist5023
7 ай бұрын
Great video
@jso1
7 ай бұрын
love this
@batbenrules8891
Ай бұрын
so more specific question how would you edit smtn like an A chassis tune script because i cant even get it to change One variable in there
@Kitsune_Dev
7 ай бұрын
can you talk about Test driven development and TestEz?
@lasanhadahora
6 күн бұрын
why in bigger games you barely sees common server scripts?
@liam2795
6 ай бұрын
How can I access the data that I put inside of Mosul script and place it in the workspace and that was done by sever script but how can I access that data from local script
@SilverSuperGamer
5 ай бұрын
There is no single right way btw
@Tekleed
7 ай бұрын
Peak
@Beehopmew
7 ай бұрын
mate do you do private leasons ?
@qweekertom
7 ай бұрын
Sadly no
@partyhardwithme
7 ай бұрын
Great video, kudos for the real examples, because i've seen a lot of those "hello world" tutorials with module scripts and i understood them but still haf a hard time figuring how to use them in my real projects. This video is awesome!
@Zoilu
Ай бұрын
What's the purpose of "name : string"
@terrazaeleh
Ай бұрын
It makes it so the editor itself knows what type of data it is. Useful for using functions on a string when it's not declared yet I believe
Пікірлер: 49