Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().OneShot = true -- true/false
- local mt = getrawmetatable(game)
- setreadonly(mt, false)
- local nc = mt.__namecall
- mt.__namecall = newcclosure(function(self, ...)
- local Method = getnamecallmethod()
- local Args = {...}
- if Method == 'FireServer' and self.Name == 'HitPart' and OneShot then
- for i = 1, 3 do
- nc(self, unpack(Args))
- end
- end
- return nc(self, ...)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement