|
| 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 |
|
|
| |
|
|
| 19 Mar 2016 02:20 PM |
check if runservice is server before getting the datastore
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
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 |
|
|
| |
|
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
|
  |
| 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 |
|
|