Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local OldNamecall2
- OldNamecall2 = hookmetamethod(game, "__namecall", function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if tostring(self) == "Fdmg" and method == "FireServer" then
- args[1] = 0
- return self.FireServer(self, unpack(args))
- end
- return OldNamecall2(self, ...)
- end)
- local OldNamecall1
- OldNamecall1 = hookmetamethod(game, "__namecall", function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if tostring(self) == "Freefall" and method == "FireServer" then
- args[1] = false
- return self.FireServer(self, unpack(args))
- end
- return OldNamecall1(self, ...)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement