
5.7k Views
147 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
its my first hook experience. here's how it works: when player executes print or warn or error or printidentity and those function have argument then instead of logging it to console the hook will defunction them and create a new folder in coregui called 'HookCommunication' creates a label there with a name of argument. you can add functions simply by adding a function to functions table. also it is a simple way to create lags by spamming a while loop script with print and task.wait() inside.
local functions = {print,printidentity,warn,error}
for i, func in functions do
local hook = hookfunction(func, function(v)
if not game.CoreGui:FindFirstChild('HookCommunication') then
local uhhfd = Instance.new('Folder', game.CoreGui)
uhhfd.Name = 'HookCommunication'
end
local d = Instance.new('TextLabel',game.CoreGui:FindFirstChild('HookCommunication'))
d.Text = v
d.Name = v
end)
end










i don't understand
Im gonna fix it to log every function automatically
use at own risk.