|
| 29 Dec 2016 08:08 PM |
| Title. Do they run off the server or local. Because if they run off the server, whatever I get it to do will be fine with FilteringEnabled right? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Dec 2016 08:09 PM |
| From wherever you require them from. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 29 Dec 2016 08:16 PM |
| Can you require directly a module script that is in replicated storage using a local scirpt with filtering enabled? |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2016 08:17 PM |
it will run 1 time
if called locally, it runs only for that client and stores the last returned value of the modulescript for that client
if called on the server it will only run 1 time and store the last returned value of the modulescript |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2016 08:19 PM |
| That means you can make a datastore in module?, I never knew what is module useful for if you can only access them 1 time. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2016 08:22 PM |
you can make configurations and run things only 1 time, but they can run as long as they want to and be required whenever and wherever when using asset id meaning you could make a script that never stops running in a module script that runs only from wherever it is called and you could update it seamlessly by simply uploading a new module script
And they also allow you to get the same things without declaring them again every time such as extra math functions, data store functions, etc. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2016 08:23 PM |
| Also do keep in mind that by 1 time i mean it runs only 1 time from where it is called, either the client calling it, or the server |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Dec 2016 08:33 PM |
"That means you can make a datastore in module" If you require it from a regular script, sure why not |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 29 Dec 2016 08:48 PM |
Thats exactly what i do here
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=201595803
|
|
|
| Report Abuse |
|
|
| |
|