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
 

Re: MainModule help? ty

Previous Thread :: Next Thread 
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 03:38 PM
tells me i cant require assestid from client? :/

trying to require from a localscript.


yudodis
Report Abuse
sonicboy01 is not online. sonicboy01
Joined: 22 Nov 2008
Total Posts: 923
17 Dec 2015 03:39 PM
I don't think you can call modules using a localscript, not 100% certain due to the fact I've never tried it before.
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 03:41 PM
pretty sure they take the properties of what ever requires them, rite?


yudodis
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
17 Dec 2015 03:41 PM
If I am correct, you can make modular LocalScript's.
Report Abuse
Trollkishi is not online. Trollkishi
Joined: 14 Nov 2013
Total Posts: 718
17 Dec 2015 03:43 PM
From what the wiki says:

"Private modules cannot be loaded from studio. This makes it difficult to test games which rely on private modules."


~Cutting someone down at the knees doesn't make you any taller~
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 03:44 PM
-i am trying from online, in game.


yudodis
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
17 Dec 2015 03:47 PM
"Private modules cannot be loaded [in] studio."

Then why does it work for me? Was I using one of my 'SetPlaceId()' places that are connected to a real game?
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
17 Dec 2015 03:49 PM
*Assuming* if you own the module you'd be able to load it.
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 03:49 PM
i do and its a mainmodule.


yudodis
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 03:53 PM
ls; require(332342058).Start()
--
module; Functions = {}
function Functions.Start()
print("HI")
end
return Functions
--
error; prntscrn/9fg921


yudodis
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
17 Dec 2015 03:53 PM
Did you fix it? I required it in my game with no errors.
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 03:55 PM
nope... :/


yudodis
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
17 Dec 2015 03:57 PM
It says the error in plain English. You can't require it from the client.
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 03:59 PM
ik.. but no ones clarified that you cant require from a localscript

so imma have to make it work w/ a reg? :c


yudodis
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 05:42 PM
anyone gotta idea how to get a local player using a modulescript?


yudodis
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
17 Dec 2015 05:47 PM
Yeah, you can easily require ModuleScripts from the client, just not using the AssetId.
Report Abuse
121bytes is not online. 121bytes
Joined: 20 Aug 2014
Total Posts: 250
17 Dec 2015 05:53 PM
need2tho :c

thinking of using a remoteevent maybe


yudodis
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