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
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 03 Dec 2013 03:08 PM |
We don't want your money.
Get out. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 03 Dec 2013 03:26 PM |
| Why do you keep posting? The door is that way. |
|
|
| Report Abuse |
|
|