Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- hookmetamethod
- local hook = hookmetamethod(game, "__namecall", function(self, ...)
- local method = getnamecallmethod()
- if not checkcaller() and method:lower() == "kick" then
- print("Game attempt to kick bypassed by Hookmetamethod")
- return nil
- end
- return hook(self, ...)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement