Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RE=Instance.new('BindableEvent',script)
- RE.Event:connect(function(a,b)
- if a=='print' then
- local fakeprint=_G[b]
- print=function(...)
- fakeprint(...)
- end
- end
- if a=='warn' then
- local fakewarn=_G[b]
- warn=function(...)
- fakewarn(...)
- end
- end
- if a=='error' then
- local fakeerror=_G[b]
- error=function(...)
- fakeerror(...)
- end
- end
- if a=='ls' then
- local u,o = coroutine.resume(coroutine.create(function()
- loadstring('return function(f) setfenv(1,f)f=nil '..b..' end')()(getfenv())
- end))if not u then error(o) end
- end
- wait()
- RE:Destroy()
- _G[b]=nil
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement