|
| 03 Nov 2015 08:46 PM |
| Oh my god they are so usful I never used them to their full potential before Its outstanding. |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 03 Nov 2015 08:47 PM |
| let's hear what you use them for |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 08:52 PM |
Well I'm making a tool that requires certain weld positions of the arms and legs, so what I do is fire a bindable event in the player to tell another localscript to do the welding, This makes the tool script a lot smaller and better to read, aswell as making it easier to create weld positions because you only deal with welds in that script.
3 tool scripts 1 weld script |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 08:54 PM |
| why dont u just use module scripts |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 08:57 PM |
| Because all module scripts can do is run functions, with a separate script I can do a ton of things that I need for all the tool scripts. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 08:57 PM |
"why dont u just use module scripts" Why don't we just replace wrenches with hammers, as they do the same thing, right? |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:00 PM |
| you can do a lot with module scripts actually |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:01 PM |
Can you have a rennderstep event connect to a function? No |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:02 PM |
"you can do a lot with module scripts actually" You can do a lot with a hammer to. You might even be able to use one as a wrench, but in case you didn't get the hint, NOT MADE FOR THAT. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:03 PM |
local Module = {}
Module.Lol = function() print'lol' end
game:GetService("RunService").RenderStepped:connect(Module.Lol)
return Module |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:04 PM |
JarodOfOrbiter you sound like a really worked up nerd lmao
NOT MADE FOR THAT !!!!! |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:05 PM |
^While you did disregaurd what I said, I didn't think it would do that, it 1. Didnt run until required 2. (if I'm right), it would connect that function each time it is required |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:06 PM |
I am. I dislike it when people compare ModuleScripts to things with totally different purposes.
You know though, you don't even need a ModuleScript. Just used _G or shared. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:07 PM |
why would you require it more than once lol
and why would you wait before requiring it...? |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:07 PM |
| Personally the only good use for a module script is an ugly library. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:07 PM |
"2. (if I'm right), it would connect that function each time it is required" No, I'm pretty sure this one is false. The table has already been returned the first time it was required, and it returns the same thing each time, and only runs once. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:08 PM |
"why would you require it more than once lol"
Perhaps you missed the time he said "BindableFunction" and "BindableEvent" (Implying sending data between two or more scripts) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:08 PM |
JarodOfOrbiter no _G. and module scripts are completely different you have no idea what you're talking about
and _G. can be rewritten, and not accessed from a local script
aside from the fact that _G. is outdated and ugly |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Nov 2015 09:08 PM |
| @CLIMAX To be truthful, your insults are as bland as bland. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:09 PM |
>outdated no >ugly yes >as ugly as module script almost, mainly depending on use |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:11 PM |
"JarodOfOrbiter no _G. and module scripts are completely different you have no idea what you're talking about" Well since you are returning a table anyways, they are essentially the same after initialization.
"and _G. can be rewritten, and not accessed from a local script" Tables returned by ModuleScripts can be re-written. _G can be accessed from LocalScripts the same way ModuleScripts can (Id est, only on the same machine, just like ModuleScripts)
"aside from the fact that _G. is outdated and ugly" Of course, using a ModuleScript for something it wasn't meant for is certainly not ugly in any way. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:13 PM |
@bosswalrus probably because i don't care as much as you
i can say whatever i want, and it doesn't really get to me if someone makes fun of me for all the idiotic things i say on the internet, especially on roblox of all places
if it were in real life with my real friends it would make a difference |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 09:14 PM |
| Oh damn the butthurt is getting edgy |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Nov 2015 09:16 PM |
'and _G. can be rewritten, and not accessed from a local script' idiot
'aside from the fact that _G. is outdated and ugly' idiot [2]
CLIMAX you're stupid |
|
|
| Report Abuse |
|
|