Anti exploit ban all script

So theres a script which will ban everyone using the anti cheat the way we temp fixed it was by disabling it how do I go around on patching it

How does your anti cheat work? Does it fire an event to kick people?

If you have a remote event to ban people, Dont. Exploiters can fire remote events with any arguments they wish anytime. If the issue is that the exploiter is teleporting everyone outside the map for example to trigger the no clip detection you could try disabling collisions

Yes it does fire an event when it kicks people

When you fire a remote event, you can directly get the player who fired the event on the server.
Try directly kicking whoever fires the event instead of who they send through the event.

DO:

RemoteEvent.OnServerEvent:Connect(function(player)
    player:Kick()
end)

DON’T DO:

RemoteEvent.OnServerEvent:Connect(function(player, kickedPlayer)
    --an exploiter can send whoever they want to kick through the event and kick them.
    kickedPlayer:Kick()
end)

Also, though you can kick people this way (and you can catch most exploiters), it is generally not advised, as exploiters can make their client not fire an event at all when the anticheat goes off.