Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Does anyone know what require() is useful for and when it should be used? [closed]

Asked by 6 years ago

Does anyone know what require() does and what require() is useful for? When should require() be used and is it necessary? I've only seen it be used for ModuleScripts so I was wondering if it is just ModuleScripts or it can be useful for anything else.

Marked as Duplicate by ImageLabel

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
2
Answered by 6 years ago
Edited 6 years ago

The Roblox specific function require, which is used with ModuleScripts. Straight From the Wiki only module scripts http://wiki.roblox.com/index.php/Require

Ad