I want to be able to teleport to a place within a game, but Roblox is throwing me a 773 error. This is only an issue for one of the places I try to teleport to. The other place I give as an option to teleport to does not give me this issue and works fine. I searched for a solution last night, but I was unable to find a fix.
Code for button used to teleport:
local placeID = 3257382329
local ts = game:GetService("TeleportService")
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.Parent.Parent.Teleporting.Visible = true
ts:Teleport(placeID, player)
end)
Picture of the issue: teleport Error — Postimages
Picture of the dev console: teleport Error2 — Postimages