Run it
Copy the script and paste it into your executor.
local logFile = "ChatLogs.txt"
if not isfile(logFile) then
writefile(logFile, "[ Chat Log Started - " .. os.date("%x %X") .. " ]\n\n")
end
local function log(name, msgType, message)
local timestamp = os.date("[%H:%M:%S]")
local logLine = string.format("%s [%s] (%s): %s\n", timestamp, name, msgType, message)
appendfile(logFile, logLine)
end
for _, plr in pairs(game:GetService("Players"):GetPlayers()) do
plr.Chatted:Connect(function(msg)
log(plr.Name, "Chatted", msg)
end)
end
game:().PlayerAdded:((plr)
plr.Chatted:((msg)
(plr.Name, , msg)
)
)
chatEvent = :():(, )
chatEvent
onMessage = chatEvent:()
onMessage
onMessage.OnClientEvent:((data)
(data.FromSpeaker, data.OriginalChannel, data.Message)
)
( .. logFile .. )
so basically it logs everyones chats to a txt file in ur workspace folder inside of ur executor
Never paste your .ROBLOSECURITY cookie anywhere, and use an alt account with scripts.

Universal