Can Exploiter (Hacker) use Event.OnClientEvent?

So well,
Im currently working on a RemoteEvent anti-cheat and im wondering if Exploiter can use:

RemoteEvent.OnClientEvent:Connect(function()

So basicly my question is if they can just create a new Connection to get some importaint information.
Anyways if i am finished with the anti-cheat in case it works i will make a open source tutorial!
Anyways thanks for your help :smiley:

1 Like

any script that the client can view is editable, meaning exploiters can just remove the callback entirely and never receive any remote events

It is not importatnt if the exploiter removes the script. I am wondering if the exploiter can create a new Connection.

you mean run their own logic inside the callback? yes

Yes like the exploiter needs some important server information and wants to get it by creating a own connection

.OnClientEvent only runs whenever :FireClient() or :FireAllClients() is triggered
the client can’t just fetch server information via .OnClientEvent, unless the server sends some information as a parameter

So my idea is the client sends a kye request to the Server and the Server gives out the kye. Then the client fires the Server with the kye. So basicly if the exploiter creats a own Connection to get this kye the system is basicly useless…

first of all, for that you use RemoteFunctions to avoid using 2 remote events
second of all, the client can’t just fetch server data by doing .OnClientEvent

Not sure what the kye is, but if this request the client sends returns the kye back to the client, then exploiters already have it.


To answer the main question, yes they can make a new connection to the RemoteEvent, but they actually dont need to, as if you are sending any information to the client and there is a RemoteEvent.OnClientEvent anywhere that the client has access to, they can access any and all things that event send.

If you want to insure certain data doesnt get into the clients hands you’ll have to do some things a little differently.

What exactly are you trying to achieve with this system of yours?

1 Like

I think they probably meant “key”

1 Like

Can you link the game for me to test the anticheat? Thanks!

Not entirely true, the scripts the clients get are luau bytecode and a pain to decompile

but yeah exploiters can add and remove callbacks from remote events and do literally anything

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.