Palazikaka

Untitled

Jan 6th, 2020
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. local mt = getrawmetatable(game)
  2. local old = mt.__namecall
  3.  
  4. pcall((setreadonly or make_writeable), mt, false)
  5.  
  6. local menuEvent = game:GetService('ReplicatedStorage').Events.MenuActionEvent
  7. mt.__namecall = function(self, ...)
  8. local args = {...}
  9. local method = table.remove(args)
  10.  
  11. if method == 'FireServer' and self == menuEvent and args[1] == 22 then
  12. print'nice anticheat bro'
  13. return wait(9e9)
  14. end
  15.  
  16. return old(self, ...)
  17. end
  18.  
  19. pcall((setreadonly or make_readonly), mt, true)
Advertisement
Add Comment
Please, Sign In to add comment