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

How do I use DataStore between Universes/Games?

Asked by 10 years ago

This is my script that's inside. I have a few questions about this.

1st question: On line 6 will that work??

2nd question: Where would I put data store functions? How would I transfer/ create data store? I tried the wiki but it just confused me beyond anything....

local PlaceID = script.Parent.ID

function onTouched(hit)
    character = hit.Parent
        if character then
            game:GetService("TeleportService"):Teleport(PlaceID, character)
        end
end

script.Parent.Touched:connect(onTouched)
1
What exactly do you want to save with Data Persistence? And yes, that will work, line 6. TheMyrco 375 — 10y

1 answer

Log in to vote
0
Answered by
drahsid5 250 Moderation Voter
10 years ago

READ this I personally find it rather difficult to understand, as the examples show us what we don't want to use it for. Later it should be updated though.

0
I read that bone to bone, did not help me at all. IntellectualBeing 430 — 10y
0
Like I said, difficult to understand. I hope they get better examples soon. drahsid5 250 — 10y
Ad

Answer this question