Let’s pretend that I want a group of players to teleport to a private server, but not necessarily spawn right away. In this case, I don’t really have a (string spawnName) parameter that is necessary.
This is something you can test yourself. Passing nil is fine, it’ll just consider that argument as none.
SpawnName is an optional string: what it essentially does is gather all existing SpawnLocations in the place and traverse them. If a SpawnLocation matches the passed name, that’ll be what spawn your character spawns on after the completion of the teleport. The name property of Roblox instances cannot be nil. AFAIK a nil value just skips dealing with spawns.
Passing nil does not stop immediate spawning after teleporting as it is merely an identifier string. Stopping immediate spawning after teleporting is a case you need to handle yourself at the target place.
Thank you @colbert2677 for the clarification. I’ve been pressed for time (for game development) this week, meaning that I have little to no time to test cross-server communication (in this case, teleportation stuff), and I really appreciate your time invested into this topic