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: Can u help me make a script...

Previous Thread :: Next Thread 
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
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
TechPerson32 is not online. TechPerson32
Joined: 25 Dec 2011
Total Posts: 81
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
WafflezExtreme is not online. WafflezExtreme
Joined: 02 Mar 2013
Total Posts: 1162
13 Dec 2013 01:01 PM
That's basically what I wrote
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