I'm looking for a script that detects exploits, and bans the player
because there is Filtering Enabled exploits, and ROBLOX doesn't really ban all of exploiters....
how would this work?
Here. Put this in ServerScriptService as a Script
local Ban = {} local PlayerGUINames = {"NoobGUI","SpawnGUI"."EbicGamz"} -- Put your GUI names here game.Players.PlayerAdded:Connect(function(player) --Detects new players for i,v in pairs (Ban) do -- ignore these lines below. Only for banning the user! if player.UserId == v then -- Checks his userid for the bans table player:Kick("[Cheat detection] You have been banned from this server using cheats!") -- If the player attempts to join back, He will be banned from the server! end end -- ignore these lines above. Only for banning the user! player.PlayerGui.ChildAdded:Connect(function(GUI) -- Test new GUI's for i,v in pairs (PlayerGUINames) do -- Get the names from the table named "PlayerGUINames" if not GUI.Name == v then -- Check the GUI name table.insert(Ban, Player.UserId) -- Ban the user player:Kick("[Cheat detection] You have been banned from this server using cheats!") -- Kick the scummy player end end end end)
I used to use exploits so I might be of assistance. Some games when I'd inject my exploit I would get banned for Unexpected GUI. Basically make something that will detect a different GUI then what you made. It might become a tedious task, although it would be worth the price when your players aren't complaining.