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

How do I make people go to certain places based on the order they join?

How do I make people go to certain places based on the order they join

1 comment

0

without spawn plates

1 answer

local PlrsInOrder = {} -- empty table for now
game.Players.PlayerAdded:Connect(function(Player)
	table.insert(PlrsInOrder, Player) -- adds player to table 
	Player.CharacterAdded:Connect(function(Character)
		local SpawnPositions = {(0,0,0), (1,1,1), (2,2,2)} -- insert spawn positions 
		for i, v in ipairs(PlrsInOrder) do
			v[i]:MoveTo(SpawnPositions[i]) -- moves characters to coresponding value
		end
	end)
end)

hopefully this should work, edit events as you please

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