Anti Kick AND Anti Crash
Key RequiredUniversal

Anti Kick AND Anti Crash

Universal Scriptexploitingrobloxianexploitingrobloxian 8.6K views 477 executesUpdated Jun 6, 2025
3.3/ 5(3 votes)
2167% Positive
Lua Script•30 lines (817 chars)
local mt = getrawmetatable(game)
setreadonly(mt, false)

local oldNamecall = mt.__namecall
local oldIndex = mt.__index

mt.__namecall = newcclosure(function(self, ...)
    if tostring(getnamecallmethod()):lower() == "kick" then
        return task.wait(math.huge)
    end
    return oldNamecall(self, ...)
end)

mt.__index = newcclosure(function(self, key)
    if tostring(key):lower() == "kick" then
        return function()
            return task.wait(math.huge)
        end
    end
    return oldIndex(self, key)
end)

local oldLoadstring = loadstring or load

hookfunction(oldLoadstring, newcclosure(function(code, ...)
    local patched = code:gsub("while%s-(.-)%s-do%s*\n", function(cond)
        return string.format("while %s do\n\ttask.wait()\n", cond)
    end)
    return oldLoadstring(patched, ...)
end))

Features & Information

AntiKick And AntiCrash

Community Comments (2)

UnnesscaryInventionsUnnesscaryInventionsJun 6, 2025(edited)

the anti crash is a overstatement, this only prevents it if the crash is ran in a loadstring

YotaYotaJun 25, 2025

And how this script will do with localplayer:destroy()?

More Scripts for Universal Scripts