generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

ModuleScript behaviour when required by a LocalScript

Previous Thread :: Next Thread 
FlyScript is not online. 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 is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
12 Jan 2016 05:13 PM
They run where they are required.


Report Abuse
Everesty is not online. 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
nicolasbig10 is not online. nicolasbig10
Joined: 04 Oct 2015
Total Posts: 19
12 Jan 2016 05:14 PM
yeah so you learned to script i need a lot of learning to script
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image