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: Private Module?

Previous Thread :: Next Thread 
Luxurize is not online. Luxurize
Joined: 31 Mar 2015
Total Posts: 1289
02 Nov 2015 10:06 AM
http://wiki.roblox.com/index.php?title=Private_module

It says to put in script = nil inside your module, but it doesn't seem to work.
Of course private modules are fishy, but I'm doing this for practise to improve my knowledge.


“Insane isn't always black or white. We're all pathological, in our own ways.”
Report Abuse
Luxurize is not online. Luxurize
Joined: 31 Mar 2015
Total Posts: 1289
02 Nov 2015 10:08 AM
The error I get is:
Built-in global 'script' is overwritten here; consider using a local or changing the name


“Insane isn't always black or white. We're all pathological, in our own ways.”
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
02 Nov 2015 10:09 AM
That's not an error at all. That's just a warning, and it is meant to be that way.
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
02 Nov 2015 10:12 AM
^

You get similar warnings if you overwrite game or workspace too.
Report Abuse
larr1212 is not online. larr1212
Joined: 06 Jan 2015
Total Posts: 259
02 Nov 2015 10:14 AM
Create local variables for everything you need to access from the global environment, then:
setfenv(0,{})
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