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 » Roblox » All Things ROBLOX
Home Search
 

i didnt know changing your name changes your color

Previous Thread :: Next Thread 
Galvaxo is not online. Galvaxo
Joined: 22 Apr 2011
Total Posts: 3321
08 Feb 2015 04:54 PM
but at least i got changed from yellow to pink


Report Abuse
Precipitating is not online. Precipitating
Joined: 09 Feb 2010
Total Posts: 5465
08 Feb 2015 04:54 PM
na m7

i was blue since 2010 m8888888888
Report Abuse
reptiIedude10 is not online. reptiIedude10
Joined: 22 Jul 2013
Total Posts: 1192
08 Feb 2015 04:55 PM
Pink is for He-Man.




Go troll in OT.
Report Abuse
Galvaxo is not online. Galvaxo
Joined: 22 Apr 2011
Total Posts: 3321
08 Feb 2015 04:55 PM
i shouldve clarified
chat color


Report Abuse
Kamov is not online. Kamov
Joined: 07 Aug 2008
Total Posts: 29015
08 Feb 2015 04:57 PM
You can check what color will you get by using special algorithm

Probably this one

function LoadChatColorModule()
local COLOR_TABLE, Get, GetId
COLOR_TABLE = {
BrickColor.new("Bright red"),
BrickColor.new("Bright blue"),
BrickColor.new("Earth green"),
BrickColor.new("Bright violet"),
BrickColor.new("Bright orange"),
BrickColor.new("Bright yellow"),
BrickColor.new("Light reddish violet"),
BrickColor.new("Brick yellow")
}
function Get(name)
return COLOR_TABLE[GetId(name) + 1]
end
function GetId(name)
local length = #name
local modifier = (length % 2 == 0) and 1 or 0
local value = 0
for index = 1, length do
if (length - index + modifier) % 4 < 2 then
value = value + string.byte(name, index)
else
value = value - string.byte(name, index)
end
end
return value % 8
end
return {
COLOR_TABLE = COLOR_TABLE,
Get = Get,
GetId = GetId
}
end

local ChatColor = LoadChatColorModule()
Report Abuse
Zheryt is not online. Zheryt
Joined: 13 Dec 2011
Total Posts: 955
08 Feb 2015 04:58 PM
Wish I could change it
Report Abuse
reptiIedude10 is not online. reptiIedude10
Joined: 22 Jul 2013
Total Posts: 1192
08 Feb 2015 05:00 PM
HE-MAN!




Go troll in OT.
Report Abuse
Nickxis is not online. Nickxis
Joined: 18 Jan 2014
Total Posts: 1029
08 Feb 2015 05:02 PM
now you do
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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