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: Global Datastore function in localscript.

Previous Thread :: Next Thread 
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
01 Apr 2014 03:26 PM
If you call a global datastore function in a localscript, would it work?
Report Abuse
Jonibus is not online. Jonibus
Joined: 30 Jan 2010
Total Posts: 8985
01 Apr 2014 03:27 PM
Pretty sure it needs to be a server sided script.

Follow me on twitter: @Jonibus_RBX
Report Abuse
Ocellus is not online. Ocellus
Joined: 11 Sep 2012
Total Posts: 1043
01 Apr 2014 03:27 PM
+@Jonibus
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
01 Apr 2014 03:27 PM
I think, perhaps..
The data stored by the localscript would not be accessible by other players of course.

I haven't experimented with it, so don't take my word for it.
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
01 Apr 2014 03:31 PM
It just seems like a hacky method is needed to save data from purchase guis running a localscript
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Apr 2014 03:42 PM
You trigger a global function?
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Apr 2014 03:43 PM
I should have said call instead of trigger.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
01 Apr 2014 03:57 PM
Whenever I need to do LocalScript/ServerSide script access, I just replicate info to a StringValue or something and then Use ChildAdded...
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
01 Apr 2014 04:32 PM
What about bindable functions?
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Apr 2014 04:42 PM
I was going to say that. Because I am pretty sure there is an OnClientInvoke event
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