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

Whats a very simple additive so I can have a minimum of 1 person to spawn on each spawn point?

gameSpawn =  game.Workspace.gameSpawn
lobbySpawn = game.Workspace.Lobby.LobbySpawn


local function teleportTarget(Target)
	for i,v in ipairs(game.Players:GetChildren()) do
		pcall (function() v.Character.HumanoidRootPart.CFrame = Target.CFrame

end)
	end
end

for i = 20,0,-1 do
wait(1)
print(i)
end

teleportTarget(gameSpawn)

1 comment

0

You should provide an explanation and not just code.

2 answers

✓ Accepted answer

I answered this question twice already for you, go check your other threads and you can implement what I answered.

2 comments

0

I know but its too much that i keep trying to figure out with you

0

There's no simple additive, really. Coding can be frustrating, and it takes a lot of long thinking and in-depth comprehension to understand what you're doing.

Create a table of all the spawns you are going to have. If a player spawns on one spawn, remove that spawn using table.remove and do the same for the rest.

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