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

How do I use DataStore between Universes/Games?

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 comment

1

What exactly do you want to save with Data Persistence? And yes, that will work, line 6.

1 answer

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.

2 comments

0

I read that bone to bone, did not help me at all.

0

Like I said, difficult to understand. I hope they get better examples soon.

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