|
| 24 Nov 2013 07:14 PM |
The name of the team: "Humans" The walkspeed all the people in the team will have: 45
Can someone code this for me?
You just got Quarter-Term'd |
|
|
| Report Abuse |
|
|
|
| 24 Nov 2013 07:17 PM |
thanks?
You just got Quarter-Term'd |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 24 Nov 2013 07:21 PM |
players = game.Players:GetChildren () if players.TeamColor == "TEAM COLOR HERE" then players.Character.Humanoid.Walkspeed = 45 end
Probably wouldn't work. |
|
|
| Report Abuse |
|
|
MixCorp
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 30 |
|
|
| 24 Nov 2013 07:21 PM |
This is easy to do. Change TC To the teams color. So if Humans Team Color was Really red this is the code.
TC = "Really red" for i,v in pairs(game.Players:children()) do if v and v.Character and v.TeamColor == TC then v.Character.Humanoid.WalkSpeed == 45 end end
|
|
|
| Report Abuse |
|
|
MixCorp
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 30 |
|
|
| 24 Nov 2013 07:27 PM |
TC = "Really red" for i,v in pairs(game.Players:children()) do if v and v.Character and v.TeamColor == TC then v.Character.Humanoid.WalkSpeed = 45 end end |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
| |
|
GGGGG14
|
  |
| Joined: 29 Jan 2012 |
| Total Posts: 25344 |
|
|
| 24 Nov 2013 07:32 PM |
nP = game.Players:GetChildren() for i = 1, #nP do if nP[i].TeamColor = game.Teams["TEAM NAME HERE"].TeamColor then nP[i].Character.Humanoid.Walkspeed == 45 end end |
|
|
| Report Abuse |
|
|