Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().count = -1;
- local mt = getrawmetatable(game);
- setreadonly(mt,false);
- local nam = mt.__namecall;
- mt.__namecall = newcclosure(function(self,...)
- local args = {...}
- if args[2] == 'Equip' then
- args[3] = getgenv().count;
- getgenv().count = getgenv().count - 1
- end;
- return nam(self,unpack(args));
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement