This quick module allows you to stop Remote Events and Remote Functions from firing
Note
These hooks are not ment for server siding! These just stop client sided events from sending to the server!
Place this above all the requests u make to the module (Dont put it in a function either.)
local ezhooks = loadstring(game:HttpGet("https://raw.githubusercontent.com/ClassicSenior/Hooks/main/hooks.lua"),true)();
local ezhooks = loadstring(game:HttpGet("https://raw.githubusercontent.com/ClassicSenior/Hooks/main/beta.lua"),true)();
Warning
The beta build might be very unstable and not use able!
ezhooks:namecallHook("EventName", "FireType")
ezhooks:toggleHook("EventName", "FireType", Value)
EventName: Name of the event you want to control.
FireType: Type of firing in the event: "FireServer" for RemoteEvents and "InvokeServer" for RemoteFunctions.
Value: A boolean value (true or false) to enable or disable the event hook. (U can just use the value ur ui lib uses to toggle)
Note
For RemoteEvents use "FireServer", For RemoteFunctions use "InvokeServer"!