|
| 12 Dec 2013 07:27 PM |
How would I change this script to teleport 5 people to a area than teleport another 5 to a different area than teleport another 5 to a different area than teleport all survivors to a area
p = game.Players:GetChildren() for i = 1, #p do p[i]:MoveTo(Vector3.new(x, y, z)) --insert variable positions… wait(100) m = Instance.new("Message", workspace) m.Text = "Winner(s)!" wait(10) m:Remove() end |
|
|
| Report Abuse |
|
|
| |
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 12 Dec 2013 11:15 PM |
p = game.Players:Players() for i = 1, math.min(5,#p) do p[i]:MoveTo(Vector3.new(x, y, z)) --insert variable positions… end for i = 6,math.min(10,#p) do p[i]:MoveTo(Vector3.new(x, y, z)) --insert variable positions… end for i = 11,math.min(15,#p) do p[i]:MoveTo(Vector3.new(x, y, z)) --insert variable positions… end wait(100) m = Instance.new("Message", workspace) m.Text = "Winner(s)!" wait(10) m:Remove() end
dere |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2013 07:16 AM |
| Will it teleport all the ppl who didn't get killed to a area |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2013 07:52 PM |
So it would be dis
Sword = game.Lighting.LinkedSword:Clone() --You need a sword named LinkedSword in the Lighting.
p = game.Players:Players() for i = 1, math.min(5,#p) do p[i]:MoveTo(Vector3.new(x, y, z)) --insert variable positions… end for i = 6,math.min(10,#p) do p[i]:MoveTo(Vector3.new(x, y, z)) --insert variable positions… end for i = 11,math.min(15,#p) do end wait(5) for i,v in pairs(game.Players:GetChildren()) do Sword.Parent = v.Backpack end wait(5) for i = 11,math.min(15,#p) do -- will this teleport all survivors to a area wait(100) repeat
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|