HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Use ModuleScripts In Roblox Studio - Advanced Tutorial #1

178,229 views May 26, 2020 33:26

Watch on YouTube
ChannelAlvinBlox

Description from the creator

Learn how to use module scripts on Roblox Studio with this Roblox scripting tutorial. Module Scripts allow you to call functions from different scripts and organise your code. I also go over the _G variable and why you should not use it.

Beginner Scripting Series: youtube.com/watch?v=BfLUt3mfJiY&list=PLsbxI…

Written guide: devforum.roblox.com/t/how-to-use-module-scripts…

Support my work by becoming a Channel Member using the link below:
►youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA/jo…

Subscribe to my YouTube channel for more scripting videos:
►youtube.com/alvinblox?sub_confirmation=1

► Watch my full beginner scripting series: goo.gl/k3erz2

Got video suggestions or feedback? Contact me via my website
►alvinblox.com/

Roblox username: Alvin_Blox

The music in this video is licensed from Epidemic Sound
epidemicsound.com

#ModuleScripts #RobloxScriptingTutorials

About this tutorial

AlvinBlox published this 33:26 video tutorial on May 26, 2020. It has been watched 178,229 times on YouTube.

Channel
AlvinBlox
Duration
33:26
Published
May 26, 2020
Views
178,229
Likes
3,845

Tags

Share

Further reading

  • How To Use Module Scripts - Community Tutorials - Roblox ... devforum.roblox.com

    Module Scripts are really useful in Roblox Scripting. They help us to stop writing the same code over and over again in different scripts, because we can write the code only once in a ModuleScript and then call it from…

  • Creating with Module Scripts - Roblox education.roblox.com

    In Roblox Studio, open the downloaded file: Intro to Module Scripts - Starter Project.rbxl. Create a Module Script. So players can get treasure from chests, create a module script named TreasureManager. Using a module s…

  • Intro to Module Scripts - Roblox education.roblox.com

    So other scripts can use a module’s non-local functions or variables, every module ends with return myModule. Whenever another script tries to get code from the module, return lets that script access code stored inside…

This tutorial in other languages