local a=game:GetService("\084\101\108\101\112\111\114\116\083\101\114\118\105\099\101")return function(w,B,b)b=b or"\080\108\097\099\101\073\100\074\111\098\073\100"local V,u,i,t,x=pcall(function()return a:GetPlayerPlaceInstanceAsync(B)end)if not V or i and#i>0 then if b=="\080\108\097\099\101\073\100\074\111\098\073\100"then return"\048 -"elseif b=="\080\108\097\099\101\073\100"then return"\048"elseif b=="\074\111\098\073\100"then return"-"end end if b=="\080\108\097\099\101\073\100\074\111\098\073\100"then return t..(" "..x)elseif b=="\080\108\097\099\101\073\100"then return tostring(t)elseif b=="\074\111\098\073\100"then return tostring(x)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
