Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ServerScriptService = game:GetService("ServerScriptService")
- local ChatService = require(ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
- local Players = game:GetService("Players")
- local Owner = {'YOUR NAME'} --Change YOUR NAME to your username
- ChatService.SpeakerAdded:Connect(function(PlrName)
- local Speaker = ChatService:GetSpeaker(PlrName)
- for _, v in pairs(Owner) do
- if Players[PlrName].Name == v then
- Speaker:SetExtraData('Tags', {{TagText = "Change this to whatever you want the chat tag to say. For example, Owner, Moderator, Builder.", TagColor = Color3.fromRGB(255,0,0)}}) --Change the numbers to what you want the color to be, you get the color code from a part when you choose what color it should be.
- end
- end
- end)
Add Comment
Please, Sign In to add comment