local G=game:GetService("\084\101\108\101\112\111\114\116\083\101\114\118\105\099\101")return function(r,m,U,u)m=m or{r.Executor}if U<=0 then return"\073\110\118\097\108\105\100 \112\108\097\099\101 \073\068"elseif u=="-"then return"\073\110\118\097\108\105\100 \106\111\098 \073\068"end r:Reply("\067\111\109\109\101\110\099\105\110\103 \116\101\108\101\112\111\114\116\046\046\046")if u then for r,m in ipairs(m)do G:TeleportToPlaceInstance(U,u,m)end else G:TeleportAsync(U,m)end return"\084\101\108\101\112\111\114\116\101\100\046"end
local TeleportService = game:GetService("TeleportService")

return function(context, players, placeId, jobId)
	players = players or { context.Executor }

	if placeId <= 0 then
		return "Invalid place ID"
	elseif jobId == "-" then
		return "Invalid job ID"
	end

	context:Reply("Commencing teleport...")

	if jobId then
		for _, player in ipairs(players) do
			TeleportService:TeleportToPlaceInstance(placeId, jobId, player)
		end
	else
		TeleportService:TeleportAsync(placeId, players)
	end

	return "Teleported."
end
