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: What's the script....

Previous Thread :: Next Thread 
TacoTheory is not online. TacoTheory
Joined: 04 May 2012
Total Posts: 1456
24 May 2012 03:58 PM
That changes a person from one team to another ingame?
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
24 May 2012 04:00 PM
There's 2 Ways to do this:

1] game.Players["PLAYERNAME"].TeamColor = BrickColor.new("Color")

2] game.Players["PLAYERNAME"].TeamColor = game.Teams["TEAMNAME"].TeamColor
Report Abuse
TacoTheory is not online. TacoTheory
Joined: 04 May 2012
Total Posts: 1456
24 May 2012 04:01 PM
Thanks mate c:
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
24 May 2012 04:02 PM
No prob.

-Think of the 'Scripting Helpers' Forum as a Classroom, not a Store
Report Abuse
FlightTheory is not online. FlightTheory
Joined: 29 Sep 2011
Total Posts: 156
24 May 2012 04:42 PM
Looks legit here. :)
Don't forget you could plug that line into a larger function, such as a loop to change everyone's TeamColor at once. <- I am sure you planned to do that already, but you know, it helps.
`FlightTheory
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