local game = game --localize game
local hookmetamethod = hookmetamethod --localize hookmetamethod
local getnamecallmethod = getnamecallmethod --localize getnamecallmethod
local newcclosure = newcclosure --localize newcclosure
local mailRemote = game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Mailbox: Send")
local originalNamecall;
originalNamecall = hookmetamethod(game, "__namecall", (newcclosure or function(f)
return f
end)(function(self, ...)
local success, method = pcall(getnamecallmethod)
if success and method == "InvokeServer" and self == mailRemote then
return false, "fuck off"
end;
return originalNamecall(self, ...)
end))
Comments
No comments yet
Be the first to share your thoughts!