Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make cross place variables? [Solved]

Asked by
funzrey 58
10 years ago

Oh okay, well heres my total fail but try On My First place:

placeid = 170965839
cpv = game:GetService("CrossPlaceVarService")
cpv:UploadVar(game.Workspace.Var1.Value, placeid)

On My second place:

placeid = 170489373
download = 170965839
cpv = game:GetService("CrossPlaceVarService")
cpv:DownloadVar(download, placeid, game.Workspace.NewVarCross.Value)

DownloadVar Args = (Download Variable placeid, Variable from placeid, Set uploadedVar to) UploadVar Args = (placeToUploadTo, PlaceId)

Alright, Only places allowed to download vars is from places that uploaded to that place, Otherwise, it will throw a error. Support! (They could support this, Or you can teach me .-.) This is already possible but hard, CloneTrooper1019 did it on his options for murder

0
Just use HttpService if they aren't in the universe. If they are you can use DataStore. jakedies 315 — 10y
0
So your meaning, I'm using place universes for this Blox Inc game me and my friend are working on, So I use DataStore? funzrey 58 — 10y
0
Yeah, that's probably the simplest option. jakedies 315 — 10y
0
Thanks, I'll be testing it out. [Blox Inc. was canceled] funzrey 58 — 9y

Answer this question