Local Script:
game:GetService("CoreGui").ChildAdded:connect(function(instance)
game.ReplicatedStorage.remote.CheckEvent:FireServer(instance.Name)
end)
I'm using an exploit I bought to make an anti exploit in my game. This will fire an event in the server which checks the name of the child added to core gui which is where most exploit guis go to hide.
Server Script:
game.ReplicatedStorage.remote.CheckEvent.OnServerEvent:Connect(function(player, name)
if name ~= "Chat" or name ~= "BubbleChat" or name ~= "ControlGui" or name ~= "FreeCamera" or name ~= "ServerLogs" then
player:Kick("Better luck next time! (not)")
end
end)
When I test it, it does not work and the developer console shows no error.

2 comments
What I meant is I want to delete any GUI's they use such as Dex explorer, Rocky2u or any other GUI's
oh well you also can't