Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make my Character spawn in a specific area when they join the game?

So in my game I have a arena with multiple spawn point and a waiting area with one. When I run my game tho, i spawn in the arena not the waiting area. Plaz Help me:(

3 answers

✓ Accepted answer

For the spawns in the arena disable the neutral spawn.

You can make a table full of spawn locations and pick randomly using math.random. Concept would look like this:

local spawns = {
	part1.Position
	part2.Position
	part3.Position
}

plr.CharacterAdded:Connect(function(char)
	char.Positon = spawns[math.random(1,#spawns)]
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.