|
| 19 Mar 2013 01:44 PM |
I need help, I want it so that when you join, you join the team if you are in the group, you join the team.
Is there any way for this to work? |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 19 Mar 2013 02:09 PM |
Let me try :3 :
Group = GroupId
game.Players.PlayerAdded:connect(function(plr) if plr:IsInGroup(Group) then plr.TeamColor = BrickColor.new("TEAMCOLOR") end end)
Replace TEAMCOLOR with the color of the team.And the color must be exact.Even put capital letters on where it is in the color name. |
|
|
| Report Abuse |
|
|
cart6157
|
  |
| Joined: 28 Feb 2009 |
| Total Posts: 2194 |
|
|
| 19 Mar 2013 02:11 PM |
@Fedora's script
Change 'GroupId' to the Id of the group's link. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 19 Mar 2013 02:15 PM |
| Yeah OP.Also do what cart said. |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2013 02:18 PM |
| I'm not a rookie, I mean a scrap scripts and edit them, is there meant to be a ")" at the end? |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 19 Mar 2013 02:22 PM |
| Mace.No and no more questions because we told you everything.Replace GroupId with the group's link's id.And change the TEAMCOLOR to the teamcolor name to the team.It must be spellt correctly and have capital letters when it there. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 19 Mar 2013 02:23 PM |
| Its a ) at the end because it ends the playeradded event.Ill say it a way you get it.Its a special function that needs a special end :O |
|
|
| Report Abuse |
|
|