menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
What is a Module Script?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
What is a Module Script?
Lecturous
Join Date: 2013-08-17
Post Count: 1096
#155407611
Friday, February 06, 2015 3:22 AM GMT
I just look into the top of my tab I see that I can insert server and local scripts and something called module scripts. What in the HECK are those? Are they important..?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cntkillme
Join Date: 2008-04-07
Post Count: 49450
#155407696
Friday, February 06, 2015 3:24 AM GMT
They're not important and exist only to make your life easier.
http://wiki.roblox.com/index.php?title=Module_scripts
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Lecturous
Join Date: 2013-08-17
Post Count: 1096
#155408628
Friday, February 06, 2015 3:36 AM GMT
I am trying to understand this wiki page >.< why is it printModule("Test Print") instead of printModule.printThis("Test Print")
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cntkillme
Join Date: 2008-04-07
Post Count: 49450
#155408788
Friday, February 06, 2015 3:38 AM GMT
Because the module script returned a function in that example.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Lecturous
Join Date: 2013-08-17
Post Count: 1096
#155408997
Friday, February 06, 2015 3:41 AM GMT
now I am starting to see why this isn't used often it just gives variables for multiple scripts wot
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cntkillme
Join Date: 2008-04-07
Post Count: 49450
#155409101
Friday, February 06, 2015 3:43 AM GMT
It's very useful for reusing code. And also more efficient in many cases.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
[rfa#hidefromsearch]
Join Date: 0001-01-01
Post Count: 0
#155409178
Friday, February 06, 2015 3:44 AM GMT
[rfa#hidefromsearch]
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Lecturous
Join Date: 2013-08-17
Post Count: 1096
#155409515
Friday, February 06, 2015 3:49 AM GMT
and also confusing for stupid people like <---------------------
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right