Advertisement
HoangAnh_GaToVi

Mining Sim

Aug 14th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. mt = getrawmetatable(game)
  2. old = mt.__namecall
  3. make_writeable(mt)
  4. mt.__namecall = function(...)
  5. local t = {...}
  6. local method = t[#t]
  7. if method == "FindFirstChild" then
  8. if getfenv(2).script then
  9. if getfenv(2).script.Parent ~= nil then
  10. local locals = debug.getlocals(2)
  11. if locals and locals.mineTime then
  12. debug.setlocal(2,"mineTime",0)
  13. end
  14. end
  15. end
  16. end
  17. return old(...)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement