|
| 08 Apr 2015 03:31 PM |
| If you have like 3 spawns that are not the neutral spawn and have different a color to the neutral and you want players to spawn teleport on them for example twisted murderer and mad murderer |
|
|
| Report Abuse |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 08 Apr 2015 04:33 PM |
redpsawns = game.Workspace.RedSpawns:GetChildren() bluespawns = game.Workspace.BlueSpawns:GetChildren()
for i,v in pairs(game.Players:GetChildren()) do if v.TeamColor == BrickColor.new("Bright red") then --color of team v.Character:MoveTo(redspawns[i].Position) --different locations of the spawns elseif v.TeamColor == BrickColor.new(Bright blue") then v.Character:MoveTo(bluespawns[i].Position) end end |
|
|
| Report Abuse |
|