
5.6k Views
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.
Comments
4

Offline
VateQ 2 years ago - Edited
use at own risk.
Offline
bestgamer69 2 years ago - Edited
Im gonna fix it to log every function automatically
Offline
bestgamer69 2 years ago - Edited
โ [[this might do a c stack overflow but idk]]
local functions = getfenv()
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
Offline
Smorgasbord 2 years ago - Edited
i don't understand
![[๐ RELEASE] Anime Astral Simulator](/images/script/113236157544232-1780333729144.png)
Voxle Hub
