FlyScript
|
  |
| Joined: 05 Aug 2010 |
| Total Posts: 2884 |
|
|
| 12 Jan 2016 05:12 PM |
If the modulescript created an instance (say a part) in the workspace when required, would it be local to the player or would all players see it?
Similarly, would everything that happens when the modulescript runs ONLY affect the client that required it? |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 12 Jan 2016 05:13 PM |
They run where they are required.
|
|
|
| Report Abuse |
|
|
Everesty
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 6156 |
|
|
| 12 Jan 2016 05:14 PM |
This is dependant on FilteringEnabled. If filtering is on, only the player that required it would see the part. If filtering is off, all players would see the part (because the part would replicate).
As for your second question, yes. If a ModuleScript is required on a client, it runs on that client. Best put, a ModuleScript required by a LocalScript acts like a LocalScript when it's run. |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2016 05:14 PM |
| yeah so you learned to script i need a lot of learning to script |
|
|
| Report Abuse |
|
|