|
| 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 |
|
|
|
| 14 Apr 2012 10:44 PM |
| you guys are no help but yes it does work |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 15 Apr 2012 12:51 AM |
if game.Players.NumPlayers < 24 then
--code end
|
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 15 Apr 2012 03:00 AM |
Idiot, don't copy my thread.
-legend8887 |
|
|
| Report Abuse |
|
|
|
| 15 Apr 2012 03:36 AM |
I HAD IT BEFORE YOURS LOOK AT THE TIME
idiot.... |
|
|
| Report Abuse |
|
|
| |
|