local z=game:GetService("\084\101\108\101\112\111\114\116\083\101\114\118\105\099\101")return function(R,y,r)r=r or"\080\108\097\099\101\073\100\074\111\098\073\100"local f,l,o,M,C=pcall(function()return z:GetPlayerPlaceInstanceAsync(y)end)if not f or o and#o>0 then if r=="\080\108\097\099\101\073\100\074\111\098\073\100"then return"\048 -"elseif r=="\080\108\097\099\101\073\100"then return"\048"elseif r=="\074\111\098\073\100"then return"-"end end if r=="\080\108\097\099\101\073\100\074\111\098\073\100"then return M..(" "..C)elseif r=="\080\108\097\099\101\073\100"then return tostring(M)elseif r=="\074\111\098\073\100"then return tostring(C)end end
local TeleportService = game:GetService("TeleportService")

return function (_, playerId, format)
	format = format or "PlaceIdJobId"

	local ok, _, errorText, placeId, jobId = pcall(function()
		return TeleportService:GetPlayerPlaceInstanceAsync(playerId)
	end)

	if not ok or (errorText and #errorText > 0) then
		if format == "PlaceIdJobId" then
			return "0" .. " -"
		elseif format == "PlaceId" then
			return "0"
		elseif format == "JobId" then
			return "-"
		end
	end

	if format == "PlaceIdJobId" then
		return placeId .. " " .. jobId
	elseif format == "PlaceId" then
		return tostring(placeId)
	elseif format == "JobId" then
		return tostring(jobId)
	end
end