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: would this work

Previous Thread :: Next Thread 
deathdoor95 is not online. deathdoor95
Joined: 19 Feb 2010
Total Posts: 2080
21 Feb 2014 10:37 PM
Partial Script:

allies = {"17247","1039251"}

Game:GetService("Players").PlayerAdded:connect(function(Player)
for i = 1,#Players do
if Player:IsInGroup(allies) then
Player.TeamColor = BrickColor.new("Really black")


just testing

Report Abuse
Guest24231 is not online. Guest24231
Joined: 17 Jul 2011
Total Posts: 91
21 Feb 2014 10:40 PM
put if Player:IsInGroup(allies[1]) or Player:IsInGroup(allies[2]) then
Report Abuse
deathdoor95 is not online. deathdoor95
Joined: 19 Feb 2010
Total Posts: 2080
21 Feb 2014 10:41 PM
Could it go on for more than two?

Sorry, I'm a bit of an ameature with scripting..
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