Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Best way to protect remotes?

Asked by 6 years ago

So I'm trying to find some new ways to protect a game without using those anti-exploits which limits my creativity.

So I'm trying to know how to prevent from being executed by exploiters or hiding them that RemoteSpy doesn't catch them.

I heard using _namecall can prevent it but I didn't see a wiki on that.

0
Remote security is a complex and ongoing art which you are not gonna get a sufficient answer to. This question should go down as opinion based. cabbler 1942 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

I suggest indexing the remote at the start by doing something like this:

local rem = workspace.RemoteFunction;
local f = rem.InvokeServer;

And then when you need to fire it, pcall it like so:

pcall(f,rem,args);

Hope this was helpful.

Ad

Answer this question