TeleportPartyAsync Error: Doesnt support a guest

Im having an error in my code where I try to teleport a group of people using TeleportAsync() (not teleportpartyasync) and it errors because i am teleporting more than one person, and it says “TeleportPartyAsync error: Doesn’t support a guest”

error:
Screenshot 2025-03-01 114444

My script:

local teleportservice = game:GetService("TeleportService")

script.Parent.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		local humanoid = hit.Parent.Humanoid
		local colony = hit.Parent.Colony
		local arrayofplayers = {
			
		}
		for i, v in pairs(game.Players:GetPlayers()) do
			if v.Character:WaitForChild("Colony").Value == colony.Value and colony.Value ~= "" then
				table.insert(arrayofplayers, v)
			elseif v.Character.Name == hit.Parent.Name then
				teleportservice:Teleport(98985454249054, game.Players:GetPlayerFromCharacter(hit.Parent))
				print("teleported one player not in a colony")
			end
		end
		
		
		teleportservice:TeleportAsync(98985454249054, arrayofplayers)
		
	end
end)

What? What do you mean by guest? I heard they were removed!

the error says “doesn’t support a guest”

Are you testing from studio or roblox experiences?

Studio so i can get more than one player in the same server with the local test thing, i know it wont teleport but im looking at the error and it should say you cant teleport in studio instead of doesnt support a guest

Here is something relevant for your issue:

I found out that the script works ingame, but not in studio (got someone to test)

Teleport service doesn’t work in studio! I just remembered! That’s why it only works on the roblox app!

yes I know, but guests were removed

dont reply if its worthless for next times

are you telling me to go away?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.