Code I have so far:
local ts = game:GetService("TeleportService")
local id = 1234567890 --this is an example id
game.Players.PlayerAdded:Connect(function(plr)
ts:Teleport(id, plr)
end)
What I'm trying to get at is teleporting somebody upon entry of the game to another game. But it doesn't do anything. There are no errors that show up, only the error where it says I cannot be teleported in studio, but when tried in game, nothing happens. What am I doing wrong?

1 comment
I posted an answer, please see if it solves your problem and make it a solution. Thanks!