|
| 13 Dec 2013 07:11 AM |
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 the ppl that didn't get killed 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 |
|
|
|
| 13 Dec 2013 09:25 AM |
Try:
p = game.Players:GetChildren() for i = 1, #p do p[i].Character:MoveTo(Vector3.new(x, y, z)) --insert variable positions… wait(100) -- wait 100 seconds m = Instance.new("Message", workspace) m.Text = "Winner(s)!" wait(10) -- wait 10 seconds m:Remove() end
I'm not great with for loops so it may not work. I hope it helped, though!
If it doesn't, post the error(s) you get from the output here.
Best of luck! |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2013 01:01 PM |
| That's basically what I wrote |
|
|
| Report Abuse |
|
|