I was wondering how you teleport. Frequently, I tried doing this, but it won’t work. What’s the issue? How can I fix it?
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game.Players.Alfraticx)
I was wondering how you teleport. Frequently, I tried doing this, but it won’t work. What’s the issue? How can I fix it?
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game.Players.Alfraticx)
It’d be nice if you included information on the thread, such as how it’s not working or if your console is producing any errors. Saying “it doesn’t work” and dropping a line of code isn’t really going to get a solution to your thread.
Is it because you’re trying to teleport to the server you’re currently in? game.JobId returns the JobId of the server so from the code you provided us it looks like you’re attempting to teleport the server you’re currently in which shouldn’t initiate a teleport.
So you’re saying that you can join other servers by using their JobId? Im just curious
Yes you can. That’s why TeleportToPlaceInstance exists. If you have the JobId of another server, you can input it into the function (which you’ve already done except you’re using the current server’s JobId, which is essentially just a rejoin) and then you can teleport to that server.