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 question

Previous Thread :: Next Thread 
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
10 Aug 2016 09:33 AM
I would legit just make a module named MainModule and upload it as a locked model on roblox? and then just require it's asset?
Report Abuse
Happywalker is not online. Happywalker
Joined: 05 Mar 2010
Total Posts: 3672
10 Aug 2016 09:37 AM
for more security I would add the line "script=nil" to the top of you MainModule


Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
10 Aug 2016 10:00 AM
Oh yes happy because that's gonna help so much. You clearly dont understand how modules work, they don't run code, unless you run the function.


Report Abuse
Cuyler is not online. Cuyler
Joined: 27 Feb 2006
Total Posts: 3784
10 Aug 2016 10:03 AM
By setting the script variable to nil, you prevent getting a reference to MainModule through the function environment. So, unless you specify script is nil, then you can get the MainModule object via any Server Script.


Report Abuse
RemasteredBox is not online. RemasteredBox
Joined: 19 Jun 2016
Total Posts: 2140
10 Aug 2016 10:13 AM
@iJacobness

Honestly I'm starting to think you have ashburgers.


-R.B. Box (Regalius Boxikins Box)
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
10 Aug 2016 10:16 AM
so your saying because i trolled you, and stated the truth about modules how they dont just run code on its own unless you run the function, you think I have ashburgers.

Honestly I'm starting to think you have autism.


Report Abuse
RemasteredBox is not online. RemasteredBox
Joined: 19 Jun 2016
Total Posts: 2140
10 Aug 2016 10:33 AM
No, I'm saying your completely dumb.


-R.B. Box (Regalius Boxikins Box)
Report Abuse
0xDEADC0DE is not online. 0xDEADC0DE
Joined: 10 Apr 2016
Total Posts: 1039
10 Aug 2016 10:42 AM
you're*


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Aug 2016 10:48 AM
"Oh yes happy because that's gonna help so much. You clearly dont understand how modules work, they don't run code, unless you run the function."
Who said anything different?


Report Abuse
Happywalker is not online. Happywalker
Joined: 05 Mar 2010
Total Posts: 3672
10 Aug 2016 11:21 AM
No I don't know how modules work and neither do the wiki writers

http://wiki.roblox.com/index.php?title=Private_module


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Aug 2016 11:39 AM
Seriously, what does Jacob even mean by what he said? What provoked that response?


Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
10 Aug 2016 11:46 AM
@JarodOfOrbiter He was responding to the first reply on this thread.
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
10 Aug 2016 01:46 PM
my apologies happy, its just annoying when someone says something that doesnt work, but the wiki writers are obviously idiots.


Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
10 Aug 2016 05:57 PM
oh wow i didn't think about that rofl

makes sense jacob, to believe that 6 hours ago I thought you were just a big jerk!
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Aug 2016 05:57 PM
script=nil is a layer of protection. It isn't foolproof, but neither is FE. You don't say that FE is dumb though when the wiki says it protects against hacks.


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Aug 2016 05:58 PM
Oh, I get it finally. Wow, that took me a while to understand.


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Aug 2016 05:59 PM
No, I still don't get it. You can't use getfenv on it without requiring it, and if you require it, then it runs and "script" is set to nil, so I still don't know what your post means.


Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
10 Aug 2016 06:02 PM
so you don't have to move it into one of the functions of the code?

i don't really understand these modules to be honest
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Aug 2016 06:19 PM
Don't put in in a function, just put it at the top.


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Aug 2016 06:20 PM
What Jacob is saying only applies if you put it in a function or something.


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