So, I'm trying to make a custom GUI for a teleporter to another place. But, it doesn't work. Help?
code: (no error)
LocalScript:
local service = game:GetService("TeleportService")
service:SetTeleportGui(script.Parent.ScreenGui) -- this doesn't work
Script:
local service = game:GetService("TeleportService")
script.Parent.ClickDetector.MouseClick:Connect(function(p)
service:Teleport(0000000000,p) --i dont wanna show the id
end)
Also trying to look here on the Developer API Reference
b_mni

3 comments
You're not testing this in Studio, correct?
Yeah teleport service doesn’t work in studio only in a real server I think
i know that