is this right?
s = game:service("TeleportService")
function onClicked() s:Teleport(id) end
script.Parent.MouseButton1Click:connect(onClicked)
i think i forgot something
http://wiki.roblox.com/index.php?title=TeleportService_guide
You forgot to say who you are teleporting. After you put the id use; ',game.Players.LocalPlayer' also :GetService() not just ::service()
local player = game.Player.LocalPlayer local s = game:GetService("TeleportService") local id = 000000 function onClicked() s:Teleport(id,player) end script.Parent.MouseButton1Click:connect(onClicked)