Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local game_meta = getrawmetatable(game)
- local __index = game_meta.__index
- local __namecall = game_meta.__namecall
- local hook = newcclosure(function(self,...)
- local Self = tostring(self)
- local Type = __index(self,"ClassName")
- local T = {self, ...}
- if T[1] == game.ReplicatedStorage.modules.network["playerRequest_damageEntity"] and typeof(T[2]) == "Instance" and T[4] == "monster" then
- else
- return (Type == "RemoteEvent" and new)(self,...)
- end
- end)
- new = hookfunction(Instance.new("RemoteEvent").FireServer, hook, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement