how do I make it take the changed value?
local teleport = game:GetService("TeleportService")
local player = game.Players.LocalPlayer
local Data = {
face = script.Parent.Parent.Value.Value
}
script.Parent.MouseButton1Click:Connect(function()
teleport:Teleport(4834144822, player, Data)
end)
My code

5 comments
I already know how to teleport but when I get GetLocalPlayerTeleportData ( ) from something it takes the deafult value and not the changed one like for example the deafult value is 0 and on the server I changed it to 1 and when I teleport to another place it shows it 0 and not 1
Make sure its in a local script in starterplayerscripts when using getlocalteleportdata
It is but I am still getting the deafult value instead the value I changed in game
What value?
A string value that I change on an other place like I change it to other asset id's and the asset id that I putted on that value is not there when I get teleported and I get the deafult value of the string