Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Join a Roblox Server using PlaceID and JobID?

I will be able to get a servers PlaceID and JobID but how do I put that into a url to join that specific server by using the JobId?

4 comments

0

Now if you want to make a physical link, then I don't know how to do that :-/

0

I want to make a physical link, but ok. I'll find out.

0

:<

2 answers

Assuming you've already figured out how to obtain the PlaceID and JobId, you can then use this Teleport Service method to put them into action:

local TeleportService = game:GetService("TeleportService")
TeleportService:TeleportToPlaceInstance(placeId, JobId, player)

Note that the third argument, "player", is only required in server scripts. In a local script, omit it. In a server script, give it the player instance itself "game.Players.Uglypoe".

Note that it doesn't always work correctly, as teleport service is extremely buggy. Good luck and hope this helped!

2 comments

0

This is for when you in a game, I'm trying to make it a URL that joins you into that game.

0

How would you accomplish that in an URL?

It is an string like example:

while true do
print(game.JodId)
wait(1)
end

But this page may can help you better.

1 comment

0

I already know how to get a server's JobId. I just want to know how to make a website url make your chrome join that game.

This discussion is preserved as it was. New answers, comments, and votes are closed.