|
| 14 Feb 2015 09:42 AM |
| Hello, in my group server, I want to automatically place anyone in the group on a certain team. Is there a function that checks if a new joining player is in a group, is there also a way to check their rank? |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2015 09:42 AM |
| http://wiki.roblox.com/index.php?title=API:Class/GroupService |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2015 09:48 AM |
| if player:IsInGroup(123456789) then |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2015 09:53 AM |
| for that if player function, would the player variable be the whole model inside of the players category? |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2015 10:07 AM |
if game.Players.PLAYERNAME:IsInGroup(123456789) then
it needs to be the player object not the player in workspace |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2015 10:21 AM |
| That's exactly what I needed, Thank You. |
|
|
| Report Abuse |
|
|