Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local GUI = Player.PlayerGui
  3.  
  4. local Chat = GUI:WaitForChild("Chat")
  5.  
  6. local TagData = {
  7. Developers = {"luckysupremeeed"},
  8. DevTag = {
  9. TextColor = Color3.fromRGB(255,0,0),
  10. NameColor = Color3.fromRGB(255,100,0),
  11. Tag = "Developer",
  12. },
  13. }
  14.  
  15. function added(Child)
  16. for , dev in ipairs(TagData.Developers) do
  17. if Child.TextLabel:FindFirstChild("TextButton") then
  18.  
  19. else
  20. return false
  21. end
  22. if dev == string.sub(Child.TextLabel.TextButton.Text,2,string.len(Child.TextLabel.TextButton.Text) - 2) then
  23. Child.TextLabel.TextButton.Text = "[" .. TagData.DevTag.Tag .. "]" .. Child.TextLabel.TextButton.Text
  24. Child.TextLabel.TextButton.TextColor3 = TagData.DevTag.NameColor
  25. Child.TextLabel.TextColor3 = TagData.DevTag.TextColor
  26. local spaces = ""
  27. for i=1,(string.len(TagData.DevTag.Tag) * 2) + 8,1 do
  28. spaces = spaces .. " "
  29. end
  30. wait(0.05)
  31. Child.TextLabel.Text = spaces .. Child.TextLabel.Text
  32. break
  33. end
  34. end
  35. end
  36. Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.ChildAdded:Connect(added)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement