As opposed to a random block in a specific model?
function spawn(obj) local spawnPoints = workspace.gameMap.Spawns:GetChildren() local chosenSpawn = spawnPoints[math.random(1, #spawnPoints)] table.remove(spawnPoints, spawnPoints[chosenSpawn]) obj.CFrame = CFrame.new(Vector3.new(chosenSpawn.Position)) end
Closed as Not Constructive by evaera
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?