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
 

Datastores

Previous Thread :: Next Thread 
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
19 Mar 2016 01:41 PM

in a local script I am:

requiring a module which --> requires a module which --> accesses Datastores

the local script errors as obviously you cannot access datastores via module.

The function in the module that im using doesnt even need datastores to work, but because i had a variable which accesses datastores in the module, it errors saying that you cant access datastores in the client.

Any help?



#Strikin'
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
19 Mar 2016 02:19 PM
bump



#Strikin'
Report Abuse
Happywalker is not online. Happywalker
Joined: 05 Mar 2010
Total Posts: 3672
19 Mar 2016 02:20 PM
check if runservice is server before getting the datastore


Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
19 Mar 2016 03:29 PM
please elaborate



#Strikin'
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
20 Mar 2016 03:16 AM
bumpedydoo



#Strikin'
Report Abuse
Vescule is not online. Vescule
Joined: 23 Jan 2014
Total Posts: 72
20 Mar 2016 03:17 AM
I don't think you can require a modulescript from a localscript.



#code print("Who is this you speak of?".."Dis is AuroJosh!")
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
20 Mar 2016 03:28 AM
u can



#Strikin'
Report Abuse
Vescule is not online. Vescule
Joined: 23 Jan 2014
Total Posts: 72
20 Mar 2016 03:31 AM
Then no clue.



#code print("Who is this you speak of?".."Dis is AuroJosh!")
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
20 Mar 2016 04:14 AM
Datastores cannot be used client side. Modules run where you require them.


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