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 » Scripters
Home Search
 

Re: creating team colors

Previous Thread :: Next Thread 
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 07:48 AM
blueteam = Instance.new("Team", game.Teams)
blueteam.Name = "Blue"
blueteam.TeamColor = BrickColor.new("Really Blue")
redteam = Instance.new("Team", game.Teams)
redteam.Name = "Red"
redteam.TeamColor = BrickColor.new("Really Red")

------------------

For some reason the team colors aren't working and they default to the grew color, is there something wrong with this code, which creates the teams and assigns colors to them?
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 07:56 AM
any1?
Report Abuse
ChuckXZ is not online. ChuckXZ
Joined: 26 Jan 2012
Total Posts: 2996
30 Dec 2014 08:00 AM
JUst create them yourself in studio.


Chucky Incorporated
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:02 AM
no, that won't work, I need to get rid of the teams at certain points in the game
Report Abuse
WAATERMELON is not online. WAATERMELON
Joined: 03 Jul 2014
Total Posts: 921
30 Dec 2014 08:05 AM
[ Content Deleted ]
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:08 AM
they show up, but the team color is the normal grey color
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:09 AM
I mean I could technically do what chuck said, make the teams in explorer but then at certain parts of the game there would be two teams with no players in them because they wouldn't be used
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:16 AM
bump
Report Abuse
Chrapnel is not online. Chrapnel
Joined: 01 Feb 2014
Total Posts: 951
30 Dec 2014 08:19 AM
you know you can just make a script to remove the teams when there is no one in it
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:21 AM
um yea, thats not the issue... and btw thats what Im doing
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:28 AM
does any1 have a script that can correctly change a team color?
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:46 AM
team1 = Instance.new("Team")
team1.Name = "Tom Bean!"
team1.AutoAssignable = false
team1.AutoColorCharacters = true
wait(1)
team1.Parent = game.Teams
wait(5)
team1.TeamColor = BrickColor.new("orange")

------------------------

this doesn't work either... how can you change a team color within a script
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:56 AM
no1
Report Abuse
dragonkeeper467 is not online. dragonkeeper467
Joined: 24 Jan 2011
Total Posts: 472
30 Dec 2014 08:59 AM
how do you change a team's color within a script?
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
30 Dec 2014 09:19 AM
BrickColor.new("Really red")

type them right :)
Report Abuse
apricotdew is not online. apricotdew
Joined: 21 Aug 2012
Total Posts: 427
30 Dec 2014 09:22 AM
Wow you can't even spell mate.
"Bright Blue" should be "Bright blue" and "Really Red" should be "Really red".
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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