TeleportService Error : GameNotFound

Am I doing something wrong? I am attempting to teleport to another game in the Universe using this simple line of code a LocalScript. Keep in mind i’m attempting to make this work in studio, which is probably why this doesn’t work.

game:GetService("TeleportService"):Teleport(1621441651)

The error:
image

Wouldn’t you have to do

game:GetService("TeleportService"):Teleport(1621441651, Player)

image

Try and add the Player part.

Still doesn’t work.

Perhaps try this Documentation - Roblox Creator Hub

That requires an InstanceId, which is not what I need. I just need it to teleport to a random server.

Fixed, Doesn’t work in studio.

1 Like