function TeleportServiceUtils.promiseReserveServer(c)assert(type(c)=="\110\117\109\098\101\114","\066\097\100 \112\108\097\099\101\073\100")return Promise.spawn(function(m,V)local R local O,L=pcall(function()R=TeleportService:ReserveServer(c)end)if not O then return V(L)end return m(R)end)end

function TeleportServiceUtils.promiseReserveServer(placeId)
	assert(type(placeId) == "number", "Bad placeId")

	return Promise.spawn(function(resolve, reject)
		local accessCode
		local ok, err = pcall(function()
			accessCode = TeleportService:ReserveServer(placeId)
		end)
		if not ok then
			return reject(err)
		end

		return resolve(accessCode)
	end)
end
