Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I access DataStore Uni.?

How would I be able to load DataStore Value on a different game but Same Universe?

z = game.Workspace.Value
ds = game:GetService("DataStoreService"):GetGlobalDataStore() 
ds:SetAsync(z.Value) -- How would I load this value e.e

I know How to save but loading it on a different game(same Universe) is giving me problems, how would I do this? I've Tested this but it just won't load and I don't know why. z is a IntValue btw..

1 comment

0

THis is CLOSED and I'm not accepting anymore answers because I had to figure it out on my own, q,q So is the repost

1 answer

Please post your full code, if this is the code, here are a few things

1 - What is z standing for? You MUST define z or it just wont do anything, example

ds = game:GetService("DataStoreService"):GetGlobalDataStore() 
z = game.Workspace.HexC3D
ds:SetAsync(z.Value) -- How would I load this value e.e

That's just an example but you need to define it for it to work.

5 comments

0

This is now what I MEAN!!!

0

You can't Save a Model It's does not have a VALUE, btw.

0

It's an example obviously, i know that. I was just stating you need to define z before you can have it looking for a Value string.

0

Yeah, but my question is on how to access is in Universes.

0

in Universe's*

This discussion is preserved as it was. New answers, comments, and votes are closed.