About 416,000 results
Open links in new tab
  1. Intro to module scripts | Documentation - Roblox Creator Hub

    Module scripts in Roblox are a method coders use to organize and reuse code. A module script is often stored in ServerStorage (or ReplicatedStorage for client-based interactions).

  2. ModuleScript | Documentation - Roblox Creator Hub

    A ModuleScript is a script type that returns exactly one value by a call to require (). ModuleScripts run once and only once per Luau environment and return the exact same value for subsequent calls to require ().

  3. Intro to ModuleScripts and how you can use them! (BEGINNER ... - Roblox

    Sep 11, 2021 · You can use a ModuleScript for many different things, storing tables, creating frameworks, etc… So let’s get into it. I’ll be coding in Visual Studio, you can stay in Roblox Studio as it’ll be the same, however creating a Module you’ll start off with this.

  4. How To Use Module Scripts - Community Tutorials - Roblox

    May 13, 2020 · Learn how to use Module Scripts and why ModuleScripts are useful in Roblox Scripting with this tutorial. I’ve just launched my Roblox Advanced Scripting series on YouTube.

  5. Basic ModuleScript Tutorial for Beginners - Roblox

    Aug 29, 2022 · In this tutorial, I’ll be covering how to use these scripts. This is what a ModuleScript looks like when you create one in Studio. Let’s create a basic function. If you run this code, nothing will happen because it’s a function and it needs to be called before it …

  6. create-with-module-scripts.md - GitHub

    Apply your knowledge of modular scripts in Roblox with this practical example. To apply your knowledge of module scripts, create a module script that allows players to pick up keys and use them to open treasure chests. This project includes a starter map with leaderboard and scripted pickup objects for the keys and treasure chests.

  7. How to use Module Scripts in Roblox (A Beginners Guide)

    Jul 25, 2024 · Module Scripts in Roblox are a type of Lua script that allows developers to define reusable pieces of code. Unlike regular scripts, which execute their code immediately upon running, Module...

  8. creator-docs/content/en-us/scripting/module.md at main - GitHub

    In Roblox Studio, add a module script to ReplicatedStorage and rename it to PickupManager. Each Class.ModuleScript starts with the following code: return module. This code creates an empty Luau table and returns it to any script that requires the module script.

  9. Create with module scripts | Documentation - Roblox Creator Hub

    To apply your knowledge of module scripts, create a module script that allows players to pick up keys and use them to open treasure chests.

  10. How to Use Module Scripts in Roblox - Alphr

    Jul 31, 2023 · Mastering module scripts is a key part of becoming a successful Roblox developer. These handy script shortcuts are beneficial for coding common gameplay elements, like money, rewards, and...

  11. Some results have been removed
Refresh