|
| 09 Jul 2011 09:57 PM |
| How do you make a game script teleport everyone to a certain vector? |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 10:09 PM |
| Not to correct you harshly, but you can't teleport someone to a "vector". |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 10:11 PM |
He was close on his terminology, though; I'll give him credit for that.
funciton teleportPlayers(Position) for _, v in pairs(game.Players:GetPlayers()) do if v.Character then v.Character:MoveTo(Position) end end end
teleportPlayers(Vector3.new(0,1000,0)) |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 10:12 PM |
@bunny, just answer his question.. @Kid:
for i, v in pairs(game.Players:GetChildren()) do v.Character:MoveTo(Vector3.new(0,0,0))--Position here. end
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 18 Jul 2011 06:21 PM |
| Thx people medium scripter here. =P |
|
|
| Report Abuse |
|
|