generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Require?

Previous Thread :: Next Thread 
lordrex12345 is not online. lordrex12345
Joined: 15 Oct 2008
Total Posts: 310
17 Aug 2015 02:28 PM
Hi all -

I've seen a few scripts recently where all it contains is:

require(RandomIDNUmberHere)


I was wondering if anyone could tell me how this works. It would be even more appreciated if you could give me an example.
Thanks!
Report Abuse
ScrewDeath is not online. ScrewDeath
Joined: 03 Jun 2012
Total Posts: 2700
17 Aug 2015 02:30 PM
It's for getting stuff from modulescripts.
http://wiki.roblox.com/index.php?title=API:Class/ModuleScript
Report Abuse
Drakles is not online. Drakles
Joined: 19 Oct 2014
Total Posts: 1066
17 Aug 2015 02:30 PM
It returns / loads a ModuleScript.

The greatest pleasure in life is doing something that people said you couldn't do.
Report Abuse
lordrex12345 is not online. lordrex12345
Joined: 15 Oct 2008
Total Posts: 310
17 Aug 2015 02:49 PM
Hm ok, what does the ID in the parenthesis represent?
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
17 Aug 2015 02:49 PM
The module script...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image