local ActionRemote = game:GetService("ReplicatedStorage"):WaitForChild("Remote"):WaitForChild("ActionEvent") local BadActionRemote = game:GetService("ReplicatedStorage"):WaitForChild("Remote"):WaitForChild("BadActionEvent") local ActionListener = game:GetService("ReplicatedStorage"):WaitForChild("Remote"):WaitForChild("BadActionEvent"):WaitForChild("ActionListener") if ActionListener and hookfunction then local oldActionListener = hookfunction(ActionListener.InvokeServer, function(...) return nil end) end if BadActionRemote and hookfunction then local oldBadActionRemote = hookfunction(BadActionRemote.FireServer, function(...) return nil end) end local oldNamecall if hookmetamethod and getnamecallmethod then oldNamecall = hookmetamethod(game, "__namecall", function(self, ...) local method = getnamecallmethod() if method == "FireServer" then if self == ActionRemote or self == BadActionRemote then return nil end end return oldNamecall(self, ...) end) end