anti ban script
Key RequiredUniversal

anti ban script

Universal Scriptbogdankrutoy228bogdankrutoy228 1.3K views 1.7K executesUpdated Apr 9, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•89 lines (3065 chars)
local function LaunchUniversalEmergencyExit()
    local Players = game:GetService("Players")
    local TeleportService = game:GetService("TeleportService")
    local GuiService = game:GetService("GuiService")
    local Stats = game:GetService("Stats")
    local LocalPlayer = Players.LocalPlayer

    local function EMERGENCY_LEAVE(reason)
        task.spawn(function()
            LocalPlayer:Kick("\n [BAN DETECTED]\nReason: " .. tostring(reason))
        end)

        pcall(function() 
            Stats:ClearAllChildren()
            settings().Network.IncomingReplicationLag = 1000
        end)

        task.delay(0.1, function()
            pcall(function() game:Shutdown() end)
        end)
        
        task.delay(0.5, function()
            while true do end
        end)
    end

    local mt = getrawmetatable(game)
    local oldNamecall = mt.__namecall
    local oldIndex = mt.__index
    local oldNewIndex = mt.__newindex
    setreadonly(mt, false)

    mt.__namecall = newcclosure(function(self, ...)
        local method = getnamecallmethod()
        if not checkcaller() then
            if method == "Kick" or method == "kick" or (method == "Destroy" and self == LocalPlayer) then
                EMERGENCY_LEAVE("TERMINATION_ATTEMPT")
                return nil
            end

            if method == "FireServer" or method == "InvokeServer" then
                local rName = tostring(self):lower()
                if rName:match("ban") or rName:match("ac") or rName:match("det") or rName:match("flag") or rName:match("report") then
                    if rName:find("speed") or rName:find("walk") then 
                        return nil 
                    end
                    EMERGENCY_LEAVE("REMOTE_EVENT")
                    return nil
                end
            end
        end
        return oldNamecall(self, ...)
    end)

    mt.__index = newcclosure(function(self, key)
        if not checkcaller() then
            if key == "WalkSpeed" and self:IsA("Humanoid") then return 16 end
            if key == "JumpPower" and self:IsA("Humanoid") then return 50 end
            if key == "Parent" and self == LocalPlayer then return game.Players end
        end
        return oldIndex(self, key)
    end)

    mt.__newindex = newcclosure(function(self, key, val)
        if not checkcaller() and self:IsA("Humanoid") and key == "WalkSpeed" and val > 20 then
            return oldNewIndex(self, key, 16)
        end
        return oldNewIndex(self, key, val)
    end)

    setreadonly(mt, true)

    if getconnections then
        local signals = {game:GetService("ScriptContext").Error, LocalPlayer.Idled, game:GetService("LogService").MessageOut}
        for _, sig in pairs(signals) do 
            pcall(function() for _, v in pairs(getconnections(sig)) do v:Disable() end end) 
        end
    end
    
    pcall(function()
        GuiService.ErrorMessageChanged:Connect(function()
            EMERGENCY_LEAVE("GUI_ERROR")
        end)
    end)

    print("loaded anti ban")
end

pcall(LaunchUniversalEmergencyExit)

Features & Information

anti ban script
#anti#ban#anti ban#keyless#open source

Community Comments (6)

ExploitsTechX20ExploitsTechX20May 15, 2026

My game keeps crashing with this script

AUFFFFFAUFFFFFJun 16, 2026

ну я не думал ты скам будешь

Replying to @AUFFFFF
bogdankrutoy228bogdankrutoy228Jun 17, 2026

@AUFFFFF ты про что?

Replying to @bogdankrutoy228
AUFFFFFAUFFFFFJun 18, 2026

@bogdankrutoy228 я все заскринил ес что

Replying to @AUFFFFF
bogdankrutoy228bogdankrutoy228Jun 19, 2026

@AUFFFFF спасибо, хорошо

ZethvZethvJul 7, 2026(edited)

Cool , Excutor : Xeno = Free

More Scripts for Universal Scripts