Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local GUI = Player.PlayerGui
- local Chat = GUI:WaitForChild("Chat")
- local TagData = {
- Developers = {"luckysupremeeed"},
- DevTag = {
- TextColor = Color3.fromRGB(255,0,0),
- NameColor = Color3.fromRGB(255,100,0),
- Tag = "Developer",
- },
- }
- function added(Child)
- for , dev in ipairs(TagData.Developers) do
- if Child.TextLabel:FindFirstChild("TextButton") then
- else
- return false
- end
- if dev == string.sub(Child.TextLabel.TextButton.Text,2,string.len(Child.TextLabel.TextButton.Text) - 2) then
- Child.TextLabel.TextButton.Text = "[" .. TagData.DevTag.Tag .. "]" .. Child.TextLabel.TextButton.Text
- Child.TextLabel.TextButton.TextColor3 = TagData.DevTag.NameColor
- Child.TextLabel.TextColor3 = TagData.DevTag.TextColor
- local spaces = ""
- for i=1,(string.len(TagData.DevTag.Tag) * 2) + 8,1 do
- spaces = spaces .. " "
- end
- wait(0.05)
- Child.TextLabel.Text = spaces .. Child.TextLabel.Text
- break
- end
- end
- end
- Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.ChildAdded:Connect(added)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement