How can I get a JobId of a PlaceId?

Hi guys! Hope you do very well! So I made a system that teleports a group of players to another place but the problem is that when they are already teleported, and then another group of players teleports, it teleports them to the 1st group of players that has been teleported, and I don’t want that, so my doubt is how can I create each time a different JobId? And how can I get a JobId of a placeId?

This could work maybe? :

local PlaceId = 1234567891
local PlaceIdJobId = PlaceId.JobId

Because I plan to use it with a “TeleportService:TeleportPartyAsync(gameID, jobId, Players)”

That could work?

I’ll appreciate a lot you and your help if you give me a hand with this, even if it’s a small one.

Thank you for everything and have a nice day!

I believe this is what you’re looking for (game.JobId)

1 Like