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 |
|
|
|
| 10 Aug 2016 09:37 AM |
for more security I would add the line "script=nil" to the top of you MainModule
|
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 10 Aug 2016 10:13 AM |
@iJacobness
Honestly I'm starting to think you have ashburgers.
-R.B. Box (Regalius Boxikins Box) |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 10 Aug 2016 10:33 AM |
No, I'm saying your completely dumb.
-R.B. Box (Regalius Boxikins Box) |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 10 Aug 2016 11:39 AM |
Seriously, what does Jacob even mean by what he said? What provoked that response?
|
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 10 Aug 2016 05:58 PM |
Oh, I get it finally. Wow, that took me a while to understand.
|
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 10 Aug 2016 06:19 PM |
Don't put in in a function, just put it at the top.
|
|
|
| Report Abuse |
|
|
|
| 10 Aug 2016 06:20 PM |
What Jacob is saying only applies if you put it in a function or something.
|
|
|
| Report Abuse |
|
|