|
| 06 Aug 2017 03:20 PM |
Because I want to be able to access the data from a different script.
#code local siggy = game:GetService("SiggyService") |
|
|
| Report Abuse |
|
|
9271715
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 3 |
|
|
| 06 Aug 2017 03:22 PM |
IDIOT JUST PUT IN YOUR SCRIPT WITH THE M&MS AT WALLMART
THATS WHAT I DID :p |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2017 03:23 PM |
Please get out.
#code local siggy = game:GetService("SiggyService") |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 06 Aug 2017 03:26 PM |
That was as creative as your username, @9271715
@OP Yes, but keep in mind scope that modules return separate instances for the server and clients |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2017 03:28 PM |
Okay, thx
#code local siggy = game:GetService("SiggyService") |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 06 Aug 2017 03:29 PM |
Modules are just scripts that return something.
You can think of them as cached global functions. |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2017 03:29 PM |
I might just keep the actual data inside the script but the data store scripting will be in a regular script and I will just require the module
#code local siggy = game:GetService("SiggyService") |
|
|
| Report Abuse |
|
|
9271715
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 3 |
|
|
| 06 Aug 2017 03:48 PM |
| i love popcorn mom # ################# ################ |
|
|
| Report Abuse |
|
|