Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Fake Moderator Tag (Paste in Executor | This is currently only Client Sided/Visual to you :c)
- local TextChatService = game:GetService("TextChatService")
- local TagColor = Color3.fromRGB(245, 216, 0)
- --Color is changeable. V V V V V V
- local function colorToHex(c)
- return string.format("%02X%02X%02X", math.floor(c.R*255+0.5), math.floor(c.G*255+0.5), math.floor(c.B*255+0.5))
- end
- -- Hook incoming messages for infinite Moderation tag
- TextChatService.OnIncomingMessage = function(message)
- local src = message.TextSource
- if not src then return end
- -- Create a new TextChatMessageProperties for THIS message :D
- local props = Instance.new("TextChatMessageProperties")
- local prevPrefix = message.PrefixText or ""
- -- THE TEXT IS CHANGEABLE! V V V V V V V V
- props.PrefixText = string.format("<font color='#%s'>[🛠️Moderator🛠️]</font> %s", colorToHex(TagColor), prevPrefix)
- return props
- end
Advertisement