Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Exploit Banning? (A script that bans exploiters if an exploit is used.)

Asked by 4 years ago

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?

2 answers

Log in to vote
0
Answered by
Lakodex 711 Moderation Voter
4 years ago
Edited 4 years ago

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)
0
easily bypassed idk what the issue is but https://prnt.sc/r9ajz2 idk man try again? yealetFNG 4 — 4y
0
thanks :D zachmcfly 11 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

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.

0
ok so, i will make it so the exceptions for playerguis are guis with certain names, i will make the guis names stuff like "NotAnExploitLol" and if the guis name isnt that, it will ban the player if that gui is detected zachmcfly 11 — 4y
0
Sorry for responding late. Make a whitelist of all the GUIS that are supposed to be in the game. Like an anti-ban. If it detects something out of the ordinary then make it trigger the ban. Aeroporia 37 — 4y
0
ok, i will. will be perfect zachmcfly 11 — 4y

Answer this question