@mia_respawn
Roblox Nov 23, 2026

How do I make players spawn at random spawn points?

I have five SpawnLocations in my roblox map but everyone keeps landing on the same one. Is there a script way to pick one at random each time a player joins or respawns?
1

Leave A Reply

Log in to post an answer.

1 Answer

dev_81 Nov 24, 2026
mia_respawn
Put down a few SpawnLocation parts and leave them all on the same team (or tick Neutral on all of them). When there's more than one valid spawn, Roblox already picks one at random for each player, so the basic version needs no code at all. If you want more control, like never spawning someone where another player is standing, do it in a script: keep plain parts in a folder, and on CharacterAdded pick one with math.random and PivotTo the character onto it. Put a task.wait() in before moving it, otherwise it sometimes snaps back to the default spot.