Just adding on, you shouldn’t rely on comparing the old string with the new string. The problem is that fast typers could accidently press 2 keys (or more) at the same time, therefore, the game will consider they copy pasted. This could happen as well if Roblox is somewhat lagging, not well synced with the keyboard, or if it’s a problem keyboard, etc.
You should rely on incapz’s method, (aka ctrl cc + ctrl v), as it is more accurate. Whatsoever, it won’t work on mobile. The comparing string method doesn’t work as well on mobile. It might work on Studio when using the phone screen, but it actually doesn’t work if you try on an actual mobile for some reasons.
It does, that’s the method I’m using to use make my CPLogs. Here’s a quick runway:
Use InputService to know when the player presses CTRL and V in a local script.
Fire a RemoteEvent to the server.
The server listens to the event, and waits for the player to chat.
Once the player chatted, save it somewhere. (in a table)
Use a BA plugin to display a list with what you saved. I won’t show my script because it really isn’t needed. If you’re a programmer and are experienced in how BA works, you should be completely fine making it yourself with the help provided.
PS: You might wanna protect your RemoteEvent somehow. You don’t want exploiters to spam fire it.
You shouldn’t be coming here looking for the full script, instead you should probably do the following steps.
Hire a developer if needed, this is the easy way out BUT is quite expensive.
Learn LUA and how BAE works, I wouldn’t go looking for how to make copy paste logs if you’re a beginner.
There are parts of the script above, would recommend putting them together and experimenting or something like that.