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: Colors

Previous Thread :: Next Thread 
curtisornot is not online. curtisornot
Joined: 30 Jun 2008
Total Posts: 1271
25 Jun 2013 04:54 PM
Why do scripts that SPECIFICALLY want it to change the color to Bright blue or Black get confused between each other -_-

I tell it to make it Bright blue, it goes to Black and vice versa. And when I script it to see what teamcolor the player is, it confuses the two as well.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
25 Jun 2013 04:55 PM
You're probably not setting it correctly, post your code.
Report Abuse
curtisornot is not online. curtisornot
Joined: 30 Jun 2008
Total Posts: 1271
25 Jun 2013 05:41 PM
Okay so now it doesn't work for Bright green either.
Neutral TeamColor is Bright blue
Allies is Bright green
Raiders is Black

THOSE 3 never get tools. The Neutral team ISNT supposed to get them anyway. But the other two are. The neutrals are made to be immortal, and that part works fine. It doesn't work on anybody EXCEPT the Neutral team. But then it removes the ENTIRE Backpack for the Raiders, Neutrals, and Allies, which makes NO sense since it only removes the tools themselves.


wait(1)
if script.Parent.Parent.Parent.Parent.TeamColor == game.Teams["Neutral"].TeamColor then
script.Parent.Parent.Parent.Parent.Character.Humanoid.Name = "Derp"
l = script.Parent.Parent.Parent.Parent.Backpack:GetChildren()
for i=1, #l do
if l[i].ClassName == "Tool" then
l[i]:remove()
end
end
end
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