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 » Scripting Helpers
Home Search
 

Re: Module Script Limitations?

Previous Thread :: Next Thread 
EvanHolt is online. EvanHolt
Joined: 06 Sep 2008
Total Posts: 1264
07 Oct 2014 07:26 PM
I've been messing around with Module Scripts recently and was wondering if they have the same limitations as Scripts and/or Local Scripts.

Things such as:
-Can Module Scripts access the CurrentCamera? (Scripts can't, Local Scripts can)
-Can they access Players? (Scripts can, Local Scripts can't)
-Can they access special properties, like TextBounds? (Scripts can't, Local Scripts can)
etc.
Report Abuse
IcyFires is not online. IcyFires
Joined: 29 Jun 2013
Total Posts: 5046
07 Oct 2014 07:32 PM
I believe it depends on the script you are requiring the module script in.
Report Abuse
EvanHolt is online. EvanHolt
Joined: 06 Sep 2008
Total Posts: 1264
07 Oct 2014 07:35 PM
So, if I require the Module Script with a Script it would have Script limitations and if I require the Module Script with a Local Script it would have Local Script limitations?
Report Abuse
IcyFires is not online. IcyFires
Joined: 29 Jun 2013
Total Posts: 5046
07 Oct 2014 07:37 PM
From what I understand, yes. I haven't tried it myself, though. So test it and tell me the results.
Report Abuse
EvanHolt is online. EvanHolt
Joined: 06 Sep 2008
Total Posts: 1264
07 Oct 2014 07:43 PM
Dang it, that means I can't get around Script and Local Script limitations using Module Scripts.

In one of my projects I'm working on a custom chat system, but I need to both access all Players and the TextBounds Property of GUIs.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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