Run it
Copy the script and paste it into your executor.
local WEBHOOK_URL = "Put Webhook Here"
local CONFIG = {
BotName = "Chat Logger",
ServerName = ,
EmbedColor = ,
Cooldown = ,
}
Players = :()
TextChatService = :()
lastSent =
(data)
.request
.(data)
(data)
.request
.(data)
(data)
()
(playerName, userId, message, channel)
now = ()
now - lastSent < CONFIG.Cooldown
.(CONFIG.Cooldown - (now - lastSent))
lastSent = ()
avatarUrl = .. userId ..
profileUrl = .. userId ..
safeMsg = message:(,):(,):(,)
body =
.. .. CONFIG.BotName ..
..
.. .. CONFIG.EmbedColor ..
.. .. playerName .. .. profileUrl .. .. avatarUrl ..
.. .. safeMsg ..
..
.. .. (channel ) ..
.. .. (userId) ..
.. .. CONFIG.ServerName ..
..
.. .. .() ..
..
.(()
(httpRequest, {
Url = WEBHOOK_URL,
Method = ,
Headers = { [] = },
Body = body,
})
)
(channel)
channel.MessageReceived:((msg)
source = msg.TextSource
source
player = Players:(source.UserId)
player
(
player.Name .. .. player.DisplayName .. ,
player.UserId,
msg.Text,
channel.Name
)
)
channels = TextChatService:()
channels
_, ch (channels:())
ch:() (ch)
channels.ChildAdded:((ch)
ch:() (ch)
)
()
()
Listen niggas for free amk turklere selam

Universal