generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Group Check

Previous Thread :: Next Thread 
Fizzzzzlemaster is not online. Fizzzzzlemaster
Joined: 07 Jul 2009
Total Posts: 4612
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
Fizzzzzlemaster is not online. Fizzzzzlemaster
Joined: 07 Jul 2009
Total Posts: 4612
12 Jun 2012 02:45 PM
Oh yes, cookie for whoever helps..

~Gloria Domini, in nomine superbia~
Report Abuse
129K is not online. 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
Fizzzzzlemaster is not online. Fizzzzzlemaster
Joined: 07 Jul 2009
Total Posts: 4612
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 is not online. 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
Fizzzzzlemaster is not online. Fizzzzzlemaster
Joined: 07 Jul 2009
Total Posts: 4612
12 Jun 2012 02:53 PM
Oh.

~Gloria Domini, in nomine superbia~
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image