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: Color help?

Previous Thread :: Next Thread 
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
01 Jul 2012 12:22 PM
if game.Players:FindFirstChild(script.Parent.Value.Value) then f.BackgroundColor3 = BrickColor.new(game.Players:FindFirstChild(script.Parent.Value.Value).TeamColor).Color end

Even though he IS there... I can't get it to work, I know it's this line because that's the output, it's something to do with defining the color.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
01 Jul 2012 12:23 PM
Oh, and this is just a snippet.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
01 Jul 2012 12:28 PM
I changed this:


if game.Players:FindFirstChild(script.Parent.Value.Value) then f.BackgroundColor3 = game.Players:FindFirstChild(script.Parent.Value.Value.TeamColor).Color end


Not the output says argument 1 is missing or nil... Wow...
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
01 Jul 2012 12:34 PM
Never mind, thanks... For nothin', XD.
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
01 Jul 2012 12:34 PM
Your welcome :)
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
01 Jul 2012 12:42 PM
XD.
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