Global web icon
roblox.com
https://devforum.roblox.com/t/making-require-scrip…
Making Require Scripts on Roblox
Introduction Welcome to my tutorial! This tutorial is for creating Require Scripts and using the require function for importing certain scripts. To start off, a require script is a line of code used in game to import a certain GUI or even a custom character. In this tutorial, I will provide a step by step tutorial on how to make a require script. The Module Script The module script is an ...
Global web icon
roblox.com
https://devforum.roblox.com/t/solved-how-does-requ…
[SOLVED!] How does require works and how can I make a script ... - Roblox
What is a require script? Require scripts mostly used by new Roblox players in their own games via /console server-side command prompt, where you type your username while executing it, and then it creates a GUI where you can do everything (make your avatar scary, etc.). So, the only question is: How does it work and how can I make my own one?
Global web icon
roblox.com
https://devforum.roblox.com/t/introducing-require-…
Introducing Require-by-String - Announcements - Roblox
[Update] May 20, 2025 Hello, everyone! We are excited to announce a new Luau feature available in the Roblox engine: require by string! With this feature, you’ll be able to use string paths to require modules instead of navigating with Instances, making your code compatible with Luau code written for other runtimes and easier to read and write. Details String Path Resolution Require-by ...
Global web icon
roblox.com
https://devforum.roblox.com/t/what-is-require-and-…
What is require and how do I use it? - Scripting Support - Roblox
I have made a script and want to place it into a game without leaking it’s true code. I have seen this be done with many things, like admin loaders where ‘require’ is used. So like this require (1234567890) How would I use require to keep a script secret? My script is basically an Admin Script.
Global web icon
roblox.com
https://devforum.roblox.com/t/require-a-lightweigh…
A lightweight, extended require module - Roblox
Version 1.00 (7 February 2024) Introduction Hello, I just released a module that extends the functionality of Roblox’s default require function. Notable features include, but not limited to: Able to use the default r…
Global web icon
roblox.com
https://devforum.roblox.com/t/how-do-i-use-the-req…
How do I use the `require` code correctly? - Roblox
require() is only used for ModuleScripts, meaning you should publish a Module (if you know how to use them) to the ROBLOX website, then get the ID of it. After you do that, you can send this code to a friend: require(1234567890) It should be very simple.
Global web icon
roblox.com
https://devforum.roblox.com/t/new-require-introspe…
New Require Introspection Feature - Announcements - Roblox
Hey Developers, Today we have enabled some flags in the game engine to print when you require a MainModule script asset by id in-game. This is a simple tool to help you gain an understanding about script modules included in your game and debug where they are coming from in Studio and Game. In an effort to not be too noisy, these will happen once per require and show you the call stack where ...
Global web icon
roblox.com
https://devforum.roblox.com/t/gui-loading-require-…
Gui loading require scripts - Help and Feedback / Scripting ... - Roblox
You should use a local script to get inputs from the UI. To make this work, you would have to fire a remote to the server asking to require the specific module.
Global web icon
roblox.com
https://devforum.roblox.com/t/using-require-on-mod…
Using require on modules doesnt work - Roblox
I recently tried modules in my game so i could replace all of the same scripts easily without having to go through every script in the game. And that didn’t work? The modulescript has no errors because it used to be a server script but i replaced it with a module. Is there a solution to fix this? If you need the require() script thing here it is: Server Script: local ahmodule2 = game ...
Global web icon
roblox.com
https://devforum.roblox.com/t/models-uploaded-with…
Models Uploaded with a Script that Contains a Require ... - Roblox
To quote the announcement: Requiring remote assets, specifically require (assetId) While this API can be useful for auto-updating assets within your experiences, the majority of use cases in public models are malicious. A model that may look useful on the surface, for example, could load another “virus” asset at runtime.