generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Any help?

Previous Thread :: Next Thread 
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
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
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
12 Dec 2013 07:44 PM
Any tips
Report Abuse
wazap is not online. 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
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
13 Dec 2013 07:16 AM
Will it teleport all the ppl who didn't get killed to a area
Report Abuse
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
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
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
13 Dec 2013 08:01 PM
Would it?
Report Abuse
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
14 Dec 2013 06:49 AM
Would that work
Report Abuse
ObsessedwithMario is not online. ObsessedwithMario
Joined: 03 Mar 2012
Total Posts: 268
14 Dec 2013 06:51 AM
I believe so.
Report Abuse
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
14 Dec 2013 08:34 AM
Ok
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image