Advertisement
iiHackerii

Untitled

Jan 12th, 2016
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. RE=Instance.new('BindableEvent',script)
  2. RE.Event:connect(function(a,b)
  3. if a=='print' then
  4. local fakeprint=_G[b]
  5. print=function(...)
  6. fakeprint(...)
  7. end
  8. end
  9. if a=='warn' then
  10. local fakewarn=_G[b]
  11. warn=function(...)
  12. fakewarn(...)
  13. end
  14. end
  15. if a=='error' then
  16. local fakeerror=_G[b]
  17. error=function(...)
  18. fakeerror(...)
  19. end
  20. end
  21. if a=='ls' then
  22. local u,o = coroutine.resume(coroutine.create(function()
  23. loadstring('return function(f) setfenv(1,f)f=nil '..b..' end')()(getfenv())
  24. end))if not u then error(o) end
  25. end
  26. wait()
  27. RE:Destroy()
  28. _G[b]=nil
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement