Hello! Im a bit new to scripting and I was wondering what would be the best way to secure remoteevents? (This is my first post on the devforum, apologies if I made any mistakes.)
Edit: By securing remoteevents, I mean making it harder for exploiters to abuse remoteevents.
Securing them as in making them hard to abuse by exploiters. Ive seen a lot of methods on the forum but was wondering what is the most reliable and most effective method.
As a general rule of thumb whenever you fire the server from the client via “:FireServer()” pass as few arguments as possible, better yet, pass none if possible.
This can be done as already mentioned by someone here with Sanity Checks, Sanity Checks is such a fancy word for checking. For anyone that is confused into what Sanity Checks are, it’s in simple terms checking the values in the server. Here is more about Sanity Checks :