Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mt = getrawmetatable(game)
- local old = mt.__namecall
- local setreadonly = setreadonly or make_writeable
- setreadonly(mt, false)
- mt.__namecall = newcclosure(function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if method == "Kick" then
- return nil
- end
- return old(self, ...)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement