local oldNamecall oldNamecall = hookmetamethod(game, "__namecall", function(self, ...) local method = getnamecallmethod() if method == "Kick" and self == game.Players.LocalPlayer then warn("Blocked Kick attempt") return end return oldNamecall(self, ...) end) print("Anti-Kick (namecall) installed")