Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What if I were to kick a player client-sided?

Title says it all. I only want this information to prevent exploiters in my games.

1 answer

✓ Accepted answer

This question is best asked over at the Developer Forums, but I'll answer to the best of my ability.

Rule #1: Never trust the client.

You never know if the client has a malicious client or not. The client can delete anything that's replicated to them. This doesn't mean it deletes everything, it only means it only deletes things from their client, so if they break their own client, its their own fault. They absolutely cannot delete anything from the server, nor can they access it.

Try to avoid doing anti-exploits, kicking the player, etc from the client because any skilled exploiter can just delete the script from their client, but not anyone else's. Try to kick players on the server instead. You can use Remote Events (Recently Updated!!) to connect the server and the client more easily to achieve this. My point is, you can kick the player on the client if you would like, but it's not ideal. It's recommended to do so on the server.

If you have anymore questions, feel free to comment. If this helped, please accept this answer!

This discussion is preserved as it was. New answers, comments, and votes are closed.