|
| 31 Jul 2015 08:03 PM |
| Is there a way I could make function that prints everyone on Specific Team name. And it waits 8 seconds in-between printing their names |
|
|
| Report Abuse |
|
|
Exzeption
|
  |
| Joined: 01 Nov 2011 |
| Total Posts: 1312 |
|
|
| 31 Jul 2015 08:06 PM |
members = team:GetChildren()
for i, v in next, members do print(v.Name) wait(8) end
i think that would work, but i never did much with teams |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 08:11 PM |
K i wrote code and it works yay but how can I make it print inside value for instance right now it prints in output I need it to make players name a value in a value Called Name
function getPlrsOnTeam() for i,v in next, game.Players:GetPlayers() do if v.TeamColor == BrickColor.new("Bright green") then print(v) wait(8) end end end
^ code |
|
|
| Report Abuse |
|
|