for _,v in pairs(script.Parent.Parent.Parent.Parent.Parent.Players:GetChildren()) do
-- game:GetService('TeleportService'):Teleport(4577231039, game.Players[v.Name])
print"teleported!"
game:GetService('TeleportService'):TeleportPartyAsync(4577231039, v.Name)
end
I'm trying to teleport all players into a place in the same server. But it says "unable to cast object".

3 comments
Yes, but I'm trying to teleport all the players in a group. But that script only teleports all players.
Try the new code I added
Oh... Thanks. :) I appreciate your help...