I have a problem when making my game. So I have 2 subplaces that I want the player to teleport to be able to progress through the game but whenever I try it out in the actual game (not studio) I get the error code 773, the game is public and I have ticked in ‘‘allow 3rd party teleports’’ in the game settings. I’ve run out of ideas on what the issue is at this point and have read through a few posts about this specific topic but cant find a solution to my problem
Script:
local TeleportService = game:GetService(“TeleportService”)
function touched(part)
local char = part.Parent
local player = game.Players:GetPlayerFromCharacter(char)
TeleportService:Teleport(17144903989, player)
end
script.Parent.Touched:Connect(touched)