here is the script that sets the id
local player = game.Players.LocalPlayer
local places = player.places
local id = script.Parent.Parent.TextBox.Text
function click()
places.p11.Value = id
script.Parent.Parent.Parent.Parent.Parent.MyGames.page1.game1.ImageLabel.Image = "http://www.roblox.com/Thumbs/Asset.ashx?format=png&width=420&height=230&assetId=" .. id
end
script.Parent.MouseButton1Click:Connect(click)
script that teleports you
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local player = game.Players.LocalPlayer
local placeId = player.places.p11.Value
wait()
function click()
TeleportService:Teleport(placeId, player)
end
script.Parent.MouseButton1Click:Connect(click)

1 comment
well thats not the reason, when i press the button that sets the id it doesent change the value of p11