Hi!
I’m trying to make a teleport that teleports the player from the Starting place to another place (like going from the lobby to the main game) but I keep on getting a 773 error message. It says attempted to teleport to a restricted area.
I’ve looked online and on the devform but nothing is working. I have the game and the place I want to teleport the play to set as public, 3rd party teleports are on, and the game is free.
this is the code I have for the teleporter:
local TeleportService = game:GetService("TeleportService")
local gameID = 5661561828
function onTouched(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
TeleportService:Teleport(gameID, player)
end
end
script.parent.Touched:connect(onTouched)
can you please tell me whats the output of this code snippet in studio??
print(game.PlaceId)
That happens when you shutdown all servers and don’t kill the roblox process and wait like a few seconds (happend to me when jailbreak dropped their update)