So I have a Weapon Royale game, and I'm making it, so after 60 seconds, the players get teleported to the map, but heres where I am confused. I am able to easily make one spawnpoint, but I want each player to have a different spawnpoint. I tried to put "or" in the script, to make it choose one or the other, but one of the equal signs comes up red, and it says "Expected Indentifier, got '='" Can someone please Help me?
Heres the script with only one spawnpoint:
while true do
wait(5)
game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).Head.CFrame = CFrame.new(-901.5, 5, -306.1)
wait(5)
game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).Head.CFrame = CFrame.new(-31.86, 18.069, -18.085)
wait()
end
Here's what the script looks like when i try to do more than one:
while true do
wait(5)
game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).Head.CFrame = CFrame.new(-901.5, 5, -306.1) or game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).Head.CFrame =
CFrame.new(-701, 5, 902)
wait(5)
game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).Head.CFrame = CFrame.new(-31.86, 18.069, -18.085)
wait()
end
Am I just using the "or" keyword wrong? Or do i have to do math.random. And how would I do math.random with spawnpoints?

11 comments
You’re using the or keyword wrong.
How?
http://robloxdev.com/articles/Operators
You use it in conditional statements, line 3 of your last code snippet isn’t a conditional. Line 1 is, though.
so would you have any idea what to do to fix it?
Remove the or, and remove the part that assigns the CFrame to (-701, 5, 902)
Ok? But then it will only teleport to one spawnpoint. I want multiple.
Then assign it later.
What does that mean? im a novice scripter. Like copy that script but change the coordinates?
Just make a table with your CFrame positions, then use math.random() to get a random position from the table.
Alright that makes sense... do you have a discord we can talk this out on?