Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Join a Roblox Server using PlaceID and JobID?

Asked by
Nickoakz 231 Moderation Voter
8 years ago

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?

0
Now if you want to make a physical link, then I don't know how to do that :-/ M39a9am3R 3210 — 8y
0
I want to make a physical link, but ok. I'll find out. Nickoakz 231 — 8y
0
:< Nickoakz 231 — 8y

2 answers

Log in to vote
1
Answered by
Uglypoe 557 Donator Moderation Voter
8 years ago

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!

0
This is for when you in a game, I'm trying to make it a URL that joins you into that game. Nickoakz 231 — 8y
0
How would you accomplish that in an URL? marketmanager1 52 — 6y
Ad
Log in to vote
0
Answered by 8 years ago

It is an string like example:

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

But this page may can help you better.

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. Nickoakz 231 — 8y

Answer this question