|
| 12 Jun 2012 02:41 PM |
So.. I am trying to see if people are in these 2 groups so it would look like IsInGroup(#) and IsInGroup(#) and then make them spawn on a certain team but, I also want different people in 1 of them, to be in a different team. How would I go about doing that?
~Gloria Domini, in nomine superbia~ |
|
|
| Report Abuse |
|
|
|
| 12 Jun 2012 02:45 PM |
Oh yes, cookie for whoever helps..
~Gloria Domini, in nomine superbia~ |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 12 Jun 2012 02:47 PM |
if game:GetService'Players'(insert name or hit.Parent.Name pl0x):IsInGroup(#) then game:GetService'Players'(insert name or hit.Parent.Name).TeamColor = game:GetService'Teams'.TEAMNAME.TeamColor end |
|
|
| Report Abuse |
|
|
|
| 12 Jun 2012 02:50 PM |
Umm.. I'm not familiar with GetService, but I think that does what I already know how to do... I'm trying to say, I have 2 groups. A Main Division of a war group, and a Leaders one. I want to check if the player is in the Main group, but all the leaders are also in that...It just is confusing me...
~Gloria Domini, in nomine superbia~ |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 12 Jun 2012 02:52 PM |
| GetService is in case somebody changed the name of the parent. |
|
|
| Report Abuse |
|
|
|
| 12 Jun 2012 02:53 PM |
Oh.
~Gloria Domini, in nomine superbia~ |
|
|
| Report Abuse |
|
|