Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. game.DescendantAdded:connect(function(obj)
  2. if obj.Name == "Ban" then
  3. obj.Parent = nil
  4. end
  5. end)
  6. local mt = getrawmetatable(game)
  7. if fullaccess then
  8. fullaccess(mt)
  9. elseif setreadonly then
  10. setreadonly(mt,false)
  11. end
  12. local oldindex = mt.__index
  13. local function check(str)
  14. if (type(str) ~= "string") then return nil end
  15. return string.upper(string.sub(str,1,1)) .. string.sub(str, 2)
  16. end
  17. mt.__index = function(self, i)
  18. local index = check(i)
  19. if (index == "Kick") then
  20. return function(...)
  21. end
  22. end
  23. return oldindex(self, i)
  24. end
  25. game:GetService'ReplicatedStorage'.Ban:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement