Teleport Data Not Working

  1. **What do you want to achieve?
    i was trying to teleport my settings value
  2. **What is the issue?
    teleport to the place don’t have problem , but received the data have problem .

–here is my teleport data script

local TeleportService = game:GetService(“TeleportService”)

local PlaceId = 7067639851

local Player = game.Players.LocalPlayer

local TeleportData = {

SettingsFolder = game.Players.LocalPlayer.Settings,

CharacterFolder = game.Players.LocalPlayer.Characters



script.Parent.Parent.Parent.Parent.LoadingScreen.Visible = true

TeleportService:Teleport(PlaceId, Player, TeleportData)


–here is my received data script

local TeleportService = game:GetService(“TeleportService”)

local teleportData = TeleportService:GetLocalPlayerTeleportData()

if teleportData then

local SettingsFolder = teleportData.SettingsFolder

local CharacterFolder = teleportData.CharacterFolder


I don’t think that works in roblox studio

i know but its still not working , is there a way to make it possible with datastore? cuz i have this settings value datastored

If the place you teleport is a sub-place, you can use the same data in there too.

1 Like

If you didn’t read in the developer hub it says this

And also you can use the same DataStore if the place you want to teleport to is a sub-place

Also this seems to be a code executed on a Script not a LocalScript and a Script cannot set the teleport data

the server is a place , but i dont quite know how to connect to the same datastore

Is it a completely different place or a place you created inside of the main? If it is a place created inside of the main one you can just copy the script that contains the DataStore service and it in the other place

oh i will change to script later

its a place i create inside of the main

If you want to use TeleportData you have to do it on a LocalScript but it’s not safe

since i just teleport settings value , safety is not a problem

Then you can just get the same DataStore example:

Main place:

thingsDataStore = DataStore:GetDataStore("ThingsDataStore")

Second place:

thingsDataStore = DataStore:GetDataStore("ThingsDataStore")

You just use the same DataStore

Ok but you cannot do it on a Script because it will not work

just copy the datastore script from the main place and done?

Yes because the places shares the same DataStore infact if you create a new one inside of the second place you will be able to use it in the main one

ohh i learn new things today , thanks for the info!

1 Like

No problem also if you want to learn more about the TeleportService here’s the link to the developer hub: TeleportService:Teleport (

I literally told the same thing lol.