The best way to get rid of exploiters?

There are so many ways to get rid of exploiters like having an anti-exploit, etc. But what is truly the best way of dealing with the exploit panels/guis that can bypass your anti-exploit?

What game are you making? This will give us a better understanding of how to help you.

I’m making an RPG Game and im using Evercyan’s RPG Kit (Link: Evercyan's RPG Kit - Roblox).

I know that there is a RemoteEvent that exploiters use to take advantage of the game with the exploit GUI but I’m wondering if there is any way to Kick when detecting a GUI in the PlayerGui that isn’t supposed to be there?

They can still abuse the remote events even without the use of guis. I would recommend not using remote events to send cash, rebirths, etc to the player.

The game uses remote events to purchase swords from a shop would I have to change that to not be fired by a remote event to prevent it?

I would do as little client code as possible. Instead of having an event for the server to do damage, have an event that fires when the player clicks and sends the mouse position. Have the server check which gun their character has equipped and render the bullet from there. You can also have the ammo saved in a table on the server:

local ammo = {}

if not ammo[plr]  then
    ammo[plr]  = {}
end
if not ammo[plr][gun] then
    ammo[plr][gun] = gun.MaxAmmo.Value
end
ammo[plr][gun] -= 1

This is an example of how I would use this. When a player presses a key, check what ability that key is connected to and tell the server that ability. The server can then check that the player owns the ability and it is equipped. Things like this can make hacking near impossible.

1 Like

This should be ok. If the Remote Event fires with information such as what item is being bought and how much it costs. On the server ensure that they have enough money.

do NOT get the client to tell the server how much the gun costs. That is a terrible idea.

Have a list of all guns in a list on the server side, and get the cost from there

1 Like

Even better, use a module script to list all of the guns.

Lol sorry didn’t realize that. I was thinking in my head that the server would check the data based on a table or a folder or something but I didn’t actually write it down.