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: 2K to anyone who does this

Previous Thread :: Next Thread 
Azuc is online. Azuc
Joined: 11 Sep 2012
Total Posts: 8419
03 Dec 2013 03:07 PM
I need it so certain people have a certain color chat (Could be 6 or more so leave room for adding)

groupid=306324
spc=0
honors=971759
immortals=936805
groupname=" || BWE || "

debo = workspace.Debounce

game.Players.ChildAdded:connect(function (child)
local label=Instance.new("StringValue",child) label.Name="Group"
local label2=Instance.new("StringValue",child) label2.Name="Rank"
if child:IsInGroup(groupid) then label.Value=groupname label2.Value=child:GetRoleInGroup(groupid) else label.Value="Unknown" label2.Value="Player" end

child.Chatted:connect(function (msg) if (debo.Value ~= 0) then wait() end
debo.Value = debo.Value + 1
local v=Instance.new("StringValue")
if child.Group.Value==groupname then
v.Value="["..child.Group.Value..""..string.gsub(string.gsub(child.Rank.Value,"%b() ",""),"%b[] ","")
if child:IsInGroup(spc) then
v.Value = v.Value .. " || HR || " .. child:GetRoleInGroup(spc)
end
if child:IsInGroup(honors) then
v.Value = v.Value .. " || Royal || " .. child:GetRoleInGroup(honors)
end
if child:IsInGroup(immortals) then
v.Value = v.Value .. " || Archans || " .. child:GetRoleInGroup(immortals)
end
v.Value = v.Value .." "..child.Name.."]: "..msg
else v.Value="["..child.Name.."]: "..msg end
local col=Instance.new("Color3Value",v)
local col1=Instance.new("Color3Value",v)
col.Name="Color"
col1.Name="ColorStroke"
if child:GetRankInGroup(groupid) >= 254 then
col.Value = Color3.new(255/255,255,0)


-[ BWE 4iC Director Of War/Elites Azuc ] - [ +18,432 to my post count ]-
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
03 Dec 2013 03:08 PM
We don't want your money.

Get out.
Report Abuse
Azuc is online. Azuc
Joined: 11 Sep 2012
Total Posts: 8419
03 Dec 2013 03:09 PM
lold

-[ BWE 4iC Director Of War/Elites Azuc ] - [ +18,432 to my post count ]-
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
03 Dec 2013 03:14 PM
Lol Azuc. I feel like doing something simple, send me a PM with the exact specifications you want for the chat system, and I'll make it with a few extras you'll probably want in there from the ground up.
Report Abuse
Azuc is online. Azuc
Joined: 11 Sep 2012
Total Posts: 8419
03 Dec 2013 03:24 PM
Sent :D

-[ BWE 4iC Director Of War/Elites Azuc ] - [ +18,432 to my post count ]-
Report Abuse
kingbowler1040 is not online. kingbowler1040
Joined: 03 Oct 2011
Total Posts: 1202
03 Dec 2013 03:26 PM
Why do you keep posting? The door is that way.
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