I've been trying to get players to stand on a part that teleports them into another 'place' (separate from the starting place). However, when you step on it, it comes up with a teleport error (in-game, not testing) which is called error 769. Can anyone help please? The code is attached below. `local TeleportService = game:GetService("TeleportService") local id=3543671090
script.Parent.Touched:connect(function(hit) local code = TeleportService:ReserveServer(id) local player = game.Players:GetPlayerFromCharacter(hit.Parent) TeleportService:TeleportToPrivateServer(game.PlaceId, code, {player})
end)`

6 comments
@WoTrox still not working.Error 769 still there, i fixed it earlier by replacing game.PlaceId with 'id' but i realised that the script instantly teleports the player without anyone else.
I've been looking at TeleportPartyAsync(). Is there any way where I can assign the players that touch this part into a group/ variable/ team and then teleport them into a PRIVATE server. I'm fairly sure that your script would have just sent them into any server.
In my game, I made different places, like solo, duo, trio and squad, but I don't know any solutions for a private server. Sorry. And if you find something, please let me know.
I found a something on the Roblox Developer Console. https://developer.roblox.com/en-us/api-reference/function/TeleportService/ReserveServer
Yeah, I realised that it would only transport one player at a time into a private server, so the TeleportPartyAsync () teleports a group of players. If I could add the players to a list or variable, then it would be possible!
Go ahead! Tell me if you succeed