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: dont know how to describe this... help please

Previous Thread :: Next Thread 
HungerMinigames is not online. HungerMinigames
Joined: 01 Mar 2012
Total Posts: 358
14 Apr 2012 10:16 PM
I want to do something like this:

a=game.Players:GetChildren()
for i = 1, #a do
--teleport here that teleports a[i].Position = game.Workspace.Spawns[i].Position + 0,5,0 (I do not know how to teleport off the top of my head)
end


and then only teleport 24 players? would making an if i <= 24 work?
Report Abuse
HungerMinigames is not online. HungerMinigames
Joined: 01 Mar 2012
Total Posts: 358
14 Apr 2012 10:44 PM
you guys are no help but yes it does work
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
15 Apr 2012 12:27 AM
Use NumPlayers to check if it's less than 24.
Report Abuse
HungerMinigames is not online. HungerMinigames
Joined: 01 Mar 2012
Total Posts: 358
15 Apr 2012 12:48 AM
its going to teleport each player to a scpawn that is a number through 24, if there are not 24 players then it wont teleport anything
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
15 Apr 2012 12:51 AM
if game.Players.NumPlayers < 24 then

--code
end

Report Abuse
HungerMinigames is not online. HungerMinigames
Joined: 01 Mar 2012
Total Posts: 358
15 Apr 2012 01:08 AM
miz I wont need that but can you help me on my other post titled rotate a character onTouched or something?
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
15 Apr 2012 03:00 AM
Idiot, don't copy my thread.

-legend8887
Report Abuse
HungerMinigames is not online. HungerMinigames
Joined: 01 Mar 2012
Total Posts: 358
15 Apr 2012 03:36 AM
I HAD IT BEFORE YOURS LOOK AT THE TIME


idiot....
Report Abuse
HungerMinigames is not online. HungerMinigames
Joined: 01 Mar 2012
Total Posts: 358
15 Apr 2012 03:37 AM
3 hours before yours derp
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