Anti kick
Key RequiredUniversal

Anti kick

Universal ScriptLorenzodevcrktorLorenzodevcrktor 3 views 1 executesUpdated Oct 5, 2026
Unrated
00
Lua Script•112 lines (3218 chars)
--[[
    Anti-Kick Universal Script
    Funciona em: Synapse, Krnl, Fluxus, Delta, Hydrogen, etc.
    Ativa automaticamente ao executar
]]

-- Configurações
local config = {
    antiKick = true,        -- Bloqueia kicks
    antiDisconnect = true,  -- Bloqueia desconexões forçadas
    antiTeleport = true,    -- Bloqueia teleportes forçados
    notify = true,          -- Notifica quando algo for bloqueado
}

-- Serviços
local Players = game:GetService("Players")
local CoreGui = game:GetService("CoreGui")
local StarterGui = game:GetService("StarterGui")
local LocalPlayer = Players.LocalPlayer

-- Detectar executor
local executor = "Desconhecido"
if syn then executor = "Synapse"
elseif KRNL_LOADED then executor = "Krnl"
elseif Fluxus then executor = "Fluxus"
elseif identifyexecutor then executor = pcall(function() executor = identifyexecutor() end)
end

-- Função de notificação
local function notify(title, text)
    if not config.notify then return end
    pcall(function()
        StarterGui:SetCore("SendNotification", {
            Title = title,
            Text = text,
            Duration = 3,
        })
    end)
end

-- Bloquear Kick
local oldKick
oldKick = hookfunction(LocalPlayer.Kick, function(self, message)
    if config.antiKick then
        notify("Anti-Kick", "Kick bloqueado: " .. tostring(message))
        return
    end
    return oldKick(self, message)
end)

-- Bloquear Disconnect (método alternativo)
local oldDisconnect
if LocalPlayer.Disconnect then
    oldDisconnect = hookfunction(LocalPlayer.Disconnect, function(self)
        if config.antiDisconnect then
            notify("Anti-Kick", "Disconnect bloqueado")
            return
        end
        return oldDisconnect(self)
    end)
end

-- Proteção contra Teleport forçado
local oldTeleport
if LocalPlayer.Teleport then
    oldTeleport = hookfunction(LocalPlayer.Teleport, function(self, ...)
        if config.antiTeleport then
            notify("Anti-Teleport", "Teleporte bloqueado")
            return
        end
        return oldTeleport(self, ...)
    end)
end

-- Detectar e bloquear via RemoteEvents (tentativa de kick por servidor)
local mt = getrawmetatable(game)
local oldNamecall = mt.__namecall

setreadonly(mt, false)
mt.__namecall = newcclosure(function(self, ...)
    local method = getnamecallmethod()
    local args = {...}
    
    if config.antiKick then
        -- Bloqueia kicks vindos do servidor via remotes comuns
        if method == "Fire" or method == "InvokeServer" then
            if self.Name == "Kick" or self.Name == "Disconnect" then
                notify("Anti-Kick", "Tentativa de kick via remote bloqueada")
                return
            end
        end
    end
    
    return oldNamecall(self, ...)
end)
setreadonly(mt, true)

-- Notificação inicial
notify("Anti-Kick", "Ativado com sucesso! (" .. executor .. ")")

-- Loop de proteção contínua (re-aplica hooks se necessário)
task.spawn(function()
    while task.wait(5) do
        pcall(function()
            if config.antiKick and not hookmetamethod then
                -- Re-hook básico caso algo tenha resetado
            end
        end)
    end
end)

print("[Anti-Kick] Script carregado | Executor: " .. executor)

Features & Information

Anti kick universal

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts