Hi! I was wondering if it was possible to fetch all chatlogs. Or would I need to manually add chat messages to a table with .Chatted
? Thanks for all help in advanced!
A very basic example for that, would be -
game.Players.PlayerAdded:Connect(function(Player)
Player.Chatted:Connect(function(Message)
--do the magic here, for example, lets say you want to put those messages later in a UI, you'll use a remote
game.ReplicatedStorage.YourRemote:FireClient("YourName",Message)
end)
end)
And with that, on the client[using the same remote], you could duplicate a template that’ll put into text, those messages and only you’ll be able to see them.
1 Like
I’m wondering about fetching chatlogs. Also I probably shouldn’t index the client, because it could easily be exploited. I already said that I’m looking for ways other than .Chatted
, but thanks anyways lol
1 Like
An exploiter can’t exploit this script, it’s a server-sided one.
If you’re looking for a more advanced/better one, try these :
1 Like
Nevermind, I think I’ll just use .Chatted
and save it to a table.
1 Like