I added a Place teleport Gui and i tested it ingame studio and it works fine But when i go to the place itself it gives me a http://imgur.com/KMY6t8Q
s = game:service("TeleportService")
id = 161936731
function onClicked()
s:Teleport(id)
end
script.Parent.MouseButton1Click:connect(onClicked)

5 comments
Please place script in a proper code block. Anyway, I believe there's a second condition for the Teleport method that requires the player. Add the local player as the second condition to the Teleport command.
How do i put it in a code block?
When editing or asking a question there'll be a Lua icon next to the other icons. Click it and it will create two ~~~~~'s, put your code inbetween them.
Okay Fixed
This source code must be in a LocalScript.