- local remote = game:GetService("ReplicatedStorage").CheckName
- local oldNamecall
- oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
- local args = {...}
- local namecallMethod = getnamecallmethod()
- if not checkcaller() and self == remote and namecallMethod == "InvokeServer" then
- return args[1]
- end
- return oldNamecall(self, ...)
- end)